You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeprecationWarning: Passing args to a child process with shell option true in Angular CLI package-manager.js #30821
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
19
Description
When running ng add @hidden-path/hidden-package, the following deprecation warning appears: [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated. at normalizeSpawnArguments (node:child_process:617:15) at spawn (node:child_process:756:13) at /node_modules/@angular/cli/src/utilities/package-manager.js:174:69 ...
This warning is triggered by the Angular CLI’s internal usage of child_process.spawn with shell: true and concatenated arguments in package-manager.js. According to Node.js documentation, this pattern is deprecated and can lead to security vulnerabilities.
Activity
fix(@angular/cli): address Node.js deprecation DEP0190
fix(@angular-devkit/schematics): address Node.js deprecation DEP0190
fix(@angular-devkit/schematics): address Node.js deprecation DEP0190
fix(@angular/cli): address Node.js deprecation DEP0190
fix(@angular-devkit/schematics): address Node.js deprecation DEP0190
fix(@angular/cli): address Node.js deprecation DEP0190
fix(@angular-devkit/schematics): address Node.js deprecation DEP0190
fix(@angular/cli): address Node.js deprecation DEP0190
angular-automatic-lock-bot commentedon Sep 15, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.