@dpuse/dpuse-tool-adaltas-csv-parser 0.0.156 → 0.0.157
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.
|
@@ -867,7 +867,7 @@ function et(e) {
|
|
|
867
867
|
}
|
|
868
868
|
var P = [], F = !1, I, tt = -1;
|
|
869
869
|
function nt() {
|
|
870
|
-
|
|
870
|
+
F && I && (F = !1, I.length ? P = I.concat(P) : tt = -1, P.length && rt());
|
|
871
871
|
}
|
|
872
872
|
function rt() {
|
|
873
873
|
if (!F) {
|
|
@@ -1432,7 +1432,7 @@ K.prototype.wrap = function(e) {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
r.push(null);
|
|
1434
1434
|
}), e.on("data", function(i) {
|
|
1435
|
-
G("wrapped data"), t.decoder && (i = t.decoder.write(i)), !(t.objectMode && i == null) && (
|
|
1435
|
+
G("wrapped data"), t.decoder && (i = t.decoder.write(i)), !(t.objectMode && i == null) && (t.objectMode || i && i.length) && (r.push(i) || (n = !0, e.pause()));
|
|
1436
1436
|
}), e) this[i] === void 0 && typeof e[i] == "function" && (this[i] = function(t) {
|
|
1437
1437
|
return function() {
|
|
1438
1438
|
return e[t].apply(e, arguments);
|
|
@@ -2190,8 +2190,8 @@ var Bn = function(e) {
|
|
|
2190
2190
|
this.state.bomSkipped = !0;
|
|
2191
2191
|
}
|
|
2192
2192
|
}
|
|
2193
|
-
let ie = w.length, T;
|
|
2194
|
-
for (
|
|
2193
|
+
let ie = w.length, T = 0;
|
|
2194
|
+
for (; T < ie && !this.__needMoreData(T, ie, t); T++) {
|
|
2195
2195
|
if (this.state.wasRowDelimiter === !0 && (this.info.lines++, this.state.wasRowDelimiter = !1), g !== -1 && this.info.lines > g) {
|
|
2196
2196
|
this.state.stop = !0, r();
|
|
2197
2197
|
return;
|