support for pdf.js v2.4.456
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [ ] Bug report -> please search issues before submitting
- [x ] Feature request
- [ ] Documentation issue or request
Hello there,
Is there any plan to update to pdf.js v2.4.456?
This newer release of pdf.js seems to include much better modularity. It includes more or less the work of nearly 6 months with several bugfixes to the application as well as the handling of PDFs
https://github.com/mozilla/pdf.js/releases/tag/v2.4.456
Cheers Igor
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
PDF.js v2.4.456 (build: 228a591c) Message - Kopernio
I cannot download the pdf after pressing the button "view pdf" because of the below message PDF.js v2.4.456 (build: 228a591c) Message: Cannot set...
Read more >mozilla/pdf.js v2.4.456 on GitHub - NewReleases.io
New release mozilla/pdf.js version v2.4.456 on GitHub. ... #11281 Support Blend Modes which are specified in an Array of Names (issue 11279)
Read more >PDF Viewer - Does not work externally - Nextcloud community
An error occurred while loading the PDF. PDF.js v2.4.456 (build: 228a591c) Message: Failed to fetch ... This happens if trying to open shared...
Read more >pdfjs-dist - Snyk Vulnerability Database
version published direct vulnerabilities
3.1.81 26 Nov, 2022 0. C. 0. H. 0. M. 0. L
3.0.279 29 Oct, 2022 0. C. 0. H. 0....
Read more >forked-pdf-viewer: Versions | Openbase
Full version history for forked-pdf-viewer including change logs. ... 2 years ago. Updates. [#601] - support for pdf.js v2.4.456 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I see. IE10 and IE11 not begin the best example of a modern browser, at somepoint pdfjs probably wants to use more features of modern JS. It may not be the only one that come up.
We only use evergreen browsers in the last 5 years of projects. But if I had to perhaps I would suggest using a polyfill:
https://www.npmjs.com/package/weakmap-polyfill or https://github.com/ungap/weakmap
The reason, is there are tons of improvements to pdfjs, so I guess the polyfill, working, would be the better solution while taking all other advanges.
The mozilla guys mentioned in the changelog something interesting:
“From now on we produce a non-translated/non-polyfilled build for modern browsers by default. However, we also provide the translated/polyfilled build for older browsers in a separate bundle (with the -es5-dist.zip suffix).” So, they do provide a separate bundle that has such compatibility.
Not sure how to make such optional dependency work. Some libraries use peer dependency, and you do whatever you want in your webapp at the end.
In the meantime, after many months a new release appeared yesterday, it includes performance optimizations/improvements:
https://github.com/mozilla/pdf.js/releases/tag/v2.5.207