Skip to content

build: update dependency yargs to v18 (20.0.x) #61770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

angular-robot
Copy link
Collaborator

@angular-robot angular-robot commented May 30, 2025

This PR contains the following updates:

Package Type Update Change
yargs (source) dependencies major ^17.2.1 -> ^18.0.0

Release Notes

yargs/yargs (yargs)

v18.0.0

Compare Source

⚠ BREAKING CHANGES
  • command names are not derived from modules passed to command.
  • singleton usage of yargs yargs.foo, yargs().argv, has been removed.
  • minimum node.js versions now ^20.19.0 || ^22.12.0 || >=23.
  • yargs is now ESM first
Features
Bug Fixes
  • addDirectory do not support absolute command dir (#​2465) (3a40a78)
  • allows ESM modules commands to be extensible using visit option (#​2468) (200e1aa)
  • browser: fix shims so that yargs continues working in browser context (#​2457) (4ae5f57)
  • build: address problems with typescript compilation (#​2445) (8d72fb3)
  • coerce should play well with parser configuration (#​2308) (8343c66)
  • deps: update dependency yargs-parser to v22 (#​2470) (639130d)
  • exit after async handler done (#​2313) (e326cde)
  • handle spaces in bash completion (#​2452) (83b7788)
  • parser-configuration should work well with generated completion script (#​2332) (888db19)
  • propagate Dictionary including undefined in value type (#​2393) (2b2f7f5)
  • zsh: completion no longer requires double tab when using autoloaded (0dd8fe4)
Code Refactoring
  • command names are not derived from modules passed to command. (d90af45)
  • singleton usage of yargs yargs.foo, yargs().argv, has been removed. (d90af45)
Build System
  • minimum node.js versions now ^20.19.0 || ^22.12.0 || >=23. (d90af45)

Configuration

📅 Schedule: Branch creation - "after 10:00pm every weekday,before 5:00am every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR has been generated by Renovate Bot.

@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 labels May 30, 2025
@angular-robot
Copy link
Collaborator Author

angular-robot commented May 30, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Scope: all 17 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
/tmp/renovate/repos/github/angular/angular/packages/animations:
 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @angular/core@0.0.0-PLACEHOLDER

This error happened while installing a direct dependency of /tmp/renovate/repos/github/angular/angular/packages/animations

The latest release of @angular/core is "20.0.0".

Other releases are:
  * v4-lts: 4.4.7
  * v5-lts: 5.2.11
  * v6-lts: 6.1.10
  * v7-lts: 7.2.15
  * v8-lts: 8.2.14
  * v9-lts: 9.1.13
  * v10-lts: 10.2.5
  * v11-lts: 11.2.14
  * v12-lts: 12.2.17
  * v14-lts: 14.3.0
  * v13-lts: 13.4.0
  * v15-lts: 15.2.10
  * v16-lts: 16.2.12
  * v17-lts: 17.3.12
  * v18-lts: 18.2.13
  * next: 20.0.0
  * v19-lts: 19.2.14

If you need the full list of all 914 published versions run "$ pnpm view @angular/core versions".

@ngbot ngbot bot added this to the Backlog milestone May 30, 2025
@pullapprove pullapprove bot requested review from devversion May 30, 2025 08:13
@JeanMeche JeanMeche added the target: patch This PR is targeted for the next patch release label Jun 1, 2025
@devversion devversion removed their request for review June 3, 2025 10:19
See associated pull request for more information.
@angular-robot angular-robot force-pushed the ng-renovate/20.0.x-yargs-18-x branch from fa7c8b0 to 7db1f9a Compare June 3, 2025 10:21
@kirjs
Copy link
Contributor

kirjs commented Jun 3, 2025

This PR was merged into the repository by commit 9e16d9c.

The changes were merged into the following branches: 20.0.x

kirjs pushed a commit that referenced this pull request Jun 3, 2025
See associated pull request for more information.

PR Close #61770
@kirjs kirjs closed this Jun 3, 2025
@angular-robot angular-robot deleted the ng-renovate/20.0.x-yargs-18-x branch June 3, 2025 11:16
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: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants