Skip to content

build(deps): bump the npm_and_yarn group across 1 directory with 4 updates - #400

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-ae26e79d6a
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-ae26e79d6a

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown

Bumps the npm_and_yarn group with 4 updates in the / directory: cross-spawn, http-proxy-middleware, node-forge and terser.

Updates cross-spawn from 7.0.6 to 7.1.2

Release notes

Sourced from cross-spawn's releases.

v7.1.2

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

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

Security

This release fixes two vulnerabilities that affect Windows only:

  • Command injection when spawning batch files (GHSA-ghv9-86vm-4v8m, high). Arguments passed to batch files outside node_modules/.bin, such as npm.cmd or globally installed package shims, could break out of their quotes and run arbitrary commands. %VAR% and !VAR! could also be expanded in some environments.
  • Argument injection via backslashes before a double quote (GHSA-m6qr-m48x-3xhh, medium). Since 7.0.4, arguments with two or more backslashes before a double quote, or at their end, could split into extra arguments or swallow the following ones.

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

Thanks to Duong Bui Thai for privately reporting both, to @​mohd-akram for reporting the batch file injection in #171, and to @​trackoor and @​ogffx for independently reporting and fixing the backslash issue in #188 and #190.

Behaviour changes

These only affect Windows, when a command runs through cmd.exe, i.e. batch files and other non-executable commands:

  • Line breaks now throw a TypeError. cmd.exe can't escape them, so arguments with line breaks used to be silently cut short. Both spawn() and spawn.sync() now throw synchronously instead.
  • Inner double quotes are escaped as "" for batch files. Programs called by batch files that don't follow the Microsoft C runtime conventions, such as those written in Go or that use CommandLineToArgvW, may now split arguments containing double quotes differently.
  • cmd.exe runs with /e:on /v:off. This also applies to the batch file itself, e.g. one relying on delayed expansion being enabled in the registry.
  • Batch files that read an argument unquoted with %~1 remain unsafe, as they always were. Please quote it, e.g. "%~1", or forward the arguments with %*.

Please see the new Windows argument escaping section of the README.

Other changes

  • Close the file descriptor when reading a shebang fails (#187). Thanks to @​xiehuanyi.
Changelog

Sourced from cross-spawn's changelog.

7.1.2 (2026-11-29)

Bug Fixes

  • run batch files by their resolved path on Windows (fe027b8), closes #203

7.1.1 (2026-11-28)

Bug Fixes

  • always quote commands run through cmd.exe (d0ead35)

7.1.0 (2026-11-28)

Bug Fixes

  • close the file descriptor when reading a shebang fails (9924b88)
  • escape commands and arguments safely when running them through cmd.exe (244ffea)
Commits
  • 9bfd202 chore(release): 7.1.2
  • fe027b8 fix: run batch files by their resolved path on Windows
  • f408280 chore(release): 7.1.1
  • d0ead35 fix: always quote commands run through cmd.exe
  • a03242e chore: upgrade dev dependencies
  • 515dc55 chore(release): 7.1.0
  • 4fcac7b docs: document Windows argument escaping and its limitations
  • 244ffea fix: escape commands and arguments safely when running them through cmd.exe
  • 9924b88 fix: close the file descriptor when reading a shebang fails
  • 462a846 test: support unit tests next to source files
  • Additional commits viewable in compare view
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Updates http-proxy-middleware from 2.0.11 to 2.0.12

Release notes

Sourced from http-proxy-middleware's releases.

v2.0.12

What's Changed

Full Changelog: chimurai/http-proxy-middleware@v2.0.11...v2.0.12

Changelog

Sourced from http-proxy-middleware's changelog.

v2.0.12

  • fix(htt-proxy-middleware): harden ws upgrade()
Commits

Updates node-forge from 1.4.3 to 1.4.4

Changelog

Sourced from node-forge's changelog.

1.4.4 - 2026-11-22

Security

  • LOW: RSA multi-prime private keys are read as two-prime keys.
    • pki.privateKeyFromPem() and pki.privateKeyFromAsn1() ignore the RSAPrivateKey version and any otherPrimeInfos, so a multi-prime key (RFC 8017 A.1.2) is read with only its first two primes. forge doesn't support multi-prime keys: signatures made with such a key are invalid, and each one reveals a factor of the modulus to anyone who sees it. Keys that forge or most other tools generate are two-prime and not affected. Replace multi-prime keys that were used to sign with forge.
    • Found while reviewing #1143.
    • CVE ID: CVE-TBD
    • GHSA ID: GHSA-w73w-hhm4-q25p

Fixed

  • [rsa] Reject RSAPrivateKeys with a version other than 0 or with otherPrimeInfos. Reported by @​Jennifer-first (#1143).
    • NOTE: Multi-prime keys, and keys with an invalid version, now fail to load with "Only two-prime RSAPrivateKey version 0 is supported." instead of loading and then producing invalid signatures and failing decryption.
  • [rc2] Compute the effective key length mask as RFC 2268 defines it. Key expansion was wrong when the effective key size was not a multiple of 8 bits, and two of the RFC 2268 test vectors failed. Reported by @​Martomate (#1120). From PR #1150 by @​ArockiaRajamanickam.
    • NOTE: Output changes for effective key sizes that are not a multiple of 8 bits. Data encrypted with such sizes by earlier versions doesn't decrypt with this version (and didn't interoperate with other RC2 implementations). The default (128) and other multiples of 8, including the 40 and 128 bit sizes used by PKCS#12, are unchanged.
  • [util] Encode the low byte of characters over 0xff in util.encode64(), as Node.js does for 'binary' strings, instead of returning invalid base64. Input should still be a binary string (use util.encodeUtf8() for text). Reported in #932. Based on PR #933 by @​wklaczynski.
  • [ssh] Don't add a leading zero byte to integers with an odd number of hex digits in SSH and PuTTY key encoding. Integers such as the private exponent or primes in ssh.privateKeyToPutty() were sometimes encoded with an extra leading zero byte, which RFC 4251 doesn't allow, and PuTTY couldn't load several percent of the keys. Reported by @​yammelvin (#952). From PR #987 by @​romeech91.
  • [jsbn] Detect Node.js with util.isNodejs instead of a missing navigator global, which Node.js 21+ defines. jsbn used a browser code path with

... (truncated)

Commits
  • 7437e75 Release 1.4.4.
  • 9458dc4 Update changelog.
  • d7f01f9 Use Node.js seed data as raw bytes in the PRNG.
  • 9a0a206 Update log URL guard tests and add changelog entry.
  • 0c94d4a Add unit tests for log setup without URL or location.href.
  • 69f3518 Fix log setup crash in environments without URL or location.href
  • 5d60a20 "verify" instead of "sign" comment ed25519
  • 882af2c Add jsbn Node.js digit size test and changelog entry.
  • f36ab9b fix: jsbn use util.isNodejs to determine node runtime
  • d22d056 Add SSH mpint test and changelog entry.
  • Additional commits viewable in compare view

Updates terser from 5.39.0 to 5.51.4

Changelog

Sourced from terser's changelog.

v5.51.4

  • Remove accidentally included source maps

v5.51.3

  • Fix source code leak through sourceMap.content (input sourcemap)
    • This change changes sourcemap output if including the original source code is desired. includeSources is now required to be explicitly set when an input sourcemap is used.
  • Don't crash when evaluating BigInt modulo by zero (#1731)
  • Keep parens around yield and await used as a template tag (#1740) (#1741)

v5.51.2

  • Roll back fix for ambiguously scoped default args, due to issues that came up without clear reproduction

v5.51.1

  • Fix transforming code in dynamic import argument.

v5.51.0

  • Pin (deoptimize) functions that use argnames scope in ambiguous way. IE when default args access other args, or variables outside the function.
  • Fix nullish coalescing ?? operator being considered a "boolean operator" sometimes causing booleans to be generated in its left side.

v5.50.0

  • Experimental TypeScript type stripping
  • Fixed a crash in mozilla AST conversion of imports

v5.49.2

  • Fixed a crash related to dynamic import expressions

v5.49.1

  • Correctly parenthesize tagged template strings where the tag is new something(), which also has parentheses
  • Internally changed how import() expression is parsed, it is no longer treated as a function call.

v5.49.0

  • Add ResizeObserver box option to domprops
  • Do not evaluate exponentiation of BigInt
  • Parse identifiers from newer unicode versions, and escape them for older runtimes

v5.48.0

  • Support import source ... and import defer ... (#1682)

v5.47.1

... (truncated)

Commits
  • bd270d0 5.51.4
  • 87d88e3 update changelog
  • 5e3bb08 5.51.3
  • aa78665 update changelog
  • df6b434 fix source code leak through sourceMap.content (input sourcemap)
  • 707c978 fix: don't crash when evaluating BigInt modulo by zero (#1731)
  • 8fa44c8 fix: keep parens around yield and await used as a template tag (#1740) (#...
  • 317f449 5.51.2
  • de65694 update changelog
  • 053a8f3 roll back previous fix for ambiguously scoped default args
  • Additional commits viewable in compare view

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

…dates

Bumps the npm_and_yarn group with 4 updates in the / directory: [cross-spawn](https://github.com/moxystudio/node-cross-spawn), [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware), [node-forge](https://github.com/digitalbazaar/forge) and [terser](https://github.com/terser/terser).


Updates `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)

Updates `http-proxy-middleware` from 2.0.11 to 2.0.12
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.12/CHANGELOG.md)
- [Commits](chimurai/http-proxy-middleware@v2.0.11...v2.0.12)

Updates `node-forge` from 1.4.3 to 1.4.4
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.4.3...v1.4.4)

Updates `terser` from 5.39.0 to 5.51.4
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v5.39.0...v5.51.4)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-version: 7.1.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.12
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: node-forge
  dependency-version: 1.4.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: terser
  dependency-version: 5.51.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants