@skuba-lib/api 2.0.1 → 2.0.2
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/buildkite/package.json +1 -1
- package/git/package.json +1 -1
- package/github/package.json +1 -1
- package/lib/buildkite/index.cjs +19 -4
- package/lib/buildkite/index.d.cts +8 -2
- package/lib/buildkite/index.d.mts +8 -2
- package/lib/buildkite/index.mjs +11 -3
- package/lib/{chunk-CwYMPI_t.mjs → chunk-DoQ1iNfF.mjs} +3 -3
- package/lib/{error-DwxMLko3.cjs → error-BEFwIvK2.cjs} +10 -10
- package/lib/{error-DnkB3E6d.mjs → error-DIBTmfX2.mjs} +7 -7
- package/lib/{exec-5nrAPCdO.mjs → exec-Bcan8fLb.mjs} +268 -268
- package/lib/{exec-BYbHipiC.cjs → exec-CVlcoV9u.cjs} +261 -261
- package/lib/git/index.cjs +38 -13
- package/lib/git/index.d.cts +8 -2
- package/lib/git/index.d.mts +8 -2
- package/lib/git/index.mjs +20 -2
- package/lib/github/index.cjs +33 -11
- package/lib/github/index.d.cts +8 -2
- package/lib/github/index.d.mts +8 -2
- package/lib/github/index.mjs +18 -3
- package/lib/index.cjs +13 -9
- package/lib/index.d.cts +4 -4
- package/lib/index.d.mts +5 -4
- package/lib/index.mjs +8 -5
- package/lib/{git-B2_B1F3q.cjs → isFileGitIgnored-86LsBKuU.cjs} +3 -26
- package/lib/{index-Dl0KmK1O.d.cts → isFileGitIgnored-CwPJ0v2p.d.mts} +1 -4
- package/lib/{git-QhXK6ooP.mjs → isFileGitIgnored-Dv4xauFf.mjs} +2 -20
- package/lib/{index-BqiB0-6w.d.mts → isFileGitIgnored-E4x_jWjl.d.cts} +1 -4
- package/lib/{index-BOr919w6.d.cts → md-BWCfQS9I.d.cts} +1 -4
- package/lib/{index-CW8ZTeZU.d.mts → md-BZewxkUW.d.mts} +1 -4
- package/lib/{buildkite-DQj9dGPb.mjs → md-CvXERddQ.mjs} +3 -11
- package/lib/{buildkite-Oza5ZHmO.cjs → md-fbyvRhpo.cjs} +2 -15
- package/lib/net/index.cjs +15 -3
- package/lib/net/index.d.cts +8 -2
- package/lib/net/index.d.mts +8 -2
- package/lib/net/index.mjs +8 -3
- package/lib/{index-4aCFuPgQ.d.mts → push-BTAssEjq.d.cts} +3 -6
- package/lib/{index-DfhDLrNc.d.cts → push-Bv-gtPfj.d.mts} +3 -6
- package/lib/{github-Ckgo3Sm-.cjs → push-DV2iCZE-.cjs} +14 -34
- package/lib/{github-Cm4qHDkg.mjs → push-hzuiuMpZ.mjs} +3 -18
- package/lib/{net-BELapTCw.mjs → waitFor-D1MlNL9G.mjs} +2 -7
- package/lib/{index-B8rqBqBj.d.cts → waitFor-DGgQAaUj.d.mts} +1 -4
- package/lib/{index-CZi-UcD_.d.mts → waitFor-LnjEb972.d.cts} +1 -4
- package/lib/{net-CQMRE2g5.cjs → waitFor-PklD-Jqp.cjs} +2 -12
- package/net/package.json +1 -1
- package/package.json +12 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as __toESM, i as __require, r as __reExport, t as __commonJSMin } from "./chunk-
|
|
2
|
-
import { t as isErrorWithCode } from "./error-
|
|
1
|
+
import { a as __toESM, i as __require, r as __reExport, t as __commonJSMin } from "./chunk-DoQ1iNfF.mjs";
|
|
2
|
+
import { t as isErrorWithCode } from "./error-DIBTmfX2.mjs";
|
|
3
3
|
import stream from "stream";
|
|
4
4
|
import util from "util";
|
|
5
5
|
|
|
@@ -376,10 +376,10 @@ var require_errorContext = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
376
376
|
var require_Subscriber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
377
377
|
var __extends = exports && exports.__extends || (function() {
|
|
378
378
|
var extendStatics = function(d, b) {
|
|
379
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
380
|
-
d
|
|
381
|
-
} || function(d
|
|
382
|
-
for (var p in b
|
|
379
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
380
|
+
d.__proto__ = b;
|
|
381
|
+
} || function(d, b) {
|
|
382
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
383
383
|
};
|
|
384
384
|
return extendStatics(d, b);
|
|
385
385
|
};
|
|
@@ -723,10 +723,10 @@ var require_lift = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
723
723
|
var require_OperatorSubscriber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
724
724
|
var __extends = exports && exports.__extends || (function() {
|
|
725
725
|
var extendStatics = function(d, b) {
|
|
726
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
727
|
-
d
|
|
728
|
-
} || function(d
|
|
729
|
-
for (var p in b
|
|
726
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
727
|
+
d.__proto__ = b;
|
|
728
|
+
} || function(d, b) {
|
|
729
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
730
730
|
};
|
|
731
731
|
return extendStatics(d, b);
|
|
732
732
|
};
|
|
@@ -762,8 +762,8 @@ var require_OperatorSubscriber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
762
762
|
_this._error = onError ? function(err) {
|
|
763
763
|
try {
|
|
764
764
|
onError(err);
|
|
765
|
-
} catch (err
|
|
766
|
-
destination.error(err
|
|
765
|
+
} catch (err) {
|
|
766
|
+
destination.error(err);
|
|
767
767
|
} finally {
|
|
768
768
|
this.unsubscribe();
|
|
769
769
|
}
|
|
@@ -826,10 +826,10 @@ var require_refCount = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
826
826
|
var require_ConnectableObservable = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
827
827
|
var __extends = exports && exports.__extends || (function() {
|
|
828
828
|
var extendStatics = function(d, b) {
|
|
829
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
830
|
-
d
|
|
831
|
-
} || function(d
|
|
832
|
-
for (var p in b
|
|
829
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
830
|
+
d.__proto__ = b;
|
|
831
|
+
} || function(d, b) {
|
|
832
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
833
833
|
};
|
|
834
834
|
return extendStatics(d, b);
|
|
835
835
|
};
|
|
@@ -1035,10 +1035,10 @@ var require_ObjectUnsubscribedError = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
1035
1035
|
var require_Subject = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1036
1036
|
var __extends = exports && exports.__extends || (function() {
|
|
1037
1037
|
var extendStatics = function(d, b) {
|
|
1038
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1039
|
-
d
|
|
1040
|
-
} || function(d
|
|
1041
|
-
for (var p in b
|
|
1038
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1039
|
+
d.__proto__ = b;
|
|
1040
|
+
} || function(d, b) {
|
|
1041
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1042
1042
|
};
|
|
1043
1043
|
return extendStatics(d, b);
|
|
1044
1044
|
};
|
|
@@ -1216,10 +1216,10 @@ var require_Subject = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1216
1216
|
var require_BehaviorSubject = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1217
1217
|
var __extends = exports && exports.__extends || (function() {
|
|
1218
1218
|
var extendStatics = function(d, b) {
|
|
1219
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1220
|
-
d
|
|
1221
|
-
} || function(d
|
|
1222
|
-
for (var p in b
|
|
1219
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1220
|
+
d.__proto__ = b;
|
|
1221
|
+
} || function(d, b) {
|
|
1222
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1223
1223
|
};
|
|
1224
1224
|
return extendStatics(d, b);
|
|
1225
1225
|
};
|
|
@@ -1285,10 +1285,10 @@ var require_dateTimestampProvider = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
1285
1285
|
var require_ReplaySubject = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1286
1286
|
var __extends = exports && exports.__extends || (function() {
|
|
1287
1287
|
var extendStatics = function(d, b) {
|
|
1288
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1289
|
-
d
|
|
1290
|
-
} || function(d
|
|
1291
|
-
for (var p in b
|
|
1288
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1289
|
+
d.__proto__ = b;
|
|
1290
|
+
} || function(d, b) {
|
|
1291
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1292
1292
|
};
|
|
1293
1293
|
return extendStatics(d, b);
|
|
1294
1294
|
};
|
|
@@ -1362,10 +1362,10 @@ var require_ReplaySubject = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1362
1362
|
var require_AsyncSubject = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1363
1363
|
var __extends = exports && exports.__extends || (function() {
|
|
1364
1364
|
var extendStatics = function(d, b) {
|
|
1365
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1366
|
-
d
|
|
1367
|
-
} || function(d
|
|
1368
|
-
for (var p in b
|
|
1365
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1366
|
+
d.__proto__ = b;
|
|
1367
|
+
} || function(d, b) {
|
|
1368
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1369
1369
|
};
|
|
1370
1370
|
return extendStatics(d, b);
|
|
1371
1371
|
};
|
|
@@ -1421,10 +1421,10 @@ var require_AsyncSubject = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1421
1421
|
var require_Action = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1422
1422
|
var __extends = exports && exports.__extends || (function() {
|
|
1423
1423
|
var extendStatics = function(d, b) {
|
|
1424
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1425
|
-
d
|
|
1426
|
-
} || function(d
|
|
1427
|
-
for (var p in b
|
|
1424
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1425
|
+
d.__proto__ = b;
|
|
1426
|
+
} || function(d, b) {
|
|
1427
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1428
1428
|
};
|
|
1429
1429
|
return extendStatics(d, b);
|
|
1430
1430
|
};
|
|
@@ -1500,10 +1500,10 @@ var require_intervalProvider = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1500
1500
|
var require_AsyncAction = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1501
1501
|
var __extends = exports && exports.__extends || (function() {
|
|
1502
1502
|
var extendStatics = function(d, b) {
|
|
1503
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1504
|
-
d
|
|
1505
|
-
} || function(d
|
|
1506
|
-
for (var p in b
|
|
1503
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1504
|
+
d.__proto__ = b;
|
|
1505
|
+
} || function(d, b) {
|
|
1506
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1507
1507
|
};
|
|
1508
1508
|
return extendStatics(d, b);
|
|
1509
1509
|
};
|
|
@@ -1672,10 +1672,10 @@ var require_immediateProvider = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1672
1672
|
var require_AsapAction = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1673
1673
|
var __extends = exports && exports.__extends || (function() {
|
|
1674
1674
|
var extendStatics = function(d, b) {
|
|
1675
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1676
|
-
d
|
|
1677
|
-
} || function(d
|
|
1678
|
-
for (var p in b
|
|
1675
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1676
|
+
d.__proto__ = b;
|
|
1677
|
+
} || function(d, b) {
|
|
1678
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1679
1679
|
};
|
|
1680
1680
|
return extendStatics(d, b);
|
|
1681
1681
|
};
|
|
@@ -1748,10 +1748,10 @@ var require_Scheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1748
1748
|
var require_AsyncScheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1749
1749
|
var __extends = exports && exports.__extends || (function() {
|
|
1750
1750
|
var extendStatics = function(d, b) {
|
|
1751
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1752
|
-
d
|
|
1753
|
-
} || function(d
|
|
1754
|
-
for (var p in b
|
|
1751
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1752
|
+
d.__proto__ = b;
|
|
1753
|
+
} || function(d, b) {
|
|
1754
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1755
1755
|
};
|
|
1756
1756
|
return extendStatics(d, b);
|
|
1757
1757
|
};
|
|
@@ -1803,10 +1803,10 @@ var require_AsyncScheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1803
1803
|
var require_AsapScheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1804
1804
|
var __extends = exports && exports.__extends || (function() {
|
|
1805
1805
|
var extendStatics = function(d, b) {
|
|
1806
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1807
|
-
d
|
|
1808
|
-
} || function(d
|
|
1809
|
-
for (var p in b
|
|
1806
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1807
|
+
d.__proto__ = b;
|
|
1808
|
+
} || function(d, b) {
|
|
1809
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1810
1810
|
};
|
|
1811
1811
|
return extendStatics(d, b);
|
|
1812
1812
|
};
|
|
@@ -1874,10 +1874,10 @@ var require_async = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1874
1874
|
var require_QueueAction = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1875
1875
|
var __extends = exports && exports.__extends || (function() {
|
|
1876
1876
|
var extendStatics = function(d, b) {
|
|
1877
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1878
|
-
d
|
|
1879
|
-
} || function(d
|
|
1880
|
-
for (var p in b
|
|
1877
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1878
|
+
d.__proto__ = b;
|
|
1879
|
+
} || function(d, b) {
|
|
1880
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1881
1881
|
};
|
|
1882
1882
|
return extendStatics(d, b);
|
|
1883
1883
|
};
|
|
@@ -1927,10 +1927,10 @@ var require_QueueAction = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1927
1927
|
var require_QueueScheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1928
1928
|
var __extends = exports && exports.__extends || (function() {
|
|
1929
1929
|
var extendStatics = function(d, b) {
|
|
1930
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1931
|
-
d
|
|
1932
|
-
} || function(d
|
|
1933
|
-
for (var p in b
|
|
1930
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1931
|
+
d.__proto__ = b;
|
|
1932
|
+
} || function(d, b) {
|
|
1933
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1934
1934
|
};
|
|
1935
1935
|
return extendStatics(d, b);
|
|
1936
1936
|
};
|
|
@@ -1971,10 +1971,10 @@ var require_queue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1971
1971
|
var require_AnimationFrameAction = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1972
1972
|
var __extends = exports && exports.__extends || (function() {
|
|
1973
1973
|
var extendStatics = function(d, b) {
|
|
1974
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1975
|
-
d
|
|
1976
|
-
} || function(d
|
|
1977
|
-
for (var p in b
|
|
1974
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1975
|
+
d.__proto__ = b;
|
|
1976
|
+
} || function(d, b) {
|
|
1977
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1978
1978
|
};
|
|
1979
1979
|
return extendStatics(d, b);
|
|
1980
1980
|
};
|
|
@@ -2027,10 +2027,10 @@ var require_AnimationFrameAction = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2027
2027
|
var require_AnimationFrameScheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2028
2028
|
var __extends = exports && exports.__extends || (function() {
|
|
2029
2029
|
var extendStatics = function(d, b) {
|
|
2030
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
2031
|
-
d
|
|
2032
|
-
} || function(d
|
|
2033
|
-
for (var p in b
|
|
2030
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
2031
|
+
d.__proto__ = b;
|
|
2032
|
+
} || function(d, b) {
|
|
2033
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
2034
2034
|
};
|
|
2035
2035
|
return extendStatics(d, b);
|
|
2036
2036
|
};
|
|
@@ -2091,10 +2091,10 @@ var require_animationFrame = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2091
2091
|
var require_VirtualTimeScheduler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2092
2092
|
var __extends = exports && exports.__extends || (function() {
|
|
2093
2093
|
var extendStatics = function(d, b) {
|
|
2094
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
2095
|
-
d
|
|
2096
|
-
} || function(d
|
|
2097
|
-
for (var p in b
|
|
2094
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
2095
|
+
d.__proto__ = b;
|
|
2096
|
+
} || function(d, b) {
|
|
2097
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
2098
2098
|
};
|
|
2099
2099
|
return extendStatics(d, b);
|
|
2100
2100
|
};
|
|
@@ -2634,9 +2634,9 @@ var require_innerFrom = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2634
2634
|
};
|
|
2635
2635
|
}
|
|
2636
2636
|
function settle(resolve, reject, d, v) {
|
|
2637
|
-
Promise.resolve(v).then(function(v
|
|
2637
|
+
Promise.resolve(v).then(function(v) {
|
|
2638
2638
|
resolve({
|
|
2639
|
-
value: v
|
|
2639
|
+
value: v,
|
|
2640
2640
|
done: d
|
|
2641
2641
|
});
|
|
2642
2642
|
}, reject);
|
|
@@ -3443,7 +3443,7 @@ var require_bindCallbackInternals = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
3443
3443
|
var isComplete_1 = false;
|
|
3444
3444
|
callbackFunc.apply(_this, __spreadArray(__spreadArray([], __read(args)), [function() {
|
|
3445
3445
|
var results = [];
|
|
3446
|
-
for (var _i
|
|
3446
|
+
for (var _i = 0; _i < arguments.length; _i++) results[_i] = arguments[_i];
|
|
3447
3447
|
if (isNodeStyle) {
|
|
3448
3448
|
var err = results.shift();
|
|
3449
3449
|
if (err != null) {
|
|
@@ -3572,12 +3572,12 @@ var require_combineLatest$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3572
3572
|
var values = new Array(length);
|
|
3573
3573
|
var active = length;
|
|
3574
3574
|
var remainingFirstValues = length;
|
|
3575
|
-
var _loop_1 = function(i
|
|
3575
|
+
var _loop_1 = function(i) {
|
|
3576
3576
|
maybeSchedule(scheduler, function() {
|
|
3577
|
-
var source = from_1.from(observables[i
|
|
3577
|
+
var source = from_1.from(observables[i], scheduler);
|
|
3578
3578
|
var hasFirstValue = false;
|
|
3579
3579
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
3580
|
-
values[i
|
|
3580
|
+
values[i] = value;
|
|
3581
3581
|
if (!hasFirstValue) {
|
|
3582
3582
|
hasFirstValue = true;
|
|
3583
3583
|
remainingFirstValues--;
|
|
@@ -3802,14 +3802,14 @@ var require_forkJoin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3802
3802
|
var values = new Array(length);
|
|
3803
3803
|
var remainingCompletions = length;
|
|
3804
3804
|
var remainingEmissions = length;
|
|
3805
|
-
var _loop_1 = function(sourceIndex
|
|
3805
|
+
var _loop_1 = function(sourceIndex) {
|
|
3806
3806
|
var hasValue = false;
|
|
3807
|
-
innerFrom_1.innerFrom(sources[sourceIndex
|
|
3807
|
+
innerFrom_1.innerFrom(sources[sourceIndex]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
3808
3808
|
if (!hasValue) {
|
|
3809
3809
|
hasValue = true;
|
|
3810
3810
|
remainingEmissions--;
|
|
3811
3811
|
}
|
|
3812
|
-
values[sourceIndex
|
|
3812
|
+
values[sourceIndex] = value;
|
|
3813
3813
|
}, function() {
|
|
3814
3814
|
return remainingCompletions--;
|
|
3815
3815
|
}, void 0, function() {
|
|
@@ -4037,17 +4037,17 @@ var require_generate = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4037
4037
|
}
|
|
4038
4038
|
function gen() {
|
|
4039
4039
|
var state;
|
|
4040
|
-
return __generator(this, function(_a
|
|
4041
|
-
switch (_a
|
|
4040
|
+
return __generator(this, function(_a) {
|
|
4041
|
+
switch (_a.label) {
|
|
4042
4042
|
case 0:
|
|
4043
4043
|
state = initialState;
|
|
4044
|
-
_a
|
|
4044
|
+
_a.label = 1;
|
|
4045
4045
|
case 1:
|
|
4046
4046
|
if (!(!condition || condition(state))) return [3, 4];
|
|
4047
4047
|
return [4, resultSelector(state)];
|
|
4048
4048
|
case 2:
|
|
4049
|
-
_a
|
|
4050
|
-
_a
|
|
4049
|
+
_a.sent();
|
|
4050
|
+
_a.label = 3;
|
|
4051
4051
|
case 3:
|
|
4052
4052
|
state = iterate(state);
|
|
4053
4053
|
return [3, 1];
|
|
@@ -4282,10 +4282,10 @@ var require_race$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4282
4282
|
function raceInit(sources) {
|
|
4283
4283
|
return function(subscriber) {
|
|
4284
4284
|
var subscriptions = [];
|
|
4285
|
-
var _loop_1 = function(i
|
|
4286
|
-
subscriptions.push(innerFrom_1.innerFrom(sources[i
|
|
4285
|
+
var _loop_1 = function(i) {
|
|
4286
|
+
subscriptions.push(innerFrom_1.innerFrom(sources[i]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
4287
4287
|
if (subscriptions) {
|
|
4288
|
-
for (var s = 0; s < subscriptions.length; s++) s !== i
|
|
4288
|
+
for (var s = 0; s < subscriptions.length; s++) s !== i && subscriptions[s].unsubscribe();
|
|
4289
4289
|
subscriptions = null;
|
|
4290
4290
|
}
|
|
4291
4291
|
subscriber.next(value);
|
|
@@ -4396,9 +4396,9 @@ var require_zip$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4396
4396
|
subscriber.add(function() {
|
|
4397
4397
|
buffers = completed = null;
|
|
4398
4398
|
});
|
|
4399
|
-
var _loop_1 = function(sourceIndex
|
|
4400
|
-
innerFrom_1.innerFrom(sources[sourceIndex
|
|
4401
|
-
buffers[sourceIndex
|
|
4399
|
+
var _loop_1 = function(sourceIndex) {
|
|
4400
|
+
innerFrom_1.innerFrom(sources[sourceIndex]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
4401
|
+
buffers[sourceIndex].push(value);
|
|
4402
4402
|
if (buffers.every(function(buffer) {
|
|
4403
4403
|
return buffer.length;
|
|
4404
4404
|
})) {
|
|
@@ -4411,8 +4411,8 @@ var require_zip$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4411
4411
|
})) subscriber.complete();
|
|
4412
4412
|
}
|
|
4413
4413
|
}, function() {
|
|
4414
|
-
completed[sourceIndex
|
|
4415
|
-
!buffers[sourceIndex
|
|
4414
|
+
completed[sourceIndex] = true;
|
|
4415
|
+
!buffers[sourceIndex].length && subscriber.complete();
|
|
4416
4416
|
}));
|
|
4417
4417
|
};
|
|
4418
4418
|
for (var sourceIndex = 0; !subscriber.closed && sourceIndex < sources.length; sourceIndex++) _loop_1(sourceIndex);
|
|
@@ -4642,7 +4642,7 @@ var require_bufferTime = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4642
4642
|
return lift_1.operate(function(source, subscriber) {
|
|
4643
4643
|
var bufferRecords = [];
|
|
4644
4644
|
var restartOnEmit = false;
|
|
4645
|
-
var emit
|
|
4645
|
+
var emit = function(record) {
|
|
4646
4646
|
var buffer = record.buffer;
|
|
4647
4647
|
record.subs.unsubscribe();
|
|
4648
4648
|
arrRemove_1.arrRemove(bufferRecords, record);
|
|
@@ -4659,7 +4659,7 @@ var require_bufferTime = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4659
4659
|
};
|
|
4660
4660
|
bufferRecords.push(record_1);
|
|
4661
4661
|
executeSchedule_1.executeSchedule(subs, scheduler, function() {
|
|
4662
|
-
return emit
|
|
4662
|
+
return emit(record_1);
|
|
4663
4663
|
}, bufferTimeSpan);
|
|
4664
4664
|
}
|
|
4665
4665
|
};
|
|
@@ -4667,20 +4667,20 @@ var require_bufferTime = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4667
4667
|
else restartOnEmit = true;
|
|
4668
4668
|
startBuffer();
|
|
4669
4669
|
var bufferTimeSubscriber = OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
4670
|
-
var e_1, _a
|
|
4670
|
+
var e_1, _a;
|
|
4671
4671
|
var recordsCopy = bufferRecords.slice();
|
|
4672
4672
|
try {
|
|
4673
4673
|
for (var recordsCopy_1 = __values(recordsCopy), recordsCopy_1_1 = recordsCopy_1.next(); !recordsCopy_1_1.done; recordsCopy_1_1 = recordsCopy_1.next()) {
|
|
4674
4674
|
var record = recordsCopy_1_1.value;
|
|
4675
4675
|
var buffer = record.buffer;
|
|
4676
4676
|
buffer.push(value);
|
|
4677
|
-
maxBufferSize <= buffer.length && emit
|
|
4677
|
+
maxBufferSize <= buffer.length && emit(record);
|
|
4678
4678
|
}
|
|
4679
4679
|
} catch (e_1_1) {
|
|
4680
4680
|
e_1 = { error: e_1_1 };
|
|
4681
4681
|
} finally {
|
|
4682
4682
|
try {
|
|
4683
|
-
if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a
|
|
4683
|
+
if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a = recordsCopy_1.return)) _a.call(recordsCopy_1);
|
|
4684
4684
|
} finally {
|
|
4685
4685
|
if (e_1) throw e_1.error;
|
|
4686
4686
|
}
|
|
@@ -5168,7 +5168,7 @@ var require_debounce = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5168
5168
|
var hasValue = false;
|
|
5169
5169
|
var lastValue = null;
|
|
5170
5170
|
var durationSubscriber = null;
|
|
5171
|
-
var emit
|
|
5171
|
+
var emit = function() {
|
|
5172
5172
|
durationSubscriber === null || durationSubscriber === void 0 || durationSubscriber.unsubscribe();
|
|
5173
5173
|
durationSubscriber = null;
|
|
5174
5174
|
if (hasValue) {
|
|
@@ -5182,10 +5182,10 @@ var require_debounce = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5182
5182
|
durationSubscriber === null || durationSubscriber === void 0 || durationSubscriber.unsubscribe();
|
|
5183
5183
|
hasValue = true;
|
|
5184
5184
|
lastValue = value;
|
|
5185
|
-
durationSubscriber = OperatorSubscriber_1.createOperatorSubscriber(subscriber, emit
|
|
5185
|
+
durationSubscriber = OperatorSubscriber_1.createOperatorSubscriber(subscriber, emit, noop_1.noop);
|
|
5186
5186
|
innerFrom_1.innerFrom(durationSelector(value)).subscribe(durationSubscriber);
|
|
5187
5187
|
}, function() {
|
|
5188
|
-
emit
|
|
5188
|
+
emit();
|
|
5189
5189
|
subscriber.complete();
|
|
5190
5190
|
}, void 0, function() {
|
|
5191
5191
|
lastValue = durationSubscriber = null;
|
|
@@ -5209,7 +5209,7 @@ var require_debounceTime = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5209
5209
|
var activeTask = null;
|
|
5210
5210
|
var lastValue = null;
|
|
5211
5211
|
var lastTime = null;
|
|
5212
|
-
var emit
|
|
5212
|
+
var emit = function() {
|
|
5213
5213
|
if (activeTask) {
|
|
5214
5214
|
activeTask.unsubscribe();
|
|
5215
5215
|
activeTask = null;
|
|
@@ -5226,7 +5226,7 @@ var require_debounceTime = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5226
5226
|
subscriber.add(activeTask);
|
|
5227
5227
|
return;
|
|
5228
5228
|
}
|
|
5229
|
-
emit
|
|
5229
|
+
emit();
|
|
5230
5230
|
}
|
|
5231
5231
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
5232
5232
|
lastValue = value;
|
|
@@ -5236,7 +5236,7 @@ var require_debounceTime = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5236
5236
|
subscriber.add(activeTask);
|
|
5237
5237
|
}
|
|
5238
5238
|
}, function() {
|
|
5239
|
-
emit
|
|
5239
|
+
emit();
|
|
5240
5240
|
subscriber.complete();
|
|
5241
5241
|
}, void 0, function() {
|
|
5242
5242
|
lastValue = activeTask = null;
|
|
@@ -5669,8 +5669,8 @@ var require_find = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5669
5669
|
return lift_1.operate(createFind(predicate, thisArg, "value"));
|
|
5670
5670
|
}
|
|
5671
5671
|
exports.find = find;
|
|
5672
|
-
function createFind(predicate, thisArg, emit
|
|
5673
|
-
var findIndex = emit
|
|
5672
|
+
function createFind(predicate, thisArg, emit) {
|
|
5673
|
+
var findIndex = emit === "index";
|
|
5674
5674
|
return function(source, subscriber) {
|
|
5675
5675
|
var index = 0;
|
|
5676
5676
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
@@ -6570,19 +6570,19 @@ var require_sequenceEqual = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6570
6570
|
return lift_1.operate(function(source, subscriber) {
|
|
6571
6571
|
var aState = createState();
|
|
6572
6572
|
var bState = createState();
|
|
6573
|
-
var emit
|
|
6573
|
+
var emit = function(isEqual) {
|
|
6574
6574
|
subscriber.next(isEqual);
|
|
6575
6575
|
subscriber.complete();
|
|
6576
6576
|
};
|
|
6577
6577
|
var createSubscriber = function(selfState, otherState) {
|
|
6578
6578
|
var sequenceEqualSubscriber = OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(a) {
|
|
6579
6579
|
var buffer = otherState.buffer, complete = otherState.complete;
|
|
6580
|
-
if (buffer.length === 0) complete ? emit
|
|
6581
|
-
else !comparator(a, buffer.shift()) && emit
|
|
6580
|
+
if (buffer.length === 0) complete ? emit(false) : selfState.buffer.push(a);
|
|
6581
|
+
else !comparator(a, buffer.shift()) && emit(false);
|
|
6582
6582
|
}, function() {
|
|
6583
6583
|
selfState.complete = true;
|
|
6584
6584
|
var complete = otherState.complete, buffer = otherState.buffer;
|
|
6585
|
-
complete && emit
|
|
6585
|
+
complete && emit(buffer.length === 0);
|
|
6586
6586
|
sequenceEqualSubscriber === null || sequenceEqualSubscriber === void 0 || sequenceEqualSubscriber.unsubscribe();
|
|
6587
6587
|
});
|
|
6588
6588
|
return sequenceEqualSubscriber;
|
|
@@ -7020,22 +7020,22 @@ var require_tap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7020
7020
|
(_a = tapObserver.subscribe) === null || _a === void 0 || _a.call(tapObserver);
|
|
7021
7021
|
var isUnsub = true;
|
|
7022
7022
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
7023
|
-
var _a
|
|
7024
|
-
(_a
|
|
7023
|
+
var _a;
|
|
7024
|
+
(_a = tapObserver.next) === null || _a === void 0 || _a.call(tapObserver, value);
|
|
7025
7025
|
subscriber.next(value);
|
|
7026
7026
|
}, function() {
|
|
7027
|
-
var _a
|
|
7027
|
+
var _a;
|
|
7028
7028
|
isUnsub = false;
|
|
7029
|
-
(_a
|
|
7029
|
+
(_a = tapObserver.complete) === null || _a === void 0 || _a.call(tapObserver);
|
|
7030
7030
|
subscriber.complete();
|
|
7031
7031
|
}, function(err) {
|
|
7032
|
-
var _a
|
|
7032
|
+
var _a;
|
|
7033
7033
|
isUnsub = false;
|
|
7034
|
-
(_a
|
|
7034
|
+
(_a = tapObserver.error) === null || _a === void 0 || _a.call(tapObserver, err);
|
|
7035
7035
|
subscriber.error(err);
|
|
7036
7036
|
}, function() {
|
|
7037
|
-
var _a
|
|
7038
|
-
if (isUnsub) (_a
|
|
7037
|
+
var _a, _b;
|
|
7038
|
+
if (isUnsub) (_a = tapObserver.unsubscribe) === null || _a === void 0 || _a.call(tapObserver);
|
|
7039
7039
|
(_b = tapObserver.finalize) === null || _b === void 0 || _b.call(tapObserver);
|
|
7040
7040
|
}));
|
|
7041
7041
|
}) : identity_1.identity;
|
|
@@ -7345,8 +7345,8 @@ var require_windowTime = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7345
7345
|
return windowRecords.slice().forEach(cb);
|
|
7346
7346
|
};
|
|
7347
7347
|
var terminate = function(cb) {
|
|
7348
|
-
loop(function(_a
|
|
7349
|
-
var window = _a
|
|
7348
|
+
loop(function(_a) {
|
|
7349
|
+
var window = _a.window;
|
|
7350
7350
|
return cb(window);
|
|
7351
7351
|
});
|
|
7352
7352
|
cb(subscriber);
|
|
@@ -7538,11 +7538,11 @@ var require_withLatestFrom = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7538
7538
|
return false;
|
|
7539
7539
|
});
|
|
7540
7540
|
var ready = false;
|
|
7541
|
-
var _loop_1 = function(i
|
|
7542
|
-
innerFrom_1.innerFrom(inputs[i
|
|
7543
|
-
otherValues[i
|
|
7544
|
-
if (!ready && !hasValue[i
|
|
7545
|
-
hasValue[i
|
|
7541
|
+
var _loop_1 = function(i) {
|
|
7542
|
+
innerFrom_1.innerFrom(inputs[i]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
7543
|
+
otherValues[i] = value;
|
|
7544
|
+
if (!ready && !hasValue[i]) {
|
|
7545
|
+
hasValue[i] = true;
|
|
7546
7546
|
(ready = hasValue.every(identity_1.identity)) && (hasValue = null);
|
|
7547
7547
|
}
|
|
7548
7548
|
}, noop_1.noop));
|
|
@@ -8903,9 +8903,9 @@ var require_command$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8903
8903
|
});
|
|
8904
8904
|
var __importStar = exports && exports.__importStar || (function() {
|
|
8905
8905
|
var ownKeys = function(o) {
|
|
8906
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
8906
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
8907
8907
|
var ar = [];
|
|
8908
|
-
for (var k in o
|
|
8908
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
8909
8909
|
return ar;
|
|
8910
8910
|
};
|
|
8911
8911
|
return ownKeys(o);
|
|
@@ -9089,8 +9089,8 @@ var require_command$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9089
9089
|
/**
|
|
9090
9090
|
* Pipes all events emitted by `stream` into `subject`.
|
|
9091
9091
|
*/
|
|
9092
|
-
function pipeTo(stream
|
|
9093
|
-
return stream
|
|
9092
|
+
function pipeTo(stream, subject) {
|
|
9093
|
+
return stream.subscribe((event) => subject.next(event));
|
|
9094
9094
|
}
|
|
9095
9095
|
}));
|
|
9096
9096
|
|
|
@@ -9220,7 +9220,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
9220
9220
|
"<\\&",
|
|
9221
9221
|
"[&;()|<>]"
|
|
9222
9222
|
].join("|") + ")";
|
|
9223
|
-
var controlRE =
|
|
9223
|
+
var controlRE = new RegExp("^" + CONTROL + "$");
|
|
9224
9224
|
var META = "|&;()<> \\t";
|
|
9225
9225
|
var SINGLE_QUOTE = "\"((\\\\\"|[^\"])*?)\"";
|
|
9226
9226
|
var DOUBLE_QUOTE = "'((\\\\'|[^'])*?)'";
|
|
@@ -9231,7 +9231,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
9231
9231
|
var TOKEN = "";
|
|
9232
9232
|
var mult = 4294967296;
|
|
9233
9233
|
for (var i = 0; i < 4; i++) TOKEN += (mult * Math.random()).toString(16);
|
|
9234
|
-
var startsWithToken =
|
|
9234
|
+
var startsWithToken = new RegExp("^" + TOKEN);
|
|
9235
9235
|
function matchAll(s, r) {
|
|
9236
9236
|
var origIndex = r.lastIndex;
|
|
9237
9237
|
var matches = [];
|
|
@@ -9333,9 +9333,9 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
9333
9333
|
module.exports = function parse(s, env, opts) {
|
|
9334
9334
|
var mapped = parseInternal(s, env, opts);
|
|
9335
9335
|
if (typeof env !== "function") return mapped;
|
|
9336
|
-
return mapped.reduce(function(acc, s
|
|
9337
|
-
if (typeof s
|
|
9338
|
-
var xs = s
|
|
9336
|
+
return mapped.reduce(function(acc, s) {
|
|
9337
|
+
if (typeof s === "object") return acc.concat(s);
|
|
9338
|
+
var xs = s.split(RegExp("(" + TOKEN + ".*?" + TOKEN + ")", "g"));
|
|
9339
9339
|
if (xs.length === 1) return acc.concat(xs[0]);
|
|
9340
9340
|
return acc.concat(xs.filter(Boolean).map(function(x) {
|
|
9341
9341
|
if (startsWithToken.test(x)) return JSON.parse(x.split(TOKEN)[1]);
|
|
@@ -9520,7 +9520,7 @@ var require_expand_wildcard = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9520
9520
|
const scriptGlobSansOmission = scriptGlob.replace(OMISSION, "");
|
|
9521
9521
|
const preWildcard = (0, utils_1.escapeRegExp)(scriptGlobSansOmission.slice(0, wildcardPosition));
|
|
9522
9522
|
const postWildcard = (0, utils_1.escapeRegExp)(scriptGlobSansOmission.slice(wildcardPosition + 1));
|
|
9523
|
-
const wildcardRegex =
|
|
9523
|
+
const wildcardRegex = new RegExp(`^${preWildcard}(.*?)${postWildcard}$`);
|
|
9524
9524
|
const prefix = commandInfo.name !== scriptGlob ? commandInfo.name : "";
|
|
9525
9525
|
return this.relevantScripts(command).map((script) => {
|
|
9526
9526
|
if (omission && RegExp(omission).test(script)) return;
|
|
@@ -9530,7 +9530,7 @@ var require_expand_wildcard = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9530
9530
|
command: `${command} ${script}${args}`,
|
|
9531
9531
|
name: prefix + match
|
|
9532
9532
|
};
|
|
9533
|
-
}).filter((commandInfo
|
|
9533
|
+
}).filter((commandInfo) => !!commandInfo);
|
|
9534
9534
|
}
|
|
9535
9535
|
};
|
|
9536
9536
|
exports.ExpandWildcard = ExpandWildcard;
|
|
@@ -10435,9 +10435,9 @@ var require_completion_listener = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10435
10435
|
});
|
|
10436
10436
|
var __importStar = exports && exports.__importStar || (function() {
|
|
10437
10437
|
var ownKeys = function(o) {
|
|
10438
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
10438
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
10439
10439
|
var ar = [];
|
|
10440
|
-
for (var k in o
|
|
10440
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
10441
10441
|
return ar;
|
|
10442
10442
|
};
|
|
10443
10443
|
return ownKeys(o);
|
|
@@ -10509,15 +10509,15 @@ var require_observables = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10509
10509
|
*
|
|
10510
10510
|
* The underlying event listener is set up only once across the application for that event emitter/name pair.
|
|
10511
10511
|
*/
|
|
10512
|
-
function fromSharedEvent(emitter
|
|
10513
|
-
let emitterEvents = sharedEvents.get(emitter
|
|
10512
|
+
function fromSharedEvent(emitter, event) {
|
|
10513
|
+
let emitterEvents = sharedEvents.get(emitter);
|
|
10514
10514
|
if (!emitterEvents) {
|
|
10515
10515
|
emitterEvents = /* @__PURE__ */ new Map();
|
|
10516
|
-
sharedEvents.set(emitter
|
|
10516
|
+
sharedEvents.set(emitter, emitterEvents);
|
|
10517
10517
|
}
|
|
10518
10518
|
let observable = emitterEvents.get(event);
|
|
10519
10519
|
if (!observable) {
|
|
10520
|
-
observable = (0, rxjs_1.fromEvent)(emitter
|
|
10520
|
+
observable = (0, rxjs_1.fromEvent)(emitter, event).pipe((0, rxjs_1.share)());
|
|
10521
10521
|
emitterEvents.set(event, observable);
|
|
10522
10522
|
}
|
|
10523
10523
|
return observable;
|
|
@@ -10551,9 +10551,9 @@ var require_output_writer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10551
10551
|
});
|
|
10552
10552
|
var __importStar = exports && exports.__importStar || (function() {
|
|
10553
10553
|
var ownKeys = function(o) {
|
|
10554
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
10554
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
10555
10555
|
var ar = [];
|
|
10556
|
-
for (var k in o
|
|
10556
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
10557
10557
|
return ar;
|
|
10558
10558
|
};
|
|
10559
10559
|
return ownKeys(o);
|
|
@@ -10763,9 +10763,9 @@ var require_supports_color$1 = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
10763
10763
|
if ("COLORTERM" in env) return 1;
|
|
10764
10764
|
return min;
|
|
10765
10765
|
}
|
|
10766
|
-
function getSupportLevel(stream
|
|
10767
|
-
return translateLevel(supportsColor(stream
|
|
10768
|
-
streamIsTTY: stream
|
|
10766
|
+
function getSupportLevel(stream, options = {}) {
|
|
10767
|
+
return translateLevel(supportsColor(stream, {
|
|
10768
|
+
streamIsTTY: stream && stream.isTTY,
|
|
10769
10769
|
...options
|
|
10770
10770
|
}));
|
|
10771
10771
|
}
|
|
@@ -10791,10 +10791,10 @@ var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10791
10791
|
/**
|
|
10792
10792
|
* Spawns a command using `cmd.exe` on Windows, or `/bin/sh` elsewhere.
|
|
10793
10793
|
*/
|
|
10794
|
-
function spawn(command, options, spawn = child_process_1.spawn, process
|
|
10794
|
+
function spawn(command, options, spawn = child_process_1.spawn, process = global.process) {
|
|
10795
10795
|
let file = "/bin/sh";
|
|
10796
10796
|
let args = ["-c", command];
|
|
10797
|
-
if (process
|
|
10797
|
+
if (process.platform === "win32") {
|
|
10798
10798
|
file = "cmd.exe";
|
|
10799
10799
|
args = [
|
|
10800
10800
|
"/s",
|
|
@@ -10805,7 +10805,7 @@ var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10805
10805
|
}
|
|
10806
10806
|
return spawn(file, args, options);
|
|
10807
10807
|
}
|
|
10808
|
-
const getSpawnOpts = ({ colorSupport = supports_color_1.default.stdout, cwd, process
|
|
10808
|
+
const getSpawnOpts = ({ colorSupport = supports_color_1.default.stdout, cwd, process = global.process, ipc, stdio = "normal", env = {} }) => {
|
|
10809
10809
|
const stdioValues = stdio === "normal" ? [
|
|
10810
10810
|
"pipe",
|
|
10811
10811
|
"pipe",
|
|
@@ -10824,12 +10824,12 @@ var require_spawn = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10824
10824
|
stdioValues[ipc] = "ipc";
|
|
10825
10825
|
}
|
|
10826
10826
|
return {
|
|
10827
|
-
cwd: cwd || process
|
|
10827
|
+
cwd: cwd || process.cwd(),
|
|
10828
10828
|
stdio: stdioValues,
|
|
10829
|
-
...process
|
|
10829
|
+
...process.platform.startsWith("win") && { detached: false },
|
|
10830
10830
|
env: {
|
|
10831
10831
|
...colorSupport ? { FORCE_COLOR: colorSupport.level.toString() } : {},
|
|
10832
|
-
...process
|
|
10832
|
+
...process.env,
|
|
10833
10833
|
...env
|
|
10834
10834
|
}
|
|
10835
10835
|
};
|
|
@@ -10901,9 +10901,9 @@ var require_concurrently = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10901
10901
|
}), options.spawn, options.kill);
|
|
10902
10902
|
});
|
|
10903
10903
|
const handleResult = options.controllers.reduce(({ commands: prevCommands, onFinishCallbacks }, controller) => {
|
|
10904
|
-
const { commands
|
|
10904
|
+
const { commands, onFinish } = controller.handle(prevCommands);
|
|
10905
10905
|
return {
|
|
10906
|
-
commands
|
|
10906
|
+
commands,
|
|
10907
10907
|
onFinishCallbacks: onFinishCallbacks.concat(onFinish ? [onFinish] : [])
|
|
10908
10908
|
};
|
|
10909
10909
|
}, {
|
|
@@ -10941,7 +10941,7 @@ var require_concurrently = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10941
10941
|
};
|
|
10942
10942
|
}
|
|
10943
10943
|
function parseCommand(command, parsers) {
|
|
10944
|
-
return parsers.reduce((commands, parser) => commands.flatMap((command
|
|
10944
|
+
return parsers.reduce((commands, parser) => commands.flatMap((command) => parser.parse(command)), (0, utils_1.castArray)(command));
|
|
10945
10945
|
}
|
|
10946
10946
|
function maybeRunMore(commandsLeft, abortSignal) {
|
|
10947
10947
|
const command = commandsLeft.shift();
|
|
@@ -11054,9 +11054,9 @@ var require_input_handler = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11054
11054
|
});
|
|
11055
11055
|
var __importStar = exports && exports.__importStar || (function() {
|
|
11056
11056
|
var ownKeys = function(o) {
|
|
11057
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
11057
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
11058
11058
|
var ar = [];
|
|
11059
|
-
for (var k in o
|
|
11059
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
11060
11060
|
return ar;
|
|
11061
11061
|
};
|
|
11062
11062
|
return ownKeys(o);
|
|
@@ -11146,8 +11146,8 @@ var require_kill_on_signal = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11146
11146
|
var KillOnSignal = class {
|
|
11147
11147
|
process;
|
|
11148
11148
|
abortController;
|
|
11149
|
-
constructor({ process
|
|
11150
|
-
this.process = process
|
|
11149
|
+
constructor({ process, abortController }) {
|
|
11150
|
+
this.process = process;
|
|
11151
11151
|
this.abortController = abortController;
|
|
11152
11152
|
}
|
|
11153
11153
|
handle(commands) {
|
|
@@ -11583,9 +11583,9 @@ var require_log_timings = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11583
11583
|
});
|
|
11584
11584
|
var __importStar = exports && exports.__importStar || (function() {
|
|
11585
11585
|
var ownKeys = function(o) {
|
|
11586
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
11586
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
11587
11587
|
var ar = [];
|
|
11588
|
-
for (var k in o
|
|
11588
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
11589
11589
|
return ar;
|
|
11590
11590
|
};
|
|
11591
11591
|
return ownKeys(o);
|
|
@@ -11672,9 +11672,9 @@ var require_logger_padding = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11672
11672
|
this.logger = logger;
|
|
11673
11673
|
}
|
|
11674
11674
|
handle(commands) {
|
|
11675
|
-
let length = commands.reduce((length
|
|
11675
|
+
let length = commands.reduce((length, command) => {
|
|
11676
11676
|
const content = this.logger.getPrefixContent(command);
|
|
11677
|
-
return Math.max(length
|
|
11677
|
+
return Math.max(length, content?.value.length || 0);
|
|
11678
11678
|
}, 0);
|
|
11679
11679
|
this.logger.setPrefixLength(length);
|
|
11680
11680
|
const subs = commands.map((command) => command.timer.subscribe((event) => {
|
|
@@ -11752,9 +11752,9 @@ var require_restart_process = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11752
11752
|
});
|
|
11753
11753
|
var __importStar = exports && exports.__importStar || (function() {
|
|
11754
11754
|
var ownKeys = function(o) {
|
|
11755
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
11755
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
11756
11756
|
var ar = [];
|
|
11757
|
-
for (var k in o
|
|
11757
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
11758
11758
|
return ar;
|
|
11759
11759
|
};
|
|
11760
11760
|
return ownKeys(o);
|
|
@@ -11843,9 +11843,9 @@ var require_teardown = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11843
11843
|
});
|
|
11844
11844
|
var __importStar = exports && exports.__importStar || (function() {
|
|
11845
11845
|
var ownKeys = function(o) {
|
|
11846
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
11846
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
11847
11847
|
var ar = [];
|
|
11848
|
-
for (var k in o
|
|
11848
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
11849
11849
|
return ar;
|
|
11850
11850
|
};
|
|
11851
11851
|
return ownKeys(o);
|
|
@@ -11888,8 +11888,8 @@ var require_teardown = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11888
11888
|
}), Rx.firstValueFrom(close).then((event) => event)]);
|
|
11889
11889
|
logger.logGlobalEvent(`Teardown command "${command}" exited with code ${exitCode ?? signal}`);
|
|
11890
11890
|
if (signal === "SIGINT") break;
|
|
11891
|
-
} catch (error
|
|
11892
|
-
const errorText = String(error
|
|
11891
|
+
} catch (error) {
|
|
11892
|
+
const errorText = String(error instanceof Error ? error.stack || error : error);
|
|
11893
11893
|
logger.logGlobalEvent(`Teardown command "${command}" errored:`);
|
|
11894
11894
|
logger.logGlobalEvent(errorText);
|
|
11895
11895
|
return Promise.reject();
|
|
@@ -13477,15 +13477,15 @@ var require_route = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13477
13477
|
};
|
|
13478
13478
|
}
|
|
13479
13479
|
function wrapConversion(toModel, graph) {
|
|
13480
|
-
const path
|
|
13480
|
+
const path = [graph[toModel].parent, toModel];
|
|
13481
13481
|
let fn = conversions[graph[toModel].parent][toModel];
|
|
13482
13482
|
let cur = graph[toModel].parent;
|
|
13483
13483
|
while (graph[cur].parent) {
|
|
13484
|
-
path
|
|
13484
|
+
path.unshift(graph[cur].parent);
|
|
13485
13485
|
fn = link(conversions[graph[cur].parent][cur], fn);
|
|
13486
13486
|
cur = graph[cur].parent;
|
|
13487
13487
|
}
|
|
13488
|
-
fn.conversion = path
|
|
13488
|
+
fn.conversion = path;
|
|
13489
13489
|
return fn;
|
|
13490
13490
|
}
|
|
13491
13491
|
module.exports = function(fromModel) {
|
|
@@ -13739,8 +13739,8 @@ var require_supports_color = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
13739
13739
|
if ("COLORTERM" in env) return 1;
|
|
13740
13740
|
return min;
|
|
13741
13741
|
}
|
|
13742
|
-
function getSupportLevel(stream
|
|
13743
|
-
return translateLevel(supportsColor(stream
|
|
13742
|
+
function getSupportLevel(stream) {
|
|
13743
|
+
return translateLevel(supportsColor(stream, stream && stream.isTTY));
|
|
13744
13744
|
}
|
|
13745
13745
|
module.exports = {
|
|
13746
13746
|
supportsColor: getSupportLevel,
|
|
@@ -13839,10 +13839,10 @@ var require_templates = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13839
13839
|
const enabled = {};
|
|
13840
13840
|
for (const layer of styles) for (const style of layer.styles) enabled[style[0]] = layer.inverse ? null : style.slice(1);
|
|
13841
13841
|
let current = chalk;
|
|
13842
|
-
for (const [styleName, styles
|
|
13843
|
-
if (!Array.isArray(styles
|
|
13842
|
+
for (const [styleName, styles] of Object.entries(enabled)) {
|
|
13843
|
+
if (!Array.isArray(styles)) continue;
|
|
13844
13844
|
if (!(styleName in current)) throw new Error(`Unknown Chalk style: ${styleName}`);
|
|
13845
|
-
current = styles
|
|
13845
|
+
current = styles.length > 0 ? current[styleName](...styles) : current[styleName];
|
|
13846
13846
|
}
|
|
13847
13847
|
return current;
|
|
13848
13848
|
}
|
|
@@ -14051,9 +14051,9 @@ var require_logger = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
14051
14051
|
});
|
|
14052
14052
|
var __importStar = exports && exports.__importStar || (function() {
|
|
14053
14053
|
var ownKeys = function(o) {
|
|
14054
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
14054
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
14055
14055
|
var ar = [];
|
|
14056
|
-
for (var k in o
|
|
14056
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
14057
14057
|
return ar;
|
|
14058
14058
|
};
|
|
14059
14059
|
return ownKeys(o);
|
|
@@ -14080,8 +14080,8 @@ var require_logger = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
14080
14080
|
const utils_1 = require_utils();
|
|
14081
14081
|
const defaultChalk = chalk_1.default;
|
|
14082
14082
|
const noColorChalk = new chalk_1.default.Instance({ level: 0 });
|
|
14083
|
-
function getChalkPath(chalk, path
|
|
14084
|
-
return path
|
|
14083
|
+
function getChalkPath(chalk, path) {
|
|
14084
|
+
return path.split(".").reduce((prev, key) => prev[key], chalk);
|
|
14085
14085
|
}
|
|
14086
14086
|
var Logger = class {
|
|
14087
14087
|
hide;
|
|
@@ -14354,28 +14354,28 @@ var require_windows = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14354
14354
|
module.exports = isexe;
|
|
14355
14355
|
isexe.sync = sync;
|
|
14356
14356
|
var fs$4 = __require("fs");
|
|
14357
|
-
function checkPathExt(path
|
|
14357
|
+
function checkPathExt(path, options) {
|
|
14358
14358
|
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
14359
14359
|
if (!pathext) return true;
|
|
14360
14360
|
pathext = pathext.split(";");
|
|
14361
14361
|
if (pathext.indexOf("") !== -1) return true;
|
|
14362
14362
|
for (var i = 0; i < pathext.length; i++) {
|
|
14363
14363
|
var p = pathext[i].toLowerCase();
|
|
14364
|
-
if (p && path
|
|
14364
|
+
if (p && path.substr(-p.length).toLowerCase() === p) return true;
|
|
14365
14365
|
}
|
|
14366
14366
|
return false;
|
|
14367
14367
|
}
|
|
14368
|
-
function checkStat(stat, path
|
|
14368
|
+
function checkStat(stat, path, options) {
|
|
14369
14369
|
if (!stat.isSymbolicLink() && !stat.isFile()) return false;
|
|
14370
|
-
return checkPathExt(path
|
|
14370
|
+
return checkPathExt(path, options);
|
|
14371
14371
|
}
|
|
14372
|
-
function isexe(path
|
|
14373
|
-
fs$4.stat(path
|
|
14374
|
-
cb(er, er ? false : checkStat(stat, path
|
|
14372
|
+
function isexe(path, options, cb) {
|
|
14373
|
+
fs$4.stat(path, function(er, stat) {
|
|
14374
|
+
cb(er, er ? false : checkStat(stat, path, options));
|
|
14375
14375
|
});
|
|
14376
14376
|
}
|
|
14377
|
-
function sync(path
|
|
14378
|
-
return checkStat(fs$4.statSync(path
|
|
14377
|
+
function sync(path, options) {
|
|
14378
|
+
return checkStat(fs$4.statSync(path), path, options);
|
|
14379
14379
|
}
|
|
14380
14380
|
}));
|
|
14381
14381
|
|
|
@@ -14385,13 +14385,13 @@ var require_mode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14385
14385
|
module.exports = isexe;
|
|
14386
14386
|
isexe.sync = sync;
|
|
14387
14387
|
var fs$3 = __require("fs");
|
|
14388
|
-
function isexe(path
|
|
14389
|
-
fs$3.stat(path
|
|
14388
|
+
function isexe(path, options, cb) {
|
|
14389
|
+
fs$3.stat(path, function(er, stat) {
|
|
14390
14390
|
cb(er, er ? false : checkStat(stat, options));
|
|
14391
14391
|
});
|
|
14392
14392
|
}
|
|
14393
|
-
function sync(path
|
|
14394
|
-
return checkStat(fs$3.statSync(path
|
|
14393
|
+
function sync(path, options) {
|
|
14394
|
+
return checkStat(fs$3.statSync(path), options);
|
|
14395
14395
|
}
|
|
14396
14396
|
function checkStat(stat, options) {
|
|
14397
14397
|
return stat.isFile() && checkMode(stat, options);
|
|
@@ -14419,7 +14419,7 @@ var require_isexe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14419
14419
|
else core = require_mode();
|
|
14420
14420
|
module.exports = isexe;
|
|
14421
14421
|
isexe.sync = sync;
|
|
14422
|
-
function isexe(path
|
|
14422
|
+
function isexe(path, options, cb) {
|
|
14423
14423
|
if (typeof options === "function") {
|
|
14424
14424
|
cb = options;
|
|
14425
14425
|
options = {};
|
|
@@ -14427,13 +14427,13 @@ var require_isexe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14427
14427
|
if (!cb) {
|
|
14428
14428
|
if (typeof Promise !== "function") throw new TypeError("callback not provided");
|
|
14429
14429
|
return new Promise(function(resolve, reject) {
|
|
14430
|
-
isexe(path
|
|
14430
|
+
isexe(path, options || {}, function(er, is) {
|
|
14431
14431
|
if (er) reject(er);
|
|
14432
14432
|
else resolve(is);
|
|
14433
14433
|
});
|
|
14434
14434
|
});
|
|
14435
14435
|
}
|
|
14436
|
-
core(path
|
|
14436
|
+
core(path, options || {}, function(er, is) {
|
|
14437
14437
|
if (er) {
|
|
14438
14438
|
if (er.code === "EACCES" || options && options.ignoreErrors) {
|
|
14439
14439
|
er = null;
|
|
@@ -14443,9 +14443,9 @@ var require_isexe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14443
14443
|
cb(er, is);
|
|
14444
14444
|
});
|
|
14445
14445
|
}
|
|
14446
|
-
function sync(path
|
|
14446
|
+
function sync(path, options) {
|
|
14447
14447
|
try {
|
|
14448
|
-
return core.sync(path
|
|
14448
|
+
return core.sync(path, options || {});
|
|
14449
14449
|
} catch (er) {
|
|
14450
14450
|
if (options && options.ignoreErrors || er.code === "EACCES") return false;
|
|
14451
14451
|
else throw er;
|
|
@@ -14604,8 +14604,8 @@ var require_shebang_command = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
14604
14604
|
module.exports = (string = "") => {
|
|
14605
14605
|
const match = string.match(shebangRegex);
|
|
14606
14606
|
if (!match) return null;
|
|
14607
|
-
const [path
|
|
14608
|
-
const binary = path
|
|
14607
|
+
const [path, argument] = match[0].replace(/#! ?/, "").split(" ");
|
|
14608
|
+
const binary = path.split("/").pop();
|
|
14609
14609
|
if (binary === "env") return argument;
|
|
14610
14610
|
return argument ? `${binary} ${argument}` : binary;
|
|
14611
14611
|
};
|
|
@@ -14705,15 +14705,15 @@ var require_enoent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14705
14705
|
spawnargs: original.args
|
|
14706
14706
|
});
|
|
14707
14707
|
}
|
|
14708
|
-
function hookChildProcess(cp
|
|
14708
|
+
function hookChildProcess(cp, parsed) {
|
|
14709
14709
|
if (!isWin) return;
|
|
14710
|
-
const originalEmit = cp
|
|
14711
|
-
cp
|
|
14710
|
+
const originalEmit = cp.emit;
|
|
14711
|
+
cp.emit = function(name, arg1) {
|
|
14712
14712
|
if (name === "exit") {
|
|
14713
14713
|
const err = verifyENOENT(arg1, parsed);
|
|
14714
|
-
if (err) return originalEmit.call(cp
|
|
14714
|
+
if (err) return originalEmit.call(cp, "error", err);
|
|
14715
14715
|
}
|
|
14716
|
-
return originalEmit.apply(cp
|
|
14716
|
+
return originalEmit.apply(cp, arguments);
|
|
14717
14717
|
};
|
|
14718
14718
|
}
|
|
14719
14719
|
function verifyENOENT(status, parsed) {
|
|
@@ -14801,9 +14801,9 @@ var require_npm_run_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14801
14801
|
...options
|
|
14802
14802
|
};
|
|
14803
14803
|
const env = { ...options.env };
|
|
14804
|
-
const path
|
|
14805
|
-
options.path = env[path
|
|
14806
|
-
env[path
|
|
14804
|
+
const path = pathKey({ env });
|
|
14805
|
+
options.path = env[path];
|
|
14806
|
+
env[path] = module.exports(options);
|
|
14807
14807
|
return env;
|
|
14808
14808
|
};
|
|
14809
14809
|
}));
|
|
@@ -15208,13 +15208,13 @@ var require_main = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
15208
15208
|
const signalsByName = getSignalsByName();
|
|
15209
15209
|
exports.signalsByName = signalsByName;
|
|
15210
15210
|
const getSignalsByNumber = function() {
|
|
15211
|
-
const signals
|
|
15211
|
+
const signals = (0, _signals.getSignals)();
|
|
15212
15212
|
const length = _realtime.SIGRTMAX + 1;
|
|
15213
|
-
const signalsA = Array.from({ length }, (value, number) => getSignalByNumber(number, signals
|
|
15213
|
+
const signalsA = Array.from({ length }, (value, number) => getSignalByNumber(number, signals));
|
|
15214
15214
|
return Object.assign({}, ...signalsA);
|
|
15215
15215
|
};
|
|
15216
|
-
const getSignalByNumber = function(number, signals
|
|
15217
|
-
const signal = findSignalByNumber(number, signals
|
|
15216
|
+
const getSignalByNumber = function(number, signals) {
|
|
15217
|
+
const signal = findSignalByNumber(number, signals);
|
|
15218
15218
|
if (signal === void 0) return {};
|
|
15219
15219
|
const { name, description, supported, action, forced, standard } = signal;
|
|
15220
15220
|
return { [number]: {
|
|
@@ -15227,10 +15227,10 @@ var require_main = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
15227
15227
|
standard
|
|
15228
15228
|
} };
|
|
15229
15229
|
};
|
|
15230
|
-
const findSignalByNumber = function(number, signals
|
|
15231
|
-
const signal = signals
|
|
15230
|
+
const findSignalByNumber = function(number, signals) {
|
|
15231
|
+
const signal = signals.find(({ name }) => _os.constants.signals[name] === number);
|
|
15232
15232
|
if (signal !== void 0) return signal;
|
|
15233
|
-
return signals
|
|
15233
|
+
return signals.find((signalA) => signalA.number === number);
|
|
15234
15234
|
};
|
|
15235
15235
|
const signalsByNumber = getSignalsByNumber();
|
|
15236
15236
|
exports.signalsByNumber = signalsByNumber;
|
|
@@ -15343,8 +15343,8 @@ var require_signals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15343
15343
|
//#region ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
|
|
15344
15344
|
var require_signal_exit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15345
15345
|
var process = global.process;
|
|
15346
|
-
const processOk = function(process
|
|
15347
|
-
return process
|
|
15346
|
+
const processOk = function(process) {
|
|
15347
|
+
return process && typeof process === "object" && typeof process.removeListener === "function" && typeof process.emit === "function" && typeof process.reallyExit === "function" && typeof process.listeners === "function" && typeof process.kill === "function" && typeof process.pid === "number" && typeof process.on === "function";
|
|
15348
15348
|
};
|
|
15349
15349
|
/* istanbul ignore if */
|
|
15350
15350
|
if (!processOk(process)) module.exports = function() {
|
|
@@ -15382,7 +15382,7 @@ var require_signal_exit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15382
15382
|
emitter.on(ev, cb);
|
|
15383
15383
|
return remove;
|
|
15384
15384
|
};
|
|
15385
|
-
var unload = function unload
|
|
15385
|
+
var unload = function unload() {
|
|
15386
15386
|
if (!loaded || !processOk(global.process)) return;
|
|
15387
15387
|
loaded = false;
|
|
15388
15388
|
signals.forEach(function(sig) {
|
|
@@ -15395,7 +15395,7 @@ var require_signal_exit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15395
15395
|
emitter.count -= 1;
|
|
15396
15396
|
};
|
|
15397
15397
|
module.exports.unload = unload;
|
|
15398
|
-
var emit = function emit
|
|
15398
|
+
var emit = function emit(event, code, signal) {
|
|
15399
15399
|
/* istanbul ignore if */
|
|
15400
15400
|
if (emitter.emitted[event]) return;
|
|
15401
15401
|
emitter.emitted[event] = true;
|
|
@@ -15422,7 +15422,7 @@ var require_signal_exit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15422
15422
|
return signals;
|
|
15423
15423
|
};
|
|
15424
15424
|
var loaded = false;
|
|
15425
|
-
var load = function load
|
|
15425
|
+
var load = function load() {
|
|
15426
15426
|
if (loaded || !processOk(global.process)) return;
|
|
15427
15427
|
loaded = true;
|
|
15428
15428
|
emitter.count += 1;
|
|
@@ -15439,7 +15439,7 @@ var require_signal_exit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15439
15439
|
};
|
|
15440
15440
|
module.exports.load = load;
|
|
15441
15441
|
var originalProcessReallyExit = process.reallyExit;
|
|
15442
|
-
var processReallyExit = function processReallyExit
|
|
15442
|
+
var processReallyExit = function processReallyExit(code) {
|
|
15443
15443
|
/* istanbul ignore if */
|
|
15444
15444
|
if (!processOk(global.process)) return;
|
|
15445
15445
|
process.exitCode = code || 0;
|
|
@@ -15450,7 +15450,7 @@ var require_signal_exit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15450
15450
|
originalProcessReallyExit.call(process, process.exitCode);
|
|
15451
15451
|
};
|
|
15452
15452
|
var originalProcessEmit = process.emit;
|
|
15453
|
-
var processEmit = function processEmit
|
|
15453
|
+
var processEmit = function processEmit(ev, arg) {
|
|
15454
15454
|
if (ev === "exit" && processOk(global.process)) {
|
|
15455
15455
|
/* istanbul ignore else */
|
|
15456
15456
|
if (arg !== void 0) process.exitCode = arg;
|
|
@@ -15544,11 +15544,11 @@ var require_kill = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15544
15544
|
//#endregion
|
|
15545
15545
|
//#region ../../node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js
|
|
15546
15546
|
var require_is_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15547
|
-
const isStream = (stream
|
|
15548
|
-
isStream.writable = (stream
|
|
15549
|
-
isStream.readable = (stream
|
|
15550
|
-
isStream.duplex = (stream
|
|
15551
|
-
isStream.transform = (stream
|
|
15547
|
+
const isStream = (stream) => stream !== null && typeof stream === "object" && typeof stream.pipe === "function";
|
|
15548
|
+
isStream.writable = (stream) => isStream(stream) && stream.writable !== false && typeof stream._write === "function" && typeof stream._writableState === "object";
|
|
15549
|
+
isStream.readable = (stream) => isStream(stream) && stream.readable !== false && typeof stream._read === "function" && typeof stream._readableState === "object";
|
|
15550
|
+
isStream.duplex = (stream) => isStream.writable(stream) && isStream.readable(stream);
|
|
15551
|
+
isStream.transform = (stream) => isStream.duplex(stream) && typeof stream._transform === "function";
|
|
15552
15552
|
module.exports = isStream;
|
|
15553
15553
|
}));
|
|
15554
15554
|
|
|
@@ -15565,21 +15565,21 @@ var require_buffer_stream = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
15565
15565
|
if (array) objectMode = !(encoding || isBuffer);
|
|
15566
15566
|
else encoding = encoding || "utf8";
|
|
15567
15567
|
if (isBuffer) encoding = null;
|
|
15568
|
-
const stream
|
|
15569
|
-
if (encoding) stream
|
|
15568
|
+
const stream = new PassThroughStream({ objectMode });
|
|
15569
|
+
if (encoding) stream.setEncoding(encoding);
|
|
15570
15570
|
let length = 0;
|
|
15571
15571
|
const chunks = [];
|
|
15572
|
-
stream
|
|
15572
|
+
stream.on("data", (chunk) => {
|
|
15573
15573
|
chunks.push(chunk);
|
|
15574
15574
|
if (objectMode) length = chunks.length;
|
|
15575
15575
|
else length += chunk.length;
|
|
15576
15576
|
});
|
|
15577
|
-
stream
|
|
15577
|
+
stream.getBufferedValue = () => {
|
|
15578
15578
|
if (array) return chunks;
|
|
15579
15579
|
return isBuffer ? Buffer.concat(chunks, length) : chunks.join("");
|
|
15580
15580
|
};
|
|
15581
|
-
stream
|
|
15582
|
-
return stream
|
|
15581
|
+
stream.getBufferedLength = () => length;
|
|
15582
|
+
return stream;
|
|
15583
15583
|
};
|
|
15584
15584
|
}));
|
|
15585
15585
|
|
|
@@ -15604,32 +15604,32 @@ var require_get_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15604
15604
|
...options
|
|
15605
15605
|
};
|
|
15606
15606
|
const { maxBuffer } = options;
|
|
15607
|
-
const stream
|
|
15607
|
+
const stream = bufferStream(options);
|
|
15608
15608
|
await new Promise((resolve, reject) => {
|
|
15609
15609
|
const rejectPromise = (error) => {
|
|
15610
|
-
if (error && stream
|
|
15610
|
+
if (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();
|
|
15611
15611
|
reject(error);
|
|
15612
15612
|
};
|
|
15613
15613
|
(async () => {
|
|
15614
15614
|
try {
|
|
15615
|
-
await streamPipelinePromisified(inputStream, stream
|
|
15615
|
+
await streamPipelinePromisified(inputStream, stream);
|
|
15616
15616
|
resolve();
|
|
15617
15617
|
} catch (error) {
|
|
15618
15618
|
rejectPromise(error);
|
|
15619
15619
|
}
|
|
15620
15620
|
})();
|
|
15621
|
-
stream
|
|
15622
|
-
if (stream
|
|
15621
|
+
stream.on("data", () => {
|
|
15622
|
+
if (stream.getBufferedLength() > maxBuffer) rejectPromise(new MaxBufferError());
|
|
15623
15623
|
});
|
|
15624
15624
|
});
|
|
15625
|
-
return stream
|
|
15625
|
+
return stream.getBufferedValue();
|
|
15626
15626
|
}
|
|
15627
15627
|
module.exports = getStream;
|
|
15628
|
-
module.exports.buffer = (stream
|
|
15628
|
+
module.exports.buffer = (stream, options) => getStream(stream, {
|
|
15629
15629
|
...options,
|
|
15630
15630
|
encoding: "buffer"
|
|
15631
15631
|
});
|
|
15632
|
-
module.exports.array = (stream
|
|
15632
|
+
module.exports.array = (stream, options) => getStream(stream, {
|
|
15633
15633
|
...options,
|
|
15634
15634
|
array: true
|
|
15635
15635
|
});
|
|
@@ -15690,22 +15690,22 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15690
15690
|
if (spawned.stderr) mixed.add(spawned.stderr);
|
|
15691
15691
|
return mixed;
|
|
15692
15692
|
};
|
|
15693
|
-
const getBufferedData = async (stream
|
|
15694
|
-
if (!stream
|
|
15695
|
-
stream
|
|
15693
|
+
const getBufferedData = async (stream, streamPromise) => {
|
|
15694
|
+
if (!stream) return;
|
|
15695
|
+
stream.destroy();
|
|
15696
15696
|
try {
|
|
15697
15697
|
return await streamPromise;
|
|
15698
15698
|
} catch (error) {
|
|
15699
15699
|
return error.bufferedData;
|
|
15700
15700
|
}
|
|
15701
15701
|
};
|
|
15702
|
-
const getStreamPromise = (stream
|
|
15703
|
-
if (!stream
|
|
15704
|
-
if (encoding) return getStream(stream
|
|
15702
|
+
const getStreamPromise = (stream, { encoding, buffer, maxBuffer }) => {
|
|
15703
|
+
if (!stream || !buffer) return;
|
|
15704
|
+
if (encoding) return getStream(stream, {
|
|
15705
15705
|
encoding,
|
|
15706
15706
|
maxBuffer
|
|
15707
15707
|
});
|
|
15708
|
-
return getStream.buffer(stream
|
|
15708
|
+
return getStream.buffer(stream, { maxBuffer });
|
|
15709
15709
|
};
|
|
15710
15710
|
const getSpawnedResult = async ({ stdout, stderr, all }, { encoding, buffer, maxBuffer }, processDone) => {
|
|
15711
15711
|
const stdoutPromise = getStreamPromise(stdout, {
|
|
@@ -16158,10 +16158,10 @@ var require_find_prefix = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16158
16158
|
return fs$1.readdir(p, fn);
|
|
16159
16159
|
}
|
|
16160
16160
|
function findPrefix(p, isSync, cb_) {
|
|
16161
|
-
function cb(err, p
|
|
16162
|
-
if (isSync) return cb_(err, p
|
|
16161
|
+
function cb(err, p) {
|
|
16162
|
+
if (isSync) return cb_(err, p);
|
|
16163
16163
|
process.nextTick(function() {
|
|
16164
|
-
cb_(err, p
|
|
16164
|
+
cb_(err, p);
|
|
16165
16165
|
});
|
|
16166
16166
|
}
|
|
16167
16167
|
p = path$1.resolve(p);
|
|
@@ -16218,9 +16218,9 @@ var require_npm_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16218
16218
|
var pathArr = getPathArr(options);
|
|
16219
16219
|
findPrefix(options, function(err, prefixPath) {
|
|
16220
16220
|
if (!err && prefixPath) pathArr.unshift(path.join(prefixPath, "node_modules", ".bin"));
|
|
16221
|
-
whichNpm(options, function(err
|
|
16222
|
-
if (err
|
|
16223
|
-
if (options.npm) return fn(err
|
|
16221
|
+
whichNpm(options, function(err, npmPath) {
|
|
16222
|
+
if (err || !npmPath) {
|
|
16223
|
+
if (options.npm) return fn(err || /* @__PURE__ */ new Error("Cannot find " + options.npm));
|
|
16224
16224
|
} else pathArr.unshift(path.join(path.dirname(npmPath), "node-gyp-bin"));
|
|
16225
16225
|
if (env[PATH]) pathArr = pathArr.concat(env[PATH].split(SEPARATOR));
|
|
16226
16226
|
pathArr = [].concat(_toConsumableArray(new Set(pathArr)));
|
|
@@ -16321,9 +16321,9 @@ var require_npm_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16321
16321
|
fs.realpath(npmCli, fn);
|
|
16322
16322
|
return;
|
|
16323
16323
|
}
|
|
16324
|
-
which("npm", function(err, npmPath
|
|
16324
|
+
which("npm", function(err, npmPath) {
|
|
16325
16325
|
if (err) return fn(err);
|
|
16326
|
-
fs.realpath(npmPath
|
|
16326
|
+
fs.realpath(npmPath, fn);
|
|
16327
16327
|
});
|
|
16328
16328
|
}
|
|
16329
16329
|
/**
|
|
@@ -16362,19 +16362,19 @@ var require_npm_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16362
16362
|
var which = require_which();
|
|
16363
16363
|
var npmPath = require_npm_path();
|
|
16364
16364
|
module.exports = function(cwd) {
|
|
16365
|
-
function npmWhich
|
|
16365
|
+
function npmWhich(cmd, options, fn) {
|
|
16366
16366
|
if (options instanceof Function) fn = options, options = null;
|
|
16367
16367
|
options = options || {};
|
|
16368
16368
|
options.cwd = options.cwd || cwd;
|
|
16369
16369
|
options.env = options.env || process.env;
|
|
16370
|
-
function curryWhich(opts, fn
|
|
16371
|
-
if (opts instanceof Function) fn
|
|
16370
|
+
function curryWhich(opts, fn) {
|
|
16371
|
+
if (opts instanceof Function) fn = opts, opts = null;
|
|
16372
16372
|
opts = opts || {};
|
|
16373
|
-
return npmWhich
|
|
16373
|
+
return npmWhich(cmd, mixin(opts, options), fn);
|
|
16374
16374
|
}
|
|
16375
16375
|
curryWhich.sync = function(opts) {
|
|
16376
16376
|
opts = opts || {};
|
|
16377
|
-
return npmWhich
|
|
16377
|
+
return npmWhich.sync(cmd, mixin(opts, options));
|
|
16378
16378
|
};
|
|
16379
16379
|
if (!(typeof fn === "function")) return curryWhich;
|
|
16380
16380
|
if (!options.cwd) return fn(/* @__PURE__ */ new Error("You must specify a cwd."));
|
|
@@ -16382,13 +16382,13 @@ var require_npm_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16382
16382
|
if (err) return fn(err);
|
|
16383
16383
|
var oldPath = process.env[npmPath.PATH];
|
|
16384
16384
|
process.env[npmPath.PATH] = newPath;
|
|
16385
|
-
which(cmd, function(err
|
|
16385
|
+
which(cmd, function(err, result) {
|
|
16386
16386
|
process.env[npmPath.PATH] = oldPath;
|
|
16387
|
-
fn(err
|
|
16387
|
+
fn(err, result);
|
|
16388
16388
|
});
|
|
16389
16389
|
});
|
|
16390
16390
|
}
|
|
16391
|
-
npmWhich
|
|
16391
|
+
npmWhich.sync = function(cmd, options) {
|
|
16392
16392
|
options = options || {};
|
|
16393
16393
|
options.cwd = options.cwd || cwd;
|
|
16394
16394
|
options.env = options.env || process.env;
|
|
@@ -16408,7 +16408,7 @@ var require_npm_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16408
16408
|
}
|
|
16409
16409
|
return result;
|
|
16410
16410
|
};
|
|
16411
|
-
if (arguments.length <= 1) return npmWhich
|
|
16411
|
+
if (arguments.length <= 1) return npmWhich;
|
|
16412
16412
|
return module.exports().apply(this, arguments);
|
|
16413
16413
|
};
|
|
16414
16414
|
module.exports.sync = function(cmd, options) {
|