1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Update core-js to allow removing a structuredClone work-around

Because of a bug in previous `core-js` versions, which caused an Error to be thrown if its `structuredClone` polyfill was called with an *explicit* `null`/`undefined` transfer-parameter, the `LoopbackPort`-class contained a work-around.
In the latest `core-js` version this has been fixed, and we can thus simplify our code ever so slightly; please see https://github.com/zloirock/core-js/releases/tag/v3.22.0
This commit is contained in:
Jonas Jenwald 2022-04-15 22:01:51 +02:00
parent fffce7910e
commit b996e107c3
3 changed files with 9 additions and 14 deletions

View file

@ -12,7 +12,7 @@
"babel-loader": "^8.2.4",
"caniuse-lite": "^1.0.30001324",
"canvas": "^2.9.1",
"core-js": "^3.21.1",
"core-js": "^3.22.0",
"cross-env": "^7.0.3",
"dialog-polyfill": "^0.5.6",
"dommatrix": "^0.0.24",