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

Remove deprecated resize-related functions: crop #6

Open
sebinbenjamin opened this issue Jul 18, 2019 · 0 comments
Open

Remove deprecated resize-related functions: crop #6

sebinbenjamin opened this issue Jul 18, 2019 · 0 comments
Assignees
Labels
project-cleanup Cleanup existing code refactor

Comments

@sebinbenjamin
Copy link
Owner

Sharp v0.21.0 - 4th October 2018 release deprecated resize-related functions like crop, which is used in the project.

crop('attention') is now resize(width, height, { fit: 'cover', position: 'attention' }),max().withoutEnlargement().

Update the before updating package version to later

@sebinbenjamin sebinbenjamin added enhancement New feature or request project-cleanup Cleanup existing code labels Jul 18, 2019
@sebinbenjamin sebinbenjamin added this to the Cleanup the project ! milestone Jul 18, 2019
@sebinbenjamin sebinbenjamin self-assigned this Jul 18, 2019
@sebinbenjamin sebinbenjamin added refactor and removed enhancement New feature or request labels Jul 19, 2019
@sebinbenjamin sebinbenjamin changed the title Fix: remove deprecated resize-related functions: crop Remove deprecated resize-related functions: crop Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project-cleanup Cleanup existing code refactor
Projects
None yet
Development

No branches or pull requests

1 participant