yarn
1.22.22 · 9 Mar 2024BSD-2-Clause13.9M / weekRepositoryHomepagenpmAtom feed
0.28.4 is the newest release of 0.17.x.
In short
29 new25 fixed55 changed1 internal
Security
5 advisories affect 0.17.0; 1.22.13 fixes them
- HighYarn untrusted search path vulnerabilityGHSA-mpwj-fcr6-x34c · 4 Feb 2024Fixed in 1.22.13
- HighPath Traversal in YarnGHSA-8mfc-v7wv-p62g · 9 Feb 2022Fixed in 1.22.0
- HighYarn Improper link resolution before file access (Link Following)GHSA-5xf4-f2fq-f69j · 14 Feb 2020Fixed in 1.22.0
- HighMissing Encryption of Sensitive Data in yarnGHSA-wqfc-cr59-h64p · 31 Jul 2019Fixed in 1.17.3
- ModerateTOCTOU Race Condition in YarnGHSA-hjxc-462x-x77j · 9 Feb 2022Fixed in 1.19.0
Release note
Replace
.includeswith.indexOffor older Node 4 versionsNeil Kistner - Mon, 14 Nov 2016 10:37:01 -0600
Add support for 'ca' config file option
vvm-broadsoft - Mon, 14 Nov 2016 14:08:37 +0000
Allow token replacement of .npmrc configuration with env vars
Chris Trevino - Mon, 14 Nov 2016 13:16:59 +0000
Fix
yarn ls [package]command to filter properlyNeil Kistner - Mon, 14 Nov 2016 10:12:25 +0000
Making link command warn instead of throw an error if
Jake Goldsborough - Mon, 14 Nov 2016 10:11:58 +0000
link is already registered
Fix
yarn run [script] [-- <args>]command usageNeil Kistner - Mon, 14 Nov 2016 10:09:25 +0000
Update outdated condition in upgrade-interactive
Rifat Nabi - Mon, 14 Nov 2016 10:09:08 +0000
Fix cli aliases test
Neil Kistner - Fri, 11 Nov 2016 13:20:29 -0600
Rename update command to upgrade-interactive
Sebastian McKenzie - Fri, 11 Nov 2016 18:40:22 +0000
Make existence of manifest optional when performing lifecycle wrapping - fixes #1747
Sebastian McKenzie - Fri, 11 Nov 2016 18:38:19 +0000
Fix readme detection
Delay visibility propagation until deps are known
Jan Olaf Krems - Fri, 11 Nov 2016 18:33:27 +0000
Fixes #761
Lockfile is rewritten only if there are substantial changes
Konstantin Raev - Thu, 10 Nov 2016 17:26:28 +0000
Need to remove file: from the prefix, not the suffix.
shahmirn - Thu, 10 Nov 2016 16:30:19 +0000
Fixed integrity hash generation for add command
Konstantin Raev - Thu, 10 Nov 2016 16:03:26 +0000
Use deterministic sort (fixes #1308)
Andres Suarez - Thu, 10 Nov 2016 10:55:53 +0000
Made integrity hash to be generated based on lockfile entries, not lockfile content
Konstantin Raev - Wed, 9 Nov 2016 15:29:04 +0000
Create blank package.json during end-to-end tests to work around #1747
Daniel Lo Nigro - Tue, 8 Nov 2016 21:46:17 -0800
Fix --mutex
Peter Ebden - Mon, 7 Nov 2016 14:58:40 +0000
Add depth specification to ls
Nick Olinger - Mon, 7 Nov 2016 08:08:43 -0600
Change all console format grey to dim fixes #1699
Aaron Tribou - Sun, 6 Nov 2016 14:37:43 -0800
Add updated jest snapshot for ConsoleReporter
Fix
yarn outdatedwhen current is greater than latestNeil Kistner - Sun, 6 Nov 2016 17:38:00 +0000
Fix flags for
yarn addcommandNeil Kistner - Sun, 6 Nov 2016 17:05:32 +0000
Fix
yarn upgrade <package>command to store version in lockfileNeil Kistner - Fri, 4 Nov 2016 17:51:58 +0000
Support yarn-offline-mirror in .yarnrc
Stephan Schneider - Fri, 4 Nov 2016 15:45:13 +0000
Fix bugs with hash cache folder names
Sebastian McKenzie - Fri, 4 Nov 2016 14:57:37 +0000
Prevent parallel writes to the same destination
enoshixi - Fri, 4 Nov 2016 13:43:13 +0000
Use ~/.config/yarn and ~/.cache/yarn on Unix systems - fixes #1672
Sebastian McKenzie - Fri, 4 Nov 2016 13:41:34 +0000
Properly save dependency with
yarn upgrade [dependency]commandNeil Kistner - Fri, 4 Nov 2016 13:28:14 +0000
Add remote hash to cache folder name to prevent registry collisions
Sebastian McKenzie - Fri, 4 Nov 2016 10:16:25 +0000
Add --no-bin-links flag - fixes #929
Sebastian McKenzie - Thu, 3 Nov 2016 16:32:02 +0000
Add option to change the prefix of the global bin folder - fixes #630
Sebastian McKenzie - Thu, 3 Nov 2016 16:31:53 +0000
Patterns -> filteredPatterns
Sebastian McKenzie - Thu, 3 Nov 2016 14:34:22 +0000
Change reporter.log to console.log in generate-lock-entry command - fixes #644
Sebastian McKenzie - Thu, 3 Nov 2016 14:05:36 +0000
Fixed add command flag
Dhruvdutt Jadhav - Thu, 3 Nov 2016 14:05:28 +0000
Nested executables fix
Jonathan Kim - Thu, 3 Nov 2016 11:48:01 +0000
Added short-flags for yarn add
Dhruvdutt Jadhav - Thu, 3 Nov 2016 11:47:01 +0000
Add name lookups to ls command - fixes #1599
Sebastian McKenzie - Thu, 3 Nov 2016 11:46:34 +0000
Refine flow type for config.generateHardModulePath
Sebastian McKenzie - Thu, 3 Nov 2016 11:27:39 +0000
Use ~/Library/Caches as default cache location on OSX - fixes #1637
Sebastian McKenzie - Thu, 3 Nov 2016 10:48:32 +0000
Update aliases.js
Nitesh Sarode - Thu, 3 Nov 2016 10:17:27 +0000
Adding 'yarn global upgrade'(Issue #776)
Pushkaraj Shinde - Wed, 2 Nov 2016 14:06:30 +0000
Show error message in stdout.
Jeffrey van Hoven - Wed, 2 Nov 2016 12:05:31 +0000
Nicer permission errors when trying to write global binaries - fixes #1578
Sebastian McKenzie - Wed, 2 Nov 2016 12:04:08 +0000
Support scoped packages in why command - fixes #1529
Sebastian McKenzie - Wed, 2 Nov 2016 12:03:35 +0000
Ignore trailing arguments for pre and post scripts - fixes #1595
Sebastian McKenzie - Wed, 2 Nov 2016 11:54:10 +0000
Fix file protocol referencing local tarball - fixes #639
Sebastian McKenzie - Tue, 1 Nov 2016 14:02:55 +0000
Normalise config booleans - fixes #1292
Sebastian McKenzie - Tue, 1 Nov 2016 13:12:10 +0000
Correctly save exotics - fixes #1532
Sebastian McKenzie - Tue, 1 Nov 2016 12:05:21 +0000
Enable using TLS client certificates for communicating with private repositories
Chris Northwood - Tue, 1 Nov 2016 11:57:33 +0000
Disallow camelised command names - fixes #1530
Sebastian McKenzie - Tue, 1 Nov 2016 11:57:15 +0000
Add installationMethod property to package.json
Daniel Lo Nigro - Tue, 1 Nov 2016 10:54:12 +0000
Rename 'manifestPotentialType' to 'manifestPotentialTypo'
Krzysztof Zbudniewek - Tue, 1 Nov 2016 10:30:23 +0000
Upgrade to secure url if possible
Yunxing Dai - Mon, 31 Oct 2016 10:34:07 -0700
#1365 introduced a fix to enforce
secure protocols. This unfortunately broke a lot of packages we have which
depend on the 'git' protocol ('npm show @opam-alpha/core').
Instead of refusing to work when a unsecure protocol is provided, maybe a
better way here is to automatically upgrade to a secure url.Allow blank prefix
James Kyburz - Mon, 31 Oct 2016 14:17:56 +0000
Make
.gitsuffix optional for hosted gitClaudio Bley - Mon, 31 Oct 2016 14:14:21 +0000
When a github URL is used in a
package.jsonfile which has a.git
suffix
attached to its repository name, resolution fails with an error:TypeError: Cannot read property 'split' of undefined at Function.parseRefs (/usr/local/Cellar/yarn/0.16.0/libexec/lib/node_modules/yarn/lib/util/git.js:439:20) at /usr/local/Cellar/yarn/0.16.0/libexec/lib/node_modules/yarn/lib/resolvers/exotics/hosted-git-resolver.js:138:50 ...
for e.g.
https://github.com/gulpjs/gulp.git.
This was causes by an extraneous.gitsuffix appended to the URL by
the
resolver.
Fixes #1287Use reporter for error messages on fetchers and config
Mauricio Saglietto - Mon, 31 Oct 2016 14:13:24 +0000
Return SSH URL format for getGitSSHUrl
Dhi Aurrahman - Mon, 31 Oct 2016 14:11:49 +0000
Do not follow redirect for HostedGitResolver#hasHTTPCapability
Dhi Aurrahman - Mon, 31 Oct 2016 14:10:42 +0000
Add
--nightlyflag to install scriptDaniel Lo Nigro - Mon, 31 Oct 2016 14:10:14 +0000
Fix colour codes in install script
Daniel Lo Nigro - Mon, 31 Oct 2016 14:09:48 +0000
Add CLI arguments to set the proxies
cdarras - Mon, 31 Oct 2016 14:09:04 +0000
Fixing global add in linux root folder #1029
Lucas Katayama - Sun, 30 Oct 2016 19:58:12 -0700
getUTCDay → getUTCDate in set-dev-version.js
Daniel Lo Nigro - Sat, 29 Oct 2016 19:04:25 -0700
Fix wrong const name
Rifat Nabi - Fri, 28 Oct 2016 22:21:34 +0600
Add an option to not commit to git. Fixes #1228
Karan Thakkar - Fri, 28 Oct 2016 16:42:34 +0100
Properly save scoped packages in offline mirror.
Adam Miskiewicz - Fri, 28 Oct 2016 14:30:33 +0100
This resolves a bug in which yarn was saving scoped packages in the offline
mirror by their base name, which meant that if two packages in a project had
the same name and version, but one of them was scoped and the other was not,
only one of these would be saved in the offline mirror, and this would
potentially cause a "bad hash" error to occur.
This commit fixes this behavior, and saves scoped npm packages in the offline
mirror in the form@[scope]-[package name]-[version].tar.gz.Add support for NPM_CONFIG_USERCONFIG env variable - fixes #1512
Sebastian McKenzie - Thu, 27 Oct 2016 18:23:32 +0100
Add interactive update
Rifat Nabi - Thu, 27 Oct 2016 23:01:04 +0600
Set node env to production with --prod install.
Sam Saccone - Thu, 27 Oct 2016 09:57:49 -0700
Fixes #1450
Make all install flags accessible from all commands - fixes #1504
Sebastian McKenzie - Thu, 27 Oct 2016 17:55:18 +0100
Small grammar fixes
Kyle Mendes - Thu, 27 Oct 2016 17:42:55 +0100
Git branches can have hashes as part of their name
Jure Triglav - Thu, 27 Oct 2016 17:19:43 +0100
Document
--prefer-offlineand--offlineflags.Robert Jackson - Thu, 27 Oct 2016 17:18:48 +0100
Add documentation to
--offlineand--prefer-offlinecommand line options.Don't re-install cached artifacts.
Yunxing Dai - Wed, 26 Oct 2016 17:40:32 -0700
This patch makes sure if we load a package from cache, we don't install it
again.Init package.json repository as a string instead of an object
Zeke Sikelianos - Wed, 26 Oct 2016 19:41:57 +0100
Remove bower
Sebastian McKenzie - Wed, 26 Oct 2016 16:53:58 +0100
fix-1158: Resolve verions by ranges, not equals
Thomas Verfaillie - Wed, 26 Oct 2016 16:00:13 +0100
Handle using local module info when running info .
Sam Saccone - Wed, 26 Oct 2016 14:43:52 +0100
Fixes #1347
Builds on #1382
Sam Saccone - Wed, 26 Oct 2016 14:18:57 +0100
Add CLI docs for yarn add --exact and yarn add --tilde
Mark Stosberg - Wed, 26 Oct 2016 14:17:18 +0100
Descriptions were based on official docs:
yarnpkg.com/en/docs/cli/addAdd detection of NODE_ENV for
yarn installcommandNeil Kistner - Tue, 25 Oct 2016 20:06:54 -0700
Add period to
savedNewDependencyfor consistencyElad Shahar - Tue, 25 Oct 2016 17:13:59 -0500
Most messages, including the very similar
savedNewDependencies, end in a
period.Replace some MessageErrors string for lang codes
Mauricio Saglietto - Tue, 25 Oct 2016 12:34:54 -0700
Fix
yarn cache lsfor scoped packagesJakub Synowiec - Tue, 25 Oct 2016 14:42:13 +0100
Yarn was trying to readi the metadata file from parent directory of scoped
packages instead of the scoped packages directories.
Join available versions with newline if more than 20
Julien CROUZET - Tue, 25 Oct 2016 14:39:10 +0100
Set filename arg mandatory in pack -f
Tobias Kloht - Tue, 25 Oct 2016 14:38:56 +0100
Remove default filters from
yarn cleanSebastian McKenzie - Tue, 25 Oct 2016 14:35:13 +0100
Add validation to package name upon init.
Nick Olinger - Tue, 25 Oct 2016 10:32:16 +0100
Fix #680 check README, LICENSE and AUTHORS are files.
Azim Khakulov - Tue, 25 Oct 2016 09:48:48 +0100
Generate helpful error messages whenever we fail to parse JSON - fixes #1229
Sebastian McKenzie - Tue, 25 Oct 2016 09:17:03 +0100
Consolidate lifecycle script execution - fixes #1319
Sebastian McKenzie - Tue, 25 Oct 2016 09:09:48 +0100
Add yarn versions command as analog to npm version - fixes #1369
Sebastian McKenzie - Tue, 25 Oct 2016 09:09:38 +0100
Fix
yarn outdatedfor scoped packagesJakub Synowiec - Tue, 25 Oct 2016 08:01:51 +0100
Package name was not escaped when querying NPM registry.
Don't let the authorization header be empty
Julien Roncaglia - Tue, 25 Oct 2016 07:58:43 +0100
Fixes removal of invalid package name as showing successful
Troy DeMonbreun - Tue, 25 Oct 2016 07:56:44 +0100
fix-1221: Offline flag, metadata argument falsy
Thomas Verfaillie - Mon, 24 Oct 2016 15:33:15 +0100
Meaningful error message on malformed registry response
Ben Berman - Mon, 24 Oct 2016 15:09:36 +0100
Meaningful error message on malformed registry response
Addresses #1348Changed malformed registry response error to use i18n
Fix #1199 by removing extra newline from cli/install.js
Luke Zilioli - Mon, 24 Oct 2016 14:58:08 +0100
Add package type output to
yarn outdatedcommandNeil Kistner - Mon, 24 Oct 2016 13:43:26 +0100
Switch to using vars for hostname in gh resolver.
Sam Saccone - Sun, 23 Oct 2016 22:16:46 -0700
Honor github commit hash
Steve Shreeve - Sun, 23 Oct 2016 22:16:46 -0700
Add --ignore-engines flag to
yarn upgradecommandNeil Kistner - Sun, 23 Oct 2016 20:40:51 -0700
Improve Git coverage
Tudor Gergely - Sat, 22 Oct 2016 11:32:03 -0700
Add a newline after the global comment in the lockfile
Tomáš Hübelbauer - Thu, 20 Oct 2016 15:06:19 +1100
The lockfile is nicely visually separated except for the first package which is
right after the comment. The comment is global, though, not related directly to
the first package so in order to make it easier to visually navigate the file
and to mark the comment as global and not just related to the first package, I
propose a newline is added after the comment.Don't install Node.js via Chocolatey on AppVeyor
Daniel Lo Nigro - Wed, 19 Oct 2016 15:35:45 -0700
May fix #1232 as per the discussion in
help.appveyor.com/discussions/problems/5425-nod…Added try/catch block to .yarnclean write file operation
Mario Pizzinini - Wed, 19 Oct 2016 20:27:12 +0100
Added try catch block to handle error „EEXIST: file already exists“.
Fix
yarn infofailing on single character packagesJesse Buchanan - Wed, 19 Oct 2016 12:28:30 +0100
Failing test for parsing single character packages
parsePackageName: Allow single character packages
Added npm auth for publish
Konstantin Raev - Wed, 19 Oct 2016 12:02:58 +0100
Add is-ci dependency and disable progress bars in CI environments
Lawrence Dabir-Alai - Wed, 19 Oct 2016 10:18:15 +0100
Remove hack for #1142
Daniel Lo Nigro - Tue, 18 Oct 2016 22:05:52 -0700
Change --disable-progress to --no-progress to keep with cli convention
Lawrence Dabir-Alai - Tue, 18 Oct 2016 22:22:51 +0100
Remove tick from console-reporter test to ensure test is relevant
Lawrence Dabir-Alai - Tue, 18 Oct 2016 12:30:49 +0100
Disable spinner progress too
Lawrence Dabir-Alai - Tue, 18 Oct 2016 12:23:25 +0100
Add option '--disable-progress' to turn off progress bar
Lawrence Dabir-Alai - Tue, 18 Oct 2016 11:53:31 +0100
Emulate
npm_config_argvenvironment variable for lifecycle scripts (closes #684)inikulin - Sun, 16 Oct 2016 13:10:28 +0300
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.