@gardenfi/core 0.2.0-beta.73 → 0.2.0-beta.75
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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +16 -15
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +42 -31
- package/dist/index100.cjs +1 -1
- package/dist/index100.js +18 -32
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +6 -366
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +33 -21
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +2 -56
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +38 -3
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +25 -45
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +7 -26
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +5 -2
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +11 -2
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +2 -62
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +2 -2
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +55 -32
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +2 -5
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +40 -2
- package/dist/index113.cjs +1 -1
- package/dist/index113.js +38 -53
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +18 -2
- package/dist/index115.cjs +1 -1
- package/dist/index115.js +101 -32
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +17 -39
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +224 -16
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +4 -109
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +155 -18
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +2 -226
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +73 -4
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +55 -151
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +35 -2
- package/dist/index124.cjs +1 -1
- package/dist/index124.js +5 -73
- package/dist/index125.cjs +1 -1
- package/dist/index125.js +2 -2
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +8 -8
- package/dist/index127.cjs +1 -1
- package/dist/index127.js +1 -1
- package/dist/index130.cjs +1 -1
- package/dist/index130.js +2 -19
- package/dist/index131.cjs +1 -1
- package/dist/index131.js +356 -2
- package/dist/index132.cjs +1 -1
- package/dist/index132.js +206 -323
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +37 -208
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +59 -65
- package/dist/index135.cjs +1 -1
- package/dist/index135.js +10 -60
- package/dist/index136.cjs +1 -1
- package/dist/index136.js +45 -12
- package/dist/index137.cjs +1 -1
- package/dist/index137.js +56 -38
- package/dist/index138.cjs +1 -1
- package/dist/index138.js +19 -63
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +9 -4
- package/dist/index141.cjs +1 -1
- package/dist/index141.js +3 -3
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +1 -1
- package/dist/index148.cjs +1 -1
- package/dist/index148.js +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +32 -2
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +10 -17
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +18 -12
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +15 -16
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +39 -16
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +25 -52
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +2 -9
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +138 -9
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +2 -138
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +9 -2
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +7 -11
- package/dist/index26.cjs +3 -1
- package/dist/index26.js +27 -36
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +17 -44
- package/dist/index28.cjs +2 -1
- package/dist/index28.js +24 -27
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +40 -14
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +197 -22
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +2 -26
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +2 -55
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +2 -28
- package/dist/index34.cjs +1 -3
- package/dist/index34.js +11 -26
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +39 -17
- package/dist/index36.cjs +1 -2
- package/dist/index36.js +40 -23
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +26 -39
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +15 -199
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +24 -2
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +26 -2
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +55 -2
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +27 -12
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +174 -11
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +2 -4
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +34 -45
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +9 -43
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +10 -169
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +11 -12
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +3 -4
- package/dist/index5.cjs +1 -1
- package/dist/index5.js +48 -59
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +45 -16
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +40 -9
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +167 -170
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +12 -21
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +5 -2
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +17 -35
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +11 -8
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +19 -34
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +31 -55
- package/dist/index59.cjs +1 -2
- package/dist/index59.js +2 -60
- package/dist/index60.cjs +6 -1
- package/dist/index60.js +949 -6
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +2 -128
- package/dist/index62.cjs +1 -2
- package/dist/index62.js +61 -42
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +33 -9
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +86 -10
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +55 -11
- package/dist/index66.cjs +2 -1
- package/dist/index66.js +59 -13
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +3 -6
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +33 -16
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +126 -77
- package/dist/index70.cjs +2 -1
- package/dist/index70.js +42 -14
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +8 -18
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +9 -5
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +11 -21
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +13 -13
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +7 -2
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +18 -2
- package/dist/index77.cjs +1 -2
- package/dist/index77.js +76 -32
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +14 -5
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +18 -19
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +5 -6
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +19 -29
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +14 -2
- package/dist/index82.cjs +1 -6
- package/dist/index82.js +9 -949
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +2 -2
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +2 -62
- package/dist/index85.cjs +2 -1
- package/dist/index85.js +34 -32
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +5 -86
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +19 -12
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +34 -6
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +365 -111
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +21 -7
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +55 -32
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +3 -2
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +45 -34
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +26 -29
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +2 -21
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +2 -7
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +13 -5
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +6 -10
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +111 -18
- package/dist/src/index.d.ts +1 -1
- package/dist/src/lib/evm/relay/evmRelay.d.ts +1 -1
- package/dist/src/lib/evm/relay/evmRelay.types.d.ts +1 -1
- package/dist/src/lib/utils.d.ts +2 -0
- package/package.json +2 -2
package/dist/index132.js
CHANGED
|
@@ -1,358 +1,241 @@
|
|
|
1
|
-
import { commonjsGlobal as
|
|
2
|
-
import {
|
|
3
|
-
import { s as
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { d as ve } from "./index142.js";
|
|
8
|
-
import { s as we } from "./index143.js";
|
|
1
|
+
import { commonjsGlobal as q } from "./index20.js";
|
|
2
|
+
import { b as ne } from "./index148.js";
|
|
3
|
+
import { s as fe } from "./index140.js";
|
|
4
|
+
import "./index60.js";
|
|
5
|
+
import { d as oe } from "./index142.js";
|
|
6
|
+
import { s as ue } from "./index143.js";
|
|
9
7
|
import "./index144.js";
|
|
10
|
-
import { i as
|
|
11
|
-
import { __require as
|
|
12
|
-
import "./
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var l;
|
|
23
|
-
o.ReadableState = N, ge.EventEmitter;
|
|
24
|
-
var W = function(e, i) {
|
|
25
|
-
return e.listeners(i).length;
|
|
26
|
-
}, b = _e, _ = Me.Buffer, z = (typeof G < "u" ? G : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
27
|
-
};
|
|
28
|
-
function J(r) {
|
|
29
|
-
return _.from(r);
|
|
30
|
-
}
|
|
31
|
-
function K(r) {
|
|
32
|
-
return _.isBuffer(r) || r instanceof z;
|
|
33
|
-
}
|
|
34
|
-
var w = me, n;
|
|
35
|
-
w && w.debuglog ? n = w.debuglog("stream") : n = function() {
|
|
36
|
-
};
|
|
37
|
-
var Q = ye(), R = ve, Z = we, ee = Z.getHighWaterMark, m = Le.codes, re = m.ERR_INVALID_ARG_TYPE, ie = m.ERR_STREAM_PUSH_AFTER_EOF, te = m.ERR_METHOD_NOT_IMPLEMENTED, ne = m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, s, S, E;
|
|
38
|
-
Re(o, b);
|
|
39
|
-
var c = R.errorOrDestroy, M = ["error", "close", "destroy", "pause", "resume"];
|
|
40
|
-
function ae(r, e, i) {
|
|
41
|
-
if (typeof r.prependListener == "function") return r.prependListener(e, i);
|
|
42
|
-
!r._events || !r._events[e] ? r.on(e, i) : Array.isArray(r._events[e]) ? r._events[e].unshift(i) : r._events[e] = [i, r._events[e]];
|
|
43
|
-
}
|
|
44
|
-
function N(r, e, i) {
|
|
45
|
-
l = l || $(), r = r || {}, typeof i != "boolean" && (i = e instanceof l), this.objectMode = !!r.objectMode, i && (this.objectMode = this.objectMode || !!r.readableObjectMode), this.highWaterMark = ee(this, r, "readableHighWaterMark", i), this.buffer = new Q(), 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.paused = !0, this.emitClose = r.emitClose !== !1, this.autoDestroy = !!r.autoDestroy, this.destroyed = !1, this.defaultEncoding = r.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, r.encoding && (s || (s = Y.StringDecoder), this.decoder = new s(r.encoding), this.encoding = r.encoding);
|
|
46
|
-
}
|
|
47
|
-
function o(r) {
|
|
48
|
-
if (l = l || $(), !(this instanceof o)) return new o(r);
|
|
49
|
-
var e = this instanceof l;
|
|
50
|
-
this._readableState = new N(r, this, e), this.readable = !0, r && (typeof r.read == "function" && (this._read = r.read), typeof r.destroy == "function" && (this._destroy = r.destroy)), b.call(this);
|
|
51
|
-
}
|
|
52
|
-
Object.defineProperty(o.prototype, "destroyed", {
|
|
53
|
-
// making it explicit this property is not enumerable
|
|
54
|
-
// because otherwise some prototype manipulation in
|
|
55
|
-
// userland will fail
|
|
56
|
-
enumerable: !1,
|
|
57
|
-
get: function() {
|
|
58
|
-
return this._readableState === void 0 ? !1 : this._readableState.destroyed;
|
|
59
|
-
},
|
|
60
|
-
set: function(e) {
|
|
61
|
-
this._readableState && (this._readableState.destroyed = e);
|
|
62
|
-
}
|
|
63
|
-
}), o.prototype.destroy = R.destroy, o.prototype._undestroy = R.undestroy, o.prototype._destroy = function(r, e) {
|
|
64
|
-
e(r);
|
|
65
|
-
}, o.prototype.push = function(r, e) {
|
|
66
|
-
var i = this._readableState, t;
|
|
67
|
-
return i.objectMode ? t = !0 : typeof r == "string" && (e = e || i.defaultEncoding, e !== i.encoding && (r = _.from(r, e), e = ""), t = !0), q(this, r, e, !1, t);
|
|
68
|
-
}, o.prototype.unshift = function(r) {
|
|
69
|
-
return q(this, r, null, !0, !1);
|
|
70
|
-
};
|
|
71
|
-
function q(r, e, i, t, f) {
|
|
72
|
-
n("readableAddChunk", e);
|
|
73
|
-
var a = r._readableState;
|
|
74
|
-
if (e === null)
|
|
75
|
-
a.reading = !1, fe(r, a);
|
|
76
|
-
else {
|
|
77
|
-
var d;
|
|
78
|
-
if (f || (d = oe(a, e)), d)
|
|
79
|
-
c(r, d);
|
|
80
|
-
else if (a.objectMode || e && e.length > 0)
|
|
81
|
-
if (typeof e != "string" && !a.objectMode && Object.getPrototypeOf(e) !== _.prototype && (e = J(e)), t)
|
|
82
|
-
a.endEmitted ? c(r, new ne()) : L(r, a, e, !0);
|
|
83
|
-
else if (a.ended)
|
|
84
|
-
c(r, new ie());
|
|
85
|
-
else {
|
|
86
|
-
if (a.destroyed)
|
|
87
|
-
return !1;
|
|
88
|
-
a.reading = !1, a.decoder && !i ? (e = a.decoder.write(e), a.objectMode || e.length !== 0 ? L(r, a, e, !1) : T(r, a)) : L(r, a, e, !1);
|
|
89
|
-
}
|
|
90
|
-
else t || (a.reading = !1, T(r, a));
|
|
91
|
-
}
|
|
92
|
-
return !a.ended && (a.length < a.highWaterMark || a.length === 0);
|
|
93
|
-
}
|
|
94
|
-
function L(r, e, i, t) {
|
|
95
|
-
e.flowing && e.length === 0 && !e.sync ? (e.awaitDrain = 0, r.emit("data", i)) : (e.length += e.objectMode ? 1 : i.length, t ? e.buffer.unshift(i) : e.buffer.push(i), e.needReadable && y(r)), T(r, e);
|
|
96
|
-
}
|
|
97
|
-
function oe(r, e) {
|
|
98
|
-
var i;
|
|
99
|
-
return !K(e) && typeof e != "string" && e !== void 0 && !r.objectMode && (i = new re("chunk", ["string", "Buffer", "Uint8Array"], e)), i;
|
|
100
|
-
}
|
|
101
|
-
o.prototype.isPaused = function() {
|
|
102
|
-
return this._readableState.flowing === !1;
|
|
103
|
-
}, o.prototype.setEncoding = function(r) {
|
|
104
|
-
s || (s = Y.StringDecoder);
|
|
105
|
-
var e = new s(r);
|
|
106
|
-
this._readableState.decoder = e, this._readableState.encoding = this._readableState.decoder.encoding;
|
|
107
|
-
for (var i = this._readableState.buffer.head, t = ""; i !== null; )
|
|
108
|
-
t += e.write(i.data), i = i.next;
|
|
109
|
-
return this._readableState.buffer.clear(), t !== "" && this._readableState.buffer.push(t), this._readableState.length = t.length, this;
|
|
110
|
-
};
|
|
111
|
-
var P = 1073741824;
|
|
112
|
-
function de(r) {
|
|
113
|
-
return r >= P ? r = P : (r--, r |= r >>> 1, r |= r >>> 2, r |= r >>> 4, r |= r >>> 8, r |= r >>> 16, r++), r;
|
|
114
|
-
}
|
|
115
|
-
function U(r, e) {
|
|
116
|
-
return r <= 0 || e.length === 0 && e.ended ? 0 : e.objectMode ? 1 : r !== r ? e.flowing && e.length ? e.buffer.head.data.length : e.length : (r > e.highWaterMark && (e.highWaterMark = de(r)), r <= e.length ? r : e.ended ? e.length : (e.needReadable = !0, 0));
|
|
117
|
-
}
|
|
118
|
-
o.prototype.read = function(r) {
|
|
119
|
-
n("read", r), r = parseInt(r, 10);
|
|
120
|
-
var e = this._readableState, i = r;
|
|
121
|
-
if (r !== 0 && (e.emittedReadable = !1), r === 0 && e.needReadable && ((e.highWaterMark !== 0 ? e.length >= e.highWaterMark : e.length > 0) || e.ended))
|
|
122
|
-
return n("read: emitReadable", e.length, e.ended), e.length === 0 && e.ended ? C(this) : y(this), null;
|
|
123
|
-
if (r = U(r, e), r === 0 && e.ended)
|
|
124
|
-
return e.length === 0 && C(this), null;
|
|
125
|
-
var t = e.needReadable;
|
|
126
|
-
n("need readable", t), (e.length === 0 || e.length - r < e.highWaterMark) && (t = !0, n("length less than watermark", t)), e.ended || e.reading ? (t = !1, n("reading or ended", t)) : t && (n("do read"), e.reading = !0, e.sync = !0, e.length === 0 && (e.needReadable = !0), this._read(e.highWaterMark), e.sync = !1, e.reading || (r = U(i, e)));
|
|
127
|
-
var f;
|
|
128
|
-
return r > 0 ? f = I(r, e) : f = null, f === null ? (e.needReadable = e.length <= e.highWaterMark, r = 0) : (e.length -= r, e.awaitDrain = 0), e.length === 0 && (e.ended || (e.needReadable = !0), i !== r && e.ended && C(this)), f !== null && this.emit("data", f), f;
|
|
129
|
-
};
|
|
130
|
-
function fe(r, e) {
|
|
131
|
-
if (n("onEofChunk"), !e.ended) {
|
|
132
|
-
if (e.decoder) {
|
|
133
|
-
var i = e.decoder.end();
|
|
134
|
-
i && i.length && (e.buffer.push(i), e.length += e.objectMode ? 1 : i.length);
|
|
135
|
-
}
|
|
136
|
-
e.ended = !0, e.sync ? y(r) : (e.needReadable = !1, e.emittedReadable || (e.emittedReadable = !0, F(r)));
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
function y(r) {
|
|
140
|
-
var e = r._readableState;
|
|
141
|
-
n("emitReadable", e.needReadable, e.emittedReadable), e.needReadable = !1, e.emittedReadable || (n("emitReadable", e.flowing), e.emittedReadable = !0, process.nextTick(F, r));
|
|
142
|
-
}
|
|
143
|
-
function F(r) {
|
|
144
|
-
var e = r._readableState;
|
|
145
|
-
n("emitReadable_", e.destroyed, e.length, e.ended), !e.destroyed && (e.length || e.ended) && (r.emit("readable"), e.emittedReadable = !1), e.needReadable = !e.flowing && !e.ended && e.length <= e.highWaterMark, D(r);
|
|
146
|
-
}
|
|
147
|
-
function T(r, e) {
|
|
148
|
-
e.readingMore || (e.readingMore = !0, process.nextTick(le, r, e));
|
|
149
|
-
}
|
|
150
|
-
function le(r, e) {
|
|
151
|
-
for (; !e.reading && !e.ended && (e.length < e.highWaterMark || e.flowing && e.length === 0); ) {
|
|
152
|
-
var i = e.length;
|
|
153
|
-
if (n("maybeReadMore read 0"), r.read(0), i === e.length)
|
|
154
|
-
break;
|
|
155
|
-
}
|
|
156
|
-
e.readingMore = !1;
|
|
157
|
-
}
|
|
158
|
-
o.prototype._read = function(r) {
|
|
159
|
-
c(this, new te("_read()"));
|
|
160
|
-
}, o.prototype.pipe = function(r, e) {
|
|
161
|
-
var i = this, t = this._readableState;
|
|
162
|
-
switch (t.pipesCount) {
|
|
163
|
-
case 0:
|
|
164
|
-
t.pipes = r;
|
|
165
|
-
break;
|
|
166
|
-
case 1:
|
|
167
|
-
t.pipes = [t.pipes, r];
|
|
168
|
-
break;
|
|
169
|
-
default:
|
|
170
|
-
t.pipes.push(r);
|
|
171
|
-
break;
|
|
172
|
-
}
|
|
173
|
-
t.pipesCount += 1, n("pipe count=%d opts=%j", t.pipesCount, e);
|
|
174
|
-
var f = (!e || e.end !== !1) && r !== process.stdout && r !== process.stderr, a = f ? u : g;
|
|
175
|
-
t.endEmitted ? process.nextTick(a) : i.once("end", a), r.on("unpipe", d);
|
|
176
|
-
function d(p, h) {
|
|
177
|
-
n("onunpipe"), p === i && h && h.hasUnpiped === !1 && (h.hasUnpiped = !0, ce());
|
|
178
|
-
}
|
|
179
|
-
function u() {
|
|
180
|
-
n("onend"), r.end();
|
|
181
|
-
}
|
|
182
|
-
var v = se(i);
|
|
183
|
-
r.on("drain", v);
|
|
184
|
-
var k = !1;
|
|
185
|
-
function ce() {
|
|
186
|
-
n("cleanup"), r.removeListener("close", j), r.removeListener("finish", x), r.removeListener("drain", v), r.removeListener("error", A), r.removeListener("unpipe", d), i.removeListener("end", u), i.removeListener("end", g), i.removeListener("data", V), k = !0, t.awaitDrain && (!r._writableState || r._writableState.needDrain) && v();
|
|
187
|
-
}
|
|
188
|
-
i.on("data", V);
|
|
189
|
-
function V(p) {
|
|
190
|
-
n("ondata");
|
|
191
|
-
var h = r.write(p);
|
|
192
|
-
n("dest.write", h), h === !1 && ((t.pipesCount === 1 && t.pipes === r || t.pipesCount > 1 && B(t.pipes, r) !== -1) && !k && (n("false write response, pause", t.awaitDrain), t.awaitDrain++), i.pause());
|
|
193
|
-
}
|
|
194
|
-
function A(p) {
|
|
195
|
-
n("onerror", p), g(), r.removeListener("error", A), W(r, "error") === 0 && c(r, p);
|
|
196
|
-
}
|
|
197
|
-
ae(r, "error", A);
|
|
198
|
-
function j() {
|
|
199
|
-
r.removeListener("finish", x), g();
|
|
200
|
-
}
|
|
201
|
-
r.once("close", j);
|
|
202
|
-
function x() {
|
|
203
|
-
n("onfinish"), r.removeListener("close", j), g();
|
|
204
|
-
}
|
|
205
|
-
r.once("finish", x);
|
|
206
|
-
function g() {
|
|
207
|
-
n("unpipe"), i.unpipe(r);
|
|
208
|
-
}
|
|
209
|
-
return r.emit("pipe", i), t.flowing || (n("pipe resume"), i.resume()), r;
|
|
210
|
-
};
|
|
211
|
-
function se(r) {
|
|
212
|
-
return function() {
|
|
213
|
-
var i = r._readableState;
|
|
214
|
-
n("pipeOnDrain", i.awaitDrain), i.awaitDrain && i.awaitDrain--, i.awaitDrain === 0 && W(r, "data") && (i.flowing = !0, D(r));
|
|
8
|
+
import { i as le } from "./index87.js";
|
|
9
|
+
import { __require as A } from "./index133.js";
|
|
10
|
+
import { __exports as se } from "./index61.js";
|
|
11
|
+
import { __exports as ae } from "./index147.js";
|
|
12
|
+
var E, D;
|
|
13
|
+
function ve() {
|
|
14
|
+
if (D) return E;
|
|
15
|
+
D = 1, E = f;
|
|
16
|
+
function g(r) {
|
|
17
|
+
var e = this;
|
|
18
|
+
this.next = null, this.entry = null, this.finish = function() {
|
|
19
|
+
re(e, r);
|
|
215
20
|
};
|
|
216
21
|
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
22
|
+
var s;
|
|
23
|
+
f.WritableState = d;
|
|
24
|
+
var B = {
|
|
25
|
+
deprecate: ne
|
|
26
|
+
}, v = fe, w = se.Buffer, m = (typeof q < "u" ? q : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
27
|
+
};
|
|
28
|
+
function x(r) {
|
|
29
|
+
return w.from(r);
|
|
30
|
+
}
|
|
31
|
+
function N(r) {
|
|
32
|
+
return w.isBuffer(r) || r instanceof m;
|
|
33
|
+
}
|
|
34
|
+
var y = oe, O = ue, C = O.getHighWaterMark, u = ae.codes, P = u.ERR_INVALID_ARG_TYPE, I = u.ERR_METHOD_NOT_IMPLEMENTED, L = u.ERR_MULTIPLE_CALLBACK, k = u.ERR_STREAM_CANNOT_PIPE, W = u.ERR_STREAM_DESTROYED, j = u.ERR_STREAM_NULL_VALUES, U = u.ERR_STREAM_WRITE_AFTER_END, F = u.ERR_UNKNOWN_ENCODING, a = y.errorOrDestroy;
|
|
35
|
+
le(f, v);
|
|
36
|
+
function H() {
|
|
37
|
+
}
|
|
38
|
+
function d(r, e, t) {
|
|
39
|
+
s = s || A(), r = r || {}, typeof t != "boolean" && (t = e instanceof s), this.objectMode = !!r.objectMode, t && (this.objectMode = this.objectMode || !!r.writableObjectMode), this.highWaterMark = C(this, r, "writableHighWaterMark", t), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
|
|
40
|
+
var i = r.decodeStrings === !1;
|
|
41
|
+
this.decodeStrings = !i, this.defaultEncoding = r.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(n) {
|
|
42
|
+
J(e, n);
|
|
43
|
+
}, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = r.emitClose !== !1, this.autoDestroy = !!r.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new g(this);
|
|
44
|
+
}
|
|
45
|
+
d.prototype.getBuffer = function() {
|
|
46
|
+
for (var e = this.bufferedRequest, t = []; e; )
|
|
47
|
+
t.push(e), e = e.next;
|
|
48
|
+
return t;
|
|
49
|
+
}, function() {
|
|
50
|
+
try {
|
|
51
|
+
Object.defineProperty(d.prototype, "buffer", {
|
|
52
|
+
get: B.deprecate(function() {
|
|
53
|
+
return this.getBuffer();
|
|
54
|
+
}, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003")
|
|
229
55
|
});
|
|
230
|
-
|
|
56
|
+
} catch {
|
|
231
57
|
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
return
|
|
240
|
-
}, o.prototype.removeAllListeners = function(r) {
|
|
241
|
-
var e = b.prototype.removeAllListeners.apply(this, arguments);
|
|
242
|
-
return (r === "readable" || r === void 0) && process.nextTick(H, this), e;
|
|
243
|
-
};
|
|
244
|
-
function H(r) {
|
|
245
|
-
var e = r._readableState;
|
|
246
|
-
e.readableListening = r.listenerCount("readable") > 0, e.resumeScheduled && !e.paused ? e.flowing = !0 : r.listenerCount("data") > 0 && r.resume();
|
|
247
|
-
}
|
|
248
|
-
function ue(r) {
|
|
249
|
-
n("readable nexttick read 0"), r.read(0);
|
|
250
|
-
}
|
|
251
|
-
o.prototype.resume = function() {
|
|
252
|
-
var r = this._readableState;
|
|
253
|
-
return r.flowing || (n("resume"), r.flowing = !r.readableListening, pe(this, r)), r.paused = !1, this;
|
|
58
|
+
}();
|
|
59
|
+
var b;
|
|
60
|
+
typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (b = Function.prototype[Symbol.hasInstance], Object.defineProperty(f, Symbol.hasInstance, {
|
|
61
|
+
value: function(e) {
|
|
62
|
+
return b.call(this, e) ? !0 : this !== f ? !1 : e && e._writableState instanceof d;
|
|
63
|
+
}
|
|
64
|
+
})) : b = function(e) {
|
|
65
|
+
return e instanceof this;
|
|
254
66
|
};
|
|
255
|
-
function
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
67
|
+
function f(r) {
|
|
68
|
+
s = s || A();
|
|
69
|
+
var e = this instanceof s;
|
|
70
|
+
if (!e && !b.call(f, this)) return new f(r);
|
|
71
|
+
this._writableState = new d(r, this, e), this.writable = !0, r && (typeof r.write == "function" && (this._write = r.write), typeof r.writev == "function" && (this._writev = r.writev), typeof r.destroy == "function" && (this._destroy = r.destroy), typeof r.final == "function" && (this._final = r.final)), v.call(this);
|
|
72
|
+
}
|
|
73
|
+
f.prototype.pipe = function() {
|
|
74
|
+
a(this, new k());
|
|
263
75
|
};
|
|
264
|
-
function
|
|
265
|
-
var
|
|
266
|
-
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
var
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
return function() {
|
|
285
|
-
return r[u].apply(r, arguments);
|
|
286
|
-
};
|
|
287
|
-
}(f));
|
|
288
|
-
for (var a = 0; a < M.length; a++)
|
|
289
|
-
r.on(M[a], this.emit.bind(this, M[a]));
|
|
290
|
-
return this._read = function(d) {
|
|
291
|
-
n("wrapped _read", d), t && (t = !1, r.resume());
|
|
292
|
-
}, this;
|
|
293
|
-
}, typeof Symbol == "function" && (o.prototype[Symbol.asyncIterator] = function() {
|
|
294
|
-
return S === void 0 && (S = Se()), S(this);
|
|
295
|
-
}), Object.defineProperty(o.prototype, "readableHighWaterMark", {
|
|
76
|
+
function G(r, e) {
|
|
77
|
+
var t = new U();
|
|
78
|
+
a(r, t), process.nextTick(e, t);
|
|
79
|
+
}
|
|
80
|
+
function K(r, e, t, i) {
|
|
81
|
+
var n;
|
|
82
|
+
return t === null ? n = new j() : typeof t != "string" && !e.objectMode && (n = new P("chunk", ["string", "Buffer"], t)), n ? (a(r, n), process.nextTick(i, n), !1) : !0;
|
|
83
|
+
}
|
|
84
|
+
f.prototype.write = function(r, e, t) {
|
|
85
|
+
var i = this._writableState, n = !1, o = !i.objectMode && N(r);
|
|
86
|
+
return o && !w.isBuffer(r) && (r = x(r)), typeof e == "function" && (t = e, e = null), o ? e = "buffer" : e || (e = i.defaultEncoding), typeof t != "function" && (t = H), i.ending ? G(this, t) : (o || K(this, i, r, t)) && (i.pendingcb++, n = Y(this, i, o, r, e, t)), n;
|
|
87
|
+
}, f.prototype.cork = function() {
|
|
88
|
+
this._writableState.corked++;
|
|
89
|
+
}, f.prototype.uncork = function() {
|
|
90
|
+
var r = this._writableState;
|
|
91
|
+
r.corked && (r.corked--, !r.writing && !r.corked && !r.bufferProcessing && r.bufferedRequest && M(this, r));
|
|
92
|
+
}, f.prototype.setDefaultEncoding = function(e) {
|
|
93
|
+
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 F(e);
|
|
94
|
+
return this._writableState.defaultEncoding = e, this;
|
|
95
|
+
}, Object.defineProperty(f.prototype, "writableBuffer", {
|
|
296
96
|
// making it explicit this property is not enumerable
|
|
297
97
|
// because otherwise some prototype manipulation in
|
|
298
98
|
// userland will fail
|
|
299
99
|
enumerable: !1,
|
|
300
100
|
get: function() {
|
|
301
|
-
return this.
|
|
101
|
+
return this._writableState && this._writableState.getBuffer();
|
|
302
102
|
}
|
|
303
|
-
})
|
|
103
|
+
});
|
|
104
|
+
function V(r, e, t) {
|
|
105
|
+
return !r.objectMode && r.decodeStrings !== !1 && typeof e == "string" && (e = w.from(e, t)), e;
|
|
106
|
+
}
|
|
107
|
+
Object.defineProperty(f.prototype, "writableHighWaterMark", {
|
|
304
108
|
// making it explicit this property is not enumerable
|
|
305
109
|
// because otherwise some prototype manipulation in
|
|
306
110
|
// userland will fail
|
|
307
111
|
enumerable: !1,
|
|
308
112
|
get: function() {
|
|
309
|
-
return this.
|
|
113
|
+
return this._writableState.highWaterMark;
|
|
310
114
|
}
|
|
311
|
-
})
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
115
|
+
});
|
|
116
|
+
function Y(r, e, t, i, n, o) {
|
|
117
|
+
if (!t) {
|
|
118
|
+
var l = V(e, i, n);
|
|
119
|
+
i !== l && (t = !0, n = "buffer", i = l);
|
|
120
|
+
}
|
|
121
|
+
var h = e.objectMode ? 1 : i.length;
|
|
122
|
+
e.length += h;
|
|
123
|
+
var _ = e.length < e.highWaterMark;
|
|
124
|
+
if (_ || (e.needDrain = !0), e.writing || e.corked) {
|
|
125
|
+
var p = e.lastBufferedRequest;
|
|
126
|
+
e.lastBufferedRequest = {
|
|
127
|
+
chunk: i,
|
|
128
|
+
encoding: n,
|
|
129
|
+
isBuf: t,
|
|
130
|
+
callback: o,
|
|
131
|
+
next: null
|
|
132
|
+
}, p ? p.next = e.lastBufferedRequest : e.bufferedRequest = e.lastBufferedRequest, e.bufferedRequestCount += 1;
|
|
133
|
+
} else
|
|
134
|
+
R(r, e, !1, h, i, n, o);
|
|
135
|
+
return _;
|
|
136
|
+
}
|
|
137
|
+
function R(r, e, t, i, n, o, l) {
|
|
138
|
+
e.writelen = i, e.writecb = l, e.writing = !0, e.sync = !0, e.destroyed ? e.onwrite(new W("write")) : t ? r._writev(n, e.onwrite) : r._write(n, o, e.onwrite), e.sync = !1;
|
|
139
|
+
}
|
|
140
|
+
function $(r, e, t, i, n) {
|
|
141
|
+
--e.pendingcb, t ? (process.nextTick(n, i), process.nextTick(c, r, e), r._writableState.errorEmitted = !0, a(r, i)) : (n(i), r._writableState.errorEmitted = !0, a(r, i), c(r, e));
|
|
142
|
+
}
|
|
143
|
+
function z(r) {
|
|
144
|
+
r.writing = !1, r.writecb = null, r.length -= r.writelen, r.writelen = 0;
|
|
145
|
+
}
|
|
146
|
+
function J(r, e) {
|
|
147
|
+
var t = r._writableState, i = t.sync, n = t.writecb;
|
|
148
|
+
if (typeof n != "function") throw new L();
|
|
149
|
+
if (z(t), e) $(r, t, i, e, n);
|
|
150
|
+
else {
|
|
151
|
+
var o = T(t) || r.destroyed;
|
|
152
|
+
!o && !t.corked && !t.bufferProcessing && t.bufferedRequest && M(r, t), i ? process.nextTick(S, r, t, o, n) : S(r, t, o, n);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
function S(r, e, t, i) {
|
|
156
|
+
t || Q(r, e), e.pendingcb--, i(), c(r, e);
|
|
157
|
+
}
|
|
158
|
+
function Q(r, e) {
|
|
159
|
+
e.length === 0 && e.needDrain && (e.needDrain = !1, r.emit("drain"));
|
|
160
|
+
}
|
|
161
|
+
function M(r, e) {
|
|
162
|
+
e.bufferProcessing = !0;
|
|
163
|
+
var t = e.bufferedRequest;
|
|
164
|
+
if (r._writev && t && t.next) {
|
|
165
|
+
var i = e.bufferedRequestCount, n = new Array(i), o = e.corkedRequestsFree;
|
|
166
|
+
o.entry = t;
|
|
167
|
+
for (var l = 0, h = !0; t; )
|
|
168
|
+
n[l] = t, t.isBuf || (h = !1), t = t.next, l += 1;
|
|
169
|
+
n.allBuffers = h, R(r, e, !0, e.length, n, "", o.finish), e.pendingcb++, e.lastBufferedRequest = null, o.next ? (e.corkedRequestsFree = o.next, o.next = null) : e.corkedRequestsFree = new g(e), e.bufferedRequestCount = 0;
|
|
170
|
+
} else {
|
|
171
|
+
for (; t; ) {
|
|
172
|
+
var _ = t.chunk, p = t.encoding, te = t.callback, ie = e.objectMode ? 1 : _.length;
|
|
173
|
+
if (R(r, e, !1, ie, _, p, te), t = t.next, e.bufferedRequestCount--, e.writing)
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
t === null && (e.lastBufferedRequest = null);
|
|
321
177
|
}
|
|
322
|
-
|
|
178
|
+
e.bufferedRequest = t, e.bufferProcessing = !1;
|
|
179
|
+
}
|
|
180
|
+
f.prototype._write = function(r, e, t) {
|
|
181
|
+
t(new I("_write()"));
|
|
182
|
+
}, f.prototype._writev = null, f.prototype.end = function(r, e, t) {
|
|
183
|
+
var i = this._writableState;
|
|
184
|
+
return typeof r == "function" ? (t = r, r = null, e = null) : typeof e == "function" && (t = e, e = null), r != null && this.write(r, e), i.corked && (i.corked = 1, this.uncork()), i.ending || ee(this, i, t), this;
|
|
185
|
+
}, Object.defineProperty(f.prototype, "writableLength", {
|
|
323
186
|
// making it explicit this property is not enumerable
|
|
324
187
|
// because otherwise some prototype manipulation in
|
|
325
188
|
// userland will fail
|
|
326
189
|
enumerable: !1,
|
|
327
190
|
get: function() {
|
|
328
|
-
return this.
|
|
191
|
+
return this._writableState.length;
|
|
329
192
|
}
|
|
330
193
|
});
|
|
331
|
-
function
|
|
332
|
-
|
|
333
|
-
var i;
|
|
334
|
-
return e.objectMode ? i = e.buffer.shift() : !r || r >= e.length ? (e.decoder ? i = e.buffer.join("") : e.buffer.length === 1 ? i = e.buffer.first() : i = e.buffer.concat(e.length), e.buffer.clear()) : i = e.buffer.consume(r, e.decoder), i;
|
|
194
|
+
function T(r) {
|
|
195
|
+
return r.ending && r.length === 0 && r.bufferedRequest === null && !r.finished && !r.writing;
|
|
335
196
|
}
|
|
336
|
-
function
|
|
337
|
-
|
|
338
|
-
|
|
197
|
+
function X(r, e) {
|
|
198
|
+
r._final(function(t) {
|
|
199
|
+
e.pendingcb--, t && a(r, t), e.prefinished = !0, r.emit("prefinish"), c(r, e);
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
function Z(r, e) {
|
|
203
|
+
!e.prefinished && !e.finalCalled && (typeof r._final == "function" && !e.destroyed ? (e.pendingcb++, e.finalCalled = !0, process.nextTick(X, r, e)) : (e.prefinished = !0, r.emit("prefinish")));
|
|
339
204
|
}
|
|
340
|
-
function
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
205
|
+
function c(r, e) {
|
|
206
|
+
var t = T(e);
|
|
207
|
+
if (t && (Z(r, e), e.pendingcb === 0 && (e.finished = !0, r.emit("finish"), e.autoDestroy))) {
|
|
208
|
+
var i = r._readableState;
|
|
209
|
+
(!i || i.autoDestroy && i.endEmitted) && r.destroy();
|
|
344
210
|
}
|
|
211
|
+
return t;
|
|
345
212
|
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
});
|
|
349
|
-
function B(r, e) {
|
|
350
|
-
for (var i = 0, t = r.length; i < t; i++)
|
|
351
|
-
if (r[i] === e) return i;
|
|
352
|
-
return -1;
|
|
213
|
+
function ee(r, e, t) {
|
|
214
|
+
e.ending = !0, c(r, e), t && (e.finished ? process.nextTick(t) : r.once("finish", t)), e.ended = !0, r.writable = !1;
|
|
353
215
|
}
|
|
354
|
-
|
|
216
|
+
function re(r, e, t) {
|
|
217
|
+
var i = r.entry;
|
|
218
|
+
for (r.entry = null; i; ) {
|
|
219
|
+
var n = i.callback;
|
|
220
|
+
e.pendingcb--, n(t), i = i.next;
|
|
221
|
+
}
|
|
222
|
+
e.corkedRequestsFree.next = r;
|
|
223
|
+
}
|
|
224
|
+
return Object.defineProperty(f.prototype, "destroyed", {
|
|
225
|
+
// making it explicit this property is not enumerable
|
|
226
|
+
// because otherwise some prototype manipulation in
|
|
227
|
+
// userland will fail
|
|
228
|
+
enumerable: !1,
|
|
229
|
+
get: function() {
|
|
230
|
+
return this._writableState === void 0 ? !1 : this._writableState.destroyed;
|
|
231
|
+
},
|
|
232
|
+
set: function(e) {
|
|
233
|
+
this._writableState && (this._writableState.destroyed = e);
|
|
234
|
+
}
|
|
235
|
+
}), f.prototype.destroy = y.destroy, f.prototype._undestroy = y.undestroy, f.prototype._destroy = function(r, e) {
|
|
236
|
+
e(r);
|
|
237
|
+
}, E;
|
|
355
238
|
}
|
|
356
239
|
export {
|
|
357
|
-
|
|
240
|
+
ve as __require
|
|
358
241
|
};
|
package/dist/index133.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index131.cjs"),c=require("./index132.cjs"),p=require("./index87.cjs");var l,u;function w(){if(u)return l;u=1;var o=Object.keys||function(e){var r=[];for(var _ in e)r.push(_);return r};l=t;var s=h.__require(),a=c.__require();p.inherits_browserExports(t,s);for(var f=o(a.prototype),i=0;i<f.length;i++){var n=f[i];t.prototype[n]||(t.prototype[n]=a.prototype[n])}function t(e){if(!(this instanceof t))return new t(e);s.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",d)))}Object.defineProperty(t.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(t.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(t.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function d(){this._writableState.ended||process.nextTick(b,this)}function b(e){e.end()}return Object.defineProperty(t.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(r){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=r,this._writableState.destroyed=r)}}),l}exports.__require=w;
|