Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to pdfjs-dist 2.11.338 #829

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Conversation

LAlves91
Copy link
Contributor

This PR updates pdfjs-dist to the latest version (2.11.338), changing the library's code accordingly:

  • Change imports to match PDF.js's new folder structure (es5 build artifacts are now in the 'legacy' folder);
  • Import and use the type PDFViewerOptions for pdfOptions (properties 'renderer' and 'l10n' must be set now);
  • Use ' instead of " for assign calls.

@VadimDez VadimDez merged commit a236403 into VadimDez:master Oct 29, 2021
@VadimDez VadimDez added this to the 7.0.2 milestone Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants