yarn
1.22.22 · 9 Mar 2024BSD-2-Clause13.9M / weekRepositoryHomepagenpmAtom feed
Upgrading yarn From 1.4.0 to 1.22.22
52 releases in betweennotes for 10
Reading releases, release notes and advisories…
Counted from 10 of 52 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking1.15.0
Security
Fixes 5 advisories affecting 1.4.0
- Yarn Improper link resolution before file access (Link Following)high · GHSA-5xf4-f2fq-f69j
- Path Traversal in Yarnhigh · GHSA-8mfc-v7wv-p62g
- TOCTOU Race Condition in Yarnmoderate · GHSA-hjxc-462x-x77j
- Yarn untrusted search path vulnerabilityhigh · GHSA-mpwj-fcr6-x34c
- Missing Encryption of Sensitive Data in yarnhigh · GHSA-wqfc-cr59-h64p
Release by release
- Fixed
Fixes a punycode warning.
- Fixed
Fixes a hoisting issue when transitive dependencies themselves listed aliases as dependencies.
- Fixed
1.15.1 – 1.22.2133 releases, no release note
- New
Adds support for
GITHUB_TOKENinyarn policies set-version - Fixed
Fixes PnP detection with workspaces (
installConfigis now read at the top-level) - Fixed
Fixes an interaction between
yarn packand bundled dependencies - Fixed
Fixes an issue where
resolvewould forward an incomplete basedir to the PnP hook - Fixed
Fixes the command that
yarn unlinkrecommends to run as a followup (nowyarn install --force) - Fixed
Fixes a bug where
osandplatformrequirements weren't properly checked whenengineswas missing
- New
- New
Implements a new
package.jsonfield:peerDependenciesMeta - New
Adds an
optionalsettings topeerDependenciesMetato silence missing peer dependency warnings - New
Implements
yarn policies set-version [range]. Check the documentation for usage & tips. - New
Adds transparent support for the
resolvepackage when using Plug'n'Play - Fixed
Fixes a resolution issue when a package had an invalid
mainentry - Fixed
Fixes postinstall scripts for third-party packages when they were referencing a binary from their own dependencies
- Fixed
Fixes yarn audit exit code overflow
- New
1.12.1 – 1.12.32 releases, no release note
- New
Adds initial support for PnP on Windows
- New
Adds
yarn audit(and the--auditflag for all installs) - New
Adds a special logic to PnP for ESLint compatibility (temporary, until eslint/eslint#10125 is fixed)
- Fixed
Fixes the display name of the faulty package when the NPM registry returns corrupted data
- Fixed
Fixes
yarn runwhen used together with workspaces and PnP - Fixed
Fixes an edge case when peer dependencies were resolved multiple levels deep (
webpack-dev-server)
- New
1.10.1 – 1.11.13 releases, no release note
119 other lines we could not sort, mostly version bumps
- 1.15.0
Removes
rootModuleFolders(internal variable which wasn't used anywhere) - 1.15.0
Makes
yarn versioncancellable via ctrl-c or empty string - 1.15.0
Changes the location where the
--require ./.pnp.jsflag gets added intoNODE_OPTIONS: now at the front (bis) - 1.15.0
Packages won't be auto-unplugged anymore if
ignore-scriptsis set in the yarnrc file - 1.15.0
Run the engines check before executing
runscripts. - 1.14.0
Improves PnP compatibility with Node 6
- 1.14.0
Changes the location where the
--require ./.pnp.jsflag gets added intoNODE_OPTIONS: now at the front - 1.13.0
Decreases the size of the generated
$PATHenvironment variable for a better Windows support - 1.13.0
Stops automatically unplugging packages with postinstall script when running under
--ignore-scripts - 1.13.0
Properly reports the error codes when the npm registry throws 500's
16 internal lines (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.