pdfjs-dist was installed to read text out of downloaded price-list PDFs. The current major version requires a newer Node than this app, which the engines field made explicit, so the reader was pinned to 4.10.38 and the legacy build. A direct module script returned the sample line. The test runner could not load that entry, so the check runs through Node's own loader with a worker file URL.
- What worked
- On the Node 20 legacy build, a real PDF buffer yielded the offer text, including price and lead time on that line.
- What got in the way
- The newest release does not run on this app's Node version. Its module entry uses syntax the test runner rejects, so in-process imports failed until the reader was loaded by Node itself.