This repository was archived by the owner on May 28, 2026. It is now read-only.
chore(deps): upgrade example apps to clear security alerts - #176
Merged
Merged
Conversation
examples/react: - Bump next 15.4.10 → 15.5.18 (latest 15.x backport). Clears all high-severity Next.js advisories with 15.x fixes. - Bump postcss devDep to ^8.5.10 (PostCSS XSS CVE GHSA-qx2v-qp2m-jg93) and add an overrides entry so next's nested postcss resolves to the fixed version too. - next-env.d.ts regenerated by next 15.5+ (adds routes.d.ts reference). examples/iife: - Regenerate package-lock.json. http-server@14.1.1 (already latest) now resolves to qs@6.15.2 and follow-redirects@1.16.0, both of which contain the fixed versions for the open advisories. lodash is no longer in the dep tree. Not addressed by this PR: - Two medium-sev next/image and rewrites advisories that are only patched in next 16.x. Bumping to next 16 breaks Turbopack tsconfig paths resolution for the example's @mozilla/majc/* alias, so deferred. - uuid advisory on the root lockfile only affects v3/v5/v6; this repo uses only v4 in packages/core/src/store.ts, so the code path is not vulnerable. Will be dismissed separately.
next 15.5+ adds a triple-slash routes.d.ts reference to next-env.d.ts, which conflicts with @typescript-eslint/triple-slash-reference. The Next.js docs say not to edit next-env.d.ts, so exclude it from lint.
copyrighthero
approved these changes
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps the example apps' dependencies to clear the open dependabot security alerts. Both example apps are dev-only and not shipped to consumers of
@mozilla/majc, but the alerts are still worth clearing for hygiene.examples/react
next15.4.10 → 15.5.18 (latest 15.x backport). Clears the high-severity Next.js advisories (middleware bypass, server-component DoS, SSRF, etc.) that have 15.x fixes.postcss^8→^8.5.10(fixes GHSA-qx2v-qp2m-jg93 — XSS via unescaped</style>).overridessonext's nestedpostcssresolves to the fixed top-level version too.next-env.d.tswas regenerated bynext build(15.5+ adds aroutes.d.tstriple-slash reference — auto-managed by Next).examples/iife
package-lock.jsonregenerated.http-server@14.1.1(already latest) now resolves toqs@6.15.2andfollow-redirects@1.16.0, both of which contain the fixed versions for the open advisories.lodashis no longer in the dep tree.Not addressed by this PR
HTTP request smuggling in rewrites,unbounded next/image disk cache growth) are only patched in next 16.x. Bumping to 16 was tested and broke the example's Turbopack-based build because Turbopack doesn't honor thetsconfig.jsonpathsalias for@mozilla/majc/*. Worth a follow-up but out of scope here.v3()/v5()/v6(). This repo uses onlyv4()(single import inpackages/core/src/store.ts), so the code path is not vulnerable. Recommend dismissing the alert manually.Test plan
npm install && npm testin repo root — 20/20 suites, 102/102 tests, 100% coveragenpm run buildin repo root — cleannpm run lintin repo root — cleancd examples/react && npm install && npm audit— 0 vulnerabilitiescd examples/react && npm run build— cleancd examples/iife && npm install && npm audit— 0 vulnerabilities