fix patch pdf feat/phase-2g-bundle
AI Agent git-import/068377df · 95 days ago · Apr 22, 2026 · Diff

fix(pdf): Promise.try polyfill must forward ...args (PDF.js workers)

The first shim only called fn() with no arguments. PDF.js uses Promise.try(handler, data) and depends on args; without them the worker path failed on Node 20 with docId destructure errors. Match ES2024 Promise.try(fn, ...args) semantics.

sha256:826a53c8b9cca2261cfb3947b4b99ffe5bd0785944660fc149b3c6b46afc4fb3 sha
sha256:1400e36615fd6a48f4f6ac91f69040e14ef3f1c183de908a25567b8ff77ed9c3 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:826a53c8b9cca2261cfb3947b4b99ffe5bd0785944660fc149b3c6b46afc4fb3 --body "your comment"