@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
- h || (h = !0, u?.cancel(), l?.flush(), g && f?.destroy(p), o(p));
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", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-tool-csv-parse",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "private": false,