From 364bb9684ef005bf262488b8907f8e746855f980 Mon Sep 17 00:00:00 2001 From: kilemensi Date: Wed, 29 Nov 2023 16:48:56 +0300 Subject: [PATCH] Upgrade `sharp` --- apps/charterafrica/package.json | 2 +- apps/codeforafrica/package.json | 2 +- apps/pesayetu/package.json | 2 +- apps/promisetracker/package.json | 2 +- pnpm-lock.yaml | 400 ++++++++++++++++++++++++++++++- 5 files changed, 393 insertions(+), 15 deletions(-) diff --git a/apps/charterafrica/package.json b/apps/charterafrica/package.json index a1d44ddc4..66da72969 100644 --- a/apps/charterafrica/package.json +++ b/apps/charterafrica/package.json @@ -73,7 +73,7 @@ "react-share": "^5.0.3", "react-swipeable-views-react-18-fix": "^0.14.1", "scheduler": "^0.23.0", - "sharp": "^0.32.6", + "sharp": "^0.33.0", "slate": "^0.101.1", "swr": "^2.2.4", "video.js": "^8.6.1", diff --git a/apps/codeforafrica/package.json b/apps/codeforafrica/package.json index 921504790..f97616291 100644 --- a/apps/codeforafrica/package.json +++ b/apps/codeforafrica/package.json @@ -62,7 +62,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "react-share": "^5.0.3", - "sharp": "^0.32.6", + "sharp": "^0.33.0", "slate": "^0.101.1", "swr": "^2.2.4" }, diff --git a/apps/pesayetu/package.json b/apps/pesayetu/package.json index 1d7c63264..4667b8200 100644 --- a/apps/pesayetu/package.json +++ b/apps/pesayetu/package.json @@ -60,7 +60,7 @@ "react-multi-carousel": "^2.8.4", "react-share": "^5.0.3", "react-vega": "^7.6.0", - "sharp": "^0.32.6", + "sharp": "^0.33.0", "simplebar-react": "^2.4.3", "swr": "^2.2.4", "vega": "^5.26.1", diff --git a/apps/promisetracker/package.json b/apps/promisetracker/package.json index dbd0866aa..9b7e356ab 100644 --- a/apps/promisetracker/package.json +++ b/apps/promisetracker/package.json @@ -49,7 +49,7 @@ "react-dom": "^18.2.0", "react-share": "^5.0.3", "reading-time": "^1.5.0", - "sharp": "^0.32.6", + "sharp": "^0.33.0", "simplebar-react": "^2.4.3", "tiny-warning": "^1.0.3", "victory": "^36.7.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 97eff6c4a..ee09bcded 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -155,8 +155,8 @@ importers: specifier: ^0.23.0 version: 0.23.0 sharp: - specifier: ^0.32.6 - version: 0.32.6 + specifier: ^0.33.0 + version: 0.33.0 slate: specifier: ^0.101.1 version: 0.101.1 @@ -336,8 +336,8 @@ importers: specifier: ^5.0.3 version: 5.0.3(react@18.2.0) sharp: - specifier: ^0.32.6 - version: 0.32.6 + specifier: ^0.33.0 + version: 0.33.0 slate: specifier: ^0.101.1 version: 0.101.1 @@ -579,7 +579,7 @@ importers: version: 5.4.1 plaiceholder: specifier: ^2.5.0 - version: 2.5.0(sharp@0.32.6) + version: 2.5.0(sharp@0.33.0) prop-types: specifier: ^15.8.1 version: 15.8.1 @@ -605,8 +605,8 @@ importers: specifier: ^7.6.0 version: 7.6.0(react@18.2.0)(vega-lite@5.16.3)(vega@5.26.1) sharp: - specifier: ^0.32.6 - version: 0.32.6 + specifier: ^0.33.0 + version: 0.33.0 simplebar-react: specifier: ^2.4.3 version: 2.4.3(react-dom@18.2.0)(react@18.2.0) @@ -852,8 +852,8 @@ importers: specifier: ^1.5.0 version: 1.5.0 sharp: - specifier: ^0.32.6 - version: 0.32.6 + specifier: ^0.33.0 + version: 0.33.0 simplebar-react: specifier: ^2.4.3 version: 2.4.3(react-dom@18.2.0)(react@18.2.0) @@ -4810,6 +4810,17 @@ packages: tslib: 2.6.2 dev: false + /@emnapi/runtime@0.44.0: + resolution: + { + integrity: sha512-ZX/etZEZw8DR7zAB1eVQT40lNo0jeqpb6dCgOvctB6FIQ5PoXfMuNY8+ayQfu8tNQbAB8gQWSSJupR8NxeiZXw==, + } + requiresBuild: true + dependencies: + tslib: 2.6.2 + dev: false + optional: true + /@emotion/babel-plugin@11.11.0: resolution: { @@ -5428,6 +5439,332 @@ packages: integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==, } + /@img/sharp-darwin-arm64@0.33.0: + resolution: + { + integrity: sha512-070tEheekI1LJWTGPC9WlQEa5UoKTXzzlORBHMX4TbfUxMiL336YHR8vBEUNsjse0RJCX8dZ4ZXwT595aEF1ug==, + } + engines: + { + glibc: ">=2.26", + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [arm64] + os: [darwin] + requiresBuild: true + optionalDependencies: + "@img/sharp-libvips-darwin-arm64": 1.0.0 + dev: false + optional: true + + /@img/sharp-darwin-x64@0.33.0: + resolution: + { + integrity: sha512-pu/nvn152F3qbPeUkr+4e9zVvEhD3jhwzF473veQfMPkOYo9aoWXSfdZH/E6F+nYC3qvFjbxbvdDbUtEbghLqw==, + } + engines: + { + glibc: ">=2.26", + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [x64] + os: [darwin] + requiresBuild: true + optionalDependencies: + "@img/sharp-libvips-darwin-x64": 1.0.0 + dev: false + optional: true + + /@img/sharp-libvips-darwin-arm64@1.0.0: + resolution: + { + integrity: sha512-VzYd6OwnUR81sInf3alj1wiokY50DjsHz5bvfnsFpxs5tqQxESoHtJO6xyksDs3RIkyhMWq2FufXo6GNSU9BMw==, + } + engines: { macos: ">=11", npm: ">=9.6.5", pnpm: ">=7.1.0", yarn: ">=3.2.0" } + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + + /@img/sharp-libvips-darwin-x64@1.0.0: + resolution: + { + integrity: sha512-dD9OznTlHD6aovRswaPNEy8dKtSAmNo4++tO7uuR4o5VxbVAOoEQ1uSmN4iFAdQneTHws1lkTZeiXPrcCkh6IA==, + } + engines: + { macos: ">=10.13", npm: ">=9.6.5", pnpm: ">=7.1.0", yarn: ">=3.2.0" } + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + + /@img/sharp-libvips-linux-arm64@1.0.0: + resolution: + { + integrity: sha512-xTYThiqEZEZc0PRU90yVtM3KE7lw1bKdnDQ9kCTHWbqWyHOe4NpPOtMGy27YnN51q0J5dqRrvicfPbALIOeAZA==, + } + engines: + { glibc: ">=2.26", npm: ">=9.6.5", pnpm: ">=7.1.0", yarn: ">=3.2.0" } + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@img/sharp-libvips-linux-arm@1.0.0: + resolution: + { + integrity: sha512-VwgD2eEikDJUk09Mn9Dzi1OW2OJFRQK+XlBTkUNmAWPrtj8Ly0yq05DFgu1VCMx2/DqCGQVi5A1dM9hTmxf3uw==, + } + engines: + { glibc: ">=2.28", npm: ">=9.6.5", pnpm: ">=7.1.0", yarn: ">=3.2.0" } + cpu: [arm] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@img/sharp-libvips-linux-s390x@1.0.0: + resolution: + { + integrity: sha512-o9E46WWBC6JsBlwU4QyU9578G77HBDT1NInd+aERfxeOPbk0qBZHgoDsQmA2v9TbqJRWzoBPx1aLOhprBMgPjw==, + } + engines: + { glibc: ">=2.28", npm: ">=9.6.5", pnpm: ">=7.1.0", yarn: ">=3.2.0" } + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@img/sharp-libvips-linux-x64@1.0.0: + resolution: + { + integrity: sha512-naldaJy4hSVhWBgEjfdBY85CAa4UO+W1nx6a1sWStHZ7EUfNiuBTTN2KUYT5dH1+p/xij1t2QSXfCiFJoC5S/Q==, + } + engines: + { glibc: ">=2.26", npm: ">=9.6.5", pnpm: ">=7.1.0", yarn: ">=3.2.0" } + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@img/sharp-libvips-linuxmusl-arm64@1.0.0: + resolution: + { + integrity: sha512-OdorplCyvmSAPsoJLldtLh3nLxRrkAAAOHsGWGDYfN0kh730gifK+UZb3dWORRa6EusNqCTjfXV4GxvgJ/nPDQ==, + } + engines: + { musl: ">=1.2.2", npm: ">=9.6.5", pnpm: ">=7.1.0", yarn: ">=3.2.0" } + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@img/sharp-libvips-linuxmusl-x64@1.0.0: + resolution: + { + integrity: sha512-FW8iK6rJrg+X2jKD0Ajhjv6y74lToIBEvkZhl42nZt563FfxkCYacrXZtd+q/sRQDypQLzY5WdLkVTbJoPyqNg==, + } + engines: + { musl: ">=1.2.2", npm: ">=9.6.5", pnpm: ">=7.1.0", yarn: ">=3.2.0" } + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@img/sharp-linux-arm64@0.33.0: + resolution: + { + integrity: sha512-dcomVSrtgF70SyOr8RCOCQ8XGVThXwe71A1d8MGA+mXEVRJ/J6/TrCbBEJh9ddcEIIsrnrkolaEvYSHqVhswQw==, + } + engines: + { + glibc: ">=2.26", + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [arm64] + os: [linux] + requiresBuild: true + optionalDependencies: + "@img/sharp-libvips-linux-arm64": 1.0.0 + dev: false + optional: true + + /@img/sharp-linux-arm@0.33.0: + resolution: + { + integrity: sha512-4horD3wMFd5a0ddbDY8/dXU9CaOgHjEHALAddXgafoR5oWq5s8X61PDgsSeh4Qupsdo6ycfPPSSNBrfVQnwwrg==, + } + engines: + { + glibc: ">=2.28", + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [arm] + os: [linux] + requiresBuild: true + optionalDependencies: + "@img/sharp-libvips-linux-arm": 1.0.0 + dev: false + optional: true + + /@img/sharp-linux-s390x@0.33.0: + resolution: + { + integrity: sha512-TiVJbx38J2rNVfA309ffSOB+3/7wOsZYQEOlKqOUdWD/nqkjNGrX+YQGz7nzcf5oy2lC+d37+w183iNXRZNngQ==, + } + engines: + { + glibc: ">=2.28", + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [s390x] + os: [linux] + requiresBuild: true + optionalDependencies: + "@img/sharp-libvips-linux-s390x": 1.0.0 + dev: false + optional: true + + /@img/sharp-linux-x64@0.33.0: + resolution: + { + integrity: sha512-PaZM4Zi7/Ek71WgTdvR+KzTZpBqrQOFcPe7/8ZoPRlTYYRe43k6TWsf4GVH6XKRLMYeSp8J89RfAhBrSP4itNA==, + } + engines: + { + glibc: ">=2.26", + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [x64] + os: [linux] + requiresBuild: true + optionalDependencies: + "@img/sharp-libvips-linux-x64": 1.0.0 + dev: false + optional: true + + /@img/sharp-linuxmusl-arm64@0.33.0: + resolution: + { + integrity: sha512-1QLbbN0zt+32eVrg7bb1lwtvEaZwlhEsY1OrijroMkwAqlHqFj6R33Y47s2XUv7P6Ie1PwCxK/uFnNqMnkd5kg==, + } + engines: + { + musl: ">=1.2.2", + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [arm64] + os: [linux] + requiresBuild: true + optionalDependencies: + "@img/sharp-libvips-linuxmusl-arm64": 1.0.0 + dev: false + optional: true + + /@img/sharp-linuxmusl-x64@0.33.0: + resolution: + { + integrity: sha512-CecqgB/CnkvCWFhmfN9ZhPGMLXaEBXl4o7WtA6U3Ztrlh/s7FUKX4vNxpMSYLIrWuuzjiaYdfU3+Tdqh1xaHfw==, + } + engines: + { + musl: ">=1.2.2", + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [x64] + os: [linux] + requiresBuild: true + optionalDependencies: + "@img/sharp-libvips-linuxmusl-x64": 1.0.0 + dev: false + optional: true + + /@img/sharp-wasm32@0.33.0: + resolution: + { + integrity: sha512-Hn4js32gUX9qkISlemZBUPuMs0k/xNJebUNl/L6djnU07B/HAA2KaxRVb3HvbU5fL242hLOcp0+tR+M8dvJUFw==, + } + engines: + { + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [wasm32] + requiresBuild: true + dependencies: + "@emnapi/runtime": 0.44.0 + dev: false + optional: true + + /@img/sharp-win32-ia32@0.33.0: + resolution: + { + integrity: sha512-5HfcsCZi3l5nPRF2q3bllMVMDXBqEWI3Q8KQONfzl0TferFE5lnsIG0A1YrntMAGqvkzdW6y1Ci1A2uTvxhfzg==, + } + engines: + { + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@img/sharp-win32-x64@0.33.0: + resolution: + { + integrity: sha512-i3DtP/2ce1yKFj4OzOnOYltOEL/+dp4dc4dJXJBv6god1AFTcmkaA99H/7SwOmkCOBQkbVvA3lCGm3/5nDtf9Q==, + } + engines: + { + node: ^18.17.0 || ^20.3.0 || >=21.0.0, + npm: ">=9.6.5", + pnpm: ">=7.1.0", + yarn: ">=3.2.0", + } + cpu: [x64] + os: [win32] + requiresBuild: true + dev: false + optional: true + /@isaacs/cliui@8.0.2: resolution: { @@ -11788,6 +12125,7 @@ packages: { integrity: sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==, } + dev: true /babel-core@7.0.0-bridge.0(@babel/core@7.23.5): resolution: @@ -16102,6 +16440,7 @@ packages: { integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==, } + dev: true /fast-glob@3.3.2: resolution: @@ -21363,6 +21702,7 @@ packages: { integrity: sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==, } + dev: true /node-cache@5.1.2: resolution: @@ -22577,7 +22917,7 @@ packages: dependencies: find-up: 3.0.0 - /plaiceholder@2.5.0(sharp@0.32.6): + /plaiceholder@2.5.0(sharp@0.33.0): resolution: { integrity: sha512-rygdNSWuYzs1GxxGjq2FiJdJB1AUaKhUHP/M7PIrSjAAGuoJC5ACiJx+cZZ+hDmMalxsxOMw0Sbbx3LF8jemGg==, @@ -22590,7 +22930,7 @@ packages: image-size: 1.0.2 node-cache: 5.1.2 node-fetch: 2.6.7(encoding@0.1.13) - sharp: 0.32.6 + sharp: 0.33.0 dev: false /playwright-core@1.40.1: @@ -23919,6 +24259,7 @@ packages: { integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==, } + dev: true /queue@6.0.2: resolution: @@ -25627,6 +25968,40 @@ packages: simple-get: 4.0.1 tar-fs: 3.0.4 tunnel-agent: 0.6.0 + dev: true + + /sharp@0.33.0: + resolution: + { + integrity: sha512-99DZKudjm/Rmz+M0/26t4DKpXyywAOJaayGS9boEn7FvgtG0RYBi46uPE2c+obcJRtA3AZa0QwJot63gJQ1F0Q==, + } + engines: { libvips: ">=8.15.0", node: ^18.17.0 || ^20.3.0 || >=21.0.0 } + requiresBuild: true + dependencies: + color: 4.2.3 + detect-libc: 2.0.2 + semver: 7.5.4 + optionalDependencies: + "@img/sharp-darwin-arm64": 0.33.0 + "@img/sharp-darwin-x64": 0.33.0 + "@img/sharp-libvips-darwin-arm64": 1.0.0 + "@img/sharp-libvips-darwin-x64": 1.0.0 + "@img/sharp-libvips-linux-arm": 1.0.0 + "@img/sharp-libvips-linux-arm64": 1.0.0 + "@img/sharp-libvips-linux-s390x": 1.0.0 + "@img/sharp-libvips-linux-x64": 1.0.0 + "@img/sharp-libvips-linuxmusl-arm64": 1.0.0 + "@img/sharp-libvips-linuxmusl-x64": 1.0.0 + "@img/sharp-linux-arm": 0.33.0 + "@img/sharp-linux-arm64": 0.33.0 + "@img/sharp-linux-s390x": 0.33.0 + "@img/sharp-linux-x64": 0.33.0 + "@img/sharp-linuxmusl-arm64": 0.33.0 + "@img/sharp-linuxmusl-x64": 0.33.0 + "@img/sharp-wasm32": 0.33.0 + "@img/sharp-win32-ia32": 0.33.0 + "@img/sharp-win32-x64": 0.33.0 + dev: false /shebang-command@1.2.0: resolution: @@ -26225,6 +26600,7 @@ packages: dependencies: fast-fifo: 1.3.2 queue-tick: 1.0.1 + dev: true /string-argv@0.3.2: resolution: @@ -26706,6 +27082,7 @@ packages: mkdirp-classic: 0.5.3 pump: 3.0.0 tar-stream: 3.1.6 + dev: true /tar-stream@2.2.0: resolution: @@ -26729,6 +27106,7 @@ packages: b4a: 1.6.4 fast-fifo: 1.3.2 streamx: 2.15.5 + dev: true /tar@6.2.0: resolution: