Skip to content

chore(deps): update dev dependencies and patch security advisories - #37

Merged
melissa-lomray merged 2 commits into
prodfrom
chore/deps-2026-11-25
Nov 25, 2026
Merged

melissa-lomray merged 2 commits into
prodfrom
chore/deps-2026-11-25

Conversation

@melissa-lomray

Copy link
Copy Markdown
Contributor

Summary

Weekly dependency maintenance with security fixes. Dev tooling and the docs harness only: the published package output is unchanged (only minifier formatting differs), so this is a chore and no release.

Root (package.json, lockfile, ESLint config)

  • npm audit fix and npm update: handlebars, undici, fast-uri, typescript-eslint, eslint, eslint-plugin-import-x 4.18 and others.
  • @types/react / @types/react-dom moved to the 19.x pair. react-router 8 (dev) peers on @types/react >=19.2, so the 18.x pair made npm install fail with ERESOLVE. This is what broke the Dependabot non-major group (chore(deps): bump the non-major group across 1 directory with 16 updates #36).
  • overrides: minimatch ^11.0.1 under eslint-plugin-sonarjs and eslint-plugin-jsx-a11y-x (GHSA-g3hv-75wg-m249). Lint runs clean with it.
  • import-x/extensions pinned to ['error', 'ignorePackages', { js: 'always', ts: 'never', tsx: 'never' }]. import-x 4.18 changed extension inference and the shared config's bare rule started flagging the ESM-style ./manager.js imports. Checked that an import with no extension is still reported.

docs-tests

  • react-router 7.18.7, ajv 8.20.0 (exact pins as before), fast-uri 3.1.9. Docs checks pass.

Verification (local, Node 22)

  • npm ci, lint, ts:check, test:types, tests (19/19 with coverage), build --failAfterWarnings, test:package: all pass.
  • Built lib/ diffed against prod: only minifier formatting and source maps.
  • npm audit --omit=dev: 0. Full audit: 35 moderate, all glob/minimatch bundled inside npm (pulled in by @semantic-release/npm), which overrides cannot reach.

Not included

Supersedes #36.

- refresh the lockfile through npm audit fix and npm update: handlebars, undici,
  fast-uri, typescript-eslint, eslint, eslint-plugin-import-x 4.18 and others
- move @types/react and @types/react-dom to the 19.x pair; react-router 8 (dev)
  peers on @types/react >=19.2 and the 18.x pair made npm install fail (ERESOLVE)
- override minimatch to ^11.0.1 under eslint-plugin-sonarjs and
  eslint-plugin-jsx-a11y-x to fix the globparts DoS advisory (GHSA-g3hv-75wg-m249)
- pin import-x/extensions for the ESM-style ".js" relative imports: import-x 4.18
  changed extension inference and the shared config's bare rule flagged them

Published output is unchanged apart from minifier formatting, so no release.
Remaining audit findings are glob/minimatch bundled inside npm (release tooling
via @semantic-release/npm) and cannot be overridden.
- bump the docs harness to react-router 7.18.7 and ajv 8.20.0 (exact pins, as before)
- resolve fast-uri 3.1.9 to clear the fast-uri advisories in docs-tests/package-lock.json
- sort devDependencies alphabetically

docs-tests is a private verification harness and is not published, so no release.
@melissa-lomray melissa-lomray self-assigned this Nov 25, 2026
@sonarqubecloud

Copy link
Copy Markdown

@melissa-lomray

Copy link
Copy Markdown
Contributor Author

Review follow-up:

  • Root lockfile: all 722 resolved entries point at registry.npmjs.org.
  • minimatch 11.0.9 (engines 20 || >=22) keeps the minimatch and Minimatch exports both plugins use. Smoke-tested jsx-a11y-x/label-has-associated-control with glob labelComponents/controlComponents and sonarjs/no-implicit-dependencies (find-up via Minimatch) under the override: globs match and the rules report as expected.
  • The overrides are temporary; drop them once both plugins allow minimatch >= 11.0.1.
  • No release on purpose: built output differs only in minifier formatting, and consumers ignore a dependency's overrides.

@melissa-lomray
melissa-lomray merged commit 9072e74 into prod Nov 25, 2026
5 checks passed
@melissa-lomray
melissa-lomray deleted the chore/deps-2026-11-25 branch November 25, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant