From e9de674aa68d3cdab1b7f296ff644a7385f7ecae Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Thu, 1 Jul 2021 13:46:37 +0200 Subject: [PATCH] fix(asset-server-plugin): Update sharp to fix Linux install issues Certain distros of Linux were having installation issues which are fixed in v0.28.3 Relates to https://github.com/vendure-ecommerce/vendure-docker-compose/issues/5, relates to #962 --- packages/asset-server-plugin/package.json | 2 +- yarn.lock | 36 +++++++++++++++-------- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/packages/asset-server-plugin/package.json b/packages/asset-server-plugin/package.json index 26c7069028..f0a80d42ab 100644 --- a/packages/asset-server-plugin/package.json +++ b/packages/asset-server-plugin/package.json @@ -33,6 +33,6 @@ "dependencies": { "file-type": "^16.2.0", "fs-extra": "^9.1.0", - "sharp": "0.28.0" + "sharp": "~0.28.3" } } diff --git a/yarn.lock b/yarn.lock index 0a37a4ca7e..fdbe4f2934 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13598,6 +13598,13 @@ no-case@^3.0.3, no-case@^3.0.4: lower-case "^2.0.2" tslib "^2.0.3" +node-abi@^2.21.0: + version "2.30.0" + resolved "https://registry.npmjs.org/node-abi/-/node-abi-2.30.0.tgz#8be53bf3e7945a34eea10e0fc9a5982776cf550b" + integrity sha512-g6bZh3YCKQRdwuO/tSZZYJAw622SjsRfJ2X0Iy4sSOHZ34/sPPdVBn8fev2tj7njzLwuqPw9uMtGsGkO5kIQvg== + dependencies: + semver "^5.4.1" + node-abi@^2.7.0: version "2.20.0" resolved "https://registry.npmjs.org/node-abi/-/node-abi-2.20.0.tgz#0659ee1a4a04dacabd3ac4429fac6297ed58e92e" @@ -13610,6 +13617,11 @@ node-addon-api@^3.0.0, node-addon-api@^3.1.0: resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.1.0.tgz#98b21931557466c6729e51cb77cd39c965f42239" integrity sha512-flmrDNB06LIl5lywUz7YlNGZH/5p0M7W28k8hzd9Lshtdh1wshD2Y+U4h9LD6KObOy1f+fEVdgprPrEymjM5uw== +node-addon-api@^3.2.0: + version "3.2.1" + resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" + integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== + node-fetch@2.6.1, node-fetch@^2.1.2, node-fetch@^2.2.0, node-fetch@^2.3.0, node-fetch@^2.6.0, node-fetch@^2.6.1: version "2.6.1" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" @@ -15315,10 +15327,10 @@ prebuild-install@^5.3.3: tunnel-agent "^0.6.0" which-pm-runs "^1.0.0" -prebuild-install@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/prebuild-install/-/prebuild-install-6.0.1.tgz#5902172f7a40eb67305b96c2a695db32636ee26d" - integrity sha512-7GOJrLuow8yeiyv75rmvZyeMGzl8mdEX5gY69d6a6bHWmiPevwqFw+tQavhK0EYMaSg3/KD24cWqeQv1EWsqDQ== +prebuild-install@^6.1.2: + version "6.1.3" + resolved "https://registry.npmjs.org/prebuild-install/-/prebuild-install-6.1.3.tgz#8ea1f9d7386a0b30f7ef20247e36f8b2b82825a2" + integrity sha512-iqqSR84tNYQUQHRXalSKdIaM8Ov1QxOVuBNWI7+BzZWv6Ih9k75wOnH1rGQ9WWTaaLkTpxWKIciOF0KyfM74+Q== dependencies: detect-libc "^1.0.3" expand-template "^2.0.3" @@ -15326,15 +15338,13 @@ prebuild-install@^6.0.1: minimist "^1.2.3" mkdirp-classic "^0.5.3" napi-build-utils "^1.0.1" - node-abi "^2.7.0" - noop-logger "^0.1.1" + node-abi "^2.21.0" npmlog "^4.0.1" pump "^3.0.0" rc "^1.2.7" simple-get "^3.0.3" tar-fs "^2.0.0" tunnel-agent "^0.6.0" - which-pm-runs "^1.0.0" prelude-ls@~1.1.2: version "1.1.2" @@ -16935,15 +16945,15 @@ shallow-clone@^3.0.0: dependencies: kind-of "^6.0.2" -sharp@0.28.0: - version "0.28.0" - resolved "https://registry.npmjs.org/sharp/-/sharp-0.28.0.tgz#93297cec530b3709e11677cf41565d9a654075a0" - integrity sha512-kGTaWLNMCkLYxkH2Pv7s+5LQBnWQ4mRKXs1XD19AWOxShWvU8b78qaWqTR/4ryNcPORO+qBoBnFF/Lzda5HgkQ== +sharp@~0.28.3: + version "0.28.3" + resolved "https://registry.npmjs.org/sharp/-/sharp-0.28.3.tgz#ecd74cefd020bee4891bb137c9850ee2ce277a8b" + integrity sha512-21GEP45Rmr7q2qcmdnjDkNP04Ooh5v0laGS5FDpojOO84D1DJwUijLiSq8XNNM6e8aGXYtoYRh3sVNdm8NodMA== dependencies: color "^3.1.3" detect-libc "^1.0.3" - node-addon-api "^3.1.0" - prebuild-install "^6.0.1" + node-addon-api "^3.2.0" + prebuild-install "^6.1.2" semver "^7.3.5" simple-get "^3.1.0" tar-fs "^2.1.1"