build: update dependency npm-package-arg to v14 (main)#33218
build: update dependency npm-package-arg to v14 (main)#33218angular-robot wants to merge 1 commit into
Conversation
See associated pull request for more information.
There was a problem hiding this comment.
Code Review
This pull request updates the npm-package-arg dependency in packages/angular/cli/package.json from version 13.0.2 to 14.0.0. Feedback highlights that this major version update introduces significantly more restrictive Node.js version requirements and potential ESM compatibility issues, as the CLI may not yet support importing ESM-only packages.
| "jsonc-parser": "3.3.1", | ||
| "listr2": "10.2.1", | ||
| "npm-package-arg": "13.0.2", | ||
| "npm-package-arg": "14.0.0", |
There was a problem hiding this comment.
This update to npm-package-arg v14.0.0 introduces a breaking change in Node.js version support, now requiring node ^22.22.2 || ^24.15.0 || >=26.0.0. This is significantly more restrictive than the current Node.js LTS versions (18, 20). Additionally, this major version likely transitions the package to ESM-only, which will cause runtime errors if the CLI (which lacks "type": "module" in its package.json) attempts to import it without proper ESM support.
This PR contains the following updates:
13.0.2→14.0.0Release Notes
npm/npm-package-arg (npm-package-arg)
v14.0.0Compare Source
npm-package-argnow supports node^22.22.2 || ^24.15.0 || >=26.0.0Features
0eade2f#228 bump to new node engine range (@owlstronaut)245d29a#228 template-oss-apply (@owlstronaut)Dependencies
362844d#228validate-npm-package-name@8.0.091cf06b#228proc-log@7.0.055409ca#228hosted-git-info@10.1.0Chores
a6794f1#228 template-oss-apply (@owlstronaut)bfb6066#228 bumping @npmcli/template-oss from 4.28.0 to 5.1.0 (@owlstronaut)c9bff6d#220 explicit sha1 / sha256 git committish tests (#220) (@wraithgar)