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

chore: upgrade sharp to 0.21.0 #9318

Merged
merged 10 commits into from
Oct 23, 2018
Merged

chore: upgrade sharp to 0.21.0 #9318

merged 10 commits into from
Oct 23, 2018

Conversation

pieh
Copy link
Contributor

@pieh pieh commented Oct 23, 2018

this is mostly same PR as #8898 with couple of tweaks (upgrading sharp everywhere so all packages use same version). Credits go to @WaylonWalker

WaylonWalker and others added 9 commits October 7, 2018 18:35
This will help folks having installation issues on windows resolve without opening an issue. This issue has been seen in Issue lovell/sharp#1382, lovell/sharp#1387,  and in gatsbyjs#8325.
Changes per @lovell to update to sharp ```^0.21.0```

-    .resize(options.width, options.height)
-    .crop(options.cropFocus)
+    .resize(options.width, options.height, {
+      position: options.cropFocus
+    })


** note
I was unable to clone the full repo due to poor connection... attempting from the github interface.
added trailing commas to linting test
added options to jobs.forEach block
@pieh pieh requested a review from a team October 23, 2018 17:10
Copy link
Contributor

@DSchau DSchau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@pieh pieh merged commit 4e8287c into gatsbyjs:master Oct 23, 2018
@pieh pieh deleted the upgrade-sharp branch October 23, 2018 23:19
gpetrioli pushed a commit to gpetrioli/gatsby that referenced this pull request Jan 22, 2019
this is mostly same PR as gatsbyjs#8898 with couple of tweaks (upgrading sharp everywhere so all packages use same version). Credits go to @WaylonWalker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants