Update Yarn to ^1.22.4
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
yarn | engines | minor | ^1.22.4 | source |
Release Notes
yarnpkg/yarn
v1.22.4
v1.22.1
-
Prevents
yarn-path
from exiting before its child exited -
Generates relative paths when calling
yarn set version
-
Throws an exception when the
.yarnrc.yml
file is invalid yaml
v1.22.0
-
Allows some dots in binary names again
-
Better error handling on
yarn set version
-
Passes arguments following
--
when running a workspace script (yarn workspace pkg run command -- arg
) -
Fixes an issue where the archive paths were incorrectly sanitized
-
Implements
yarn init -2
-
Implements
yarn set version <version>
as an alias forpolicies set-version
v1.21.1
v1.21.0
v1.19.2
-
Folders like
.cache
won't be pruned from thenode_modules
after each install. -
Correctly installs workspace child dependencies when workspace child not symlinked to root.
-
Makes running scripts with Plug'n Play possible on node 13.
-
Change run command to check cwd/node_modules/.bin for commands. Fixes run in workspaces.
v1.19.1
Important: This release contains a cache bump. It will cause the very first install following the upgrade to take slightly more time, especially if you don't use the Offline Mirror feature. After that everything will be back to normal.
-
Computes the
--modules-folder
& friends paths based on the cwd. -
Stores the sha512 in the cache even when not provided by the server.
#7591 - Maël Nison / #7595 - Michael
-
Uses the right Node binary when using
yarn-path
.
v1.19.0
Important: This release contains a cache bump. It will cause the very first install following the upgrade to take slightly more time, especially if you don't use the Offline Mirror feature. After that everything will be back to normal.
-
Fixes a potential vulnerability regarding how the build artifacts are stored
Reported by ChALkeR, fixed by Maël Nison
v1.18.0
-
Suggests using the Yarn 2 development trunk on PnP-enabled projects
-
Preserves linked packages when calling
yarn create
-
Fixes the offline mirror filenames when using Verdaccio
-
Fixes using
link:.
to refer to the package folder -
Runs the
prepare
lifecycle of git dependencies even ifNODE_ENV
is set toproduction
. -
Fixes the
postversion
lifecycle method not being called when using--no-git-tag-version
. -
Ignores potentially large vscode keys in package.json to avoid E2BIG errors.
-
Enforces https for the Yarn and npm registries.
-
Adds support for reading
yarnPath
from v2-produced.yarnrc.yml
files.
v1.17.3
v1.17.2
v1.17.1
v1.17.0
-
Adds prereleases flags and prerelease identifier to
yarn version
. -
Fixes audits when used with
yarn add
&yarn upgrade
-
Adds support for the
--offline
flag toyarn global add
-
Yarn will tolerate Yaml at parse time. Full support isn't ready yet and will only come at the next major.
-
Fixes a bug when using the
link:
protocol with a folder that doesn't contain apackage.json
v1.16.0
-
Retries downloading a package on
yarn install
when we get a ETIMEDOUT error. -
Implements
yarn audit --level [severity]
flag to filter the audit command's output. -
Implements
yarn audit --groups group_name [group_name ...]
. -
Exposes the script environment variables to
yarn create
spawned processes. -
Prevents EPIPE errors from being printed.
-
Adds support for the npm enterprise URLs when computing the offline mirror filenames.
-
Tweaks the lockfile parser logic to parse a few extra cases
v1.15.2
The 1.15.1 doesn't exist due to a release hiccup.
-
Reverts a behavior causing boggus interactions between PowerShell and
yarn global
-
Fixes a bug where non-zero exit codes were converted to a generic 1 when running
yarn run
-
Fixes production / development reporting when running
yarn audit
v1.15.1
v1.15.0
-
Removes
--scripts-prepend-node-path
as Yarn's default behavior makes this obsolete -
Fixes the advisory link printed by
yarn audit
-
Fixes
npm_config_
environment variable parsing to support those prefixed with underscore (ex:_auth
) -
Fixes yarn
upgrade --latest
for dependencies using>
or>=
range specifier -
Fixes
--modules-folder
handling in several places (ex:yarn check
now respects--modules-folder
) -
Removes
rootModuleFolders
(internal variable which wasn't used anywhere) -
Adds support for setting
global-folder
from.yarnrc
files -
Makes
yarn version
cancellable via ctrl-c or empty string -
Adds support for
yarn policies set-version berry
-
Fixes yarn
upgrade --scope
when using exotic (github) dependencies -
Fixes occasionally mismatching upper/lowecases of drive letters in win32 pnp check
-
Fixes the error reporting for non-HTTP network errors (such as invalid certificates)
-
Changes the location where the
--require ./.pnp.js
flag gets added intoNODE_OPTIONS
: now at the front (bis) -
Packages won't be auto-unplugged anymore if
ignore-scripts
is set in the yarnrc file -
Enables displaying Emojis on Terminus by default
-
Run the engines check before executing
run
scripts.
v1.14.0
-
Improves PnP compatibility with Node 6
-
Fixes PnP detection with workspaces (
installConfig
is now read at the top-level) -
Fixes an interaction between
yarn pack
and bundled dependencies -
Adds support for
GITHUB_TOKEN
inyarn policies set-version
-
Fixes an issue where
resolve
would forward an incomplete basedir to the PnP hook -
Fixes the command that
yarn unlink
recommends to run as a followup (nowyarn install --force
) -
Changes the location where the
--require ./.pnp.js
flag gets added intoNODE_OPTIONS
: now at the front -
Fixes a bug where
os
andplatform
requirements weren't properly checked whenengines
was missing
v1.13.0
-
Implements a new
package.json
field:peerDependenciesMeta
-
Adds an
optional
settings topeerDependenciesMeta
to silence missing peer dependency warnings -
Implements
yarn policies set-version [range]
. Check the documentation for usage & tips. -
Fixes a resolution issue when a package had an invalid
main
entry -
Decreases the size of the generated
$PATH
environment variable for a better Windows support -
Fixes postinstall scripts for third-party packages when they were referencing a binary from their own dependencies
-
Fixes yarn audit exit code overflow
-
Stops automatically unplugging packages with postinstall script when running under
--ignore-scripts
-
Adds transparent support for the
resolve
package when using Plug'n'Play -
Properly reports the error codes when the npm registry throws 500's
v1.12.3
Important: This release contains a cache bump. It will cause the very first install following the upgrade to take slightly more time, especially if you don't use the Offline Mirror feature. After that everything will be back to normal.
-
Fixes an issue with
yarn audit
when using workspaces -
Uses
NODE_OPTIONS
to instruct Node to load the PnP hook, instead of raw CLI argumentsCaveat: This change might cause issues for PnP users having a space inside their cwd (cf nodejs/node#24065)
-
Fixes Gulp when used with Plug'n'Play
-
Fixes an issue with
yarn audit
when the root package was missing a name -
Fixes an issue with
yarn audit
when a package was depending on an empty range -
Fixes an issue with how symlinks are setup into the cache on Windows
-
Upgrades
inquirer
, fixingupgrade-interactive
for users using both Node 10 and Windows -
Exposes the path to the PnP file using
require.resolve('pnpapi')
v1.12.1
-
Ensures the engine check is ran before showing the UI for
upgrade-interactive
-
Restores Node v4 support by downgrading
cli-table3
-
Prevents infinite loop when parsing corrupted lockfiles with unterminated strings
-
Environment variables now have to start with
YARN_
(instead of just contain it) to be considered -
Fixes the
extensions
option when used byresolveRequest
-
Fixes handling of empty string entries for
bin
in package.json -
Adds support for basic auth for registries with paths, such as artifactory
-
Adds 2FA (Two Factor Authentication) support to publish & alike
-
Fixes how the
files
property is interpreted to bring it in line with npm -
Fixes Yarn invocations on Darwin when the
yarn
binary was symlinked -
Fixes
require.resolve
when used together with thepaths
option
v1.12.0
-
Adds initial support for PnP on Windows
-
Adds
yarn audit
(and the--audit
flag for all installs) -
Adds a special logic to PnP for ESLint compatibility (temporary, until eslint/eslint#10125 is fixed)
-
Makes the PnP hook inject a
process.versions.pnp
variable when setup (equals toVERSIONS.std
) -
Disables by default (configurable) the automatic migration of the
integrity
field. It will be re-enabled in 2.0. -
Fixes the display name of the faulty package when the NPM registry returns corrupted data
-
Prevents crashes when running
yarn outdated
and the NPM registry forgets to return thelatest
tag -
Fixes
yarn run
when used together with workspaces and PnP -
Fixes an edge case when peer dependencies were resolved multiple levels deep (
webpack-dev-server
)
v1.11.1
v1.11.0
Renovate configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.