@datapos/datapos-tool-file-operators 0.0.9 → 0.0.11
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.
|
@@ -8280,10 +8280,9 @@ class rx {
|
|
|
8280
8280
|
async function $e(i) {
|
|
8281
8281
|
if (i.length === 0)
|
|
8282
8282
|
return { bytes: i, dataFormatId: void 0, encodingId: void 0, encodingConfidenceLevel: void 0, fileTypeConfig: void 0, text: void 0 };
|
|
8283
|
-
let e;
|
|
8284
|
-
const x = await Fe(i);
|
|
8283
|
+
let e, x = await Fe(i);
|
|
8285
8284
|
if (x == null)
|
|
8286
|
-
e = "dtv";
|
|
8285
|
+
e = "dtv", x = { ext: "dtv", mime: "text/plain" };
|
|
8287
8286
|
else {
|
|
8288
8287
|
const n = Qe[x.ext];
|
|
8289
8288
|
n == null ? e = x.mime.startsWith("text/") ? "dtv" : void 0 : n.isSupported ? e = x.ext : e = void 0;
|