mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Polyfill Path2D
in Node.js environments
Until just recently the only existing `Path2D` polyfill didn't have support for Node.js and/or the `node-canvas` package. Given that this was just fixed, in the latest version, we can now finally remove our inline-checks at the relevant call-sites; please also see https://github.com/nilzona/path2d-polyfill#usage-with-node-canvas
This commit is contained in:
parent
cb5a28ceca
commit
cf0369d622
6 changed files with 237 additions and 2462 deletions
|
@ -39,6 +39,7 @@
|
|||
"merge-stream": "^2.0.0",
|
||||
"mkdirp": "^2.1.3",
|
||||
"needle": "^3.2.0",
|
||||
"path2d-polyfill": "^2.0.1",
|
||||
"postcss": "^8.4.21",
|
||||
"postcss-dir-pseudo-class": "^7.0.0",
|
||||
"postcss-logical": "^5.0.4",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue