yarn
1.22.22 · 9 Mar 2024BSD-2-Clause13.9M / weekRepositoryHomepagenpmAtom feed
Upgrading yarn From 1.3.1 to 1.22.22
54 releases in betweennotes for 15
Reading releases, release notes and advisories…
Counted from 15 of 54 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.3.1
- 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.19.0 – 1.22.2125 releases, no release note
- New
Adds support for reading
yarnPathfrom v2-produced.yarnrc.ymlfiles. - Fixed
Fixes the offline mirror filenames when using Verdaccio
- Fixed
Fixes using
link:.to refer to the package folder - Fixed
Fixes the
postversionlifecycle method not being called when using--no-git-tag-version.
- New
1.17.1 – 1.17.33 releases, no release note
- New
Adds prereleases flags and prerelease identifier to
yarn version. - New
Adds support for the
--offlineflag toyarn global add - Fixed
Fixes audits when used with
yarn add&yarn upgrade - Fixed
Fixes a bug when using the
link:protocol with a folder that doesn't contain apackage.json
- New
- New
Implements
yarn audit --level [severity]flag to filter the audit command's output. - New
Implements
yarn audit --groups group_name [group_name ...]. - New
Exposes the script environment variables to
yarn createspawned processes. - New
Adds support for the npm enterprise URLs when computing the offline mirror filenames.
- New
1.15.1 – 1.15.22 releases, no release note
164 other lines we could not sort, mostly version bumps
- 1.18.0
Suggests using the Yarn 2 development trunk on PnP-enabled projects
- 1.18.0
Preserves linked packages when calling
yarn create - 1.18.0
Runs the
preparelifecycle of git dependencies even ifNODE_ENVis set toproduction. - 1.18.0
Ignores potentially large vscode keys in package.json to avoid E2BIG errors.
- 1.18.0
Enforces https for the Yarn and npm registries.
- 1.17.0
Yarn will tolerate Yaml at parse time. Full support isn't ready yet and will only come at the next major.
- 1.16.0
Retries downloading a package on
yarn installwhen we get a ETIMEDOUT error. - 1.16.0
Prevents EPIPE errors from being printed.
- 1.16.0
Tweaks the lockfile parser logic to parse a few extra cases
- 1.15.0
Removes
rootModuleFolders(internal variable which wasn't used anywhere)
19 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.