Repository navigation
chore(deps): cross-spawn 7.1.2 in both lockfiles - #191
Merged
Merged
Conversation
Lockfile only: no package.json changes. The one cross-spawn entry (^7.0.2 from eslint 8.53.0 and 8.57.0, ^7.0.3 from lint-staged's execa 8.0.1, ^7.0.0 from glob's foreground-child 3.3.0) moves 7.1.0 -> 7.1.2, the newest 7.x release, published more than 7 days ago (npmMinimalAgeGate). Only its version, resolution and checksum change, with the same dependencies. Fixes GHSA-w3gc-668g-rf8f (high; command injection on Windows when the command is not a plain program name or path, fixed in 7.1.1). 7.1.2 also runs batch files by their resolved path on Windows, fixing batch files that find their own files through %~dp0, broken since 7.1.0 quoted batch file names. Every runtime change between 7.1.0 and 7.1.2 sits behind the `process.platform === 'win32'` check in lib/parse.js; on Linux and macOS the package behaves as before. 7.1.1 adds a `"prepare": "husky"` script to the package. Yarn runs only preinstall, install and postinstall for a registry dependency, and `enableScripts: false` disables even those here. yarn up -R cross-spawn Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lockfile only: the toolchain's package.json, its overrides and the Aztec 6.0.0 pins are unchanged. cross-spawn (^7.0.3 from jest's execa 5.1.1, ^7.0.6 from glob's foreground-child 3.3.1) moves 7.1.0 -> 7.1.2, the newest 7.x release, published more than 7 days ago; only its version, tarball URL and integrity change, with the same dependencies. Fixes GHSA-w3gc-668g-rf8f (high; command injection on Windows when the command is not a plain program name or path); on Linux the package behaves as before. The smoke installs with `npm ci --ignore-scripts`. The `prepare` script 7.1.1 adds would not run regardless: npm runs `prepare` only for linked or git dependencies, never for a registry tarball. Produced with npm 11.19.1: npm update --prefix services/network-smoke/toolchain --package-lock-only \ --ignore-scripts --no-audit --no-fund \ --before=2026-11-29T16:35:53.000Z cross-spawn Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
Lockfile-only refresh of
cross-spawnfrom 7.1.0 to 7.1.2. Nopackage.jsonchanges; one entry changes in each lockfile (6 lines in total).yarn.lockservices/network-smoke/toolchain/package-lock.jsonWhy
7.1.2 is the newest 7.x release and has passed the 7-day
npmMinimalAgeGate(published 2026-11-29T03:57Z). The gate was not bypassed:yarn up -R cross-spawnpicked 7.1.2 itself, and the npm lock was produced withnpm update --package-lock-only --ignore-scripts --before=<7 days ago> cross-spawn.What 7.1.1 and 7.1.2 contain
Checked against the published tarballs (7.1.0, 7.1.1, 7.1.2):
PATHEXT(lib/parse.js,lib/util/escape.js,lib/util/resolveCommand.js).lib/parse.js, the resolved batch file path is passed to the escaping.package.jsongains"prepare": "husky", which neither Yarn nornpm ciruns for a registry dependency (and this repository runs no third-party install scripts).process.platform === 'win32'check:spawnandspawn.syncbehave on Linux as before.How it was tested
yarn install --immutable,yarn build,yarn lint,yarn test: all exit 0 (936 tests passed, 3 skipped; the skips are environment-gated).npm ci --ignore-scripts --dry-runexits 0.Review
One round, both reviewers approve: the diff touches only the two entries, every dependent resolves to 7.1.2, the npm integrity and the Yarn checksum match the registry tarball, the published files match the
v7.1.2tag byte for byte,prepareis never run for a registry dependency, and no Linux code path changes. Noted, not blocking: the upstream git tag is unsigned (the npm tarball carries the registry signature).🤖 Generated with Claude Code