Skip to content

chore(deps): update dependencies while retaining Router 6 compatibility - #126

Merged
johnnyhuy merged 2 commits into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-7ae588e901
Nov 12, 2026
Merged

johnnyhuy merged 2 commits into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-7ae588e901

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Update the dependency lockfile and the MCP server template's Zod version. Keep react-router-dom on Router 6 alongside react-router and Backstage, removing the Router 7 bump that caused five frontend test suites to fail with ReferenceError: TextEncoder is not defined.

This is the dependency PR repaired during the scheduled sweep. No user-facing feature or layout changed, so there is no visual screenshot for this maintenance fix.

Verified locally

  • mise run install passed with existing peer dependency warnings.
  • mise run lint passed across all five packages.
  • mise run test -- --runInBand --verbose passed 38 tests in six suites, with one existing skipped test in one skipped suite, after rebasing onto the merged showcase PR fix: clarify search and answer-engine availability #124.
  • mise run build was attempted once and blocked by the unavailable local Docker daemon. The required Build workflow must pass its Docker build before merge.
  • git diff --check passed.
Checked   1 files in packages/backend
Checked   3 files in plugins/permission-backend-module-default
Checked   1 files in packages/backstage-theme-github
Checked   8 files in plugins/plausible
Checked  51 files in packages/app

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       1 skipped, 38 passed, 39 total

[build] $ docker compose build backstage
Cannot connect to the Docker daemon at unix:///Users/johnny/.docker/run/docker.sock. Is the docker daemon running?

The lockfile now resolves both direct router dependencies to 6.30.6. This restores the compatible router major without adding test polyfills or changing plugin code. A Router 7 migration needs separate Backstage compatibility work. Existing React/MUI and jsdom warnings remain.

The MCP template's Zod upgrade was checked separately because templates are outside the portal workspaces. A temporary generated fixture retained the template's source and tsconfig and replaced only its name and description placeholders. Temporary local mise tasks ran mise run proof-mcp-install and mise run proof-mcp-typecheck, resolving SDK 1.32.2 and Zod 4.6.7 and passing tsc --noEmit with exit code 0. Those tasks and the fixture are not product changes. The first attempt hit a Yarn PnP cache path problem under macOS /tmp; using the repository's node-modules linker fixed the verification environment.

The pre-rebase Build workflow passed all four mise gates, including the Docker build. The branch has since been rebased onto merged PR #124 and install, lint and all 38 tests passed locally again. Final-head CI is required before merge.

The final-head Build workflow passed mise run install, mise run lint, mise run test and mise run build on fad46a2. CodeQL and both Socket Security checks also passed. The Docker gate is therefore verified in CI despite the unavailable local daemon.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 12, 2026
@socket-security

socket-security Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​react-router-dom@​6.30.4 ⏵ 6.30.698100 +27595100

View full report

@johnnyhuy

Copy link
Copy Markdown
Contributor

The failed build stops in mise run test with ReferenceError: TextEncoder is not defined in five frontend suites. This branch upgrades react-router-dom to 7 while the app keeps react-router 6 and the Backstage packages use Router 6. I will remove the Router 7 bump from this batch, retain the remaining dependency updates, regenerate the lockfile through mise and rerun the gates before merging.

@johnnyhuy johnnyhuy changed the title chore(deps): bump the npm_and_yarn group across 2 directories with 14 updates chore(deps): update dependencies while retaining Router 6 compatibility Nov 12, 2026
dependabot Bot and others added 2 commits November 13, 2026 03:20
… updates

Bumps the npm_and_yarn group with 13 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [compression](https://github.com/expressjs/compression) | `1.7.4` | `1.8.2` |
| [fast-copy](https://github.com/planttheidea/fast-copy) | `3.0.2` | `3.1.0` |
| [fast-uri](https://github.com/fastify/fast-uri) | `3.1.8` | `3.1.9` |
| [handlebars](https://github.com/handlebars-lang/handlebars.js) | `4.7.9` | `4.7.10` |
| [isomorphic-git](https://github.com/isomorphic-git/isomorphic-git) | `1.27.1` | `1.44.13` |
| [launch-editor](https://github.com/vitejs/launch-editor) | `2.9.1` | `2.14.2` |
| [markdown-it](https://github.com/markdown-it/markdown-it) | `14.3.2` | `14.3.3` |
| [multer](https://github.com/expressjs/multer) | `2.4.0` | `2.5.0` |
| [node-forge](https://github.com/digitalbazaar/forge) | `1.3.2` | `1.4.3` |
| [pbkdf2](https://github.com/browserify/pbkdf2) | `3.1.5` | `3.1.7` |
| [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) | `6.1.2` | `6.1.6` |
| [proxy-addr](https://github.com/jshttp/proxy-addr) | `2.0.7` | `2.0.8` |
| [undici](https://github.com/nodejs/undici) | `6.29.0` | `6.29.1` |

Bumps the npm_and_yarn group with 1 update in the /examples/templates/mcp-server/template directory: [zod](https://github.com/colinhacks/zod).


Updates `compression` from 1.7.4 to 1.8.2
- [Release notes](https://github.com/expressjs/compression/releases)
- [Changelog](https://github.com/expressjs/compression/blob/master/HISTORY.md)
- [Commits](expressjs/compression@1.7.4...v1.8.2)

Updates `fast-copy` from 3.0.2 to 3.1.0
- [Release notes](https://github.com/planttheidea/fast-copy/releases)
- [Changelog](https://github.com/planttheidea/fast-copy/blob/v3.1.0/CHANGELOG.md)
- [Commits](planttheidea/fast-copy@v3.0.2...v3.1.0)

Updates `fast-uri` from 3.1.8 to 3.1.9
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.8...v3.1.9)

Updates `handlebars` from 4.7.9 to 4.7.10
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.10/release-notes.md)
- [Commits](handlebars-lang/handlebars.js@v4.7.9...v4.7.10)

Updates `isomorphic-git` from 1.27.1 to 1.44.13
- [Release notes](https://github.com/isomorphic-git/isomorphic-git/releases)
- [Commits](isomorphic-git/isomorphic-git@v1.27.1...v1.44.13)

Updates `launch-editor` from 2.9.1 to 2.14.2
- [Commits](vitejs/launch-editor@v2.9.1...v2.14.2)

Updates `markdown-it` from 14.3.2 to 14.3.3
- [Changelog](https://github.com/markdown-it/markdown-it/blob/14.3.3/CHANGELOG.md)
- [Commits](markdown-it/markdown-it@14.3.2...14.3.3)

Updates `multer` from 2.4.0 to 2.5.0
- [Release notes](https://github.com/expressjs/multer/releases)
- [Changelog](https://github.com/expressjs/multer/blob/main/CHANGELOG.md)
- [Commits](expressjs/multer@v2.4.0...v2.5.0)

Updates `node-forge` from 1.3.2 to 1.4.3
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.3.2...v1.4.3)

Updates `pbkdf2` from 3.1.5 to 3.1.7
- [Changelog](https://github.com/browserify/pbkdf2/blob/master/CHANGELOG.md)
- [Commits](browserify/pbkdf2@v3.1.5...v3.1.7)

Updates `postcss-selector-parser` from 6.1.2 to 6.1.6
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/6.1.6/CHANGELOG.md)
- [Commits](postcss/postcss-selector-parser@v6.1.2...6.1.6)

Updates `proxy-addr` from 2.0.7 to 2.0.8
- [Release notes](https://github.com/jshttp/proxy-addr/releases)
- [Changelog](https://github.com/jshttp/proxy-addr/blob/master/HISTORY.md)
- [Commits](jshttp/proxy-addr@v2.0.7...v2.0.8)

Updates `undici` from 6.29.0 to 6.29.1
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.29.0...v6.29.1)

Updates `zod` from 3.25.76 to 4.6.7
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v3.25.76...v4.6.7)

---
updated-dependencies:
- dependency-name: compression
  dependency-version: 1.8.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: fast-copy
  dependency-version: 3.1.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: fast-uri
  dependency-version: 3.1.9
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: handlebars
  dependency-version: 4.7.10
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: isomorphic-git
  dependency-version: 1.44.13
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: launch-editor
  dependency-version: 2.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: markdown-it
  dependency-version: 14.3.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: multer
  dependency-version: 2.5.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: node-forge
  dependency-version: 1.4.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: pbkdf2
  dependency-version: 3.1.7
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: postcss-selector-parser
  dependency-version: 6.1.6
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: proxy-addr
  dependency-version: 2.0.8
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: undici
  dependency-version: 6.29.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Keep the app and plugin test environments on the Router 6 version used by Backstage. Router 7 causes five frontend test suites to fail before running.

Co-authored-by: OpenAI Codex <noreply@openai.com>
@johnnyhuy
johnnyhuy force-pushed the dependabot/npm_and_yarn/npm_and_yarn-7ae588e901 branch from ecf388a to fad46a2 Compare November 12, 2026 20:21
@johnnyhuy
johnnyhuy merged commit 76db525 into main Nov 12, 2026
5 checks passed
@johnnyhuy
johnnyhuy deleted the dependabot/npm_and_yarn/npm_and_yarn-7ae588e901 branch November 12, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant