What is the method to use PDFViewer with the new Mozilla pdf.mjs?

1 Answer 108 Views
PDFViewer
Taha
Top achievements
Rank 1
Taha asked on 29 Jul 2024, 12:18 PM

Hello,

I am using KENDOUI jQuery PDFViewer. PDFViewer essentially uses Mozilla's pdf.js library, and I was using version 2.5.207 of pdf.js. However, there are security vulnerabilities in this version (https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq). Mozilla has started using pdf.mjs and pdf.worker.mjs with version 4.x. How can I use these versions with PDFViewer?

How can I set the window.pdfjsLib.GlobalWorkerOptions.workerSrc assignment?

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 01 Aug 2024, 06:27 AM

Hello, Taha,

Currently the latest compatible PDFjs version is 3.11. We have a feature request to provide support for the 4.x.x versions where you can cast your vote.

Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024

Tags
PDFViewer
Asked by
Taha
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or