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

[breaking] Update pdfjs-dist to 4.0.379 #1690

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

wojtekmaj
Copy link
Owner

@wojtekmaj wojtekmaj commented Jan 4, 2024

Closes #1664

Breaking changes:

  • Changed extension in workerSrc
  • Dropped support for svg renderMode
  • Dropped support for browsers not supporting structuredClone (e.g. Chrome <98) unless polyfilled

Blockers:

@wojtekmaj
Copy link
Owner Author

wojtekmaj commented Jan 24, 2024

This PR is currently breaking most setups that do not support top level await (including Vite - see code changes in test app in this PR). I consider this a deal breaker at the moment and therefore postpone merging it.

See mozilla/pdf.js#17349 for more details.

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.

Usage of pdfjs-dist v4.0.189
1 participant