Repository navigation
fix(deps): resolve open Dependabot alerts in the lockfile - #411
Merged
Merged
Conversation
- Bump the dev catalog zod to ^4.6.7 (GHSA-mrhx-c7xc-m3w5) - Re-resolve transitive runtime and dev dependencies within their existing ranges: proxy-addr, body-parser, fast-uri, qs, ajv, path-to-regexp, undici, js-yaml, smol-toml, source-map-js, picomatch - Add pnpm overrides scoped to the vulnerable ranges for vite, postcss, rollup and nanoid, which sit under peer-resolved packages and are not re-resolved by pnpm update Every fixed version is older than the 7 day minimumReleaseAge. Clears the critical alert, all 28 high, all 23 medium and 8 of 9 low. The remaining low (esbuild 0.27.7, dev server only) is pinned by tsx. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
Contributor
Author
|
@StuBehan a nudge on this one when you have a moment. Clears the open Dependabot alerts on Why it should be a quick review: +601 -767 across 2 files, CI green on the current head, forge and /code-review already run, no open review threads. It only needs an approving review to merge. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Clears the open Dependabot alerts on
mainby moving the lockfile to patched versions. Every fixed version is older than the repo's 7 dayminimumReleaseAge, so the supply-chain gate still holds.Published consumers of
@stackone/airesolve their own dependency versions, so this changes what CI, the tests, the examples and the mock MCP server run against, not what users install.What changed
zoddev catalog:^4.3.0to^4.6.7(direct, GHSA-mrhx-c7xc-m3w5).proxy-addr,body-parser,fast-uri,qs,ajv,path-to-regexp,undici,js-yaml,smol-toml,source-map-js,picomatch.vite,postcss,rollupandnanoidsit under peer-resolved packages (vite under vitest, rollup under unplugin), sopnpm updateleaves them alone. Fouroverridesinpnpm-workspace.yaml, each scoped to the vulnerable range only, move them. Each can be dropped once the parent packages require the fix.Proof
A script checks every open alert's vulnerable range (from the Dependabot API) against every version of that package in the lockfile:
The one left is low severity, affects only esbuild's dev server (not used here), and is held at 0.27 by
tsx@4.21's~0.27.0range. Fixing it means a tsx minor bump, which is out of scope here.Local run on Node 24.22.3 and pnpm 11.17.0 at the PR head:
pnpm install --frozen-lockfilepnpm peers checkpnpm lint(oxfmt, oxlint type-aware, knip)@typescript/native-previewhint only)pnpm buildpnpm testNo runtime change to the library, so there is no demo beyond the checks above.
Gates
May conflict in
pnpm-lock.yamlwith #399. Whichever merges second needspnpm install --lockfile-onlyafter taking either side.Post-merge validation
After merge, the Dependabot alert list should show 0 critical, 0 high and 0 medium open, with esbuild #46 as the only one left. CI on
mainshould stay green.Requested by guillaume@stackone.com in Slack (repo audit thread)
🤖 Generated with Claude Code
Summary by cubic
Clears open Dependabot alerts on
mainby moving the lockfile to patched versions. Published consumers of@stackone/airesolve their own dependency versions, so this changes only what CI, tests, and the examples run against — not what users install.Scope
zodto^4.6.7and re-resolves transitive deps (proxy-addr,body-parser,fast-uri,qs,ajv,path-to-regexp,undici,js-yaml,smol-toml,source-map-js,picomatch) within their existing ranges.vite,postcss,rollup, andnanoid, which sit under peer-resolved packages. Each can be dropped once the parent package requires the fix.minimumReleaseAge.Validation
tsx's~0.27.0range and is out of scope here.pnpm-lock.yamlwith chore(deps): bump the minor-and-patch group with 7 updates, adapted #399; the second merge needspnpm install --lockfile-onlyafter taking either side.Written for commit e6659c7. Summary will update on new commits.