Fixed security vulnerabilities identified in the yarn.lock file.
parent
61a420c9fc
commit
3aad58751a
|
|
@ -41,10 +41,7 @@
|
||||||
"exports-loader": "^5.0.0",
|
"exports-loader": "^5.0.0",
|
||||||
"globals": "^16.3.0",
|
"globals": "^16.3.0",
|
||||||
"html-react-parser": "^5.2.0",
|
"html-react-parser": "^5.2.0",
|
||||||
"image-minimizer-webpack-plugin": "^4.0.2",
|
"image-minimizer-webpack-plugin": "^4.1.3",
|
||||||
"imagemin": "^9.0.0",
|
|
||||||
"imagemin-mozjpeg": "^10.0.0",
|
|
||||||
"imagemin-optipng": "^8.0.0",
|
|
||||||
"imports-loader": "^5.0.0",
|
"imports-loader": "^5.0.0",
|
||||||
"jest": "^30.0.2",
|
"jest": "^30.0.2",
|
||||||
"jest-environment-jsdom": "^29.6.4",
|
"jest-environment-jsdom": "^29.6.4",
|
||||||
|
|
@ -54,6 +51,7 @@
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"resize-observer-polyfill": "^1.5.1",
|
"resize-observer-polyfill": "^1.5.1",
|
||||||
|
"sharp": "^0.34.3",
|
||||||
"shim-loader": "^1.0.1",
|
"shim-loader": "^1.0.1",
|
||||||
"style-loader": "^4.0.0",
|
"style-loader": "^4.0.0",
|
||||||
"stylis": "^4.3.4",
|
"stylis": "^4.3.4",
|
||||||
|
|
|
||||||
|
|
@ -354,12 +354,21 @@ module.exports = [{
|
||||||
new ImageMinimizerPlugin({
|
new ImageMinimizerPlugin({
|
||||||
test: /\.(jpe?g|png|gif)$/i,
|
test: /\.(jpe?g|png|gif)$/i,
|
||||||
minimizer: {
|
minimizer: {
|
||||||
implementation: ImageMinimizerPlugin.imageminMinify,
|
implementation: ImageMinimizerPlugin.sharpMinify,
|
||||||
options: {
|
options: {
|
||||||
plugins: [
|
encodeOptions: {
|
||||||
['mozjpeg', { progressive: true }],
|
jpeg: {
|
||||||
['optipng', { optimizationLevel: 7 }],
|
quality: 100,
|
||||||
],
|
},
|
||||||
|
webp: {
|
||||||
|
lossless: true,
|
||||||
|
},
|
||||||
|
avif: {
|
||||||
|
lossless: true,
|
||||||
|
},
|
||||||
|
png: {},
|
||||||
|
gif: {},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
2008
web/yarn.lock
2008
web/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue