Repository navigation
Commit 3769e89
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
- apps/pythinker-code/dist-web
- assets
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
This file was deleted.
0 commit comments