Fixed security vulnerabilities identified in the yarn.lock file.

pull/8943/head^2
Aditya Toshniwal 2025-07-15 17:41:31 +05:30 committed by GitHub
parent 61a420c9fc
commit 3aad58751a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 357 additions and 1676 deletions

View File

@ -41,10 +41,7 @@
"exports-loader": "^5.0.0",
"globals": "^16.3.0",
"html-react-parser": "^5.2.0",
"image-minimizer-webpack-plugin": "^4.0.2",
"imagemin": "^9.0.0",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-optipng": "^8.0.0",
"image-minimizer-webpack-plugin": "^4.1.3",
"imports-loader": "^5.0.0",
"jest": "^30.0.2",
"jest-environment-jsdom": "^29.6.4",
@ -54,6 +51,7 @@
"process": "^0.11.10",
"prop-types": "^15.7.2",
"resize-observer-polyfill": "^1.5.1",
"sharp": "^0.34.3",
"shim-loader": "^1.0.1",
"style-loader": "^4.0.0",
"stylis": "^4.3.4",

View File

@ -354,12 +354,21 @@ module.exports = [{
new ImageMinimizerPlugin({
test: /\.(jpe?g|png|gif)$/i,
minimizer: {
implementation: ImageMinimizerPlugin.imageminMinify,
implementation: ImageMinimizerPlugin.sharpMinify,
options: {
plugins: [
['mozjpeg', { progressive: true }],
['optipng', { optimizationLevel: 7 }],
],
encodeOptions: {
jpeg: {
quality: 100,
},
webp: {
lossless: true,
},
avif: {
lossless: true,
},
png: {},
gif: {},
},
},
},
}),

File diff suppressed because it is too large Load Diff