formatferry 1.0.22 → 1.0.23
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23170,7 +23170,7 @@ var PdfAdapter = class {
|
|
|
23170
23170
|
const hasMinimalTextWithImages = totalTextLength < MIN_TEXT_CHARS_THRESHOLD && hasAnyImages;
|
|
23171
23171
|
if (hasNoText || hasMinimalTextWithImages) {
|
|
23172
23172
|
throw new PdfParseError(
|
|
23173
|
-
"
|
|
23173
|
+
"PDF contains only images \u2014 no text layer available.",
|
|
23174
23174
|
"IMAGE_ONLY"
|
|
23175
23175
|
);
|
|
23176
23176
|
}
|
|
@@ -25500,8 +25500,8 @@ import { readFileSync as readFileSync4 } from "fs";
|
|
|
25500
25500
|
import { resolve, dirname as dirname3 } from "path";
|
|
25501
25501
|
import { fileURLToPath } from "url";
|
|
25502
25502
|
var getVersion = () => {
|
|
25503
|
-
if ("1.0.
|
|
25504
|
-
return "1.0.
|
|
25503
|
+
if ("1.0.23") {
|
|
25504
|
+
return "1.0.23";
|
|
25505
25505
|
}
|
|
25506
25506
|
try {
|
|
25507
25507
|
const __dirname = dirname3(fileURLToPath(import.meta.url));
|