Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade sharp #8568

Merged
merged 1 commit into from Oct 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/transformers/image/package.json
Expand Up @@ -22,7 +22,7 @@
"nullthrows": "^1.1.1"
},
"devDependencies": {
"sharp": "^0.29.1"
"sharp": "^0.31.1"
},
"peerDependencies": {
"@parcel/core": "^2.7.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/transformers/image/src/loadSharp.js
Expand Up @@ -2,7 +2,7 @@
import type {PackageManager} from '@parcel/package-manager';
import type {FilePath} from '@parcel/types';

const SHARP_RANGE = '^0.29.1';
const SHARP_RANGE = '^0.31.1';

// This is used to load sharp on the main thread, which prevents errors when worker threads exit
// See https://sharp.pixelplumbing.com/install#worker-threads and https://github.com/lovell/sharp/issues/2263
Expand Down