Conversation
Bump jsonld to 9.0.0 to unlock a patched undici via @digitalbazaar/http-client (the 8.x chain was stuck on the unpatched undici 5.x line). Bump vitest and @vitest/coverage-v8 to 4.1.11 for the @vitest/mocker path-traversal advisory, and knip to 6.38.0 for js-yaml/smol-toml/picomatch. pnpm audit: 38 advisories (19 high/16 moderate/3 low) -> 1 low (esbuild via vite's dev server, unused in this project, not resolvable without an unstable peer override).
Coverage Report
File CoverageNo changed files found. |
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.
Summary
jsonld^8.3.3→^9.0.0to unlock a patchedundicivia@digitalbazaar/http-client. The 8.x chain was stuck onundici@5.29.0(the newest 5.x), which never received these CVE fixes — fixes only shipped in the 6.x line. Verified this codebase's only touchpoint isjsonld.expand()with adocumentLoader, plus type-only imports fromjsonld/jsonld-spec.js; jsonld 9's breaking changes (Node 18+, droppedapplication/nquadsalias, canonicalization algorithm change) don't affect that usage.vitest/@vitest/coverage-v83.2.4→^4.1.11(minimum version patching the@vitest/mockerpath-traversal advisory), which also resolves transitivepostcss/nanoidalerts.knip^5.62.0→^6.38.0forjs-yaml,smol-toml, andpicomatchalerts.pnpm audit: 38 advisories (19 high / 16 moderate / 3 low) → 1 low remaining.Residual
One low-severity alert is left unresolved:
esbuild@0.27.7(needs>=0.28.1, GHSA-g7r4-m6w7-qqqr — arbitrary file read when running Vite's dev server on Windows). It comes in transitively viavitest → vite@7.3.5, which pinsesbuild@^0.27.0.viteonly appears here as a peer dependency, so apnpm.overridesbump tovite@8(which drops esbuild) doesn't take effect without fighting pnpm's peer resolution. This project never runs Vite's dev server (only Vitest's internal test runner uses it), and the vector is Windows-only, so it's left as a documented residual rather than force an unstable override.Test plan
tsc --noEmit(typecheck) — cleanoxlint— 0 warnings/errorsvitest run— 6 files, 33/33 tests passedtsc --project tsconfig.build.json(build) — cleanpnpm audit— confirmed 38 → 1 advisories🤖 Generated with Claude Code