Repository navigation
build(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2 - #9722
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.6 to 7.1.2. - [Release notes](https://github.com/moxystudio/node-cross-spawn/releases) - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.6...v7.1.2) --- updated-dependencies: - dependency-name: cross-spawn dependency-version: 7.1.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
运行根仓库覆盖率工具的开发者会随 npm lock 安装间接依赖 cross-spawn,Windows 上需要获得已发布的修补版。旧锁选择 7.0.6,处于发布者通报的 Windows 受影响范围。运行方式和应用依赖由原 package.json 登记。新锁把现有开发依赖解析到 7.1.2。这一版包含上游既有修补,同时恢复 PATH 找到的 Windows 批处理路径行为。本次是根 npm 开发安装的间接依赖更新,属于 c8 子进程及覆盖率工具链。Windows 原生运行留作平台验证。
改动思路 / Approach
npm ci 核验 lock 中的 tarball 和 SRI。根 coverage script 用 c8,c8 用 foreground-child 调用 cross-spawn。现有依赖约束已经允许 7.1.2。 仅更新原锁内三个相互关联的值即可得到修补版。依赖版本范围、安装结构和启用策略保持原样。 版本解析由现有 npm lock 持有,运行调用权限仍沿本地测试命令。 本次是根 npm 开发安装的间接依赖更新,属于 c8 子进程及覆盖率工具链。
具体改动 / Changes
审阅提交 555adfe,diff 基线 086afee,1 个文件,+3/-3。开发依赖解析核对三处字段,锁下的版本、下载定位和摘要相互吻合。锁内其余记录及根 package.json 与基线完全一致。实际覆盖率调用经过原 foreground-child 和 c8。对照两个安装树的正常输出及非零退出,同时读回覆盖率结果。另起干净目录用 omit dev 安装验证范围。该安装不会解析或载入这个开发包。 根仓库检查入口 · 精确锁定记录 · 发布者公告 · 7.1.2 发布说明
对主干的风险 / Risks
关键风险是 Windows 下旧 shell 式调用不符合更新后可执行文件及参数契约。仓库实际消费者通过 foreground-child 传入 Node 和独立参数。本次以原生 macOS 证据和上游公布的 Windows 变更分别核对。
根目录 npm ci 安装了 7.1.2。实际 release tarball 的 SHA-512 与 npm 发布和锁记录一致。两版 macOS c8 均保留 Unicode 参数、原样传播退出 7 并写出相同覆盖率行。 清洁 npm ci --omit=dev 后没有安装 cross-spawn。候选在实际本地子进程无法启动时仍返回 ENOENT。两版依赖树的其余 lock 元数据与 package.json 逐项一致。 根目录 npm run test:control-plane:coverage 通过 6,928 项,跳过 4 项,失败为零。标准预合并 4 项直接、1 项选中检查通过。
我的整体评价 / Verdict
APPROVE。 批准这个根开发依赖升级。实际本地覆盖率和安装对照没有阻塞发现。 更新间接开发依赖。 本地运行环境为 macOS / Node 24,Windows 修复依据上游发布和公告。未实测 Windows 行为。
English verdict: APPROVE at 555adfe. The lock-only dev dependency bump matches official package integrity. Clean installs and 6,928 macOS coverage-suite tests passed, with four skips. Windows behavior was assessed from upstream release evidence.
Bumps cross-spawn from 7.0.6 to 7.1.2.
Release notes
Sourced from cross-spawn's releases.
Changelog
Sourced from cross-spawn's changelog.
Commits
9bfd202chore(release): 7.1.2fe027b8fix: run batch files by their resolved path on Windowsf408280chore(release): 7.1.1d0ead35fix: always quote commands run through cmd.exea03242echore: upgrade dev dependencies515dc55chore(release): 7.1.04fcac7bdocs: document Windows argument escaping and its limitations244ffeafix: escape commands and arguments safely when running them through cmd.exe9924b88fix: close the file descriptor when reading a shebang fails462a846test: support unit tests next to source filesInstall script changes
This version adds
preparescript that runs during installation. Review the package contents before updating.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.