Skip to content

Commit

Permalink
Merge pull request #1300 from Ludy87/bump_pdf_js
Browse files Browse the repository at this point in the history
Bump PDF.js from 3.11.174 to 4.3.118
  • Loading branch information
Frooodle authored May 27, 2024
2 parents 9644557 + 729af56 commit 502a4b1
Show file tree
Hide file tree
Showing 315 changed files with 118,701 additions and 110,328 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/static/js/multitool/PdfContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class PdfContainer {
}

async toRenderer(objectUrl) {
pdfjsLib.GlobalWorkerOptions.workerSrc = "pdfjs/pdf.worker.js";
pdfjsLib.GlobalWorkerOptions.workerSrc = "./pdfjs/pdf.worker.mjs";
const pdf = await pdfjsLib.getDocument(objectUrl).promise;
return {
document: pdf,
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/static/pdfjs/cmaps/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
%%Copyright: Redistributions in binary form must reproduce the above
%%Copyright: copyright notice, this list of conditions and the following
%%Copyright: disclaimer in the documentation and/or other materials
%%Copyright: provided with the distribution.
%%Copyright: provided with the distribution.
%%Copyright:
%%Copyright: Neither the name of Adobe Systems Incorporated nor the names
%%Copyright: of its contributors may be used to endorse or promote
%%Copyright: products derived from this software without specific prior
%%Copyright: written permission.
%%Copyright: written permission.
%%Copyright:
%%Copyright: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
%%Copyright: CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
Expand Down
Loading

0 comments on commit 502a4b1

Please sign in to comment.