yarn
1.22.22 · 9 Mar 2024BSD-2-Clause13.9M / weekRepositoryHomepagenpmAtom feed
Upgrading yarn From 0.1.2 to 1.22.13
105 releases in betweennotes for 80
Reading releases, release notes and advisories…
Counted from 80 of 105 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking1.15.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking0.19.0
- Breaking0.16.0
Security
Fixes 5 advisories affecting 0.1.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
- 1.22.13
Fixes a potential security issue where packages could run scripts even with
--ignore-buildsset (Windows only) - 1.19.0
Fixes a potential vulnerability regarding how the build artifacts are stored
Release by release
- Security
Fixes a potential security issue where packages could run scripts even with
--ignore-buildsset (Windows only) - Fixed
Fixes
yarn init -y2w/ Corepack
- Security
1.22.1 – 1.22.1210 releases, nothing new or fixed; 2 without a note
- New
Allows some dots in binary names again
- New
Implements
yarn init -2 - New
Implements
yarn set version <version>as an alias forpolicies set-version - Fixed
Fixes an issue where the archive paths were incorrectly sanitized
- New
1.19.1 – 1.21.14 releases, nothing new or fixed; 2 without a note
- Security
Fixes a potential vulnerability regarding how the build artifacts are stored
- Security
- 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
520 other lines we could not sort, mostly version bumps
- 1.22.13
yarn set version stable(andcanary) will now defer to the stable & canary for upgrading the project - 1.22.6
Running
yarn initwith the-2flag won't print theset versionoutput anymore. - 1.22.6
A new preinstall check will ensure that
npm install -g yarnworks even under Corepack. It doesn't have any effect on other setups. - 1.22.5
Headers won't be printed when calling
yarn initwith the-2flag - 1.22.5
Files with the
.cjsextension will be spawned byyarnPathusing `execPath - 1.22.5
Generates local yarn verions as
.cjsfiles when callingyarn set version - 1.22.5
Sorts files when running
yarn packto produce identical layout on Windows and Unix systems - 1.22.1
Prevents
yarn-pathfrom exiting before its child exited - 1.22.1
Generates relative paths when calling
yarn set version - 1.22.1
Throws an exception when the
.yarnrc.ymlfile is invalid yaml
33 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.