Skip to content

Commit

Permalink
Upgrade sharp (#8568)
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic authored Oct 24, 2022
1 parent 4ba031a commit a5fb028
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 200 deletions.
2 changes: 1 addition & 1 deletion packages/transformers/image/package.json
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit a5fb028

Please sign in to comment.