diff --git a/packages/core/package.json b/packages/core/package.json index ae445418..8d3055e0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -41,6 +41,6 @@ "typescript": "^4.2.3" }, "dependencies": { - "sharp": "0.28.0" + "sharp": "^0.27.2" } } diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-avif-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-avif-0 index 8aa18774..dfeb5eb1 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-avif-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-avif-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d4431a71cb0f454b912d62a37a6162cecedfb06e9cc30ca3572b92ee80f442fd -size 3418 +oid sha256:f4b191c5636439b7f5b1b42e32bee1803b173959a2b22090d7dd126a3dcba7e5 +size 3437 diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-avif-w--quality-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-avif-w--quality-0 index 8797463a..4d7ff147 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-avif-w--quality-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-avif-w--quality-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:604e711e88b0de44e1bfb6d99898683105b17794b1e4ea280f0ba1ed0f9b5a8c -size 859 +oid sha256:0f9bf1658454b28ef7e1535e00f549276776ea60cfb152d9c82d5646cb9ce8ed +size 861 diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heic-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heic-0 index 8aa18774..dfeb5eb1 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heic-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heic-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d4431a71cb0f454b912d62a37a6162cecedfb06e9cc30ca3572b92ee80f442fd -size 3418 +oid sha256:f4b191c5636439b7f5b1b42e32bee1803b173959a2b22090d7dd126a3dcba7e5 +size 3437 diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heif-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heif-0 index 8aa18774..dfeb5eb1 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heif-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heif-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d4431a71cb0f454b912d62a37a6162cecedfb06e9cc30ca3572b92ee80f442fd -size 3418 +oid sha256:f4b191c5636439b7f5b1b42e32bee1803b173959a2b22090d7dd126a3dcba7e5 +size 3437 diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heif-w--quality-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heif-w--quality-0 index 8797463a..4d7ff147 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heif-w--quality-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-heif-w--quality-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:604e711e88b0de44e1bfb6d99898683105b17794b1e4ea280f0ba1ed0f9b5a8c -size 859 +oid sha256:0f9bf1658454b28ef7e1535e00f549276776ea60cfb152d9c82d5646cb9ce8ed +size 861 diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-0 index 74dfa9a6..d6ae9a5f 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fa9c9789ed2600232b7ee33c5e59c804eb8c56cbe48082153732b7c381270c8d -size 368297 +oid sha256:08a7bd288a0ec0a84bfc57a0617852a69273a771399bda50a0400ad0cbdd3598 +size 360265 diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-w--progressive-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-w--progressive-0 index b15f632d..f48a549c 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-w--progressive-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-w--progressive-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a187793522a34e2a50dac1c0c691d7e1908ce312253f578276bbd1afe2b502c5 -size 458207 +oid sha256:b9838898c32e2b32f4b02c89b9ed0b47f1844806e65eb9fb321d5deb2f282d9c +size 449148 diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-w--quality-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-w--quality-0 index 02330af8..d6ae9a5f 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-w--quality-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-png-w--quality-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f5c817d1b814f5ea44d34c73f920eac1899f2e7921c34e8a8c96fff99faf355e -size 35916 +oid sha256:08a7bd288a0ec0a84bfc57a0617852a69273a771399bda50a0400ad0cbdd3598 +size 360265 diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-tiff-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-tiff-0 index 6f287dc4..dd67f01c 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-tiff-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-tiff-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5e0881005bad0a783afbe89b30b136b0960166796be6b58fab6f01b1f3762005 -size 20604 +oid sha256:7d5563935bbb377f1d6544fa12b7c4b2ca4c78dedb9272c1d3c6880a72eec80f +size 31102 diff --git a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-tiff-w--quality-0 b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-tiff-w--quality-0 index 6ecf4474..6db6c1d8 100644 --- a/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-tiff-w--quality-0 +++ b/packages/core/src/transforms/__tests__/__file_snapshots__/format-transform-tiff-w--quality-0 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c602497cdcc6eb3c35bae7be1441ee29eac1798f898923aee0baea17f18325d7 -size 4302 +oid sha256:3c5272877a405f7612515336656da283da5f2a41d45de2c969182ba71f899551 +size 10192 diff --git a/yarn.lock b/yarn.lock index 148eaafb..d71f5ff4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1861,6 +1861,11 @@ array-find-index@^1.0.1: resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" integrity sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E= +array-flatten@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-3.0.0.tgz#6428ca2ee52c7b823192ec600fa3ed2f157cd541" + integrity sha512-zPMVc3ZYlGLNk4mpK1NzP2wg0ml9t7fUgDsayR5Y5rSzxQilzR9FGu/EH2jQOcKSAeAfWeylyW8juy3OkWRvNA== + array-ify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" @@ -2728,6 +2733,13 @@ decompress-response@^4.2.0: dependencies: mimic-response "^2.0.0" +decompress-response@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" + integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== + dependencies: + mimic-response "^3.1.0" + dedent@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" @@ -5098,6 +5110,11 @@ mimic-response@^2.0.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-2.1.0.tgz#d13763d35f613d09ec37ebb30bac0469c0ee8f43" integrity sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA== +mimic-response@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" + integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== + min-indent@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" @@ -5318,10 +5335,10 @@ nice-try@^1.0.4: resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== -node-abi@^2.21.0: - version "2.26.0" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.26.0.tgz#355d5d4bc603e856f74197adbf3f5117a396ba40" - integrity sha512-ag/Vos/mXXpWLLAYWsAoQdgS+gW7IwvgMLOgqopm/DbzAjazLltzgzpVMsFlgmo9TzG5hGXeaBZx2AI731RIsQ== +node-abi@^2.7.0: + version "2.21.0" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.21.0.tgz#c2dc9ebad6f4f53d6ea9b531e7b8faad81041d48" + integrity sha512-smhrivuPqEM3H5LmnY3KU6HfYv0u4QklgAxfFyRNujKUzbUcYZ+Jc2EhukB9SRcD2VpqhxM7n/MIcp1Ua1/JMg== dependencies: semver "^5.4.1" @@ -6015,10 +6032,10 @@ postcss@^8.2.1: nanoid "^3.1.20" source-map "^0.6.1" -prebuild-install@^6.1.1: - version "6.1.2" - resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.1.2.tgz#6ce5fc5978feba5d3cbffedca0682b136a0b5bff" - integrity sha512-PzYWIKZeP+967WuKYXlTOhYBgGOvTRSfaKI89XnfJ0ansRAH7hDU45X+K+FZeI1Wb/7p/NnuctPH3g0IqKUuSQ== +prebuild-install@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.0.1.tgz#5902172f7a40eb67305b96c2a695db32636ee26d" + integrity sha512-7GOJrLuow8yeiyv75rmvZyeMGzl8mdEX5gY69d6a6bHWmiPevwqFw+tQavhK0EYMaSg3/KD24cWqeQv1EWsqDQ== dependencies: detect-libc "^1.0.3" expand-template "^2.0.3" @@ -6026,7 +6043,7 @@ prebuild-install@^6.1.1: minimist "^1.2.3" mkdirp-classic "^0.5.3" napi-build-utils "^1.0.1" - node-abi "^2.21.0" + node-abi "^2.7.0" noop-logger "^0.1.1" npmlog "^4.0.1" pump "^3.0.0" @@ -6034,6 +6051,7 @@ prebuild-install@^6.1.1: 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" @@ -6584,13 +6602,6 @@ semver@^6.0.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.3.5: - version "7.3.5" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" - integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== - dependencies: - lru-cache "^6.0.0" - set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -6613,17 +6624,19 @@ shallow-clone@^3.0.0: dependencies: kind-of "^6.0.2" -sharp@0.28.0: - version "0.28.0" - resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.28.0.tgz#93297cec530b3709e11677cf41565d9a654075a0" - integrity sha512-kGTaWLNMCkLYxkH2Pv7s+5LQBnWQ4mRKXs1XD19AWOxShWvU8b78qaWqTR/4ryNcPORO+qBoBnFF/Lzda5HgkQ== +sharp@^0.27.2: + version "0.27.2" + resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.27.2.tgz#a939775e630e88600c0b5e68f20593aea722252f" + integrity sha512-w3FVoONPG/x5MXCc3wsjOS+b9h3CI60qkus6EPQU4dkT0BDm0PyGhDCK6KhtfT3/vbeOMOXAKFNSw+I3QGWkMA== dependencies: + array-flatten "^3.0.0" color "^3.1.3" detect-libc "^1.0.3" node-addon-api "^3.1.0" + npmlog "^4.1.2" prebuild-install "^6.0.1" - semver "^7.3.5" - simple-get "^3.1.0" + semver "^7.3.4" + simple-get "^4.0.0" tar-fs "^2.1.1" tunnel-agent "^0.6.0" @@ -6675,7 +6688,7 @@ simple-concat@^1.0.0: resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.1.tgz#f46976082ba35c2263f1c8ab5edfe26c41c9552f" integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== -simple-get@^3.0.3, simple-get@^3.1.0: +simple-get@^3.0.3: version "3.1.0" resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-3.1.0.tgz#b45be062435e50d159540b576202ceec40b9c6b3" integrity sha512-bCR6cP+aTdScaQCnQKbPKtJOKDp/hj9EDLJo3Nw4y1QksqaovlW/bnptB6/c1e+qmNIDHRK+oXFDdEqBT8WzUA== @@ -6684,6 +6697,15 @@ simple-get@^3.0.3, simple-get@^3.1.0: once "^1.3.1" simple-concat "^1.0.0" +simple-get@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-4.0.0.tgz#73fa628278d21de83dadd5512d2cc1f4872bd675" + integrity sha512-ZalZGexYr3TA0SwySsr5HlgOOinS4Jsa8YB2GJ6lUNAazyAu4KG/VmzMTwAt2YVXzzVj8QmefmAonZIK2BSGcQ== + dependencies: + decompress-response "^6.0.0" + once "^1.3.1" + simple-concat "^1.0.0" + simple-swizzle@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" @@ -7636,6 +7658,11 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= +which-pm-runs@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" + integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= + which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"