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", "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",

View File

@ -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: {},
},
}, },
}, },
}), }),

File diff suppressed because it is too large Load Diff