Update more dependencies

This commit is contained in:
Gaël Métais
2023-07-19 22:01:29 +02:00
parent 04e734bd5a
commit 1ae4bed339
2 changed files with 13 additions and 10 deletions
+4 -1
View File
@@ -204,7 +204,10 @@ var ImageOptimizer = function() {
} else if (type === 'png' && !lossy) {
engine = imageminOptipng({optimizationLevel: OPTIPNG_COMPRESSION_LEVEL});
} else if (type === 'svg' && !lossy) {
engine = imageminSvgo({ plugins: [ { removeUselessDefs: false } ] });
engine = imageminSvgo({plugins: [{
name: 'preset-default',
params: {overrides: {removeUselessDefs: false}}
}]});
} else {
deferred.reject('No optimization engine found for imagemin');
}
+9 -9
View File
@@ -24,16 +24,16 @@
"clean-css": "4.2.1",
"color-diff": "1.4.0",
"css-mq-parser": "0.0.3",
"debug": "4.1.1",
"debug": "4.3.4",
"easyxml": "2.0.1",
"fontkit": "1.7.8",
"fontkit": "2.0.2",
"html-minifier": "4.0.0",
"image-size": "0.7.1",
"image-size": "1.0.2",
"imagemin": "7.0.1",
"imagemin-jpegoptim": "7.0.0",
"imagemin-jpegtran": "7.0.0",
"imagemin-optipng": "8.0.0",
"imagemin-svgo": "8.0.0",
"imagemin-svgo": "9.0.0",
"is-eot": "1.0.0",
"is-gif": "3.0.0",
"is-jpg": "2.0.0",
@@ -45,15 +45,15 @@
"is-webp": "1.0.1",
"is-woff": "1.0.3",
"is-woff2": "1.0.0",
"jimp": "0.6.0",
"md5": "2.2.1",
"jimp": "0.22.8",
"md5": "2.3.0",
"meow": "5.0.0",
"parse-color": "1.0.0",
"phantomas": "2.8.0",
"q": "1.5.1",
"request": "2.88.0",
"ttf2woff2": "4.0.1",
"uglify-js": "3.4.9",
"request": "2.88.2",
"ttf2woff2": "5.0.0",
"uglify-js": "3.17.4",
"woff-tools": "0.1.0"
},
"devDependencies": {