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 удалений

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

@@ -56,7 +56,7 @@
"memoize-one": "6.0.0",
"moment-timezone": "0.5.38",
"p-queue": "7.3.0",
"pdfjs-dist": "3.11.174",
"pdfjs-dist": "4.4.168",
"popper.js": "1.16.1",
"process": "0.11.10",
"prop-types": "15.8.1",
@@ -87,7 +87,7 @@
"redux-thunk": "2.4.2",
"regenerator-runtime": "0.13.10",
"rudder-sdk-js": "1.0.16",
"semver": "7.3.8",
"semver": "7.5.2",
"serialize-error": "8.0.1",
"shallow-equals": "1.0.0",
"smooth-scroll-into-view-if-needed": "1.1.33",
@@ -121,8 +121,8 @@
"@types/luxon": "3.0.2",
"@types/mark.js": "8.11.6",
"@types/marked": "0.7.4",
"@types/node": "18.18.13",
"@types/react": "17.0.71",
"@types/node": "18.19.59",
"@types/react": "17.0.83",
"@types/react-beautiful-dnd": "13.1.2",
"@types/react-bootstrap": "0.32.35",
"@types/react-color": "3.0.6",