Update to yarn 1.21.1

Last year there was a recommended security update:
https://classic.yarnpkg.com/blog/2019/07/12/recommended-security-update/

This updates yarn to the latest stable version
This commit is contained in:
Lukas Eipert 2020-02-05 21:12:04 +01:00
parent 0ca8b407cc
commit 034a8bd568
No known key found for this signature in database
GPG key ID: 148BEA37CB35B2AC
5 changed files with 28 additions and 27 deletions

View file

@ -114,6 +114,7 @@ function print_yarn_args() {
case "$1" in
1.12) YARN_INSTALL_VERSION=1.12.3-1 ;;
1.16) YARN_INSTALL_VERSION=1.16.0-1 ;;
1.21) YARN_INSTALL_VERSION=1.21.1-1 ;;
*) echo "Unknown yarn version $1"; exit 1;
esac
printf -- "--build-arg YARN_INSTALL_VERSION=%s " "$YARN_INSTALL_VERSION"