mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +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.
319 B
319 B
- On Windows,
npm run doctorand 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).