Skip to content

Bump the npm-dependencies-security group across 2 directories with 1 update - #4227

Merged
T4rk1n merged 1 commit into
devfrom
dependabot/npm_and_yarn/plotly/eslint-config-dash/npm-dependencies-security-2e28daeae2
Dec 1, 2026
Merged

T4rk1n merged 1 commit into
devfrom
dependabot/npm_and_yarn/plotly/eslint-config-dash/npm-dependencies-security-2e28daeae2

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the npm-dependencies-security group with 1 update in the /@plotly/eslint-config-dash directory: cross-spawn.
Bumps the npm-dependencies-security group with 1 update in the /@plotly/dash-jupyterlab directory: cross-spawn.

Updates cross-spawn from 7.0.3 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)

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

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

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

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.


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.

…update

Bumps the npm-dependencies-security group with 1 update in the /@plotly/eslint-config-dash directory: [cross-spawn](https://github.com/moxystudio/node-cross-spawn).
Bumps the npm-dependencies-security group with 1 update in the /@plotly/dash-jupyterlab directory: [cross-spawn](https://github.com/moxystudio/node-cross-spawn).


Updates `cross-spawn` from 7.0.3 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.3...v7.1.2)

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.3...v7.1.2)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-version: 7.1.2
  dependency-type: indirect
  dependency-group: npm-dependencies-security
- dependency-name: cross-spawn
  dependency-version: 7.1.2
  dependency-type: indirect
  dependency-group: npm-dependencies-security
...

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 1, 2026
@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Dash performance benchmarks

✅ all within thresholds

scenario metric p90 (ms) median growth baseline p90 note
✅ callback_chain chain_ms 277.5 265.6 0.92x 595.4
✅ callback_chain graph_ms 1.1 1.1 1.0x 2.1
✅ callback_fanout fanout_ms 50.1 46.9 0.9x 88.3
✅ callback_fanout_children_update fanout_ms 92.2 81.3 0.98x 164.8
✅ deep_nesting render_ms 34.1 32.6 1.18x 61.1
✅ full_children_replace replace_ms 103.0 64.4 3.06x 161.2
✅ initial_render_large render_ms 359.5 354.9 0.97x 697.8
✅ initial_render_small render_ms 70.3 57.9 0.97x 102.7
✅ patch_append_nested append_ms 88.1 57.5 2.46x 127.2
✅ patch_append_toplevel append_ms 80.2 56.3 2.41x 165.8
✅ patch_scalar_update_large update_ms 88.7 83.7 0.93x 144.7
✅ rerender_existing_subtree rerender_ms 70.2 61.1 0.87x 121.0
✅ wildcard_all_resolve wildcard_ms 171.0 155.9 0.9x 313.4
✅ wildcard_all_resolve graph_ms 0.6 0.6 1.0x 1.2

growth = late-third / early-third per-op time; ~1 is flat, a large value means the per-op cost scales with accumulated state.

machine scale vs baseline: 0.59x - divided out of the baseline ratios so they compare like for like (the absolute warn/fail ceilings are left un-scaled); calibrated on initial_render_small.

@T4rk1n
T4rk1n merged commit aa866f2 into dev Dec 1, 2026
41 checks passed
@T4rk1n
T4rk1n deleted the dependabot/npm_and_yarn/plotly/eslint-config-dash/npm-dependencies-security-2e28daeae2 branch December 1, 2026 14:25
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.

1 participant