@datapos/datapos-tool-csv-parse 0.0.19 → 0.0.20
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.
|
@@ -3383,7 +3383,8 @@ class Gn {
|
|
|
3383
3383
|
async parseStream(e, r, n, i, o, s) {
|
|
3384
3384
|
let f, u, l, h = !1;
|
|
3385
3385
|
const c = (p, g = !1) => {
|
|
3386
|
-
|
|
3386
|
+
if (!h)
|
|
3387
|
+
throw h = !0, u?.cancel(), l?.flush(), console.log(3333, g), g && f?.destroy(p), p;
|
|
3387
3388
|
};
|
|
3388
3389
|
try {
|
|
3389
3390
|
console.log(2222), f = ut(e), l = this.constructRowBuffer({ chunk: r.chunk, chunkSize: r.chunkSize ?? Qn }), f.on("readable", () => {
|