pdf-factory 0.8.4 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/parser.cjs.map +1 -1
- package/dist/parser.js +2 -2
- package/dist/parser.js.map +1 -1
- package/package.json +3 -3
package/dist/parser.js
CHANGED
|
@@ -117816,7 +117816,7 @@ globalThis._pdfjsTestingUtils = { HighlightOutliner: Lu }, globalThis.pdfjsLib =
|
|
|
117816
117816
|
XfaLayer: ho
|
|
117817
117817
|
};
|
|
117818
117818
|
//#endregion
|
|
117819
|
-
//#region node_modules/.pnpm/pdf-to-img@6.
|
|
117819
|
+
//#region node_modules/.pnpm/pdf-to-img@6.2.0/node_modules/pdf-to-img/dist/parseInput.js
|
|
117820
117820
|
var od = "data:application/pdf;base64,";
|
|
117821
117821
|
async function sd(e) {
|
|
117822
117822
|
if (Buffer.isBuffer(e)) return Uint8Array.from(e);
|
|
@@ -117826,7 +117826,7 @@ async function sd(e) {
|
|
|
117826
117826
|
throw Error("pdf-to-img received an unexpected input. Provide a path to file, a data URL, a Uint8Array, a Buffer, or a ReadableStream.");
|
|
117827
117827
|
}
|
|
117828
117828
|
//#endregion
|
|
117829
|
-
//#region node_modules/.pnpm/pdf-to-img@6.
|
|
117829
|
+
//#region node_modules/.pnpm/pdf-to-img@6.2.0/node_modules/pdf-to-img/dist/index.js
|
|
117830
117830
|
var cd = u.default.dirname((0, u.createRequire)(import.meta.url).resolve("pdfjs-dist/package.json")), ld = (e) => {
|
|
117831
117831
|
let t = JSON.parse(JSON.stringify(e));
|
|
117832
117832
|
for (let e in t) typeof t[e] == "string" && (t[e] = t[e].replaceAll(/(^þÿ|\u0000)/g, ""));
|