Closed farling42 closed 2 months ago
pdfjs V4.4 requires a very recent version of Node, since it uses Promise.withResolvers() which is only available in very recent browsers.
Promise.withResolvers()
pdfjs V4.2 seems to require the same recent version.
Maybe the legacy-dist is more lenient in this situation.
The legacy-dist version of the pdfjs distributable files contains JS which isn't cutting edge, and so is more likely to work with Foundry V10+ and older browsers.
Fixed in V1.1.1
pdfjs V4.4 requires a very recent version of Node, since it uses
Promise.withResolvers()
which is only available in very recent browsers.pdfjs V4.2 seems to require the same recent version.
Maybe the legacy-dist is more lenient in this situation.