Fixathon ICU - remove npm vulnerabilities from production version (#28999)
* fix high vulnerability present in braces * remove vulnerabilities from pdfjs-dis and update types for node and react * adapt the pdf preview file to the lib new version * lock the estree version to a compatible version * use minified version of worker and adjust webpack to support extension for ESM module process * get working the pdf preview * adjust jest to use babel correctly * override asn1.js lib to keep working version * upgrade semver version to a secure version * remove no longer needed changes * fix linter issues * fix merge conflicts * sync package-lock * fix conflicts * adjust lock to npm ci
Этот коммит содержится в:
@@ -141,6 +141,7 @@ var config = {
|
||||
crypto: require.resolve('crypto-browserify'),
|
||||
stream: require.resolve('stream-browserify'),
|
||||
buffer: require.resolve('buffer/'),
|
||||
process: require.resolve('process/browser.js'),
|
||||
},
|
||||
},
|
||||
performance: {
|
||||
@@ -149,7 +150,7 @@ var config = {
|
||||
target: 'web',
|
||||
plugins: [
|
||||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser',
|
||||
process: 'process/browser.js',
|
||||
}),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: '[name].[contenthash].css',
|
||||
|
||||
Ссылка в новой задаче
Block a user