Packages

@yarnpkg/cli

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

Upgrading @yarnpkg/cli From 2.3.2 to 2.4.3

5 releases in betweennotes for 4

Reading releases, release notes and advisories…

Other targets from 2.3.2Latest4.18.1
?
changes to make
0
advisories fixed
?
new
?
fixes

Counted from 4 of 5 release notes. Advisories are counted from the advisory database, in full.

29 other lines we could not sort, mostly version bumps
  • Updated TypeScript patch to cover TypeScript 4.4.

    2.4.3
  • Updated TypeScript patch to cover TypeScript 4.3.

    2.4.2
  • The release of TypeScript 4.2 couldn't be installed due to patch conflicts. This is now fixed. This version only includes a fix specific to 4.2, but future Yarn releases starting from 3.0 will be more tolerant of this kind of situation and won't cause such errors.

    2.4.1
  • The resolution pipeline got reimplemented. We previously used a multi-pass approach where we performed SAT optimization between each pass, but after investigating it turned out the SAT optims had little impact and added performance bottlenecks. We now run the resolution using a much simpler and more efficient algorithm.

    2.4.0
  • Linkers can now define custom data to cache between Yarn invocations. The builtin linkers new use those new capabilities to cache package information that can't change between runs. In practice, this translates into much faster recurrent installs (when running an install that adds few new packages, if any).

    2.4.0
  • Warnings are now reported when packageExtensions rules are either unused or redundant with the original package definition.

    2.4.0
  • Potentially breaking, but it was intended this way from the start: the packageExtensions field cannot be used to replace dependencies anymore (only to add missing ones). Prefer using the resolutions field to replace existing ones.

    2.4.0
  • Progress bars are rendered less often, which should help performances on some terminals.

    2.4.0
  • Aliased packages no longer include themselves in node_modules installs

    2.4.0
  • The upgrade-interactive command will now only show upgrade suggestions for packages that have available upgrades (rather than all of them).

    2.4.0

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.