Packages

@yarnpkg/cli

4.18.1 · 24 Sep 2026BSD-2-Clause121.1k / weekRepositorynpmAtom feed

Upgrading @yarnpkg/cli From 2.2.2 to 2.3.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.2.2Newest 2.x2.4.3Latest4.18.1
  1. 2.2.2yours
  2. 2.3.0target
0
changes to make
0
advisories fixed
2
new
6
fixes

Release by release

  1. 2.3.0

    2 Oct 20202 new · 6 fixes
    • New

      Added support for $$ and $PPID

    • New

      Added a few builtin extensions to improve compatibility with packages that weren't correctly listing their dependencies.

    • Fixed

      Fixed some pathological cases around peer dependencies. In particular, workspaces' peer dependencies will now be resolved against their closest workspace ancestor (according to the directory hierarchy) rather than be ignored. Note that peer dependencies are inherently problematic with workspaces when using the node-modules linker, and that the strictly correct behavior can only be obtained by using the default Plug'n'Play linker.

    • Fixed

      Fixes some pathological globbing problems.

14 other lines we could not sort, mostly version bumps
  • The yarn tag set of commands has been ported over from Yarn Classic as yarn npm tag.

    2.3.0
  • Running yarn info will now print many information about your dependencies. Various options are available to tweak the output, including --json. Plugin authors can provide their own information sections via the fetchPackageInfo hook.

    2.3.0
  • Running yarn stage with the -r,--reset flag will now unstage all changes that seem related to Yarn.

    2.3.0
  • All commands now document each of their options (run yarn add -h to see an example).

    2.3.0
  • Publish registry errors will now be reported as is rather than being collapsed into a generic error message.

    2.3.0
  • A native binary jumper will now be used on Windows to avoid the Terminate batch job (Y/N)? prompts when invoking dependency binaries.

    2.3.0
  • The pnpapi module now exposes a new function called getAllLocators allow you to access the list of all locators in the map without having to traverse the dependency tree. This method is considered a Yarn extension, so you should check for its existence if you plan to use it in your code.

    2.3.0
  • When using a portal to a package that had peer dependencies, Yarn would loose the information required to resolve those peer dependencies. It will now properly resolve them the same way as all other packages in the dependency tree.

    2.3.0
  • The bin symlinks will now be properly removed from the node_modules/.bin folder as their corresponding dependencies are removed.

    2.3.0
  • A new setting called nmHoistingLimits has appeared. It replaces what was previously known as nohoist in Yarn 1.

    2.3.0

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.