Skip to content

Commit 3769e89

Browse files
authored
fix(deps): pin patched follow-redirects, hono, and vite (#392)
## Requirement or Bug `pnpm audit` (the required Security audit check) fails on `main` and on every open PR because of advisories published 2026-10-20 against follow-redirects (GHSA-q3jh-wrc6-jgq8, GHSA-8r9p-f939-6h3c), hono (GHSA-5r4p-p66f-jhc7) and vite (GHSA-698v-4r3x-3vcv). ## Bug Reproduction Steps 1. Check out `main`. 2. Run `pnpm audit`. It reports the four advisories and exits non-zero. ## Root Cause The lockfile resolves follow-redirects 1.16.0, hono 4.13.8 and vite 8.0.16, which are inside the affected ranges. ## Code Changes ```diff package.json pnpm.overrides + "follow-redirects": ">=1.16.1" + "hono": ">=4.13.11" - "vite": ">=6.4.3" + "vite": ">=8.1.6" ``` - The vite minimum moves to 8.1.6. The lockfile resolves exactly 8.1.6, and normal upgrades can still move past 8.1. - `pnpm-lock.yaml` regenerated with pnpm: follow-redirects 1.16.1, hono 4.13.13, vite 8.1.6. - The lockfile is a web build input, so `apps/pythinker-code/dist-web` is restaged with `pnpm run build:web`. - `flake.nix` pnpmDeps hash refreshed. No new dependencies: the three packages were already in the tree. ## Behavior Changes and Affected Users | Behavior | Before | After | Who relies on the old behavior | Escape hatch | |---|---|---|---|---| | Resolved versions (build and dev tooling) | follow-redirects 1.16.0, hono 4.13.8, vite 8.0.16 | follow-redirects 1.16.1, hono 4.13.13, vite 8.1.6 | Nobody | n/a | Local checks: `pnpm audit` exits 0, `check-web-assets` OK, `nix build .#pythinker-code` passes. [skip changeset] Users cannot see this change: it moves build and dev tooling to patch releases. ## Checklist - [x] I have read the [CONTRIBUTING](https://github.com/PyModel/pythinker-code/blob/main/CONTRIBUTING.md) document. - [ ] I have linked a related issue (external PRs: issue must have a maintainer's `/approve`). - [ ] I have added tests that prove my feature works. - [x] The behavior-change table above is complete, and every removed behavior or flipped default is named in the changeset and either has an escape hatch or was explicitly approved by a maintainer in this PR. - [x] Ran `gen-changesets` skill, or this PR needs no changeset. - [x] Ran `gen-docs` skill, or this PR needs no doc update.
1 parent 6c4598c commit 3769e89

396 files changed

Lines changed: 3200 additions & 3370 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"sourceHash": "dde8172ab283efe3692eac150482e56f3718fc8d86aa41c7e967ff7442b9c48c",
2+
"sourceHash": "40a6384516290dfed3b1fdfb099b2fd705f36a16db4e746b4724acdb25316315",
33
"sourceFileCount": 501
44
}

‎apps/pythinker-code/dist-web/assets/CodeBlockNode-Dd0t44TT.js‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎apps/pythinker-code/dist-web/assets/CodeBlockNode-Gx3QMVLZ.js‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/DesignSystemView-Bu-pya6S.js renamed to apps/pythinker-code/dist-web/assets/DesignSystemView-BAgPEsSe.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/pythinker-code/dist-web/assets/Tooltip-5aoyUpF-.js‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎apps/pythinker-code/dist-web/assets/Tooltip-Bzdkbh8U.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-DTTIuWrP.js renamed to apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-Bj51gbJQ.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-B6m4CBI3.js renamed to apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-RI6N4S7j.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/pythinker-code/dist-web/assets/angular-html-BVBpGdXr.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/pythinker-code/dist-web/assets/angular-html-D2jfyENO.js‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)