@datapos/datapos-tool-csv-parse 0.0.65 → 0.0.67
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.
|
@@ -3391,8 +3391,8 @@ class ri {
|
|
|
3391
3391
|
async determineSchemaConfig(e, r) {
|
|
3392
3392
|
const n = Xn(e), i = await Kn(e);
|
|
3393
3393
|
return {
|
|
3394
|
-
|
|
3395
|
-
|
|
3394
|
+
recordDelimiterId: n,
|
|
3395
|
+
valueDelimiterId: i
|
|
3396
3396
|
};
|
|
3397
3397
|
}
|
|
3398
3398
|
/**
|
|
@@ -3472,7 +3472,7 @@ async function Kn(t) {
|
|
|
3472
3472
|
}
|
|
3473
3473
|
}), c.on("error", () => h()), c.on("end", () => {
|
|
3474
3474
|
const p = s / a;
|
|
3475
|
-
(!i || u <= i) && (!n || p > n) && (
|
|
3475
|
+
console.log(1111, r, n, i, p), (!i || u <= i) && (!n || p > n) && (r = o, n = p, i = u), console.log(2222, r, n, i), h();
|
|
3476
3476
|
}), c.write(t), c.end();
|
|
3477
3477
|
} catch {
|
|
3478
3478
|
h();
|
|
@@ -3480,7 +3480,7 @@ async function Kn(t) {
|
|
|
3480
3480
|
});
|
|
3481
3481
|
} catch {
|
|
3482
3482
|
}
|
|
3483
|
-
return r ?? ",";
|
|
3483
|
+
return console.log(333, r), r ?? ",";
|
|
3484
3484
|
}
|
|
3485
3485
|
function ei(t) {
|
|
3486
3486
|
const e = Math.max(1, Math.floor(t.chunkSize)), r = [];
|