Skip to content

fix(deps): upgrade PDF.js 6 with compatible PDF reading - #7

Merged
eiler2005 merged 3 commits into
mainfrom
dependabot/npm_and_yarn/pdfjs-dist-6.4.299
Oct 25, 2026
Merged

eiler2005 merged 3 commits into
mainfrom
dependabot/npm_and_yarn/pdfjs-dist-6.4.299

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Upgrades pdfjs-dist from 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 in finally, 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.

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>
@dependabot
dependabot Bot requested a review from eiler2005 as a code owner October 17, 2026 14:03
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 17, 2026
@eiler2005 eiler2005 changed the title chore(deps-dev): Bump pdfjs-dist from 4.10.38 to 6.4.299 fix(deps): upgrade PDF.js 6 with compatible PDF reading Oct 25, 2026
@eiler2005
eiler2005 merged commit 9582473 into main Oct 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant