mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
Windows runs npm.cmd through a shell, and passing an argument array with `shell: true` is deprecated in Node 24 (DEP0190). Every `npm run doctor` and every Pinokio install on Windows printed the warning. npmProcessSpec now takes the npm arguments and, on Windows, joins them into the command string; the arguments are fixed subcommands (`--version`, `ci`). Unix behavior is unchanged.
5 lines
319 B
Markdown
5 lines
319 B
Markdown
- On Windows, `npm run doctor` and the Pinokio install no longer print Node's
|
|
DEP0190 warning ("Passing args to a child process with shell option true can
|
|
lead to security vulnerabilities"): npm.cmd's fixed subcommand is now part of
|
|
the shell command string instead of an argument array (quanticsoul4772, #1057).
|