question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: update to latest pdf.js v2.7.570

See original GitHub issue
Bug 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
- [ ] Feature request
- [ ] Documentation issue or request

https://github.com/mozilla/pdf.js/releases

pdf viewer does not contain the last 3 minor releases: v2.7.570 … 18 hours ago f2c7338 zip tar.gz Notes https://github.com/mozilla/pdf.js/releases/tag/v2.7.570 v2.6.347 … on 3 Sep 2020 3be9c65 zip tar.gz Notes https://github.com/mozilla/pdf.js/releases/tag/v2.6.347 v2.5.207 … on 1 Jun 2020 0974d60 zip tar.gz Notes https://github.com/mozilla/pdf.js/releases/tag/v2.5.207

Perhaps is a good time to update to v2.7.570 that includes several performance improvements.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
igorlinocommented, Jan 27, 2021

@cvjanick when the pdf-js npm dependency is node_modules/pdfjs-dist/build, you have the minified versions available there I think that package is only a dependency and Vadim cannot change anything about it.

At the moment I have 2 changes in my project to make things work: 1) in angular.json image

  1. app.module.ts
export class AppModule implements DoBootstrap {

    ngDoBootstrap(appRef: ApplicationRef) {
        // Set custom path to the worker to avoid loading of CDN
        if (environment.production) {
            (window as any).pdfWorkerSrc = '/assets/pdf.worker.min.js';
        }

this was needed because the dynamic CDN loading was blocked by the security content policy which we restricted.

0reactions
VadimDezcommented, Oct 29, 2021

Closed by #829

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Feature request: update to latest pdf.js v2.7.570 -
Feature request : update to latest pdf.js v2.7.570. ... [ ] Regression (a behavior that used to work and stopped working in a...
Read more >
update to latest ECMAScript 2019 from current decade old ...
Feature request : update to latest ECMAScript 2019 from current decade old JavaScript 1.8. There has been two major releases since Acrobat 10 ......
Read more >
PDF.js v2.2.228 (build: d7afb74a) Message: Failed to fetch
When they VPN into their system and login into web link to search for PDF Documents they receive the following error message PDF.js...
Read more >
PDF accessibility - Feature Requests - PKP Community Forum
I haven't looked too much in depth to these, but there was a request to update to integrate with the latest version of...
Read more >
How to fix Google Chrome pdf file opening error 'PDF JS Click ...
How to fix Google Chrome pdf file not opening. error message ' PDF JS Click on "Allow access o file URLs" at Chrome://extensions...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found