yarn
1.22.22 · 9 Mar 2024BSD-2-Clause13.9M / weekRepositoryHomepagenpmAtom feed
Upgrading yarn From 1.9.2 to 1.22.13
36 releases in betweennotes for 3
Reading releases, release notes and advisories…
- ?
- changes to make
- 5
- advisories fixed
- 8+
- new
- 9+
- fixes
Counted from 3 of 36 release notes. Advisories are counted from the advisory database, in full.
Security
Fixes 5 advisories affecting 1.9.2
- 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
1.14.0 – 1.22.1327 releases, no release note
- 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
- New
feat(checksums): add integrity field with sha512 authentication to yarn.lock (#5042)
- Fixed
ConsoleReporter: do not color if !isTTY (#6336)
- Fixed
fix(cli-create): fix scoped creation (#6239)
- Fixed
test: Fix
yarn run <failing script>test on Windows (#6222)
- New
1.9.4no release note
39 other lines we could not sort, mostly version bumps
- 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
- 1.12.0
Makes the PnP hook inject a
process.versions.pnpvariable when setup (equals toVERSIONS.std) - 1.12.0
Disables by default (configurable) the automatic migration of the
integrityfield. It will be re-enabled in 2.0. - 1.12.0
Prevents crashes when running
yarn outdatedand the NPM registry forgets to return thelatesttag - 1.10.0
Use UV_FS_COPYFILE_FICLONE flag in fs.copyFile when available (#6302)
- 1.10.0
Reverts #2454 (#6321)
- 1.10.0
test: Fail early if the local yarn build is missing (#6351)
- 1.10.0
fix(resolution): Normalise non-HTTPS NPM registry URLs too (#6353)
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.