Open sebinbenjamin opened 5 years ago
Sharp v0.21.0 - 4th October 2018 release deprecated resize-related functions like crop, which is used in the project.
crop
crop('attention') is now resize(width, height, { fit: 'cover', position: 'attention' }),max().withoutEnlargement().
crop('attention')
resize(width, height, { fit: 'cover', position: 'attention' }),max().withoutEnlargement()
Update the before updating package version to later
Sharp v0.21.0 - 4th October 2018 release deprecated resize-related functions like
crop
, which is used in the project.crop('attention')
is nowresize(width, height, { fit: 'cover', position: 'attention' }),max().withoutEnlargement()
.Update the before updating package version to later