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
Этот коммит содержится в:
Pablo Vélez
2024-11-05 13:41:29 +01:00
коммит произвёл GitHub
родитель cb8f152089
Коммит 87cc13c590
6 изменённых файлов: 7103 добавлений и 4733 удалений

Просмотреть файл

@@ -22,7 +22,7 @@
"react-intl": "6.6.2"
},
"devDependencies": {
"@babel/core": "7.21.8",
"@babel/core": "7.22.0",
"@babel/preset-env": "7.21.5",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.21.5",
@@ -94,7 +94,11 @@
"react-transition-group": {
"react": "17.0.2",
"react-dom": "17.0.2"
}
},
"braces": "3.0.3",
"cheerio": "1.0.0-rc.12",
"@types/estree": "0.0.51",
"asn1.js": "5.4.1"
},
"workspaces": [
"channels",