File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " strapi-plugin-responsive-image" ,
3- "version" : " 1.1 .0" ,
3+ "version" : " 1.2 .0" ,
44 "description" : " Custom responsive image formats for strapi." ,
55 "strapi" : {
66 "name" : " responsive-image" ,
3030 " media"
3131 ],
3232 "engines" : {
33- "node" : " >=14.19.1 <=18 .x.x" ,
33+ "node" : " >=18.0.0 <=20 .x.x" ,
3434 "npm" : " >=8.0.0"
3535 },
3636 "license" : " MIT"
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ const {
1111 file : { bytesToKbytes } ,
1212} = require ( "@strapi/utils" ) ;
1313const { getService } = require ( "../utils" ) ;
14- const imageManipulation = require ( "@strapi/plugin-upload/server/services/image-manipulation" ) ;
14+ const pluginUpload = require ( "@strapi/plugin-upload/strapi-server" ) ;
15+ const imageManipulation = pluginUpload ( ) . services [ "image-manipulation" ] ;
1516
1617const writeStreamToFile = ( stream , path ) =>
1718 new Promise ( ( resolve , reject ) => {
You can’t perform that action at this time.
0 commit comments