Skip to content

build: update dependency npm-package-arg to v14 (main)#33218

Open
angular-robot wants to merge 1 commit into
angular:mainfrom
angular-robot:ng-renovate/main-npm-package-arg-14-x
Open

build: update dependency npm-package-arg to v14 (main)#33218
angular-robot wants to merge 1 commit into
angular:mainfrom
angular-robot:ng-renovate/main-npm-package-arg-14-x

Conversation

@angular-robot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
npm-package-arg 13.0.214.0.0 age adoption passing confidence

  • If you want to rebase/retry this PR, check this box

Release Notes

npm/npm-package-arg (npm-package-arg)

v14.0.0

Compare Source

⚠️ BREAKING CHANGES
  • npm-package-arg now supports node ^22.22.2 || ^24.15.0 || >=26.0.0
  • template-oss-apply
Features
Dependencies
Chores

See associated pull request for more information.
@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only] labels May 20, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant