Repository navigation
fix(deps): upgrade PDF.js 6 with compatible PDF reading - #7
Merged
Merged
Conversation
Bumps [pdfjs-dist](https://github.com/mozilla/pdf.js) from 4.10.38 to 6.4.299. - [Release notes](https://github.com/mozilla/pdf.js/releases) - [Commits](mozilla/pdf.js@v4.10.38...v6.4.299) --- updated-dependencies: - dependency-name: pdfjs-dist dependency-version: 6.4.299 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades
pdfjs-distfrom 4.10.38 to 6.4.299 while preserving PDF ingestion and theme sampling.PDF.js 6 removes document-proxy
destroy()and changes colour/path operator payloads. Share loading-task ownership with cleanup infinally, read hex colours and combined construct/paint operations, and release tasks in the calibration reader too. Synthetic regressions cover repeated reads, page boundaries, metadata, fill areas versus stroked outlines, text colours, and malformed-input recovery. Rebuild the standalone PDF bundle.The supported minimum is now Node 22.13 (previously 22.12), matching the dependency requirement. Update user/developer instructions and add a Node 22.13.0 CI smoke job that builds PPTX/PDF/PNG and reads PDF text/styles from a copied standalone bundle without
npm install.Validation:
npm ci;npm run check(38 suites; 1645 passed, one optional test skipped);npm run gen;npm run build;npm run showcase; actual standalone PDF reader and skeleton build on Node 22.13.0. Cross-platform and minimum-runtime CI must pass before merge. No npm publication.