Skip to content

The Open Source DocuSign Alternative.

fix: update sharp dependency

Mythie9e1b2e5cc3ca
diff --git a/apps/marketing/package.json b/apps/marketing/package.json
index 1cfb7337f..f6af3a9ff 100644
--- a/apps/marketing/package.json
+++ b/apps/marketing/package.json
@@ -36,7 +36,7 @@
"react-hook-form": "^7.43.9",
"react-icons": "^4.11.0",
"recharts": "^2.7.2",
- "sharp": "0.33.1",
+ "sharp": "^0.33.1",
"typescript": "5.2.2",
"zod": "^3.22.4"
},
diff --git a/apps/web/package.json b/apps/web/package.json
index 41caec804..e72f4898a 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -43,7 +43,7 @@
"react-icons": "^4.11.0",
"react-rnd": "^10.4.1",
"remeda": "^1.27.1",
- "sharp": "0.33.1",
+ "sharp": "^0.33.1",
"ts-pattern": "^5.0.5",
"ua-parser-js": "^1.0.37",
"uqr": "^0.1.2",
diff --git a/package-lock.json b/package-lock.json
index 72d06b98a..d7615e179 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -58,7 +58,7 @@
"react-hook-form": "^7.43.9",
"react-icons": "^4.11.0",
"recharts": "^2.7.2",
- "sharp": "0.33.1",
+ "sharp": "^0.33.1",
"typescript": "5.2.2",
"zod": "^3.22.4"
},
@@ -74,45 +74,6 @@
"integrity": "sha512-O+z53uwx64xY7D6roOi4+jApDGFg0qn6WHcxe5QeqjMaTezBO/mxdfFXIVAVVyNWKx84OmPB3L8kbVYOTeN34A==",
"dev": true
},
- "apps/marketing/node_modules/sharp": {
- "version": "0.33.1",
- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.1.tgz",
- "integrity": "sha512-iAYUnOdTqqZDb3QjMneBKINTllCJDZ3em6WaWy7NPECM4aHncvqHRm0v0bN9nqJxMiwamv5KIdauJ6lUzKDpTQ==",
- "hasInstallScript": true,
- "dependencies": {
- "color": "^4.2.3",
- "detect-libc": "^2.0.2",
- "semver": "^7.5.4"
- },
- "engines": {
- "libvips": ">=8.15.0",
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/libvips"
- },
- "optionalDependencies": {
- "@img/sharp-darwin-arm64": "0.33.1",
- "@img/sharp-darwin-x64": "0.33.1",
- "@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.1",
- "@img/sharp-linux-arm64": "0.33.1",
- "@img/sharp-linux-s390x": "0.33.1",
- "@img/sharp-linux-x64": "0.33.1",
- "@img/sharp-linuxmusl-arm64": "0.33.1",
- "@img/sharp-linuxmusl-x64": "0.33.1",
- "@img/sharp-wasm32": "0.33.1",
- "@img/sharp-win32-ia32": "0.33.1",
- "@img/sharp-win32-x64": "0.33.1"
- }
- },
"apps/marketing/node_modules/typescript": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
@@ -159,7 +120,7 @@
"react-icons": "^4.11.0",
"react-rnd": "^10.4.1",
"remeda": "^1.27.1",
- "sharp": "0.33.1",
+ "sharp": "^0.33.1",
"ts-pattern": "^5.0.5",
"ua-parser-js": "^1.0.37",
"uqr": "^0.1.2",
@@ -182,45 +143,6 @@
"integrity": "sha512-O+z53uwx64xY7D6roOi4+jApDGFg0qn6WHcxe5QeqjMaTezBO/mxdfFXIVAVVyNWKx84OmPB3L8kbVYOTeN34A==",
"dev": true
},
- "apps/web/node_modules/sharp": {
- "version": "0.33.1",
- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.1.tgz",
- "integrity": "sha512-iAYUnOdTqqZDb3QjMneBKINTllCJDZ3em6WaWy7NPECM4aHncvqHRm0v0bN9nqJxMiwamv5KIdauJ6lUzKDpTQ==",
- "hasInstallScript": true,
- "dependencies": {
- "color": "^4.2.3",
- "detect-libc": "^2.0.2",
- "semver": "^7.5.4"
- },
- "engines": {
- "libvips": ">=8.15.0",
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/libvips"
- },
- "optionalDependencies": {
- "@img/sharp-darwin-arm64": "0.33.1",
- "@img/sharp-darwin-x64": "0.33.1",
- "@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.1",
- "@img/sharp-linux-arm64": "0.33.1",
- "@img/sharp-linux-s390x": "0.33.1",
- "@img/sharp-linux-x64": "0.33.1",
- "@img/sharp-linuxmusl-arm64": "0.33.1",
- "@img/sharp-linuxmusl-x64": "0.33.1",
- "@img/sharp-wasm32": "0.33.1",
- "@img/sharp-win32-ia32": "0.33.1",
- "@img/sharp-win32-x64": "0.33.1"
- }
- },
"apps/web/node_modules/typescript": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
@@ -18560,6 +18482,45 @@
"sha.js": "bin.js"
}
},
+ "node_modules/sharp": {
+ "version": "0.33.1",
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.1.tgz",
+ "integrity": "sha512-iAYUnOdTqqZDb3QjMneBKINTllCJDZ3em6WaWy7NPECM4aHncvqHRm0v0bN9nqJxMiwamv5KIdauJ6lUzKDpTQ==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "color": "^4.2.3",
+ "detect-libc": "^2.0.2",
+ "semver": "^7.5.4"
+ },
+ "engines": {
+ "libvips": ">=8.15.0",
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-darwin-arm64": "0.33.1",
+ "@img/sharp-darwin-x64": "0.33.1",
+ "@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.1",
+ "@img/sharp-linux-arm64": "0.33.1",
+ "@img/sharp-linux-s390x": "0.33.1",
+ "@img/sharp-linux-x64": "0.33.1",
+ "@img/sharp-linuxmusl-arm64": "0.33.1",
+ "@img/sharp-linuxmusl-x64": "0.33.1",
+ "@img/sharp-wasm32": "0.33.1",
+ "@img/sharp-win32-ia32": "0.33.1",
+ "@img/sharp-win32-x64": "0.33.1"
+ }
+ },
"node_modules/shebang-command": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",