Repository navigation
chore: Bump pnpm to 12.21.0 and use the v13 lockfile format - #26421
sentry-junior[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: Martin Sonnberger <26038247+msonnb@users.noreply.github.com>
Nx 24 cannot parse the v13 lockfile format. Workspace project dependencies come from package.json, and the lockfile is already a shared global input, so the project graph is unchanged.
|
Semgrep found 1 🟡 Medium severity issue identified in your code: Risk: Affected versions of @babel/helpers, @babel/runtime, @babel/runtime-corejs2, and @babel/runtime-corejs3 are vulnerable to Inefficient Regular Expression Complexity. Babel generates a polyfill (the Fix: Upgrade this library to at least version 7.26.10 at sentry-javascript/pnpm-lock.yaml:9321. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-7806, GHSA-968p-4wvh-cqc8, CVE-2025-27789 Semgrep found 3 🟡 Medium severity issue identified in your code: Risk: Affected versions of esbuild are vulnerable to Origin Validation Error. esbuild's development server responds to every request, including Server-Sent Events connections, with Manual Review Advice: A vulnerability from this advisory is reachable if you run esbuild with the Fix: Upgrade this library to at least version 0.25.0 at sentry-javascript/pnpm-lock.yaml:25791. Reference(s): GHSA-67mh-4wv8-2f99 Semgrep found 1 🟡 Medium severity issue identified in your code: Risk: Affected versions of vite and vite-plus are vulnerable to Exposure of Sensitive Information to an Unauthorized Actor / Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). Vite's server.fs.deny blocklist—which protects sensitive files such as .env and certificate files from being served—can be bypassed on Windows using alternate path representations (NTFS Alternate Data Stream syntax like Manual Review Advice: A vulnerability from this advisory is reachable if you expose the Vite dev server or vite-plus to the network by configuring a non-loopback address using the --host CLI flag on Windows Fix: Upgrade this library to at least version 6.4.3 at sentry-javascript/pnpm-lock.yaml:41343. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38303, GHSA-fx2h-pf6j-xcff, CVE-2026-53571 Semgrep found 1 🟡 Medium severity issue identified in your code: Risk: Affected versions of jsondiffpatch are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). jsondiffpatch renders JSON object keys into HTML without escaping in its HTML formatter (HtmlFormatter / format). An attacker who controls the JSON being diffed can inject a malicious object key (e.g. a Manual Review Advice: A vulnerability from this advisory is reachable if you are uisng jsondiffpatch on the CLI Fix: Upgrade this library to at least version 0.7.2 at sentry-javascript/pnpm-lock.yaml:29656. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-27629, GHSA-33vc-wfww-vjfv, CVE-2025-9910 Semgrep found 2 🟡 Medium severity issue identified in your code: Risk: Affected versions of svelte are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Svelte versions before 4.2.19 improperly escape HTML during server-side rendering (SSR): attribute values only escape Manual Review Advice: A vulnerability from this advisory is reachable if you use Svelte server-side rendering with a component that places user-controlled data in an element attribute inside a Fix: Upgrade this library to at least version 4.2.19 at sentry-javascript/pnpm-lock.yaml:38859. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2530, GHSA-8266-84wp-wv5c, CVE-2024-45047 Semgrep found 1 🟡 Medium severity issue identified in your code: Risk: Affected versions of webpack-dev-server are vulnerable to Exposed Dangerous Method or Function. webpack-dev-server serves bundled assets without rejecting cross-origin classic script requests. Because such Manual Review Advice: A vulnerability from this advisory is reachable if you are using Fix: Upgrade this library to at least version 5.2.1 at sentry-javascript/pnpm-lock.yaml:42256. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-16767, GHSA-4v9v-hfq4-rm2v, CVE-2025-30359 Semgrep found 1 🟡 Medium severity issue identified in your code: Risk: Affected versions of webpack-dev-server are vulnerable to Origin Validation Error. webpack-dev-server improperly validates the WebSocket connection Origin header, unconditionally accepting any IP-address-based Origin. A malicious website can perform a cross-site WebSocket hijack against a running dev server and exfiltrate the developer source code carried in Hot Module Reloading (HMR) messages. The insecure origin check is the package default and is reached on every WebSocket connection, so any project running an affected version is vulnerable. Manual Review Advice: A vulnerability from this advisory is reachable if you are using Fix: Upgrade this library to at least version 5.2.1 at sentry-javascript/pnpm-lock.yaml:42256. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-16764, GHSA-9jgg-88mc-972h, CVE-2025-30360 Semgrep found 1 🟡 Medium severity issue identified in your code: Risk: Affected versions of webpack are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). webpack's AutoPublicPathRuntimeModule emits runtime code that derives the asset public path from document.currentScript. Because document.currentScript can be DOM-clobbered by an injected scriptless element (e.g. Manual Review Advice: A vulnerability from this advisory is reachable if you build with output.publicPath unset Fix: Upgrade this library to at least version 5.94.0 at sentry-javascript/pnpm-lock.yaml:42482. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2497, GHSA-4vvj-4cpr-p986, CVE-2024-43788 Semgrep found 13
🟠 High severity issue identified in your code: Risk: Affected versions of @cloudflare/workerd-darwin-64, @cloudflare/workerd-darwin-arm64, @cloudflare/workerd-linux-64, @cloudflare/workerd-linux-arm64, @cloudflare/workerd-windows-64, @duckdb/node-api, @duckdb/node-bindings, @duckdb/node-bindings-darwin-arm64, @duckdb/node-bindings-darwin-x64, @duckdb/node-bindings-linux-arm64, @duckdb/node-bindings-linux-arm64-musl, @duckdb/node-bindings-linux-x64, @duckdb/node-bindings-linux-x64-musl, @duckdb/node-bindings-win32-arm64, @duckdb/node-bindings-win32-x64, @napi-rs/canvas, @napi-rs/canvas-linux-arm64-gnu, @napi-rs/canvas-linux-x64-gnu, @napi-rs/canvas-linux-x64-musl, @oven/bun-darwin-aarch64, @oven/bun-darwin-x64, @oven/bun-darwin-x64-baseline, @oven/bun-freebsd-aarch64, @oven/bun-freebsd-x64, @oven/bun-linux-aarch64, @oven/bun-linux-aarch64-android, @oven/bun-linux-aarch64-musl, @oven/bun-linux-x64, @oven/bun-linux-x64-android, @oven/bun-linux-x64-baseline, @oven/bun-linux-x64-musl, @oven/bun-linux-x64-musl-baseline, @oven/bun-windows-aarch64, @oven/bun-windows-x64, @oven/bun-windows-x64-baseline, @skia-canvas/linux-arm64-glibc, @skia-canvas/linux-arm64-musl, @skia-canvas/linux-x64-glibc, @skia-canvas/linux-x64-musl, @sparticuz/chromium, @yao-pkg/pkg-fetch, @zkl2333/freetype-wasm, canvaskit-wasm, chrome-aws-lambda, duckdb, electron, electron-nightly, fonteditor-core, iltorb, kuzu, kuzu-wasm, lbug, node-aix-ppc64, node-darwin-x64, node-libcurl, node-linux-arm64, node-linux-armv7l, node-linux-ppc64le, node-linux-s390x, node-linux-x64, node-sunos-x64, node-win-arm64, node-win-x64, node-win-x86, nodejs-mobile-react-native, pkg-fetch, playwright-chromium, playwright-core, puppeteer, skia-canvas, wawoff2, woff2-encoder, and workerd are vulnerable to Out-of-bounds Write. These packages use a version of the Brotli C library (1.0.3 through 1.2.0) that has an out-of-bounds write in the Brotli decoder. Decoding attacker-controlled Brotli data (for example HTTP responses, request bodies, WOFF2 fonts or Parquet files) can corrupt memory and may lead to denial of service, memory disclosure or remote code execution. Upgrade to a fixed version where one is available. Fix: Upgrade this library to at least version 1.20261027.1 at sentry-javascript/pnpm-lock.yaml:42813. Reference(s): https://github.com/advisories/GHSA-cust-0000-0034 Semgrep found 1 🟠 High severity issue identified in your code: Risk: Affected versions of launch-editor, vite, and vite-plus are vulnerable to Improper Neutralization of Special Elements used in a Command ('Command Injection'). Manual Review Advice: A vulnerability from this advisory is reachable if you run the Fix: Upgrade this library to at least version 6.4.4 at sentry-javascript/pnpm-lock.yaml:41343. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-105035, GHSA-587h-7wmj-h5pm, CVE-2026-112942 Semgrep found 2 🟠 High severity issue identified in your code: Risk: Affected versions of sharp are vulnerable to Dependency on Vulnerable Third-Party Component / Use After Free. The prebuilt libvips binaries shipped with sharp bundle a vulnerable librsvg that has a use-after-free when decoding SVG images, which can lead to remote code execution when sharp processes an attacker-supplied SVG. Upgrade to sharp 0.35.5 or later, or block SVG decoding with sharp.block({ operation: ["VipsForeignLoadSvg"] }). Manual Review Advice: A vulnerability from this advisory is reachable if you decode SVG input with sharp, which is enabled by default, and have not disabled it with sharp.block({ operation: ["VipsForeignLoadSvg"] }) Fix: Upgrade this library to at least version 0.35.5 at sentry-javascript/pnpm-lock.yaml:37832. Reference(s): GHSA-wq5f-xc86-pv6w Semgrep found 1 🟠 High severity issue identified in your code: Risk: Affected versions of webpack-dev-middleware are vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). When Fix: Upgrade this library to at least version 7.4.6 at sentry-javascript/pnpm-lock.yaml:42238. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-64850, GHSA-g84c-rxfj-3j2c, GHSA-wr3j-pwj9-hqq6, CVE-2026-76844 Semgrep found 2 🟠 High severity issue identified in your code: Risk: Affected versions of @angular/compiler and @angular/core are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Angular's compiler internationalization (i18n) pipeline does not reject static event-handler attributes that are marked for translation with the Manual Review Advice: A vulnerability from this advisory is reachable if you are using Angular's i18n pipeline and also set the matching static Fix: Upgrade this library to at least version 20.3.27 at sentry-javascript/pnpm-lock.yaml:3742. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-52369, GHSA-jj27-h5hq-8x99 Semgrep found 2 🟠 High severity issue identified in your code: Risk: Affected versions of sharp are vulnerable to Dependency on Vulnerable Third-Party Component. sharp bundles a vulnerable version of the native libvips library, inheriting four memory-safety flaws: an integer overflow leading to a heap-based buffer overflow in the VIPS loader ( Fix: Upgrade this library to at least version 0.35.0 at sentry-javascript/pnpm-lock.yaml:37832. Reference(s): GHSA-f88m-g3jw-g9cj Semgrep found 1 🟠 High severity issue identified in your code: Risk: Affected versions of react-router and turbo-stream are vulnerable to Allocation of Resources Without Limits or Throttling. React Router Framework Mode uses turbo-stream to serialize loader/action data into Single Fetch responses. The underlying serialization algorithm becomes a bottleneck on certain data shapes, so an attacker who can influence the serialized data can cause excessive resource consumption and a Denial of Service. Manual Review Advice: A vulnerability from this advisory is reachable if you use React Router Framework Mode with Single Fetch enabled (the default in v7 Framework Mode, or opt-in via future.unstable_singleFetch in Remix v2.9.0+) and not Declarative or Data mode Fix: Upgrade this library to at least version 3.0.0 at sentry-javascript/pnpm-lock.yaml:39550. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-33994, GHSA-rxv8-25v2-qmq8, CVE-2026-34077 Semgrep found 1 🟠 High severity issue identified in your code: Risk: Affected versions of @angular/compiler are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). A stored XSS vulnerability in the Angular Template Compiler arises because its internal security schema doesn't classify certain URL‐ holding attributes (e.g. xlink:href, math|href, annotation|href) or the Manual Review Advice: A vulnerability from this advisory is reachable if you allow Fix: Upgrade this library to at least version 19.2.17 at sentry-javascript/pnpm-lock.yaml:3727. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-200118, GHSA-v4hv-rgfq-gp49, CVE-2025-66412 Semgrep found 6
🔴 Critical severity issue identified in your code: Risk: Affected versions of @babel/traverse and babel-traverse are vulnerable to Incomplete List of Disallowed Inputs / Incorrect Comparison. Compiling untrusted code with Babel using plugins that invoke the internal path.evaluate() or path.evaluateTruthy() methods (for example @babel/plugin-transform-runtime, @babel/preset-env with useBuiltIns, or any polyfill‐provider plugin) allows a maliciously crafted AST to execute arbitrary code on the build machine during compilation. Manual Review Advice: A vulnerability from this advisory is reachable if you use Babel to compile untrusted JavaScript Fix: There are no safe versions of this library available for upgrade. Library included at sentry-javascript/pnpm-lock.yaml:22254. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2669, GHSA-67hx-6x53-jw92, CVE-2023-45133 |
size-limit report 📦Compared: 20e308e (PR test merge using develop at 7f77bb2) Against: 7f77bb2 (develop) · base run #66275 ✅ Baseline matches: this diff contains only this PR's changes.
|
|
Re the Semgrep supply-chain findings: these aren't new. This PR doesn't change any resolved versions. Old and new lockfiles have the same 3464 package versions, and |
Optional E2E testsSome optional checks were not successful. They do not block the merge. 3 not successful, 60 successful. See the run.
Successful checks
|
What
Bumps pnpm from 12.11.2 to 12.21.0 and sets
lockfile.format: v13, sopnpm-lock.yamlis now written in the experimental pnpm 13 format (tab-indented JSON that is still valid YAML,lockfileVersion: '13.0'). It resolves to the same 3464 package versions as before; only the file format changes.Why
The v13 format has one entry per package version and no peer-suffixed keys, so a peer dependency bump only touches the lines that record it instead of rewriting large parts of the lockfile.
lockfile.formatlanded in 12.19.0, and 12.20/12.21 fix several v13 write and frozen-install bugs, so this uses the latest 12.x.Notes:
Failed to parse pnpm lockfile), which broke everynxcommand.nx.jsonnow setsanalyzeLockfile: falsefor@nx/js. Workspace project dependencies come frompackage.json, andpnpm-lock.yamlis already a shared global input, so the project graph (64 projects, 244 edges) is identical todevelop.analyzeSourceFiles: falsekeeps the current default, which settingpluginsConfigwould otherwise flip.@pnpm/exethere.pnpm-lock.yamland probably does not understand v13 yet. That should be checked before this merges.via @msonnb.
--
View Session [Sentry]