@datapos/datapos-tool-csv-parse 0.0.120 → 0.0.122

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.
@@ -1,12 +1,12 @@
1
- var ie = typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : {}, P = [], M = [], Zt = typeof Uint8Array < "u" ? Uint8Array : Array, qe = !1;
2
- function ct() {
3
- qe = !0;
1
+ var ie = typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : {}, P = [], M = [], Zt = typeof Uint8Array < "u" ? Uint8Array : Array, je = !1;
2
+ function ut() {
3
+ je = !0;
4
4
  for (var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", e = 0, r = t.length; e < r; ++e)
5
5
  P[e] = t[e], M[t.charCodeAt(e)] = e;
6
6
  M[45] = 62, M[95] = 63;
7
7
  }
8
8
  function Xt(t) {
9
- qe || ct();
9
+ je || ut();
10
10
  var e, r, n, i, o, s, f = t.length;
11
11
  if (f % 4 > 0)
12
12
  throw new Error("Invalid string. Length must be a multiple of 4");
@@ -24,8 +24,8 @@ function er(t, e, r) {
24
24
  n = (t[o] << 16) + (t[o + 1] << 8) + t[o + 2], i.push(Kt(n));
25
25
  return i.join("");
26
26
  }
27
- function Ze(t) {
28
- qe || ct();
27
+ function Ge(t) {
28
+ je || ut();
29
29
  for (var e, r = t.length, n = r % 3, i = "", o = [], s = 16383, f = 0, a = r - n; f < a; f += s)
30
30
  o.push(er(t, f, f + s > a ? a : f + s));
31
31
  return n === 1 ? (e = t[r - 1], i += P[e >> 2], i += P[e << 4 & 63], i += "==") : n === 2 && (e = (t[r - 2] << 8) + t[r - 1], i += P[e >> 10], i += P[e >> 4 & 63], i += P[e << 2 & 63], i += "="), o.push(i), o.join("");
@@ -45,7 +45,7 @@ function ve(t, e, r, n, i) {
45
45
  }
46
46
  return (m ? -1 : 1) * s * Math.pow(2, o - n);
47
47
  }
48
- function ht(t, e, r, n, i, o) {
48
+ function ct(t, e, r, n, i, o) {
49
49
  var s, f, a, u = o * 8 - i - 1, h = (1 << u) - 1, c = h >> 1, p = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, m = n ? 0 : o - 1, x = n ? 1 : -1, y = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
50
50
  for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (f = isNaN(e) ? 1 : 0, s = h) : (s = Math.floor(Math.log(e) / Math.LN2), e * (a = Math.pow(2, -s)) < 1 && (s--, a *= 2), s + c >= 1 ? e += p / a : e += p * Math.pow(2, 1 - c), e * a >= 2 && (s++, a /= 2), s + c >= h ? (f = 0, s = h) : s + c >= 1 ? (f = (e * a - 1) * Math.pow(2, i), s = s + c) : (f = e * Math.pow(2, c - 1) * Math.pow(2, i), s = 0)); i >= 8; t[r + m] = f & 255, m += x, f /= 256, i -= 8)
51
51
  ;
@@ -53,7 +53,7 @@ function ht(t, e, r, n, i, o) {
53
53
  ;
54
54
  t[r + m - x] |= y * 128;
55
55
  }
56
- var tr = {}.toString, dt = Array.isArray || function(t) {
56
+ var tr = {}.toString, ht = Array.isArray || function(t) {
57
57
  return tr.call(t) == "[object Array]";
58
58
  }, rr = 50;
59
59
  l.TYPED_ARRAY_SUPPORT = ie.TYPED_ARRAY_SUPPORT !== void 0 ? ie.TYPED_ARRAY_SUPPORT : !0;
@@ -74,57 +74,57 @@ function l(t, e, r) {
74
74
  throw new Error(
75
75
  "If encoding is specified then the first argument must be a string"
76
76
  );
77
- return ze(this, t);
77
+ return qe(this, t);
78
78
  }
79
- return pt(this, t, e, r);
79
+ return dt(this, t, e, r);
80
80
  }
81
81
  l.poolSize = 8192;
82
82
  l._augment = function(t) {
83
83
  return t.__proto__ = l.prototype, t;
84
84
  };
85
- function pt(t, e, r, n) {
85
+ function dt(t, e, r, n) {
86
86
  if (typeof e == "number")
87
87
  throw new TypeError('"value" argument must not be a number');
88
88
  return typeof ArrayBuffer < "u" && e instanceof ArrayBuffer ? or(t, e, r, n) : typeof e == "string" ? ir(t, e, r) : sr(t, e);
89
89
  }
90
90
  l.from = function(t, e, r) {
91
- return pt(null, t, e, r);
91
+ return dt(null, t, e, r);
92
92
  };
93
93
  l.TYPED_ARRAY_SUPPORT && (l.prototype.__proto__ = Uint8Array.prototype, l.__proto__ = Uint8Array, typeof Symbol < "u" && Symbol.species && l[Symbol.species]);
94
- function mt(t) {
94
+ function pt(t) {
95
95
  if (typeof t != "number")
96
96
  throw new TypeError('"size" argument must be a number');
97
97
  if (t < 0)
98
98
  throw new RangeError('"size" argument must not be negative');
99
99
  }
100
100
  function nr(t, e, r, n) {
101
- return mt(e), e <= 0 ? q(t, e) : r !== void 0 ? typeof n == "string" ? q(t, e).fill(r, n) : q(t, e).fill(r) : q(t, e);
101
+ return pt(e), e <= 0 ? q(t, e) : r !== void 0 ? typeof n == "string" ? q(t, e).fill(r, n) : q(t, e).fill(r) : q(t, e);
102
102
  }
103
103
  l.alloc = function(t, e, r) {
104
104
  return nr(null, t, e, r);
105
105
  };
106
- function ze(t, e) {
107
- if (mt(e), t = q(t, e < 0 ? 0 : Ve(e) | 0), !l.TYPED_ARRAY_SUPPORT)
106
+ function qe(t, e) {
107
+ if (pt(e), t = q(t, e < 0 ? 0 : ze(e) | 0), !l.TYPED_ARRAY_SUPPORT)
108
108
  for (var r = 0; r < e; ++r)
109
109
  t[r] = 0;
110
110
  return t;
111
111
  }
112
112
  l.allocUnsafe = function(t) {
113
- return ze(null, t);
113
+ return qe(null, t);
114
114
  };
115
115
  l.allocUnsafeSlow = function(t) {
116
- return ze(null, t);
116
+ return qe(null, t);
117
117
  };
118
118
  function ir(t, e, r) {
119
119
  if ((typeof r != "string" || r === "") && (r = "utf8"), !l.isEncoding(r))
120
120
  throw new TypeError('"encoding" must be a valid string encoding');
121
- var n = gt(e, r) | 0;
121
+ var n = mt(e, r) | 0;
122
122
  t = q(t, n);
123
123
  var i = t.write(e, r);
124
124
  return i !== n && (t = t.slice(0, i)), t;
125
125
  }
126
126
  function Ue(t, e) {
127
- var r = e.length < 0 ? 0 : Ve(e.length) | 0;
127
+ var r = e.length < 0 ? 0 : ze(e.length) | 0;
128
128
  t = q(t, r);
129
129
  for (var n = 0; n < r; n += 1)
130
130
  t[n] = e[n] & 255;
@@ -139,18 +139,18 @@ function or(t, e, r, n) {
139
139
  }
140
140
  function sr(t, e) {
141
141
  if ($(e)) {
142
- var r = Ve(e.length) | 0;
142
+ var r = ze(e.length) | 0;
143
143
  return t = q(t, r), t.length === 0 || e.copy(t, 0, 0, r), t;
144
144
  }
145
145
  if (e) {
146
146
  if (typeof ArrayBuffer < "u" && e.buffer instanceof ArrayBuffer || "length" in e)
147
147
  return typeof e.length != "number" || Rr(e.length) ? q(t, 0) : Ue(t, e);
148
- if (e.type === "Buffer" && dt(e.data))
148
+ if (e.type === "Buffer" && ht(e.data))
149
149
  return Ue(t, e.data);
150
150
  }
151
151
  throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");
152
152
  }
153
- function Ve(t) {
153
+ function ze(t) {
154
154
  if (t >= _e())
155
155
  throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + _e().toString(16) + " bytes");
156
156
  return t | 0;
@@ -189,7 +189,7 @@ l.isEncoding = function(e) {
189
189
  }
190
190
  };
191
191
  l.concat = function(e, r) {
192
- if (!dt(e))
192
+ if (!ht(e))
193
193
  throw new TypeError('"list" argument must be an Array of Buffers');
194
194
  if (e.length === 0)
195
195
  return l.alloc(0);
@@ -206,7 +206,7 @@ l.concat = function(e, r) {
206
206
  }
207
207
  return i;
208
208
  };
209
- function gt(t, e) {
209
+ function mt(t, e) {
210
210
  if ($(t))
211
211
  return t.length;
212
212
  if (typeof ArrayBuffer < "u" && typeof ArrayBuffer.isView == "function" && (ArrayBuffer.isView(t) || t instanceof ArrayBuffer))
@@ -232,13 +232,13 @@ function gt(t, e) {
232
232
  case "hex":
233
233
  return r >>> 1;
234
234
  case "base64":
235
- return xt(t).length;
235
+ return Et(t).length;
236
236
  default:
237
237
  if (n) return we(t).length;
238
238
  e = ("" + e).toLowerCase(), n = !0;
239
239
  }
240
240
  }
241
- l.byteLength = gt;
241
+ l.byteLength = mt;
242
242
  function fr(t, e, r) {
243
243
  var n = !1;
244
244
  if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((r === void 0 || r > this.length) && (r = this.length), r <= 0) || (r >>>= 0, e >>>= 0, r <= e))
@@ -249,7 +249,7 @@ function fr(t, e, r) {
249
249
  return _r(this, e, r);
250
250
  case "utf8":
251
251
  case "utf-8":
252
- return yt(this, e, r);
252
+ return wt(this, e, r);
253
253
  case "ascii":
254
254
  return mr(this, e, r);
255
255
  case "latin1":
@@ -298,7 +298,7 @@ l.prototype.swap64 = function() {
298
298
  };
299
299
  l.prototype.toString = function() {
300
300
  var e = this.length | 0;
301
- return e === 0 ? "" : arguments.length === 0 ? yt(this, 0, e) : fr.apply(this, arguments);
301
+ return e === 0 ? "" : arguments.length === 0 ? wt(this, 0, e) : fr.apply(this, arguments);
302
302
  };
303
303
  l.prototype.equals = function(e) {
304
304
  if (!$(e)) throw new TypeError("Argument must be a Buffer");
@@ -327,7 +327,7 @@ l.prototype.compare = function(e, r, n, i, o) {
327
327
  }
328
328
  return s < f ? -1 : f < s ? 1 : 0;
329
329
  };
330
- function _t(t, e, r, n, i) {
330
+ function gt(t, e, r, n, i) {
331
331
  if (t.length === 0) return -1;
332
332
  if (typeof r == "string" ? (n = r, r = 0) : r > 2147483647 ? r = 2147483647 : r < -2147483648 && (r = -2147483648), r = +r, isNaN(r) && (r = i ? 0 : t.length - 1), r < 0 && (r = t.length + r), r >= t.length) {
333
333
  if (i) return -1;
@@ -336,12 +336,12 @@ function _t(t, e, r, n, i) {
336
336
  if (i) r = 0;
337
337
  else return -1;
338
338
  if (typeof e == "string" && (e = l.from(e, n)), $(e))
339
- return e.length === 0 ? -1 : Xe(t, e, r, n, i);
339
+ return e.length === 0 ? -1 : Ze(t, e, r, n, i);
340
340
  if (typeof e == "number")
341
- return e = e & 255, l.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? i ? Uint8Array.prototype.indexOf.call(t, e, r) : Uint8Array.prototype.lastIndexOf.call(t, e, r) : Xe(t, [e], r, n, i);
341
+ return e = e & 255, l.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? i ? Uint8Array.prototype.indexOf.call(t, e, r) : Uint8Array.prototype.lastIndexOf.call(t, e, r) : Ze(t, [e], r, n, i);
342
342
  throw new TypeError("val must be string, number or Buffer");
343
343
  }
344
- function Xe(t, e, r, n, i) {
344
+ function Ze(t, e, r, n, i) {
345
345
  var o = 1, s = t.length, f = e.length;
346
346
  if (n !== void 0 && (n = String(n).toLowerCase(), n === "ucs2" || n === "ucs-2" || n === "utf16le" || n === "utf-16le")) {
347
347
  if (t.length < 2 || e.length < 2)
@@ -374,10 +374,10 @@ l.prototype.includes = function(e, r, n) {
374
374
  return this.indexOf(e, r, n) !== -1;
375
375
  };
376
376
  l.prototype.indexOf = function(e, r, n) {
377
- return _t(this, e, r, n, !0);
377
+ return gt(this, e, r, n, !0);
378
378
  };
379
379
  l.prototype.lastIndexOf = function(e, r, n) {
380
- return _t(this, e, r, n, !1);
380
+ return gt(this, e, r, n, !1);
381
381
  };
382
382
  function ar(t, e, r, n) {
383
383
  r = Number(r) || 0;
@@ -396,14 +396,14 @@ function ar(t, e, r, n) {
396
396
  function lr(t, e, r, n) {
397
397
  return xe(we(e, t.length - r), t, r, n);
398
398
  }
399
- function wt(t, e, r, n) {
399
+ function _t(t, e, r, n) {
400
400
  return xe(xr(e), t, r, n);
401
401
  }
402
402
  function ur(t, e, r, n) {
403
- return wt(t, e, r, n);
403
+ return _t(t, e, r, n);
404
404
  }
405
405
  function cr(t, e, r, n) {
406
- return xe(xt(e), t, r, n);
406
+ return xe(Et(e), t, r, n);
407
407
  }
408
408
  function hr(t, e, r, n) {
409
409
  return xe(Sr(e, t.length - r), t, r, n);
@@ -431,7 +431,7 @@ l.prototype.write = function(e, r, n, i) {
431
431
  case "utf-8":
432
432
  return lr(this, e, r, n);
433
433
  case "ascii":
434
- return wt(this, e, r, n);
434
+ return _t(this, e, r, n);
435
435
  case "latin1":
436
436
  case "binary":
437
437
  return ur(this, e, r, n);
@@ -454,9 +454,9 @@ l.prototype.toJSON = function() {
454
454
  };
455
455
  };
456
456
  function dr(t, e, r) {
457
- return e === 0 && r === t.length ? Ze(t) : Ze(t.slice(e, r));
457
+ return e === 0 && r === t.length ? Ge(t) : Ge(t.slice(e, r));
458
458
  }
459
- function yt(t, e, r) {
459
+ function wt(t, e, r) {
460
460
  r = Math.min(t.length, r);
461
461
  for (var n = [], i = e; i < r; ) {
462
462
  var o = t[i], s = null, f = o > 239 ? 4 : o > 223 ? 3 : o > 191 ? 2 : 1;
@@ -480,15 +480,15 @@ function yt(t, e, r) {
480
480
  }
481
481
  return pr(n);
482
482
  }
483
- var Ke = 4096;
483
+ var Xe = 4096;
484
484
  function pr(t) {
485
485
  var e = t.length;
486
- if (e <= Ke)
486
+ if (e <= Xe)
487
487
  return String.fromCharCode.apply(String, t);
488
488
  for (var r = "", n = 0; n < e; )
489
489
  r += String.fromCharCode.apply(
490
490
  String,
491
- t.slice(n, n += Ke)
491
+ t.slice(n, n += Xe)
492
492
  );
493
493
  return r;
494
494
  }
@@ -691,27 +691,27 @@ l.prototype.writeInt32LE = function(e, r, n) {
691
691
  l.prototype.writeInt32BE = function(e, r, n) {
692
692
  return e = +e, r = r | 0, n || N(this, e, r, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), l.TYPED_ARRAY_SUPPORT ? (this[r] = e >>> 24, this[r + 1] = e >>> 16, this[r + 2] = e >>> 8, this[r + 3] = e & 255) : Ee(this, e, r, !1), r + 4;
693
693
  };
694
- function vt(t, e, r, n, i, o) {
694
+ function yt(t, e, r, n, i, o) {
695
695
  if (r + n > t.length) throw new RangeError("Index out of range");
696
696
  if (r < 0) throw new RangeError("Index out of range");
697
697
  }
698
- function bt(t, e, r, n, i) {
699
- return i || vt(t, e, r, 4), ht(t, e, r, n, 23, 4), r + 4;
698
+ function vt(t, e, r, n, i) {
699
+ return i || yt(t, e, r, 4), ct(t, e, r, n, 23, 4), r + 4;
700
700
  }
701
701
  l.prototype.writeFloatLE = function(e, r, n) {
702
- return bt(this, e, r, !0, n);
702
+ return vt(this, e, r, !0, n);
703
703
  };
704
704
  l.prototype.writeFloatBE = function(e, r, n) {
705
- return bt(this, e, r, !1, n);
705
+ return vt(this, e, r, !1, n);
706
706
  };
707
- function Et(t, e, r, n, i) {
708
- return i || vt(t, e, r, 8), ht(t, e, r, n, 52, 8), r + 8;
707
+ function bt(t, e, r, n, i) {
708
+ return i || yt(t, e, r, 8), ct(t, e, r, n, 52, 8), r + 8;
709
709
  }
710
710
  l.prototype.writeDoubleLE = function(e, r, n) {
711
- return Et(this, e, r, !0, n);
711
+ return bt(this, e, r, !0, n);
712
712
  };
713
713
  l.prototype.writeDoubleBE = function(e, r, n) {
714
- return Et(this, e, r, !1, n);
714
+ return bt(this, e, r, !1, n);
715
715
  };
716
716
  l.prototype.copy = function(e, r, n, i) {
717
717
  if (n || (n = 0), !i && i !== 0 && (i = this.length), r >= e.length && (r = e.length), r || (r = 0), i > 0 && i < n && (i = n), i === n || e.length === 0 || this.length === 0) return 0;
@@ -835,7 +835,7 @@ function Sr(t, e) {
835
835
  r = t.charCodeAt(s), n = r >> 8, i = r % 256, o.push(i), o.push(n);
836
836
  return o;
837
837
  }
838
- function xt(t) {
838
+ function Et(t) {
839
839
  return Xt(vr(t));
840
840
  }
841
841
  function xe(t, e, r, n) {
@@ -847,13 +847,13 @@ function Rr(t) {
847
847
  return t !== t;
848
848
  }
849
849
  function D(t) {
850
- return t != null && (!!t._isBuffer || St(t) || Ir(t));
850
+ return t != null && (!!t._isBuffer || xt(t) || Ir(t));
851
851
  }
852
- function St(t) {
852
+ function xt(t) {
853
853
  return !!t.constructor && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
854
854
  }
855
855
  function Ir(t) {
856
- return typeof t.readFloatLE == "function" && typeof t.slice == "function" && St(t.slice(0, 0));
856
+ return typeof t.readFloatLE == "function" && typeof t.slice == "function" && xt(t.slice(0, 0));
857
857
  }
858
858
  var Ce;
859
859
  function H() {
@@ -876,11 +876,11 @@ g.prototype.setMaxListeners = function(e) {
876
876
  throw new TypeError('"n" argument must be a positive number');
877
877
  return this._maxListeners = e, this;
878
878
  };
879
- function Rt(t) {
879
+ function St(t) {
880
880
  return t._maxListeners === void 0 ? g.defaultMaxListeners : t._maxListeners;
881
881
  }
882
882
  g.prototype.getMaxListeners = function() {
883
- return Rt(this);
883
+ return St(this);
884
884
  };
885
885
  function Cr(t, e, r) {
886
886
  if (e)
@@ -959,7 +959,7 @@ g.prototype.emit = function(e) {
959
959
  }
960
960
  return !0;
961
961
  };
962
- function It(t, e, r, n) {
962
+ function Rt(t, e, r, n) {
963
963
  var i, o, s;
964
964
  if (typeof r != "function")
965
965
  throw new TypeError('"listener" argument must be a function');
@@ -969,7 +969,7 @@ function It(t, e, r, n) {
969
969
  r.listener ? r.listener : r
970
970
  ), o = t._events), s = o[e]) : (o = t._events = new H(), t._eventsCount = 0), !s)
971
971
  s = o[e] = r, ++t._eventsCount;
972
- else if (typeof s == "function" ? s = o[e] = n ? [r, s] : [s, r] : n ? s.unshift(r) : s.push(r), !s.warned && (i = Rt(t), i && i > 0 && s.length > i)) {
972
+ else if (typeof s == "function" ? s = o[e] = n ? [r, s] : [s, r] : n ? s.unshift(r) : s.push(r), !s.warned && (i = St(t), i && i > 0 && s.length > i)) {
973
973
  s.warned = !0;
974
974
  var f = new Error("Possible EventEmitter memory leak detected. " + s.length + " " + e + " listeners added. Use emitter.setMaxListeners() to increase limit");
975
975
  f.name = "MaxListenersExceededWarning", f.emitter = t, f.type = e, f.count = s.length, Dr(f);
@@ -980,13 +980,13 @@ function Dr(t) {
980
980
  typeof console.warn == "function" ? console.warn(t) : console.log(t);
981
981
  }
982
982
  g.prototype.addListener = function(e, r) {
983
- return It(this, e, r, !1);
983
+ return Rt(this, e, r, !1);
984
984
  };
985
985
  g.prototype.on = g.prototype.addListener;
986
986
  g.prototype.prependListener = function(e, r) {
987
- return It(this, e, r, !0);
987
+ return Rt(this, e, r, !0);
988
988
  };
989
- function Ct(t, e, r) {
989
+ function It(t, e, r) {
990
990
  var n = !1;
991
991
  function i() {
992
992
  t.removeListener(e, i), n || (n = !0, r.apply(t, arguments));
@@ -996,12 +996,12 @@ function Ct(t, e, r) {
996
996
  g.prototype.once = function(e, r) {
997
997
  if (typeof r != "function")
998
998
  throw new TypeError('"listener" argument must be a function');
999
- return this.on(e, Ct(this, e, r)), this;
999
+ return this.on(e, It(this, e, r)), this;
1000
1000
  };
1001
1001
  g.prototype.prependOnceListener = function(e, r) {
1002
1002
  if (typeof r != "function")
1003
1003
  throw new TypeError('"listener" argument must be a function');
1004
- return this.prependListener(e, Ct(this, e, r)), this;
1004
+ return this.prependListener(e, It(this, e, r)), this;
1005
1005
  };
1006
1006
  g.prototype.removeListener = function(e, r) {
1007
1007
  var n, i, o, s, f;
@@ -1055,10 +1055,10 @@ g.prototype.listeners = function(e) {
1055
1055
  return i ? (r = i[e], r ? typeof r == "function" ? n = [r.listener || r] : n = Fr(r) : n = []) : n = [], n;
1056
1056
  };
1057
1057
  g.listenerCount = function(t, e) {
1058
- return typeof t.listenerCount == "function" ? t.listenerCount(e) : Ot.call(t, e);
1058
+ return typeof t.listenerCount == "function" ? t.listenerCount(e) : Ct.call(t, e);
1059
1059
  };
1060
- g.prototype.listenerCount = Ot;
1061
- function Ot(t) {
1060
+ g.prototype.listenerCount = Ct;
1061
+ function Ct(t) {
1062
1062
  var e = this._events;
1063
1063
  if (e) {
1064
1064
  var r = e[t];
@@ -1087,19 +1087,19 @@ function Fr(t) {
1087
1087
  e[r] = t[r].listener || t[r];
1088
1088
  return e;
1089
1089
  }
1090
- function At() {
1090
+ function Ot() {
1091
1091
  throw new Error("setTimeout has not been defined");
1092
1092
  }
1093
- function Tt() {
1093
+ function At() {
1094
1094
  throw new Error("clearTimeout has not been defined");
1095
1095
  }
1096
- var Y = At, W = Tt;
1096
+ var Y = Ot, W = At;
1097
1097
  typeof ie.setTimeout == "function" && (Y = setTimeout);
1098
1098
  typeof ie.clearTimeout == "function" && (W = clearTimeout);
1099
- function Lt(t) {
1099
+ function Tt(t) {
1100
1100
  if (Y === setTimeout)
1101
1101
  return setTimeout(t, 0);
1102
- if ((Y === At || !Y) && setTimeout)
1102
+ if ((Y === Ot || !Y) && setTimeout)
1103
1103
  return Y = setTimeout, setTimeout(t, 0);
1104
1104
  try {
1105
1105
  return Y(t, 0);
@@ -1114,7 +1114,7 @@ function Lt(t) {
1114
1114
  function Mr(t) {
1115
1115
  if (W === clearTimeout)
1116
1116
  return clearTimeout(t);
1117
- if ((W === Tt || !W) && clearTimeout)
1117
+ if ((W === At || !W) && clearTimeout)
1118
1118
  return W = clearTimeout, clearTimeout(t);
1119
1119
  try {
1120
1120
  return W(t);
@@ -1128,11 +1128,11 @@ function Mr(t) {
1128
1128
  }
1129
1129
  var z = [], ne = !1, ee, me = -1;
1130
1130
  function Br() {
1131
- !ne || !ee || (ne = !1, ee.length ? z = ee.concat(z) : me = -1, z.length && Dt());
1131
+ !ne || !ee || (ne = !1, ee.length ? z = ee.concat(z) : me = -1, z.length && Lt());
1132
1132
  }
1133
- function Dt() {
1133
+ function Lt() {
1134
1134
  if (!ne) {
1135
- var t = Lt(Br);
1135
+ var t = Tt(Br);
1136
1136
  ne = !0;
1137
1137
  for (var e = z.length; e; ) {
1138
1138
  for (ee = z, z = []; ++me < e; )
@@ -1147,12 +1147,12 @@ function U(t) {
1147
1147
  if (arguments.length > 1)
1148
1148
  for (var r = 1; r < arguments.length; r++)
1149
1149
  e[r - 1] = arguments[r];
1150
- z.push(new Nt(t, e)), z.length === 1 && !ne && Lt(Dt);
1150
+ z.push(new Dt(t, e)), z.length === 1 && !ne && Tt(Lt);
1151
1151
  }
1152
- function Nt(t, e) {
1152
+ function Dt(t, e) {
1153
1153
  this.fun = t, this.array = e;
1154
1154
  }
1155
- Nt.prototype.run = function() {
1155
+ Dt.prototype.run = function() {
1156
1156
  this.fun.apply(null, this.array);
1157
1157
  };
1158
1158
  var Ur = {}, se = ie.performance || {};
@@ -1177,7 +1177,7 @@ typeof Object.create == "function" ? ke = function(e, r) {
1177
1177
  };
1178
1178
  var oe = ke, kr = /%[sdj%]/g;
1179
1179
  function Pr(t) {
1180
- if (!Ye(t)) {
1180
+ if (!Je(t)) {
1181
1181
  for (var e = [], r = 0; r < arguments.length; r++)
1182
1182
  e.push(G(arguments[r]));
1183
1183
  return e.join(" ");
@@ -1200,13 +1200,13 @@ function Pr(t) {
1200
1200
  return f;
1201
1201
  }
1202
1202
  }), s = n[r]; r < i; s = n[++r])
1203
- Je(s) || !le(s) ? o += " " + s : o += " " + G(s);
1203
+ Ve(s) || !le(s) ? o += " " + s : o += " " + G(s);
1204
1204
  return o;
1205
1205
  }
1206
- function Ft(t, e) {
1206
+ function Nt(t, e) {
1207
1207
  if (Q(ie.process))
1208
1208
  return function() {
1209
- return Ft(t, e).apply(this, arguments);
1209
+ return Nt(t, e).apply(this, arguments);
1210
1210
  };
1211
1211
  if (ge.noDeprecation === !0)
1212
1212
  return t;
@@ -1240,7 +1240,7 @@ function G(t, e) {
1240
1240
  seen: [],
1241
1241
  stylize: qr
1242
1242
  };
1243
- return arguments.length >= 3 && (r.depth = arguments[2]), arguments.length >= 4 && (r.colors = arguments[3]), Mt(e) ? r.showHidden = e : e && Hr(r, e), Q(r.showHidden) && (r.showHidden = !1), Q(r.depth) && (r.depth = 2), Q(r.colors) && (r.colors = !1), Q(r.customInspect) && (r.customInspect = !0), r.colors && (r.stylize = jr), ye(r, t, r.depth);
1243
+ return arguments.length >= 3 && (r.depth = arguments[2]), arguments.length >= 4 && (r.colors = arguments[3]), Ft(e) ? r.showHidden = e : e && Hr(r, e), Q(r.showHidden) && (r.showHidden = !1), Q(r.depth) && (r.depth = 2), Q(r.colors) && (r.colors = !1), Q(r.customInspect) && (r.customInspect = !0), r.colors && (r.stylize = jr), ye(r, t, r.depth);
1244
1244
  }
1245
1245
  G.colors = {
1246
1246
  bold: [1, 22],
@@ -1286,7 +1286,7 @@ function ye(t, e, r) {
1286
1286
  e.inspect !== G && // Also filter out any prototype objects using the circular check.
1287
1287
  !(e.constructor && e.constructor.prototype === e)) {
1288
1288
  var n = e.inspect(r, t);
1289
- return Ye(n) || (n = ye(t, n, r)), n;
1289
+ return Je(n) || (n = ye(t, n, r)), n;
1290
1290
  }
1291
1291
  var i = Vr(t, e);
1292
1292
  if (i)
@@ -1301,7 +1301,7 @@ function ye(t, e, r) {
1301
1301
  }
1302
1302
  if (Te(e))
1303
1303
  return t.stylize(RegExp.prototype.toString.call(e), "regexp");
1304
- if (et(e))
1304
+ if (Ke(e))
1305
1305
  return t.stylize(Date.prototype.toString.call(e), "date");
1306
1306
  if (Le(e))
1307
1307
  return Ae(e);
@@ -1311,7 +1311,7 @@ function ye(t, e, r) {
1311
1311
  var c = e.name ? ": " + e.name : "";
1312
1312
  a = " [Function" + c + "]";
1313
1313
  }
1314
- if (Te(e) && (a = " " + RegExp.prototype.toString.call(e)), et(e) && (a = " " + Date.prototype.toUTCString.call(e)), Le(e) && (a = " " + Ae(e)), o.length === 0 && (!u || e.length == 0))
1314
+ if (Te(e) && (a = " " + RegExp.prototype.toString.call(e)), Ke(e) && (a = " " + Date.prototype.toUTCString.call(e)), Le(e) && (a = " " + Ae(e)), o.length === 0 && (!u || e.length == 0))
1315
1315
  return h[0] + a + h[1];
1316
1316
  if (r < 0)
1317
1317
  return Te(e) ? t.stylize(RegExp.prototype.toString.call(e), "regexp") : t.stylize("[Object]", "special");
@@ -1324,15 +1324,15 @@ function ye(t, e, r) {
1324
1324
  function Vr(t, e) {
1325
1325
  if (Q(e))
1326
1326
  return t.stylize("undefined", "undefined");
1327
- if (Ye(e)) {
1327
+ if (Je(e)) {
1328
1328
  var r = "'" + JSON.stringify(e).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
1329
1329
  return t.stylize(r, "string");
1330
1330
  }
1331
1331
  if (Qr(e))
1332
1332
  return t.stylize("" + e, "number");
1333
- if (Mt(e))
1333
+ if (Ft(e))
1334
1334
  return t.stylize("" + e, "boolean");
1335
- if (Je(e))
1335
+ if (Ve(e))
1336
1336
  return t.stylize("null", "null");
1337
1337
  }
1338
1338
  function Ae(t) {
@@ -1340,7 +1340,7 @@ function Ae(t) {
1340
1340
  }
1341
1341
  function Jr(t, e, r, n, i) {
1342
1342
  for (var o = [], s = 0, f = e.length; s < f; ++s)
1343
- Bt(e, String(s)) ? o.push(Pe(
1343
+ Mt(e, String(s)) ? o.push(Pe(
1344
1344
  t,
1345
1345
  e,
1346
1346
  r,
@@ -1361,7 +1361,7 @@ function Jr(t, e, r, n, i) {
1361
1361
  }
1362
1362
  function Pe(t, e, r, n, i, o) {
1363
1363
  var s, f, a;
1364
- if (a = Object.getOwnPropertyDescriptor(e, i) || { value: e[i] }, a.get ? a.set ? f = t.stylize("[Getter/Setter]", "special") : f = t.stylize("[Getter]", "special") : a.set && (f = t.stylize("[Setter]", "special")), Bt(n, i) || (s = "[" + i + "]"), f || (t.seen.indexOf(a.value) < 0 ? (Je(r) ? f = ye(t, a.value, null) : f = ye(t, a.value, r - 1), f.indexOf(`
1364
+ if (a = Object.getOwnPropertyDescriptor(e, i) || { value: e[i] }, a.get ? a.set ? f = t.stylize("[Getter/Setter]", "special") : f = t.stylize("[Getter]", "special") : a.set && (f = t.stylize("[Setter]", "special")), Mt(n, i) || (s = "[" + i + "]"), f || (t.seen.indexOf(a.value) < 0 ? (Ve(r) ? f = ye(t, a.value, null) : f = ye(t, a.value, r - 1), f.indexOf(`
1365
1365
  `) > -1 && (o ? f = f.split(`
1366
1366
  `).map(function(u) {
1367
1367
  return " " + u;
@@ -1390,37 +1390,37 @@ function Yr(t, e, r) {
1390
1390
  function Wr(t) {
1391
1391
  return Array.isArray(t);
1392
1392
  }
1393
- function Mt(t) {
1393
+ function Ft(t) {
1394
1394
  return typeof t == "boolean";
1395
1395
  }
1396
- function Je(t) {
1396
+ function Ve(t) {
1397
1397
  return t === null;
1398
1398
  }
1399
1399
  function Qr(t) {
1400
1400
  return typeof t == "number";
1401
1401
  }
1402
- function Ye(t) {
1402
+ function Je(t) {
1403
1403
  return typeof t == "string";
1404
1404
  }
1405
1405
  function Q(t) {
1406
1406
  return t === void 0;
1407
1407
  }
1408
1408
  function Te(t) {
1409
- return le(t) && We(t) === "[object RegExp]";
1409
+ return le(t) && Ye(t) === "[object RegExp]";
1410
1410
  }
1411
1411
  function le(t) {
1412
1412
  return typeof t == "object" && t !== null;
1413
1413
  }
1414
- function et(t) {
1415
- return le(t) && We(t) === "[object Date]";
1414
+ function Ke(t) {
1415
+ return le(t) && Ye(t) === "[object Date]";
1416
1416
  }
1417
1417
  function Le(t) {
1418
- return le(t) && (We(t) === "[object Error]" || t instanceof Error);
1418
+ return le(t) && (Ye(t) === "[object Error]" || t instanceof Error);
1419
1419
  }
1420
1420
  function De(t) {
1421
1421
  return typeof t == "function";
1422
1422
  }
1423
- function We(t) {
1423
+ function Ye(t) {
1424
1424
  return Object.prototype.toString.call(t);
1425
1425
  }
1426
1426
  function Hr(t, e) {
@@ -1429,7 +1429,7 @@ function Hr(t, e) {
1429
1429
  t[r[n]] = e[r[n]];
1430
1430
  return t;
1431
1431
  }
1432
- function Bt(t, e) {
1432
+ function Mt(t, e) {
1433
1433
  return Object.prototype.hasOwnProperty.call(t, e);
1434
1434
  }
1435
1435
  function te() {
@@ -1565,7 +1565,7 @@ function Kr(t) {
1565
1565
  function en(t) {
1566
1566
  this.charReceived = t.length % 3, this.charLength = this.charReceived ? 3 : 0;
1567
1567
  }
1568
- C.ReadableState = Ut;
1568
+ C.ReadableState = Bt;
1569
1569
  var E = $r("stream");
1570
1570
  oe(C, g);
1571
1571
  function tn(t, e, r) {
@@ -1576,27 +1576,27 @@ function tn(t, e, r) {
1576
1576
  function rn(t, e) {
1577
1577
  return t.listeners(e).length;
1578
1578
  }
1579
- function Ut(t, e) {
1579
+ function Bt(t, e) {
1580
1580
  t = t || {}, this.objectMode = !!t.objectMode, e instanceof B && (this.objectMode = this.objectMode || !!t.readableObjectMode);
1581
1581
  var r = t.highWaterMark, n = this.objectMode ? 16 : 16 * 1024;
1582
1582
  this.highWaterMark = r || r === 0 ? r : n, this.highWaterMark = ~~this.highWaterMark, this.buffer = new te(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.defaultEncoding = t.defaultEncoding || "utf8", this.ranOut = !1, this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, t.encoding && (this.decoder = new ue(t.encoding), this.encoding = t.encoding);
1583
1583
  }
1584
1584
  function C(t) {
1585
1585
  if (!(this instanceof C)) return new C(t);
1586
- this._readableState = new Ut(t, this), this.readable = !0, t && typeof t.read == "function" && (this._read = t.read), g.call(this);
1586
+ this._readableState = new Bt(t, this), this.readable = !0, t && typeof t.read == "function" && (this._read = t.read), g.call(this);
1587
1587
  }
1588
1588
  C.prototype.push = function(t, e) {
1589
1589
  var r = this._readableState;
1590
- return !r.objectMode && typeof t == "string" && (e = e || r.defaultEncoding, e !== r.encoding && (t = l.from(t, e), e = "")), kt(this, r, t, e, !1);
1590
+ return !r.objectMode && typeof t == "string" && (e = e || r.defaultEncoding, e !== r.encoding && (t = l.from(t, e), e = "")), Ut(this, r, t, e, !1);
1591
1591
  };
1592
1592
  C.prototype.unshift = function(t) {
1593
1593
  var e = this._readableState;
1594
- return kt(this, e, t, "", !0);
1594
+ return Ut(this, e, t, "", !0);
1595
1595
  };
1596
1596
  C.prototype.isPaused = function() {
1597
1597
  return this._readableState.flowing === !1;
1598
1598
  };
1599
- function kt(t, e, r, n, i) {
1599
+ function Ut(t, e, r, n, i) {
1600
1600
  var o = sn(e, r);
1601
1601
  if (o)
1602
1602
  t.emit("error", o);
@@ -1622,11 +1622,11 @@ function nn(t) {
1622
1622
  C.prototype.setEncoding = function(t) {
1623
1623
  return this._readableState.decoder = new ue(t), this._readableState.encoding = t, this;
1624
1624
  };
1625
- var tt = 8388608;
1625
+ var et = 8388608;
1626
1626
  function on(t) {
1627
- return t >= tt ? t = tt : (t--, t |= t >>> 1, t |= t >>> 2, t |= t >>> 4, t |= t >>> 8, t |= t >>> 16, t++), t;
1627
+ return t >= et ? t = et : (t--, t |= t >>> 1, t |= t >>> 2, t |= t >>> 4, t |= t >>> 8, t |= t >>> 16, t++), t;
1628
1628
  }
1629
- function rt(t, e) {
1629
+ function tt(t, e) {
1630
1630
  return t <= 0 || e.length === 0 && e.ended ? 0 : e.objectMode ? 1 : t !== t ? e.flowing && e.length ? e.buffer.head.data.length : e.length : (t > e.highWaterMark && (e.highWaterMark = on(t)), t <= e.length ? t : e.ended ? e.length : (e.needReadable = !0, 0));
1631
1631
  }
1632
1632
  C.prototype.read = function(t) {
@@ -1634,12 +1634,12 @@ C.prototype.read = function(t) {
1634
1634
  var e = this._readableState, r = t;
1635
1635
  if (t !== 0 && (e.emittedReadable = !1), t === 0 && e.needReadable && (e.length >= e.highWaterMark || e.ended))
1636
1636
  return E("read: emitReadable", e.length, e.ended), e.length === 0 && e.ended ? Ne(this) : Se(this), null;
1637
- if (t = rt(t, e), t === 0 && e.ended)
1637
+ if (t = tt(t, e), t === 0 && e.ended)
1638
1638
  return e.length === 0 && Ne(this), null;
1639
1639
  var n = e.needReadable;
1640
- E("need readable", n), (e.length === 0 || e.length - t < e.highWaterMark) && (n = !0, E("length less than watermark", n)), e.ended || e.reading ? (n = !1, E("reading or ended", n)) : n && (E("do read"), e.reading = !0, e.sync = !0, e.length === 0 && (e.needReadable = !0), this._read(e.highWaterMark), e.sync = !1, e.reading || (t = rt(r, e)));
1640
+ E("need readable", n), (e.length === 0 || e.length - t < e.highWaterMark) && (n = !0, E("length less than watermark", n)), e.ended || e.reading ? (n = !1, E("reading or ended", n)) : n && (E("do read"), e.reading = !0, e.sync = !0, e.length === 0 && (e.needReadable = !0), this._read(e.highWaterMark), e.sync = !1, e.reading || (t = tt(r, e)));
1641
1641
  var i;
1642
- return t > 0 ? i = Pt(t, e) : i = null, i === null ? (e.needReadable = !0, t = 0) : e.length -= t, e.length === 0 && (e.ended || (e.needReadable = !0), r !== t && e.ended && Ne(this)), i !== null && this.emit("data", i), i;
1642
+ return t > 0 ? i = kt(t, e) : i = null, i === null ? (e.needReadable = !0, t = 0) : e.length -= t, e.length === 0 && (e.ended || (e.needReadable = !0), r !== t && e.ended && Ne(this)), i !== null && this.emit("data", i), i;
1643
1643
  };
1644
1644
  function sn(t, e) {
1645
1645
  var r = null;
@@ -1656,10 +1656,10 @@ function fn(t, e) {
1656
1656
  }
1657
1657
  function Se(t) {
1658
1658
  var e = t._readableState;
1659
- e.needReadable = !1, e.emittedReadable || (E("emitReadable", e.flowing), e.emittedReadable = !0, e.sync ? U(nt, t) : nt(t));
1659
+ e.needReadable = !1, e.emittedReadable || (E("emitReadable", e.flowing), e.emittedReadable = !0, e.sync ? U(rt, t) : rt(t));
1660
1660
  }
1661
- function nt(t) {
1662
- E("emit readable"), t.emit("readable"), Qe(t);
1661
+ function rt(t) {
1662
+ E("emit readable"), t.emit("readable"), We(t);
1663
1663
  }
1664
1664
  function an(t, e) {
1665
1665
  e.readingMore || (e.readingMore = !0, U(ln, t, e));
@@ -1705,7 +1705,7 @@ C.prototype.pipe = function(t, e) {
1705
1705
  function p(I) {
1706
1706
  E("ondata"), c = !1;
1707
1707
  var v = t.write(I);
1708
- v === !1 && !c && ((n.pipesCount === 1 && n.pipes === t || n.pipesCount > 1 && $t(n.pipes, t) !== -1) && !u && (E("false write response, pause", r._readableState.awaitDrain), r._readableState.awaitDrain++, c = !0), r.pause());
1708
+ v === !1 && !c && ((n.pipesCount === 1 && n.pipes === t || n.pipesCount > 1 && Pt(n.pipes, t) !== -1) && !u && (E("false write response, pause", r._readableState.awaitDrain), r._readableState.awaitDrain++, c = !0), r.pause());
1709
1709
  }
1710
1710
  function m(I) {
1711
1711
  E("onerror", I), S(), t.removeListener("error", m), rn(t, "error") === 0 && t.emit("error", I);
@@ -1727,7 +1727,7 @@ C.prototype.pipe = function(t, e) {
1727
1727
  function un(t) {
1728
1728
  return function() {
1729
1729
  var e = t._readableState;
1730
- E("pipeOnDrain", e.awaitDrain), e.awaitDrain && e.awaitDrain--, e.awaitDrain === 0 && t.listeners("data").length && (e.flowing = !0, Qe(t));
1730
+ E("pipeOnDrain", e.awaitDrain), e.awaitDrain && e.awaitDrain--, e.awaitDrain === 0 && t.listeners("data").length && (e.flowing = !0, We(t));
1731
1731
  };
1732
1732
  }
1733
1733
  C.prototype.unpipe = function(t) {
@@ -1742,7 +1742,7 @@ C.prototype.unpipe = function(t) {
1742
1742
  r[i].emit("unpipe", this);
1743
1743
  return this;
1744
1744
  }
1745
- var o = $t(e.pipes, t);
1745
+ var o = Pt(e.pipes, t);
1746
1746
  return o === -1 ? this : (e.pipes.splice(o, 1), e.pipesCount -= 1, e.pipesCount === 1 && (e.pipes = e.pipes[0]), t.emit("unpipe", this), this);
1747
1747
  };
1748
1748
  C.prototype.on = function(t, e) {
@@ -1767,12 +1767,12 @@ function hn(t, e) {
1767
1767
  e.resumeScheduled || (e.resumeScheduled = !0, U(dn, t, e));
1768
1768
  }
1769
1769
  function dn(t, e) {
1770
- e.reading || (E("resume read 0"), t.read(0)), e.resumeScheduled = !1, e.awaitDrain = 0, t.emit("resume"), Qe(t), e.flowing && !e.reading && t.read(0);
1770
+ e.reading || (E("resume read 0"), t.read(0)), e.resumeScheduled = !1, e.awaitDrain = 0, t.emit("resume"), We(t), e.flowing && !e.reading && t.read(0);
1771
1771
  }
1772
1772
  C.prototype.pause = function() {
1773
1773
  return E("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== !1 && (E("pause"), this._readableState.flowing = !1, this.emit("pause")), this;
1774
1774
  };
1775
- function Qe(t) {
1775
+ function We(t) {
1776
1776
  var e = t._readableState;
1777
1777
  for (E("flow", e.flowing); e.flowing && t.read() !== null; )
1778
1778
  ;
@@ -1804,8 +1804,8 @@ C.prototype.wrap = function(t) {
1804
1804
  E("wrapped _read", s), r && (r = !1, t.resume());
1805
1805
  }, n;
1806
1806
  };
1807
- C._fromList = Pt;
1808
- function Pt(t, e) {
1807
+ C._fromList = kt;
1808
+ function kt(t, e) {
1809
1809
  if (e.length === 0) return null;
1810
1810
  var r;
1811
1811
  return e.objectMode ? r = e.buffer.shift() : !t || t >= e.length ? (e.decoder ? r = e.buffer.join("") : e.buffer.length === 1 ? r = e.buffer.head.data : r = e.buffer.concat(e.length), e.buffer.clear()) : r = pn(t, e.buffer, e.decoder), r;
@@ -1850,21 +1850,21 @@ function wn(t, e) {
1850
1850
  for (var r = 0, n = t.length; r < n; r++)
1851
1851
  e(t[r], r);
1852
1852
  }
1853
- function $t(t, e) {
1853
+ function Pt(t, e) {
1854
1854
  for (var r = 0, n = t.length; r < n; r++)
1855
1855
  if (t[r] === e) return r;
1856
1856
  return -1;
1857
1857
  }
1858
- L.WritableState = He;
1858
+ L.WritableState = Qe;
1859
1859
  oe(L, g);
1860
1860
  function yn() {
1861
1861
  }
1862
1862
  function vn(t, e, r) {
1863
1863
  this.chunk = t, this.encoding = e, this.callback = r, this.next = null;
1864
1864
  }
1865
- function He(t, e) {
1865
+ function Qe(t, e) {
1866
1866
  Object.defineProperty(this, "buffer", {
1867
- get: Ft(function() {
1867
+ get: Nt(function() {
1868
1868
  return this.getBuffer();
1869
1869
  }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")
1870
1870
  }), t = t || {}, this.objectMode = !!t.objectMode, e instanceof B && (this.objectMode = this.objectMode || !!t.writableObjectMode);
@@ -1873,16 +1873,16 @@ function He(t, e) {
1873
1873
  var i = t.decodeStrings === !1;
1874
1874
  this.decodeStrings = !i, this.defaultEncoding = t.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(o) {
1875
1875
  Cn(e, o);
1876
- }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.bufferedRequestCount = 0, this.corkedRequestsFree = new Vt(this);
1876
+ }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.bufferedRequestCount = 0, this.corkedRequestsFree = new zt(this);
1877
1877
  }
1878
- He.prototype.getBuffer = function() {
1878
+ Qe.prototype.getBuffer = function() {
1879
1879
  for (var e = this.bufferedRequest, r = []; e; )
1880
1880
  r.push(e), e = e.next;
1881
1881
  return r;
1882
1882
  };
1883
1883
  function L(t) {
1884
1884
  if (!(this instanceof L) && !(this instanceof B)) return new L(t);
1885
- this._writableState = new He(t, this), this.writable = !0, t && (typeof t.write == "function" && (this._write = t.write), typeof t.writev == "function" && (this._writev = t.writev)), g.call(this);
1885
+ this._writableState = new Qe(t, this), this.writable = !0, t && (typeof t.write == "function" && (this._write = t.write), typeof t.writev == "function" && (this._writev = t.writev)), g.call(this);
1886
1886
  }
1887
1887
  L.prototype.pipe = function() {
1888
1888
  this.emit("error", new Error("Cannot pipe, not readable"));
@@ -1905,7 +1905,7 @@ L.prototype.cork = function() {
1905
1905
  };
1906
1906
  L.prototype.uncork = function() {
1907
1907
  var t = this._writableState;
1908
- t.corked && (t.corked--, !t.writing && !t.corked && !t.finished && !t.bufferProcessing && t.bufferedRequest && jt(this, t));
1908
+ t.corked && (t.corked--, !t.writing && !t.corked && !t.finished && !t.bufferProcessing && t.bufferedRequest && $t(this, t));
1909
1909
  };
1910
1910
  L.prototype.setDefaultEncoding = function(e) {
1911
1911
  if (typeof e == "string" && (e = e.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((e + "").toLowerCase()) > -1)) throw new TypeError("Unknown encoding: " + e);
@@ -1939,17 +1939,17 @@ function Cn(t, e) {
1939
1939
  var r = t._writableState, n = r.sync, i = r.writecb;
1940
1940
  if (In(r), e) Rn(t, r, n, e, i);
1941
1941
  else {
1942
- var o = qt(r);
1943
- !o && !r.corked && !r.bufferProcessing && r.bufferedRequest && jt(t, r), n ? U(it, t, r, o, i) : it(t, r, o, i);
1942
+ var o = jt(r);
1943
+ !o && !r.corked && !r.bufferProcessing && r.bufferedRequest && $t(t, r), n ? U(nt, t, r, o, i) : nt(t, r, o, i);
1944
1944
  }
1945
1945
  }
1946
- function it(t, e, r, n) {
1947
- r || On(t, e), e.pendingcb--, n(), zt(t, e);
1946
+ function nt(t, e, r, n) {
1947
+ r || On(t, e), e.pendingcb--, n(), qt(t, e);
1948
1948
  }
1949
1949
  function On(t, e) {
1950
1950
  e.length === 0 && e.needDrain && (e.needDrain = !1, t.emit("drain"));
1951
1951
  }
1952
- function jt(t, e) {
1952
+ function $t(t, e) {
1953
1953
  e.bufferProcessing = !0;
1954
1954
  var r = e.bufferedRequest;
1955
1955
  if (t._writev && r && r.next) {
@@ -1957,7 +1957,7 @@ function jt(t, e) {
1957
1957
  o.entry = r;
1958
1958
  for (var s = 0; r; )
1959
1959
  i[s] = r, r = r.next, s += 1;
1960
- $e(t, e, !0, e.length, i, "", o.finish), e.pendingcb++, e.lastBufferedRequest = null, o.next ? (e.corkedRequestsFree = o.next, o.next = null) : e.corkedRequestsFree = new Vt(e);
1960
+ $e(t, e, !0, e.length, i, "", o.finish), e.pendingcb++, e.lastBufferedRequest = null, o.next ? (e.corkedRequestsFree = o.next, o.next = null) : e.corkedRequestsFree = new zt(e);
1961
1961
  } else {
1962
1962
  for (; r; ) {
1963
1963
  var f = r.chunk, a = r.encoding, u = r.callback, h = e.objectMode ? 1 : f.length;
@@ -1976,20 +1976,20 @@ L.prototype.end = function(t, e, r) {
1976
1976
  var n = this._writableState;
1977
1977
  typeof t == "function" ? (r = t, t = null, e = null) : typeof e == "function" && (r = e, e = null), t != null && this.write(t, e), n.corked && (n.corked = 1, this.uncork()), !n.ending && !n.finished && An(this, n, r);
1978
1978
  };
1979
- function qt(t) {
1979
+ function jt(t) {
1980
1980
  return t.ending && t.length === 0 && t.bufferedRequest === null && !t.finished && !t.writing;
1981
1981
  }
1982
- function ot(t, e) {
1982
+ function it(t, e) {
1983
1983
  e.prefinished || (e.prefinished = !0, t.emit("prefinish"));
1984
1984
  }
1985
- function zt(t, e) {
1986
- var r = qt(e);
1987
- return r && (e.pendingcb === 0 ? (ot(t, e), e.finished = !0, t.emit("finish")) : ot(t, e)), r;
1985
+ function qt(t, e) {
1986
+ var r = jt(e);
1987
+ return r && (e.pendingcb === 0 ? (it(t, e), e.finished = !0, t.emit("finish")) : it(t, e)), r;
1988
1988
  }
1989
1989
  function An(t, e, r) {
1990
- e.ending = !0, zt(t, e), r && (e.finished ? U(r) : t.once("finish", r)), e.ended = !0, t.writable = !1;
1990
+ e.ending = !0, qt(t, e), r && (e.finished ? U(r) : t.once("finish", r)), e.ended = !0, t.writable = !1;
1991
1991
  }
1992
- function Vt(t) {
1992
+ function zt(t) {
1993
1993
  var e = this;
1994
1994
  this.next = null, this.entry = null, this.finish = function(r) {
1995
1995
  var n = e.entry;
@@ -2001,9 +2001,9 @@ function Vt(t) {
2001
2001
  };
2002
2002
  }
2003
2003
  oe(B, C);
2004
- var st = Object.keys(L.prototype);
2005
- for (var Fe = 0; Fe < st.length; Fe++) {
2006
- var Me = st[Fe];
2004
+ var ot = Object.keys(L.prototype);
2005
+ for (var Fe = 0; Fe < ot.length; Fe++) {
2006
+ var Me = ot[Fe];
2007
2007
  B.prototype[Me] || (B.prototype[Me] = L.prototype[Me]);
2008
2008
  }
2009
2009
  function B(t) {
@@ -2037,8 +2037,8 @@ function k(t) {
2037
2037
  var e = this;
2038
2038
  this._readableState.needReadable = !0, this._readableState.sync = !1, t && (typeof t.transform == "function" && (this._transform = t.transform), typeof t.flush == "function" && (this._flush = t.flush)), this.once("prefinish", function() {
2039
2039
  typeof this._flush == "function" ? this._flush(function(r) {
2040
- ft(e, r);
2041
- }) : ft(e);
2040
+ st(e, r);
2041
+ }) : st(e);
2042
2042
  });
2043
2043
  }
2044
2044
  k.prototype.push = function(t, e) {
@@ -2058,7 +2058,7 @@ k.prototype._read = function(t) {
2058
2058
  var e = this._transformState;
2059
2059
  e.writechunk !== null && e.writecb && !e.transforming ? (e.transforming = !0, this._transform(e.writechunk, e.writeencoding, e.afterTransform)) : e.needTransform = !0;
2060
2060
  };
2061
- function ft(t, e) {
2061
+ function st(t, e) {
2062
2062
  if (e) return t.emit("error", e);
2063
2063
  var r = t._writableState, n = t._transformState;
2064
2064
  if (r.length) throw new Error("Calling transform done when ws.length != 0");
@@ -2110,7 +2110,7 @@ V.prototype.pipe = function(t, e) {
2110
2110
  }
2111
2111
  return r.on("end", u), r.on("close", u), t.on("close", u), t.emit("pipe", r), t;
2112
2112
  };
2113
- const Jt = function(t) {
2113
+ const Vt = function(t) {
2114
2114
  return typeof t == "object" && t !== null && !Array.isArray(t);
2115
2115
  };
2116
2116
  class w extends Error {
@@ -2123,7 +2123,7 @@ class w extends Error {
2123
2123
  }
2124
2124
  }
2125
2125
  }
2126
- const Yt = function(t) {
2126
+ const Jt = function(t) {
2127
2127
  const e = [];
2128
2128
  for (let r = 0, n = t.length; r < n; r++) {
2129
2129
  const i = t[r];
@@ -2131,7 +2131,7 @@ const Yt = function(t) {
2131
2131
  e[r] = { disabled: !0 };
2132
2132
  else if (typeof i == "string")
2133
2133
  e[r] = { name: i };
2134
- else if (Jt(i)) {
2134
+ else if (Vt(i)) {
2135
2135
  if (typeof i.name != "string")
2136
2136
  throw new w("CSV_OPTION_COLUMNS_MISSING_NAME", [
2137
2137
  "Option columns missing name:",
@@ -2148,7 +2148,7 @@ const Yt = function(t) {
2148
2148
  }
2149
2149
  return e;
2150
2150
  };
2151
- class at {
2151
+ class ft {
2152
2152
  constructor(e = 100) {
2153
2153
  this.size = e, this.length = 0, this.buf = l.allocUnsafe(e);
2154
2154
  }
@@ -2202,7 +2202,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2202
2202
  escapeIsQuote: D(t.escape) && D(t.quote) && l.compare(t.escape, t.quote) === 0,
2203
2203
  // columns can be `false`, `true`, `Array`
2204
2204
  expectedRecordLength: Array.isArray(t.columns) ? t.columns.length : void 0,
2205
- field: new at(20),
2205
+ field: new ft(20),
2206
2206
  firstLineToHeaders: t.cast_first_line_to_header,
2207
2207
  needMoreDataSize: Math.max(
2208
2208
  // Skip if the remaining buffer smaller than comment
@@ -2214,7 +2214,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2214
2214
  previousBuf: void 0,
2215
2215
  quoting: !1,
2216
2216
  stop: !1,
2217
- rawBuffer: new at(100),
2217
+ rawBuffer: new ft(100),
2218
2218
  record: [],
2219
2219
  recordHasError: !1,
2220
2220
  record_length: 0,
@@ -2237,7 +2237,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2237
2237
  return t.replace(/([A-Z])/g, function(e, r) {
2238
2238
  return "_" + r.toLowerCase();
2239
2239
  });
2240
- }, lt = function(t) {
2240
+ }, at = function(t) {
2241
2241
  const e = {};
2242
2242
  for (const n in t)
2243
2243
  e[$n(n)] = t[n];
@@ -2303,7 +2303,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2303
2303
  else if (typeof e.columns == "function")
2304
2304
  e.cast_first_line_to_header = e.columns, e.columns = !0;
2305
2305
  else if (Array.isArray(e.columns))
2306
- e.columns = Yt(e.columns);
2306
+ e.columns = Jt(e.columns);
2307
2307
  else if (e.columns === void 0 || e.columns === null || e.columns === !1)
2308
2308
  e.columns = !1;
2309
2309
  else
@@ -2635,7 +2635,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2635
2635
  `Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`
2636
2636
  );
2637
2637
  return e;
2638
- }, ut = function(t) {
2638
+ }, lt = function(t) {
2639
2639
  return t.every(
2640
2640
  (e) => e == null || e.toString && e.toString().trim() === ""
2641
2641
  );
@@ -2657,7 +2657,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2657
2657
  invalid_field_length: 0,
2658
2658
  lines: 1,
2659
2659
  records: 0
2660
- }, r = lt(t);
2660
+ }, r = at(t);
2661
2661
  return {
2662
2662
  info: e,
2663
2663
  original_options: t,
@@ -2721,7 +2721,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2721
2721
  if (re[O].compare(b, 0, re[O].length) === 0) {
2722
2722
  const J = re[O].length;
2723
2723
  this.state.bufBytesStart += J, b = b.slice(J);
2724
- const he = lt({
2724
+ const he = at({
2725
2725
  ...this.original_options,
2726
2726
  encoding: O
2727
2727
  });
@@ -2770,7 +2770,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2770
2770
  this.state.quoting = !1, this.state.wasQuoting = !0, d += F.length - 1;
2771
2771
  continue;
2772
2772
  } else if (x === !1) {
2773
- const Ge = this.__error(
2773
+ const He = this.__error(
2774
2774
  new w(
2775
2775
  "CSV_INVALID_CLOSING_QUOTE",
2776
2776
  [
@@ -2784,7 +2784,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2784
2784
  this.__infoField()
2785
2785
  )
2786
2786
  );
2787
- if (Ge !== void 0) return Ge;
2787
+ if (He !== void 0) return He;
2788
2788
  } else
2789
2789
  this.state.quoting = !1, this.state.wasQuoting = !0, this.state.field.prepend(F), d += F.length - 1;
2790
2790
  } else if (this.state.field.length !== 0) {
@@ -2937,7 +2937,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2937
2937
  return this.__resetRecord();
2938
2938
  const S = y.length;
2939
2939
  if (i === !0) {
2940
- if (m === !0 && ut(y)) {
2940
+ if (m === !0 && lt(y)) {
2941
2941
  this.__resetRecord();
2942
2942
  return;
2943
2943
  }
@@ -2977,7 +2977,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
2977
2977
  if (v) return v;
2978
2978
  }
2979
2979
  }
2980
- if (m === !0 && ut(y)) {
2980
+ if (m === !0 && lt(y)) {
2981
2981
  this.__resetRecord();
2982
2982
  return;
2983
2983
  }
@@ -3052,7 +3052,7 @@ const Fn = 12, Mn = 13, Bn = 10, Un = 32, kn = 9, Pn = function(t) {
3052
3052
  }
3053
3053
  )
3054
3054
  );
3055
- const s = Yt(o);
3055
+ const s = Jt(o);
3056
3056
  this.state.expectedRecordLength = s.length, this.options.columns = s, this.__resetRecord();
3057
3057
  return;
3058
3058
  } catch (o) {
@@ -3292,13 +3292,13 @@ class Vn extends k {
3292
3292
  e(r);
3293
3293
  }
3294
3294
  }
3295
- const je = function() {
3295
+ const Yt = function() {
3296
3296
  let t, e, r;
3297
3297
  for (const i in arguments) {
3298
3298
  const o = arguments[i], s = typeof o;
3299
3299
  if (t === void 0 && (typeof o == "string" || D(o)))
3300
3300
  t = o;
3301
- else if (e === void 0 && Jt(o))
3301
+ else if (e === void 0 && Vt(o))
3302
3302
  e = o;
3303
3303
  else if (r === void 0 && s === "function")
3304
3304
  r = o;
@@ -3416,17 +3416,6 @@ const Wt = {
3416
3416
  trim: !1
3417
3417
  }, Zn = 1e4, Xn = 4;
3418
3418
  class ni {
3419
- /** Build parser. */
3420
- buildParser(e) {
3421
- return je(e);
3422
- }
3423
- /**
3424
- * Parse preview.
3425
- */
3426
- async parsePreview(e, r) {
3427
- const n = Kn(e), { parsingRecords: i, valueDelimiterId: o } = await ei(e, r);
3428
- return { parsingRecords: i, recordDelimiterId: n, valueDelimiterId: o };
3429
- }
3430
3419
  /**
3431
3420
  * Parse stream.
3432
3421
  */
@@ -3446,11 +3435,11 @@ class ni {
3446
3435
  c || (c = !0, m(), i.signal.aborted || i.abort(S), f(S));
3447
3436
  };
3448
3437
  (async () => {
3449
- a = je({
3438
+ a = Yt({
3450
3439
  ...Wt,
3451
3440
  ...r,
3452
3441
  cast: (R, F) => ({ value: R, wasValueQuoted: F.quoting })
3453
- }), h = ti({ chunk: o, chunkSize: e.chunkSize ?? Zn }), a.on("readable", () => {
3442
+ }), h = Kn({ chunk: o, chunkSize: e.chunkSize ?? Zn }), a.on("readable", () => {
3454
3443
  try {
3455
3444
  if (a == null || h == null) return;
3456
3445
  let R;
@@ -3462,7 +3451,7 @@ class ni {
3462
3451
  x(R);
3463
3452
  }
3464
3453
  }), a.on("error", (R) => x(R)), a.on("end", () => {
3465
- c || (h?.flush(), s(ri(a)));
3454
+ c || (h?.flush(), s(ei(a)));
3466
3455
  });
3467
3456
  const S = await fetch(encodeURI(n), { signal: i.signal });
3468
3457
  if (!S.ok || S.body == null)
@@ -3482,20 +3471,56 @@ class ni {
3482
3471
  })().catch((S) => x(S));
3483
3472
  });
3484
3473
  }
3474
+ /**
3475
+ * Parse text.
3476
+ */
3477
+ async parseText(e, r) {
3478
+ const n = ti(e), { parsingRecords: i, valueDelimiterId: o } = await ri(e, r);
3479
+ return { parsingRecords: i, recordDelimiterId: n, valueDelimiterId: o };
3480
+ }
3485
3481
  }
3486
3482
  function Kn(t) {
3483
+ const e = Math.max(1, Math.floor(t.chunkSize)), r = [];
3484
+ let n = f(), i = 0;
3485
+ const o = () => {
3486
+ if (i === 0) return;
3487
+ const a = n;
3488
+ a.length = i, n = f(), i = 0, t.chunk(a), r.length < Xn && r.push(a);
3489
+ };
3490
+ return { flush: o, push: (a) => {
3491
+ n[i++] = a, i >= e && o();
3492
+ } };
3493
+ function f() {
3494
+ const a = r.pop();
3495
+ if (a != null)
3496
+ return a.length = 0, a;
3497
+ const u = Array.from({ length: e });
3498
+ return u.length = 0, u;
3499
+ }
3500
+ }
3501
+ function ei(t) {
3502
+ return {
3503
+ byteCount: t?.info.bytes ?? -1,
3504
+ commentLineCount: t?.info.comment_lines ?? -1,
3505
+ emptyLineCount: t?.info.empty_lines ?? -1,
3506
+ nonUniformRecordCount: t?.info.invalid_field_length ?? -1,
3507
+ lineCount: t?.info.lines ?? -1,
3508
+ recordCount: t?.info.records ?? -1
3509
+ };
3510
+ }
3511
+ function ti(t) {
3487
3512
  const e = (t.match(/\r\n/g) ?? []).length, r = (t.match(/(?<!\r)\n/g) ?? []).length, n = (t.match(/\r(?!\n)/g) ?? []).length;
3488
3513
  return e >= r && e >= n ? `\r
3489
3514
  ` : r >= e && r >= n ? `
3490
3515
  ` : n >= e && n >= r ? "\r" : `
3491
3516
  `;
3492
3517
  }
3493
- async function ei(t, e) {
3518
+ async function ri(t, e) {
3494
3519
  let r, n, i, o = [];
3495
3520
  for (const s of e)
3496
3521
  try {
3497
3522
  let f = 0, a, u = 0, h = 0;
3498
- const c = je({
3523
+ const c = Yt({
3499
3524
  ...Wt,
3500
3525
  cast: (p, m) => ({ value: p, wasValueQuoted: m.quoting }),
3501
3526
  delimiter: s,
@@ -3523,35 +3548,6 @@ async function ei(t, e) {
3523
3548
  }
3524
3549
  return { parsingRecords: o, valueDelimiterId: r ?? "," };
3525
3550
  }
3526
- function ti(t) {
3527
- const e = Math.max(1, Math.floor(t.chunkSize)), r = [];
3528
- let n = f(), i = 0;
3529
- const o = () => {
3530
- if (i === 0) return;
3531
- const a = n;
3532
- a.length = i, n = f(), i = 0, t.chunk(a), r.length < Xn && r.push(a);
3533
- };
3534
- return { flush: o, push: (a) => {
3535
- n[i++] = a, i >= e && o();
3536
- } };
3537
- function f() {
3538
- const a = r.pop();
3539
- if (a != null)
3540
- return a.length = 0, a;
3541
- const u = Array.from({ length: e });
3542
- return u.length = 0, u;
3543
- }
3544
- }
3545
- function ri(t) {
3546
- return {
3547
- byteCount: t?.info.bytes ?? -1,
3548
- commentLineCount: t?.info.comment_lines ?? -1,
3549
- emptyLineCount: t?.info.empty_lines ?? -1,
3550
- nonUniformRecordCount: t?.info.invalid_field_length ?? -1,
3551
- lineCount: t?.info.lines ?? -1,
3552
- recordCount: t?.info.records ?? -1
3553
- };
3554
- }
3555
3551
  export {
3556
3552
  ni as Tool
3557
3553
  };
@@ -1,26 +1,24 @@
1
- import { Options, Parser } from 'csv-parse/browser/esm';
1
+ import { Options } from 'csv-parse/browser/esm';
2
2
  import { ParsingRecord, RecordDelimiterId, ValueDelimiterId } from '@datapos/datapos-shared/component/dataView';
3
3
  import { RetrieveRecordsOptions, RetrieveRecordsSummary } from '@datapos/datapos-shared/component/connector';
4
4
  /**
5
- * Preview configuration.
5
+ * Parse text configuration.
6
6
  */
7
- interface PreviewConfig {
7
+ interface ParseTextConfig {
8
8
  parsingRecords: ParsingRecord[];
9
9
  recordDelimiterId: RecordDelimiterId;
10
10
  valueDelimiterId: ValueDelimiterId;
11
11
  }
12
12
  /** Tool. */
13
13
  declare class Tool {
14
- /** Build parser. */
15
- buildParser(options: Options): Parser;
16
- /**
17
- * Parse preview.
18
- */
19
- parsePreview(text: string, delimiters: ValueDelimiterId[]): Promise<PreviewConfig>;
20
14
  /**
21
15
  * Parse stream.
22
16
  */
23
17
  parseStream(retrieveRecordsOptions: RetrieveRecordsOptions, parseOptions: Options, url: string, abortController: AbortController, chunk: (records: ParsingRecord[]) => void): Promise<RetrieveRecordsSummary>;
18
+ /**
19
+ * Parse text.
20
+ */
21
+ parseText(text: string, delimiters: ValueDelimiterId[]): Promise<ParseTextConfig>;
24
22
  }
25
23
  export type { Options, Parser } from 'csv-parse/browser/esm';
26
- export { Tool };
24
+ export { type ParseTextConfig, Tool };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-tool-csv-parse",
3
- "version": "0.0.120",
3
+ "version": "0.0.122",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "private": false,