Skip to content

chore(deps): update dependency cross-spawn to v7.1.2 - #506

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/devdependencies
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/devdependencies

Conversation

@renovate

@renovate renovate Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cross-spawn 7.0.6 → 7.1.2 age confidence

Release Notes

moxystudio/node-cross-spawn (cross-spawn)

v7.1.2

Compare Source

Bug fixes

  • Batch files found in PATH see their own directory again (#​203, #​204). Since 7.1.0, a batch file run by its name, e.g. gradle, got the current directory in %~dp0 on Windows, which broke batch files that use it to find their own files, such as Gradle's (Unable to access jarfile). Batch files are now run by the path they resolved to.

v7.1.1

Compare Source

Security

This release fixes a command injection vulnerability that affects Windows only (GHSA-w3gc-668g-rf8f, high).

7.1.0 fixed how arguments are escaped for batch files, but that escaping only applied when cross-spawn detected that the command was a batch file. When the command wasn't written as a plain program name or path, e.g. it contained double quotes or a space, cross-spawn could miss that cmd.exe would run a batch file, and escape the arguments for a regular program instead, which allowed running arbitrary commands.

Please upgrade. cross-spawn@6 users can upgrade to 6.0.8.

Behaviour change

On Windows, commands that run through cmd.exe are now always quoted. As on other platforms, the command must be the name or path of a single program, with its arguments passed in args: spawn('npm install') now fails with ENOENT instead of running npm with install. Also, cmd.exe's message for a command it can't find now shows the command in quotes, e.g. '"foo"' is not recognized as an internal or external command. See the Windows argument escaping section of the README.

v7.1.0

Compare Source

Bug Fixes
  • close the file descriptor when reading a shebang fails (9924b88)
  • escape commands and arguments safely when running them through cmd.exe (244ffea)
7.0.6 (2024-11-18)
Bug Fixes
  • update cross-spawn version to 7.0.5 in package-lock.json (f700743)
7.0.5 (2024-11-07)
Bug Fixes
  • fix escaping bug introduced by backtracking (640d391)
7.0.4 (2024-11-07)
Bug Fixes
7.0.3 (2020-05-25)
Bug Fixes
7.0.2 (2020-04-04)
Bug Fixes
7.0.1 (2019-10-07)
Bug Fixes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) November 29, 2026 01:04
@renovate
renovate Bot force-pushed the renovate/devdependencies branch from 29019c5 to 22648ed Compare November 29, 2026 05:03
@renovate renovate Bot changed the title chore(deps): update dependency cross-spawn to v7.1.1 chore(deps): update dependency cross-spawn to v7.1.2 Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants