1.4.0
- Fix the exports for ESM and CJS, now able to
import {} from "...";
andconst {} = require("...")
- Only load the PDF.js package when calling the parse PDF function for the first time. It reuses the cache after.
- Prevent pollution of
global
by removing usage ofglobalScope.PDFJS