-
-
Notifications
You must be signed in to change notification settings - Fork 903
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update pdfjs-dist to 4.8.69 * Update canvas to 3.0.0-rc2 --------- Co-authored-by: Wojciech Maj <[email protected]>
- Loading branch information
Showing
6 changed files
with
280 additions
and
172 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/build/pdf.mjs b/build/pdf.mjs | ||
index f3f03fa38953ebe0b8666c706c751c7e12628752..9dcca9f372547f63b35c9afcaeaa5171932b636c 100644 | ||
--- a/build/pdf.mjs | ||
+++ b/build/pdf.mjs | ||
@@ -5766,8 +5766,9 @@ if (isNodeJS) { | ||
const fs = await import(/*webpackIgnore: true*/"fs"), | ||
http = await import(/*webpackIgnore: true*/"http"), | ||
https = await import(/*webpackIgnore: true*/"https"), | ||
- url = await import(/*webpackIgnore: true*/"url"); | ||
- let canvas, path2d; | ||
+ url = await import(/*webpackIgnore: true*/"url"), | ||
+ canvas = await import( /*webpackIgnore: true*/"canvas"); | ||
+ let path2d; | ||
return new Map(Object.entries({ | ||
fs, | ||
http, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
"husky": "^9.0.0" | ||
}, | ||
"resolutions": { | ||
"pdfjs-dist": "patch:pdfjs-dist@npm:4.6.82#.yarn/patches/pdfjs-dist-npm-4.6.82-35a0e70ced.patch" | ||
"pdfjs-dist": "patch:pdfjs-dist@npm:4.8.69#.yarn/patches/pdfjs-dist-npm-4.8.69-789befba80.patch" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.