-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
.max is not a function #1731
Comments
Just read the changelog Looks like a number of functions are deprecated and moved to params. |
Here is the relevant line of the changelog:
|
@lovell can you please follow Semantic Versioning so these breaking changes are more apparent. Also, why is the library not at version 1? Is it not production ready? |
@mattgaspar Please see #1448 #1754 |
What is the output of running
npx envinfo --binaries --languages --system --utilities
?My sharp version is
0.22.1
What are the steps to reproduce?
Run code below
What is the expected behaviour?
Resize occurs successfully. Removing
.max
causes the code to workAre you able to provide a standalone code sample, without other dependencies, that demonstrates this problem?
Are you able to provide a sample image that helps explain the problem?
Funny thing is
.trim
,.background
, and.embed
aren't there either.The text was updated successfully, but these errors were encountered: