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

fix(pdf): polyfill Promise.try for Node 20 (unpdf/PDF.js)

Node 20 omits Promise.try; unpdf's pdfjs bundle calls it and PDF import failed in CI (hosted-import PDF + golden pdf). Load shim before unpdf; add a small test that exercises the shim when the global is removed.

sha256:ace068e389df88665cc1019927f53313c5d045fdf3af7499035460433e9ef604 sha
sha256:0637ad65affb2ed313257896b7a6413a2cbc3d13e87e2c124490344a5cecd636 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:ace068e389df88665cc1019927f53313c5d045fdf3af7499035460433e9ef604 --body "your comment"