Skip to content

Commit

Permalink
deps: upgrade pdf.js to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Priestch committed Nov 7, 2024
1 parent bbd485a commit 739fbf1
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 31 deletions.
2 changes: 1 addition & 1 deletion packages/document-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "./bin/gulp.sh",
"release": "npm run build && npm publish",
"transform:html": "node ./bin/transform-html.js",
"syncWithUpstream": "pnpm run transform:html && pnpm run extract:js",
"syncWithUpstream": "pnpm run transform:html",
"extract:js": "node ./bin/extract-from-source.js",
"api": "node jsdoc/extract-doc.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/document-viewer/pdf.js
Submodule pdf.js updated 48 files
+0 −285 examples/node/domstubs.js
+0 −128 examples/node/pdf2svg.js
+33 −17 gulpfile.mjs
+48 −28 package-lock.json
+3 −2 package.json
+2 −2 pdfjs.config
+26 −15 src/core/struct_tree.js
+1 −0 src/core/worker.js
+6 −1 src/display/annotation_layer.js
+0 −22 src/display/api.js
+7 −4 src/display/canvas.js
+47 −43 src/display/editor/annotation_editor_layer.js
+77 −19 src/display/editor/editor.js
+6 −3 src/display/editor/freetext.js
+14 −1 src/display/editor/ink.js
+19 −0 src/display/editor/stamp.js
+21 −0 src/display/editor/tools.js
+0 −2 src/display/stubs.js
+0 −1,700 src/display/svg.js
+1 −29 src/display/text_layer.js
+0 −2 src/pdf.js
+61 −24 test/integration/copy_paste_spec.js
+588 −309 test/integration/freetext_editor_spec.js
+46 −34 test/integration/ink_editor_spec.js
+4 −14 test/integration/scripting_spec.js
+113 −35 test/integration/stamp_editor_spec.js
+92 −12 test/integration/test_utils.js
+2 −0 test/pdfs/.gitignore
+ test/pdfs/issue17064_readonly.pdf
+ test/pdfs/issue17065.pdf
+14 −0 test/test_manifest.json
+141 −1 test/unit/api_spec.js
+0 −1 test/unit/clitests.json
+0 −163 test/unit/display_svg_spec.js
+0 −1 test/unit/jasmine-boot.js
+65 −47 test/unit/pdf_spec.js
+0 −1 test/unit/unit_test.html
+0 −1 tsconfig.json
+1 −0 web/alt_text_manager.js
+9 −14 web/annotation_editor_layer_builder.css
+1 −1 web/annotation_layer_builder.js
+0 −16 web/app.js
+0 −12 web/pdf_find_controller.js
+20 −29 web/pdf_page_view.js
+5 −12 web/pdf_viewer.js
+90 −3 web/pdfjs.js
+0 −1 web/viewer-geckoview.html
+0 −1 web/viewer.html
Loading

0 comments on commit 739fbf1

Please sign in to comment.