@wix/cli-app 1.1.203 → 1.1.204
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/build/{AddPermissionCommand-6Z6GRQEW.js → AddPermissionCommand-IXN35GDL.js} +2 -2
- package/build/{DevCommand-JISHSNMA.js → DevCommand-FWEREJXQ.js} +10 -10
- package/build/{GenerateCommand-MOA7RGTI.js → GenerateCommand-7FWXC4SY.js} +7 -7
- package/build/{LogsCommand-5GVCCIZR.js → LogsCommand-HFV2JU55.js} +3 -3
- package/build/PreviewCommand-IMV4HPZE.js +19 -0
- package/build/ReleaseCommand-AKU24HQR.js +23 -0
- package/build/{ServeCommand-3O5KYQJ4.js → ServeCommand-VJRHS5P3.js} +3 -3
- package/build/{build-B4YPLLX5.js → build-G3BTP4KN.js} +6 -6
- package/build/{chunk-D7UTJB7M.js → chunk-3G7ZY6WS.js} +2 -2
- package/build/{chunk-DGXIMCFR.js → chunk-CO3NHS5A.js} +2 -2
- package/build/{chunk-A2D4NI6Z.js → chunk-G3YQ2EMJ.js} +2 -2
- package/build/{chunk-J34RDXDM.js → chunk-G7TNMPEK.js} +3 -3
- package/build/{chunk-N72ZQDBM.js → chunk-GYL4VUFN.js} +7 -7
- package/build/{chunk-7HAIU4K4.js → chunk-LARQJMFZ.js} +2 -2
- package/build/{chunk-7KN2TN7Q.js → chunk-MC36HFMU.js} +6 -6
- package/build/{chunk-7DSJSCRR.js → chunk-OO7YTMSA.js} +2 -2
- package/build/{chunk-IXYXDCPX.js → chunk-PACT3BWM.js} +6 -6
- package/build/{chunk-ICJEPBYH.js → chunk-SAKHYNOU.js} +3 -3
- package/build/{chunk-TP5Y2Z7Q.js → chunk-SS6XPFFS.js} +2 -2
- package/build/{chunk-QHARPZL2.js → chunk-TF32T2GI.js} +2 -2
- package/build/{chunk-YMZIPZHW.js → chunk-TMLY5Z35.js} +207 -203
- package/build/{chunk-YMZIPZHW.js.map → chunk-TMLY5Z35.js.map} +1 -1
- package/build/{chunk-AX2ZGWHL.js → chunk-YHMO66MK.js} +2 -2
- package/build/{chunk-4GIMBKKW.js → chunk-YQA7YAHZ.js} +4 -4
- package/build/{chunk-WYVW5PHI.js → chunk-Z2TN3T6Z.js} +2 -2
- package/build/{chunk-FJKSPEO6.js → chunk-ZV2AAF3I.js} +4 -4
- package/build/index.js +23 -23
- package/build/{preview-LENPSE2T.js → preview-NJZV5YJ5.js} +12 -12
- package/build/{release-PAYLWX7K.js → release-IPSDY5N4.js} +14 -14
- package/build/{render-command-UIOYAX3T.js → render-command-YBXZNZYS.js} +5 -5
- package/package.json +2 -2
- package/build/PreviewCommand-5PHGFLEJ.js +0 -19
- package/build/ReleaseCommand-PEVBP6RK.js +0 -23
- /package/build/{AddPermissionCommand-6Z6GRQEW.js.map → AddPermissionCommand-IXN35GDL.js.map} +0 -0
- /package/build/{DevCommand-JISHSNMA.js.map → DevCommand-FWEREJXQ.js.map} +0 -0
- /package/build/{GenerateCommand-MOA7RGTI.js.map → GenerateCommand-7FWXC4SY.js.map} +0 -0
- /package/build/{LogsCommand-5GVCCIZR.js.map → LogsCommand-HFV2JU55.js.map} +0 -0
- /package/build/{PreviewCommand-5PHGFLEJ.js.map → PreviewCommand-IMV4HPZE.js.map} +0 -0
- /package/build/{ReleaseCommand-PEVBP6RK.js.map → ReleaseCommand-AKU24HQR.js.map} +0 -0
- /package/build/{ServeCommand-3O5KYQJ4.js.map → ServeCommand-VJRHS5P3.js.map} +0 -0
- /package/build/{build-B4YPLLX5.js.map → build-G3BTP4KN.js.map} +0 -0
- /package/build/{chunk-D7UTJB7M.js.map → chunk-3G7ZY6WS.js.map} +0 -0
- /package/build/{chunk-DGXIMCFR.js.map → chunk-CO3NHS5A.js.map} +0 -0
- /package/build/{chunk-A2D4NI6Z.js.map → chunk-G3YQ2EMJ.js.map} +0 -0
- /package/build/{chunk-J34RDXDM.js.map → chunk-G7TNMPEK.js.map} +0 -0
- /package/build/{chunk-N72ZQDBM.js.map → chunk-GYL4VUFN.js.map} +0 -0
- /package/build/{chunk-7HAIU4K4.js.map → chunk-LARQJMFZ.js.map} +0 -0
- /package/build/{chunk-7KN2TN7Q.js.map → chunk-MC36HFMU.js.map} +0 -0
- /package/build/{chunk-7DSJSCRR.js.map → chunk-OO7YTMSA.js.map} +0 -0
- /package/build/{chunk-IXYXDCPX.js.map → chunk-PACT3BWM.js.map} +0 -0
- /package/build/{chunk-ICJEPBYH.js.map → chunk-SAKHYNOU.js.map} +0 -0
- /package/build/{chunk-TP5Y2Z7Q.js.map → chunk-SS6XPFFS.js.map} +0 -0
- /package/build/{chunk-QHARPZL2.js.map → chunk-TF32T2GI.js.map} +0 -0
- /package/build/{chunk-AX2ZGWHL.js.map → chunk-YHMO66MK.js.map} +0 -0
- /package/build/{chunk-4GIMBKKW.js.map → chunk-YQA7YAHZ.js.map} +0 -0
- /package/build/{chunk-WYVW5PHI.js.map → chunk-Z2TN3T6Z.js.map} +0 -0
- /package/build/{chunk-FJKSPEO6.js.map → chunk-ZV2AAF3I.js.map} +0 -0
- /package/build/{preview-LENPSE2T.js.map → preview-NJZV5YJ5.js.map} +0 -0
- /package/build/{release-PAYLWX7K.js.map → release-IPSDY5N4.js.map} +0 -0
- /package/build/{render-command-UIOYAX3T.js.map → render-command-YBXZNZYS.js.map} +0 -0
|
@@ -11249,11 +11249,11 @@ function __metadata(metadataKey, metadataValue) {
|
|
|
11249
11249
|
}
|
|
11250
11250
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
11251
11251
|
function adopt(value2) {
|
|
11252
|
-
return value2 instanceof P ? value2 : new P(function(
|
|
11253
|
-
|
|
11252
|
+
return value2 instanceof P ? value2 : new P(function(resolve5) {
|
|
11253
|
+
resolve5(value2);
|
|
11254
11254
|
});
|
|
11255
11255
|
}
|
|
11256
|
-
return new (P || (P = Promise))(function(
|
|
11256
|
+
return new (P || (P = Promise))(function(resolve5, reject) {
|
|
11257
11257
|
function fulfilled(value2) {
|
|
11258
11258
|
try {
|
|
11259
11259
|
step(generator.next(value2));
|
|
@@ -11269,7 +11269,7 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
11269
11269
|
}
|
|
11270
11270
|
}
|
|
11271
11271
|
function step(result) {
|
|
11272
|
-
result.done ?
|
|
11272
|
+
result.done ? resolve5(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
11273
11273
|
}
|
|
11274
11274
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11275
11275
|
});
|
|
@@ -11460,14 +11460,14 @@ function __asyncValues(o) {
|
|
|
11460
11460
|
}, i2);
|
|
11461
11461
|
function verb(n2) {
|
|
11462
11462
|
i2[n2] = o[n2] && function(v) {
|
|
11463
|
-
return new Promise(function(
|
|
11464
|
-
v = o[n2](v), settle(
|
|
11463
|
+
return new Promise(function(resolve5, reject) {
|
|
11464
|
+
v = o[n2](v), settle(resolve5, reject, v.done, v.value);
|
|
11465
11465
|
});
|
|
11466
11466
|
};
|
|
11467
11467
|
}
|
|
11468
|
-
function settle(
|
|
11468
|
+
function settle(resolve5, reject, d, v) {
|
|
11469
11469
|
Promise.resolve(v).then(function(v2) {
|
|
11470
|
-
|
|
11470
|
+
resolve5({ value: v2, done: d });
|
|
11471
11471
|
}, reject);
|
|
11472
11472
|
}
|
|
11473
11473
|
}
|
|
@@ -12563,10 +12563,10 @@ var require_settle = __commonJS({
|
|
|
12563
12563
|
"use strict";
|
|
12564
12564
|
init_esm_shims();
|
|
12565
12565
|
var createError = require_createError();
|
|
12566
|
-
module2.exports = function settle(
|
|
12566
|
+
module2.exports = function settle(resolve5, reject, response) {
|
|
12567
12567
|
var validateStatus = response.config.validateStatus;
|
|
12568
12568
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
12569
|
-
|
|
12569
|
+
resolve5(response);
|
|
12570
12570
|
} else {
|
|
12571
12571
|
reject(createError(
|
|
12572
12572
|
"Request failed with status code " + response.status,
|
|
@@ -14090,7 +14090,7 @@ var require_http = __commonJS({
|
|
|
14090
14090
|
}
|
|
14091
14091
|
module2.exports = function httpAdapter(config) {
|
|
14092
14092
|
return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {
|
|
14093
|
-
var
|
|
14093
|
+
var resolve5 = function resolve6(value2) {
|
|
14094
14094
|
resolvePromise(value2);
|
|
14095
14095
|
};
|
|
14096
14096
|
var reject = function reject2(value2) {
|
|
@@ -14238,7 +14238,7 @@ var require_http = __commonJS({
|
|
|
14238
14238
|
};
|
|
14239
14239
|
if (config.responseType === "stream") {
|
|
14240
14240
|
response.data = stream;
|
|
14241
|
-
settle(
|
|
14241
|
+
settle(resolve5, reject, response);
|
|
14242
14242
|
} else {
|
|
14243
14243
|
var responseBuffer = [];
|
|
14244
14244
|
var totalResponseBytes = 0;
|
|
@@ -14268,7 +14268,7 @@ var require_http = __commonJS({
|
|
|
14268
14268
|
}
|
|
14269
14269
|
}
|
|
14270
14270
|
response.data = responseData;
|
|
14271
|
-
settle(
|
|
14271
|
+
settle(resolve5, reject, response);
|
|
14272
14272
|
});
|
|
14273
14273
|
}
|
|
14274
14274
|
});
|
|
@@ -14535,7 +14535,7 @@ var require_xhr = __commonJS({
|
|
|
14535
14535
|
var isURLSameOrigin = require_isURLSameOrigin();
|
|
14536
14536
|
var createError = require_createError();
|
|
14537
14537
|
module2.exports = function xhrAdapter(config) {
|
|
14538
|
-
return new Promise(function dispatchXhrRequest(
|
|
14538
|
+
return new Promise(function dispatchXhrRequest(resolve5, reject) {
|
|
14539
14539
|
var requestData = config.data;
|
|
14540
14540
|
var requestHeaders = config.headers;
|
|
14541
14541
|
var responseType = config.responseType;
|
|
@@ -14565,7 +14565,7 @@ var require_xhr = __commonJS({
|
|
|
14565
14565
|
config,
|
|
14566
14566
|
request
|
|
14567
14567
|
};
|
|
14568
|
-
settle(
|
|
14568
|
+
settle(resolve5, reject, response);
|
|
14569
14569
|
request = null;
|
|
14570
14570
|
}
|
|
14571
14571
|
if ("onloadend" in request) {
|
|
@@ -15153,8 +15153,8 @@ var require_CancelToken = __commonJS({
|
|
|
15153
15153
|
throw new TypeError("executor must be a function.");
|
|
15154
15154
|
}
|
|
15155
15155
|
var resolvePromise;
|
|
15156
|
-
this.promise = new Promise(function promiseExecutor(
|
|
15157
|
-
resolvePromise =
|
|
15156
|
+
this.promise = new Promise(function promiseExecutor(resolve5) {
|
|
15157
|
+
resolvePromise = resolve5;
|
|
15158
15158
|
});
|
|
15159
15159
|
var token2 = this;
|
|
15160
15160
|
executor(function cancel(message) {
|
|
@@ -51364,8 +51364,8 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
51364
51364
|
}
|
|
51365
51365
|
}
|
|
51366
51366
|
dump() {
|
|
51367
|
-
const
|
|
51368
|
-
console.log(
|
|
51367
|
+
const sep3 = "-".repeat(60);
|
|
51368
|
+
console.log(sep3);
|
|
51369
51369
|
let scope = this;
|
|
51370
51370
|
do {
|
|
51371
51371
|
console.log("#", scope.block.type);
|
|
@@ -51379,7 +51379,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
51379
51379
|
});
|
|
51380
51380
|
}
|
|
51381
51381
|
} while (scope = scope.parent);
|
|
51382
|
-
console.log(
|
|
51382
|
+
console.log(sep3);
|
|
51383
51383
|
}
|
|
51384
51384
|
hasLabel(name) {
|
|
51385
51385
|
return !!this.getLabel(name);
|
|
@@ -52533,7 +52533,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
52533
52533
|
}
|
|
52534
52534
|
url.path = path5;
|
|
52535
52535
|
}
|
|
52536
|
-
function
|
|
52536
|
+
function resolve5(input, base) {
|
|
52537
52537
|
if (!input && !base)
|
|
52538
52538
|
return "";
|
|
52539
52539
|
const url = parseUrl(input);
|
|
@@ -52586,7 +52586,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
52586
52586
|
return url.scheme + "//" + url.user + url.host + url.port + url.path + queryHash;
|
|
52587
52587
|
}
|
|
52588
52588
|
}
|
|
52589
|
-
return
|
|
52589
|
+
return resolve5;
|
|
52590
52590
|
});
|
|
52591
52591
|
}
|
|
52592
52592
|
});
|
|
@@ -52939,8 +52939,8 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
52939
52939
|
this.sources = sources;
|
|
52940
52940
|
this.sourcesContent = sourcesContent;
|
|
52941
52941
|
this.ignoreList = parsed.ignoreList || parsed.x_google_ignoreList || void 0;
|
|
52942
|
-
const
|
|
52943
|
-
this.resolvedSources = sources.map(
|
|
52942
|
+
const resolve5 = resolver(mapUrl, sourceRoot);
|
|
52943
|
+
this.resolvedSources = sources.map(resolve5);
|
|
52944
52944
|
const { mappings } = parsed;
|
|
52945
52945
|
if (typeof mappings === "string") {
|
|
52946
52946
|
this._encoded = mappings;
|
|
@@ -57665,16 +57665,16 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
57665
57665
|
function TSIntersectionType(node) {
|
|
57666
57666
|
tsPrintUnionOrIntersectionType(this, node, "&");
|
|
57667
57667
|
}
|
|
57668
|
-
function tsPrintUnionOrIntersectionType(printer, node,
|
|
57668
|
+
function tsPrintUnionOrIntersectionType(printer, node, sep3) {
|
|
57669
57669
|
var _printer$tokenMap;
|
|
57670
57670
|
let hasLeadingToken = 0;
|
|
57671
|
-
if ((_printer$tokenMap = printer.tokenMap) != null && _printer$tokenMap.startMatches(node,
|
|
57671
|
+
if ((_printer$tokenMap = printer.tokenMap) != null && _printer$tokenMap.startMatches(node, sep3)) {
|
|
57672
57672
|
hasLeadingToken = 1;
|
|
57673
|
-
printer.token(
|
|
57673
|
+
printer.token(sep3);
|
|
57674
57674
|
}
|
|
57675
57675
|
printer.printJoin(node.types, void 0, void 0, function(i2) {
|
|
57676
57676
|
this.space();
|
|
57677
|
-
this.token(
|
|
57677
|
+
this.token(sep3, null, i2 + hasLeadingToken);
|
|
57678
57678
|
this.space();
|
|
57679
57679
|
});
|
|
57680
57680
|
}
|
|
@@ -61563,7 +61563,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
61563
61563
|
exports2.isStatic = isStatic;
|
|
61564
61564
|
exports2.matchesPattern = matchesPattern;
|
|
61565
61565
|
exports2.referencesImport = referencesImport;
|
|
61566
|
-
exports2.resolve =
|
|
61566
|
+
exports2.resolve = resolve5;
|
|
61567
61567
|
exports2.willIMaybeExecuteBefore = willIMaybeExecuteBefore;
|
|
61568
61568
|
var _t = require_lib3();
|
|
61569
61569
|
var {
|
|
@@ -61825,7 +61825,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
61825
61825
|
nodeMap.set(target.node, result);
|
|
61826
61826
|
return result;
|
|
61827
61827
|
}
|
|
61828
|
-
function
|
|
61828
|
+
function resolve5(dangerous, resolved) {
|
|
61829
61829
|
return _resolve.call(this, dangerous, resolved) || this;
|
|
61830
61830
|
}
|
|
61831
61831
|
function _resolve(dangerous, resolved) {
|
|
@@ -66460,10 +66460,10 @@ ${" ".repeat(indentSize)}`);
|
|
|
66460
66460
|
const items = Array.from(args[0]);
|
|
66461
66461
|
return items.map((item) => evaluateSync(item));
|
|
66462
66462
|
},
|
|
66463
|
-
async: function(args,
|
|
66463
|
+
async: function(args, resolve5, reject) {
|
|
66464
66464
|
const items = Array.from(args[0]);
|
|
66465
66465
|
if (items.length === 0) {
|
|
66466
|
-
Promise.resolve().then(() =>
|
|
66466
|
+
Promise.resolve().then(() => resolve5([]));
|
|
66467
66467
|
return;
|
|
66468
66468
|
}
|
|
66469
66469
|
let count = 0;
|
|
@@ -66474,7 +66474,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
66474
66474
|
(val) => {
|
|
66475
66475
|
results[i2] = val;
|
|
66476
66476
|
count += 1;
|
|
66477
|
-
if (count === results.length)
|
|
66477
|
+
if (count === results.length) resolve5(results);
|
|
66478
66478
|
},
|
|
66479
66479
|
reject
|
|
66480
66480
|
);
|
|
@@ -66491,13 +66491,13 @@ ${" ".repeat(indentSize)}`);
|
|
|
66491
66491
|
}
|
|
66492
66492
|
return evaluateSync(items[0]);
|
|
66493
66493
|
},
|
|
66494
|
-
async: function(args,
|
|
66494
|
+
async: function(args, resolve5, reject) {
|
|
66495
66495
|
const items = Array.from(args[0]);
|
|
66496
66496
|
if (items.length === 0) {
|
|
66497
66497
|
throw makeError("Must race at least 1 item", GENSYNC_RACE_NONEMPTY);
|
|
66498
66498
|
}
|
|
66499
66499
|
for (const item of items) {
|
|
66500
|
-
evaluateAsync(item,
|
|
66500
|
+
evaluateAsync(item, resolve5, reject);
|
|
66501
66501
|
}
|
|
66502
66502
|
}
|
|
66503
66503
|
})
|
|
@@ -66509,8 +66509,8 @@ ${" ".repeat(indentSize)}`);
|
|
|
66509
66509
|
return evaluateSync(genFn.apply(this, args));
|
|
66510
66510
|
},
|
|
66511
66511
|
async: function(...args) {
|
|
66512
|
-
return new Promise((
|
|
66513
|
-
evaluateAsync(genFn.apply(this, args),
|
|
66512
|
+
return new Promise((resolve5, reject) => {
|
|
66513
|
+
evaluateAsync(genFn.apply(this, args), resolve5, reject);
|
|
66514
66514
|
});
|
|
66515
66515
|
},
|
|
66516
66516
|
errback: function(...args) {
|
|
@@ -66608,16 +66608,16 @@ ${" ".repeat(indentSize)}`);
|
|
|
66608
66608
|
sync: function(args) {
|
|
66609
66609
|
return sync.apply(this, args);
|
|
66610
66610
|
},
|
|
66611
|
-
async: function(args,
|
|
66611
|
+
async: function(args, resolve5, reject) {
|
|
66612
66612
|
if (async) {
|
|
66613
|
-
async.apply(this, args).then(
|
|
66613
|
+
async.apply(this, args).then(resolve5, reject);
|
|
66614
66614
|
} else if (errback) {
|
|
66615
66615
|
errback.call(this, ...args, (err, value2) => {
|
|
66616
|
-
if (err == null)
|
|
66616
|
+
if (err == null) resolve5(value2);
|
|
66617
66617
|
else reject(err);
|
|
66618
66618
|
});
|
|
66619
66619
|
} else {
|
|
66620
|
-
|
|
66620
|
+
resolve5(sync.apply(this, args));
|
|
66621
66621
|
}
|
|
66622
66622
|
}
|
|
66623
66623
|
});
|
|
@@ -66668,7 +66668,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
66668
66668
|
}
|
|
66669
66669
|
return value2;
|
|
66670
66670
|
}
|
|
66671
|
-
function evaluateAsync(gen,
|
|
66671
|
+
function evaluateAsync(gen, resolve5, reject) {
|
|
66672
66672
|
(function step() {
|
|
66673
66673
|
try {
|
|
66674
66674
|
let value2;
|
|
@@ -66689,7 +66689,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
66689
66689
|
return;
|
|
66690
66690
|
}
|
|
66691
66691
|
}
|
|
66692
|
-
return
|
|
66692
|
+
return resolve5(value2);
|
|
66693
66693
|
} catch (err) {
|
|
66694
66694
|
return reject(err);
|
|
66695
66695
|
}
|
|
@@ -67147,8 +67147,8 @@ ${" ".repeat(indentSize)}`);
|
|
|
67147
67147
|
this.released = false;
|
|
67148
67148
|
this.promise = void 0;
|
|
67149
67149
|
this._resolve = void 0;
|
|
67150
|
-
this.promise = new Promise((
|
|
67151
|
-
this._resolve =
|
|
67150
|
+
this.promise = new Promise((resolve5) => {
|
|
67151
|
+
this._resolve = resolve5;
|
|
67152
67152
|
});
|
|
67153
67153
|
}
|
|
67154
67154
|
release(value2) {
|
|
@@ -68680,9 +68680,9 @@ ${" ".repeat(indentSize)}`);
|
|
|
68680
68680
|
};
|
|
68681
68681
|
}
|
|
68682
68682
|
} else {
|
|
68683
|
-
let
|
|
68683
|
+
let resolve5, reject;
|
|
68684
68684
|
resultP = new Promise((res, rej) => {
|
|
68685
|
-
|
|
68685
|
+
resolve5 = res;
|
|
68686
68686
|
reject = rej;
|
|
68687
68687
|
});
|
|
68688
68688
|
try {
|
|
@@ -68691,7 +68691,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
68691
68691
|
value: yield* fn()
|
|
68692
68692
|
};
|
|
68693
68693
|
resultP = null;
|
|
68694
|
-
if (promiseReferenced)
|
|
68694
|
+
if (promiseReferenced) resolve5(result.value);
|
|
68695
68695
|
} catch (error) {
|
|
68696
68696
|
result = {
|
|
68697
68697
|
ok: false,
|
|
@@ -69826,7 +69826,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
69826
69826
|
function isSupported(flags, withPartial) {
|
|
69827
69827
|
return typeof flags === "string" && (flags.indexOf("y") >= 0 || withPartial && flags.indexOf("a") >= 0);
|
|
69828
69828
|
}
|
|
69829
|
-
function
|
|
69829
|
+
function resolve5(queries, context) {
|
|
69830
69830
|
return parse32(QUERIES, queries).reduce(function(result, node, index) {
|
|
69831
69831
|
if (node.not && index === 0) {
|
|
69832
69832
|
throw new BrowserslistError(
|
|
@@ -69913,7 +69913,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
69913
69913
|
}
|
|
69914
69914
|
var cacheKey = JSON.stringify([queries, context]);
|
|
69915
69915
|
if (cache3[cacheKey]) return cache3[cacheKey];
|
|
69916
|
-
var result = uniq(
|
|
69916
|
+
var result = uniq(resolve5(queries, context)).sort(function(name1, name2) {
|
|
69917
69917
|
name1 = name1.split(" ");
|
|
69918
69918
|
name2 = name2.split(" ");
|
|
69919
69919
|
if (name1[0] === name2[0]) {
|
|
@@ -70510,7 +70510,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
70510
70510
|
matches: [],
|
|
70511
70511
|
regexp: /^current\s+node$/i,
|
|
70512
70512
|
select: function(context) {
|
|
70513
|
-
return [env3.currentNode(
|
|
70513
|
+
return [env3.currentNode(resolve5, context)];
|
|
70514
70514
|
}
|
|
70515
70515
|
},
|
|
70516
70516
|
maintained_node: {
|
|
@@ -70523,7 +70523,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
70523
70523
|
}).map(function(key2) {
|
|
70524
70524
|
return "node " + key2.slice(1);
|
|
70525
70525
|
});
|
|
70526
|
-
return
|
|
70526
|
+
return resolve5(queries, context);
|
|
70527
70527
|
}
|
|
70528
70528
|
},
|
|
70529
70529
|
phantomjs_1_9: {
|
|
@@ -70581,14 +70581,14 @@ ${" ".repeat(indentSize)}`);
|
|
|
70581
70581
|
matches: ["config"],
|
|
70582
70582
|
regexp: /^extends (.+)$/i,
|
|
70583
70583
|
select: function(context, node) {
|
|
70584
|
-
return
|
|
70584
|
+
return resolve5(env3.loadQueries(context, node.config), context);
|
|
70585
70585
|
}
|
|
70586
70586
|
},
|
|
70587
70587
|
defaults: {
|
|
70588
70588
|
matches: [],
|
|
70589
70589
|
regexp: /^defaults$/i,
|
|
70590
70590
|
select: function(context) {
|
|
70591
|
-
return
|
|
70591
|
+
return resolve5(browserslist.defaults, context);
|
|
70592
70592
|
}
|
|
70593
70593
|
},
|
|
70594
70594
|
dead: {
|
|
@@ -70603,7 +70603,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
70603
70603
|
"op_mob <= 12.1",
|
|
70604
70604
|
"samsung 4"
|
|
70605
70605
|
];
|
|
70606
|
-
return
|
|
70606
|
+
return resolve5(dead, context);
|
|
70607
70607
|
}
|
|
70608
70608
|
},
|
|
70609
70609
|
unknown: {
|
|
@@ -74789,10 +74789,10 @@ To be a valid ${type}, its name and options should be wrapped in a pair of brack
|
|
|
74789
74789
|
};
|
|
74790
74790
|
return data;
|
|
74791
74791
|
}
|
|
74792
|
-
var
|
|
74793
|
-
var endSep = `(?:${
|
|
74794
|
-
var substitution = `[^${
|
|
74795
|
-
var starPat = `(?:${substitution}${
|
|
74792
|
+
var sep3 = `\\${_path().sep}`;
|
|
74793
|
+
var endSep = `(?:${sep3}|$)`;
|
|
74794
|
+
var substitution = `[^${sep3}]+`;
|
|
74795
|
+
var starPat = `(?:${substitution}${sep3})`;
|
|
74796
74796
|
var starPatLast = `(?:${substitution}${endSep})`;
|
|
74797
74797
|
var starStarPat = `${starPat}*?`;
|
|
74798
74798
|
var starStarPatLast = `${starPat}*?${starPatLast}?`;
|
|
@@ -74806,9 +74806,9 @@ To be a valid ${type}, its name and options should be wrapped in a pair of brack
|
|
|
74806
74806
|
if (part === "**") return last ? starStarPatLast : starStarPat;
|
|
74807
74807
|
if (part === "*") return last ? starPatLast : starPat;
|
|
74808
74808
|
if (part.indexOf("*.") === 0) {
|
|
74809
|
-
return substitution + escapeRegExp2(part.slice(1)) + (last ? endSep :
|
|
74809
|
+
return substitution + escapeRegExp2(part.slice(1)) + (last ? endSep : sep3);
|
|
74810
74810
|
}
|
|
74811
|
-
return escapeRegExp2(part) + (last ? endSep :
|
|
74811
|
+
return escapeRegExp2(part) + (last ? endSep : sep3);
|
|
74812
74812
|
})].join(""));
|
|
74813
74813
|
}
|
|
74814
74814
|
}
|
|
@@ -84437,7 +84437,7 @@ module.exports = function(api) {
|
|
|
84437
84437
|
value: true
|
|
84438
84438
|
});
|
|
84439
84439
|
exports2.moduleResolve = moduleResolve;
|
|
84440
|
-
exports2.resolve =
|
|
84440
|
+
exports2.resolve = resolve5;
|
|
84441
84441
|
function _assert() {
|
|
84442
84442
|
const data = __require("assert");
|
|
84443
84443
|
_assert = function() {
|
|
@@ -85475,7 +85475,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
85475
85475
|
})
|
|
85476
85476
|
};
|
|
85477
85477
|
}
|
|
85478
|
-
function
|
|
85478
|
+
function resolve5(specifier, parent) {
|
|
85479
85479
|
if (!parent) {
|
|
85480
85480
|
throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");
|
|
85481
85481
|
}
|
|
@@ -86807,7 +86807,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
86807
86807
|
]);
|
|
86808
86808
|
args = [...headers, ...args];
|
|
86809
86809
|
}
|
|
86810
|
-
return new Promise((
|
|
86810
|
+
return new Promise((resolve5, reject) => {
|
|
86811
86811
|
if (live === true || live === "rejectOnError") {
|
|
86812
86812
|
const output = silent ? "ignore" : "inherit";
|
|
86813
86813
|
const pid = childProcess2.spawn(getPath3(), args, {
|
|
@@ -86818,18 +86818,18 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
86818
86818
|
pid.on("exit", (exitCode) => {
|
|
86819
86819
|
if (live === "rejectOnError") {
|
|
86820
86820
|
if (exitCode === 0) {
|
|
86821
|
-
|
|
86821
|
+
resolve5("success (live mode)");
|
|
86822
86822
|
}
|
|
86823
86823
|
reject(new Error(`Command ${args.join(" ")} failed with exit code ${exitCode}`));
|
|
86824
86824
|
}
|
|
86825
|
-
|
|
86825
|
+
resolve5();
|
|
86826
86826
|
});
|
|
86827
86827
|
} else {
|
|
86828
86828
|
childProcess2.execFile(getPath3(), args, { env: env3 }, (err, stdout) => {
|
|
86829
86829
|
if (err) {
|
|
86830
86830
|
reject(err);
|
|
86831
86831
|
} else {
|
|
86832
|
-
|
|
86832
|
+
resolve5(stdout);
|
|
86833
86833
|
}
|
|
86834
86834
|
});
|
|
86835
86835
|
}
|
|
@@ -90933,10 +90933,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
90933
90933
|
* Return a void Promise that resolves once the stream ends.
|
|
90934
90934
|
*/
|
|
90935
90935
|
async promise() {
|
|
90936
|
-
return new Promise((
|
|
90936
|
+
return new Promise((resolve5, reject) => {
|
|
90937
90937
|
this.on(DESTROYED, () => reject(new Error("stream destroyed")));
|
|
90938
90938
|
this.on("error", (er) => reject(er));
|
|
90939
|
-
this.on("end", () =>
|
|
90939
|
+
this.on("end", () => resolve5());
|
|
90940
90940
|
});
|
|
90941
90941
|
}
|
|
90942
90942
|
/**
|
|
@@ -90960,7 +90960,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
90960
90960
|
return Promise.resolve({ done: false, value: res });
|
|
90961
90961
|
if (this[EOF])
|
|
90962
90962
|
return stop();
|
|
90963
|
-
let
|
|
90963
|
+
let resolve5;
|
|
90964
90964
|
let reject;
|
|
90965
90965
|
const onerr = (er) => {
|
|
90966
90966
|
this.off("data", ondata);
|
|
@@ -90974,19 +90974,19 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
90974
90974
|
this.off("end", onend);
|
|
90975
90975
|
this.off(DESTROYED, ondestroy);
|
|
90976
90976
|
this.pause();
|
|
90977
|
-
|
|
90977
|
+
resolve5({ value: value2, done: !!this[EOF] });
|
|
90978
90978
|
};
|
|
90979
90979
|
const onend = () => {
|
|
90980
90980
|
this.off("error", onerr);
|
|
90981
90981
|
this.off("data", ondata);
|
|
90982
90982
|
this.off(DESTROYED, ondestroy);
|
|
90983
90983
|
stop();
|
|
90984
|
-
|
|
90984
|
+
resolve5({ done: true, value: void 0 });
|
|
90985
90985
|
};
|
|
90986
90986
|
const ondestroy = () => onerr(new Error("stream destroyed"));
|
|
90987
90987
|
return new Promise((res2, rej) => {
|
|
90988
90988
|
reject = rej;
|
|
90989
|
-
|
|
90989
|
+
resolve5 = res2;
|
|
90990
90990
|
this.once(DESTROYED, ondestroy);
|
|
90991
90991
|
this.once("error", onerr);
|
|
90992
90992
|
this.once("end", onend);
|
|
@@ -91996,9 +91996,9 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
91996
91996
|
if (this.#asyncReaddirInFlight) {
|
|
91997
91997
|
await this.#asyncReaddirInFlight;
|
|
91998
91998
|
} else {
|
|
91999
|
-
let
|
|
91999
|
+
let resolve5 = () => {
|
|
92000
92000
|
};
|
|
92001
|
-
this.#asyncReaddirInFlight = new Promise((res) =>
|
|
92001
|
+
this.#asyncReaddirInFlight = new Promise((res) => resolve5 = res);
|
|
92002
92002
|
try {
|
|
92003
92003
|
for (const e2 of await this.#fs.promises.readdir(fullpath, {
|
|
92004
92004
|
withFileTypes: true
|
|
@@ -92011,7 +92011,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
92011
92011
|
children.provisional = 0;
|
|
92012
92012
|
}
|
|
92013
92013
|
this.#asyncReaddirInFlight = void 0;
|
|
92014
|
-
|
|
92014
|
+
resolve5();
|
|
92015
92015
|
}
|
|
92016
92016
|
return children.slice(0, children.provisional);
|
|
92017
92017
|
}
|
|
@@ -92244,7 +92244,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
92244
92244
|
*
|
|
92245
92245
|
* @internal
|
|
92246
92246
|
*/
|
|
92247
|
-
constructor(cwd2 = process.cwd(), pathImpl,
|
|
92247
|
+
constructor(cwd2 = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs: fs11 = defaultFS } = {}) {
|
|
92248
92248
|
this.#fs = fsFromOption(fs11);
|
|
92249
92249
|
if (cwd2 instanceof URL || cwd2.startsWith("file://")) {
|
|
92250
92250
|
cwd2 = (0, node_url_1.fileURLToPath)(cwd2);
|
|
@@ -92255,7 +92255,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
92255
92255
|
this.#resolveCache = new ResolveCache();
|
|
92256
92256
|
this.#resolvePosixCache = new ResolveCache();
|
|
92257
92257
|
this.#children = new ChildrenCache(childrenCacheSize);
|
|
92258
|
-
const split = cwdPath.substring(this.rootPath.length).split(
|
|
92258
|
+
const split = cwdPath.substring(this.rootPath.length).split(sep3);
|
|
92259
92259
|
if (split.length === 1 && !split[0]) {
|
|
92260
92260
|
split.pop();
|
|
92261
92261
|
}
|
|
@@ -93453,10 +93453,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
93453
93453
|
}
|
|
93454
93454
|
// stream.promise().then(() => done, er => emitted error)
|
|
93455
93455
|
promise() {
|
|
93456
|
-
return new Promise((
|
|
93456
|
+
return new Promise((resolve5, reject) => {
|
|
93457
93457
|
this.on(DESTROYED, () => reject(new Error("stream destroyed")));
|
|
93458
93458
|
this.on("error", (er) => reject(er));
|
|
93459
|
-
this.on("end", () =>
|
|
93459
|
+
this.on("end", () => resolve5());
|
|
93460
93460
|
});
|
|
93461
93461
|
}
|
|
93462
93462
|
// for await (let chunk of stream)
|
|
@@ -93472,7 +93472,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
93472
93472
|
const res = this.read();
|
|
93473
93473
|
if (res !== null) return Promise.resolve({ done: false, value: res });
|
|
93474
93474
|
if (this[EOF]) return stop();
|
|
93475
|
-
let
|
|
93475
|
+
let resolve5 = null;
|
|
93476
93476
|
let reject = null;
|
|
93477
93477
|
const onerr = (er) => {
|
|
93478
93478
|
this.removeListener("data", ondata);
|
|
@@ -93486,19 +93486,19 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
93486
93486
|
this.removeListener("end", onend);
|
|
93487
93487
|
this.removeListener(DESTROYED, ondestroy);
|
|
93488
93488
|
this.pause();
|
|
93489
|
-
|
|
93489
|
+
resolve5({ value: value2, done: !!this[EOF] });
|
|
93490
93490
|
};
|
|
93491
93491
|
const onend = () => {
|
|
93492
93492
|
this.removeListener("error", onerr);
|
|
93493
93493
|
this.removeListener("data", ondata);
|
|
93494
93494
|
this.removeListener(DESTROYED, ondestroy);
|
|
93495
93495
|
stop();
|
|
93496
|
-
|
|
93496
|
+
resolve5({ done: true });
|
|
93497
93497
|
};
|
|
93498
93498
|
const ondestroy = () => onerr(new Error("stream destroyed"));
|
|
93499
93499
|
return new Promise((res2, rej) => {
|
|
93500
93500
|
reject = rej;
|
|
93501
|
-
|
|
93501
|
+
resolve5 = res2;
|
|
93502
93502
|
this.once(DESTROYED, ondestroy);
|
|
93503
93503
|
this.once("error", onerr);
|
|
93504
93504
|
this.once("end", onend);
|
|
@@ -97405,9 +97405,9 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
97405
97405
|
return new ReaddirpStream(options);
|
|
97406
97406
|
};
|
|
97407
97407
|
var readdirpPromise = (root2, options = {}) => {
|
|
97408
|
-
return new Promise((
|
|
97408
|
+
return new Promise((resolve5, reject) => {
|
|
97409
97409
|
const files = [];
|
|
97410
|
-
readdirp(root2, options).on("data", (entry) => files.push(entry)).on("end", () =>
|
|
97410
|
+
readdirp(root2, options).on("data", (entry) => files.push(entry)).on("end", () => resolve5(files)).on("error", (error) => reject(error));
|
|
97411
97411
|
});
|
|
97412
97412
|
};
|
|
97413
97413
|
readdirp.promise = readdirpPromise;
|
|
@@ -100525,7 +100525,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
100525
100525
|
var require_constants52 = __commonJS2({
|
|
100526
100526
|
"../../node_modules/unplugin/node_modules/chokidar/lib/constants.js"(exports2) {
|
|
100527
100527
|
"use strict";
|
|
100528
|
-
var { sep:
|
|
100528
|
+
var { sep: sep3 } = __require("path");
|
|
100529
100529
|
var { platform: platform5 } = process;
|
|
100530
100530
|
var os4 = __require("os");
|
|
100531
100531
|
exports2.EV_ALL = "all";
|
|
@@ -100554,7 +100554,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
100554
100554
|
exports2.KEY_ERR = "errHandlers";
|
|
100555
100555
|
exports2.KEY_RAW = "rawEmitters";
|
|
100556
100556
|
exports2.HANDLER_KEYS = [exports2.KEY_LISTENERS, exports2.KEY_ERR, exports2.KEY_RAW];
|
|
100557
|
-
exports2.DOT_SLASH = `.${
|
|
100557
|
+
exports2.DOT_SLASH = `.${sep3}`;
|
|
100558
100558
|
exports2.BACK_SLASH_RE = /\\/g;
|
|
100559
100559
|
exports2.DOUBLE_SLASH_RE = /\/\//;
|
|
100560
100560
|
exports2.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -100948,13 +100948,13 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
100948
100948
|
}
|
|
100949
100949
|
}).on(EV_ERROR, this._boundHandleError);
|
|
100950
100950
|
return new Promise(
|
|
100951
|
-
(
|
|
100951
|
+
(resolve5) => stream.once(STR_END, () => {
|
|
100952
100952
|
if (this.fsw.closed) {
|
|
100953
100953
|
stream = void 0;
|
|
100954
100954
|
return;
|
|
100955
100955
|
}
|
|
100956
100956
|
const wasThrottled = throttler ? throttler.clear() : false;
|
|
100957
|
-
|
|
100957
|
+
resolve5();
|
|
100958
100958
|
previous.getChildren().filter((item) => {
|
|
100959
100959
|
return item !== directory && !current.has(item) && // in case of intersecting globs;
|
|
100960
100960
|
// a path may have been filtered out of this readdir, but
|
|
@@ -111065,7 +111065,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
111065
111065
|
}
|
|
111066
111066
|
url.path = path22;
|
|
111067
111067
|
}
|
|
111068
|
-
function
|
|
111068
|
+
function resolve5(input, base) {
|
|
111069
111069
|
if (!input && !base)
|
|
111070
111070
|
return "";
|
|
111071
111071
|
const url = parseUrl(input);
|
|
@@ -111094,7 +111094,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
|
|
|
111094
111094
|
function resolve22(input, base) {
|
|
111095
111095
|
if (base && !base.endsWith("/"))
|
|
111096
111096
|
base += "/";
|
|
111097
|
-
return
|
|
111097
|
+
return resolve5(input, base);
|
|
111098
111098
|
}
|
|
111099
111099
|
function stripFilename(path22) {
|
|
111100
111100
|
if (!path22)
|
|
@@ -112628,18 +112628,18 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
112628
112628
|
queue.dequeue()();
|
|
112629
112629
|
}
|
|
112630
112630
|
};
|
|
112631
|
-
const run = async (fn,
|
|
112631
|
+
const run = async (fn, resolve5, ...args) => {
|
|
112632
112632
|
activeCount++;
|
|
112633
112633
|
const result = (async () => fn(...args))();
|
|
112634
|
-
|
|
112634
|
+
resolve5(result);
|
|
112635
112635
|
try {
|
|
112636
112636
|
await result;
|
|
112637
112637
|
} catch {
|
|
112638
112638
|
}
|
|
112639
112639
|
next();
|
|
112640
112640
|
};
|
|
112641
|
-
const enqueue = (fn,
|
|
112642
|
-
queue.enqueue(run.bind(null, fn,
|
|
112641
|
+
const enqueue = (fn, resolve5, ...args) => {
|
|
112642
|
+
queue.enqueue(run.bind(null, fn, resolve5, ...args));
|
|
112643
112643
|
(async () => {
|
|
112644
112644
|
await Promise.resolve();
|
|
112645
112645
|
if (activeCount < concurrency && queue.size > 0) {
|
|
@@ -112647,8 +112647,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
112647
112647
|
}
|
|
112648
112648
|
})();
|
|
112649
112649
|
};
|
|
112650
|
-
const generator = (fn, ...args) => new Promise((
|
|
112651
|
-
enqueue(fn,
|
|
112650
|
+
const generator = (fn, ...args) => new Promise((resolve5) => {
|
|
112651
|
+
enqueue(fn, resolve5, ...args);
|
|
112652
112652
|
});
|
|
112653
112653
|
Object.defineProperties(generator, {
|
|
112654
112654
|
activeCount: {
|
|
@@ -113003,18 +113003,18 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
113003
113003
|
});
|
|
113004
113004
|
}
|
|
113005
113005
|
function AsyncIterator2(generator, PromiseImpl) {
|
|
113006
|
-
function invoke(method, arg,
|
|
113006
|
+
function invoke(method, arg, resolve5, reject) {
|
|
113007
113007
|
var record = tryCatch(generator[method], generator, arg);
|
|
113008
113008
|
if ("throw" !== record.type) {
|
|
113009
113009
|
var result = record.arg, value2 = result.value;
|
|
113010
113010
|
return value2 && "object" == typeof value2 && hasOwn2.call(value2, "__await") ? PromiseImpl.resolve(value2.__await).then(function(value3) {
|
|
113011
|
-
invoke("next", value3,
|
|
113011
|
+
invoke("next", value3, resolve5, reject);
|
|
113012
113012
|
}, function(err) {
|
|
113013
|
-
invoke("throw", err,
|
|
113013
|
+
invoke("throw", err, resolve5, reject);
|
|
113014
113014
|
}) : PromiseImpl.resolve(value2).then(function(unwrapped) {
|
|
113015
|
-
result.value = unwrapped,
|
|
113015
|
+
result.value = unwrapped, resolve5(result);
|
|
113016
113016
|
}, function(error) {
|
|
113017
|
-
return invoke("throw", error,
|
|
113017
|
+
return invoke("throw", error, resolve5, reject);
|
|
113018
113018
|
});
|
|
113019
113019
|
}
|
|
113020
113020
|
reject(record.arg);
|
|
@@ -113023,8 +113023,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
113023
113023
|
defineProperty(this, "_invoke", {
|
|
113024
113024
|
value: function(method, arg) {
|
|
113025
113025
|
function callInvokeWithMethodAndArg() {
|
|
113026
|
-
return new PromiseImpl(function(
|
|
113027
|
-
invoke(method, arg,
|
|
113026
|
+
return new PromiseImpl(function(resolve5, reject) {
|
|
113027
|
+
invoke(method, arg, resolve5, reject);
|
|
113028
113028
|
});
|
|
113029
113029
|
}
|
|
113030
113030
|
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
@@ -113236,7 +113236,7 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
113236
113236
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
113237
113237
|
}, _typeof(obj);
|
|
113238
113238
|
}
|
|
113239
|
-
function asyncGeneratorStep(gen,
|
|
113239
|
+
function asyncGeneratorStep(gen, resolve5, reject, _next, _throw, key2, arg) {
|
|
113240
113240
|
try {
|
|
113241
113241
|
var info = gen[key2](arg);
|
|
113242
113242
|
var value2 = info.value;
|
|
@@ -113245,7 +113245,7 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
113245
113245
|
return;
|
|
113246
113246
|
}
|
|
113247
113247
|
if (info.done) {
|
|
113248
|
-
|
|
113248
|
+
resolve5(value2);
|
|
113249
113249
|
} else {
|
|
113250
113250
|
Promise.resolve(value2).then(_next, _throw);
|
|
113251
113251
|
}
|
|
@@ -113253,13 +113253,13 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
113253
113253
|
function _asyncToGenerator(fn) {
|
|
113254
113254
|
return function() {
|
|
113255
113255
|
var self2 = this, args = arguments;
|
|
113256
|
-
return new Promise(function(
|
|
113256
|
+
return new Promise(function(resolve5, reject) {
|
|
113257
113257
|
var gen = fn.apply(self2, args);
|
|
113258
113258
|
function _next(value2) {
|
|
113259
|
-
asyncGeneratorStep(gen,
|
|
113259
|
+
asyncGeneratorStep(gen, resolve5, reject, _next, _throw, "next", value2);
|
|
113260
113260
|
}
|
|
113261
113261
|
function _throw(err) {
|
|
113262
|
-
asyncGeneratorStep(gen,
|
|
113262
|
+
asyncGeneratorStep(gen, resolve5, reject, _next, _throw, "throw", err);
|
|
113263
113263
|
}
|
|
113264
113264
|
_next(void 0);
|
|
113265
113265
|
});
|
|
@@ -114109,8 +114109,8 @@ Error:`,
|
|
|
114109
114109
|
States2[States2["REJECTED"] = REJECTED] = "REJECTED";
|
|
114110
114110
|
})(States || (States = {}));
|
|
114111
114111
|
function resolvedSyncPromise(value2) {
|
|
114112
|
-
return new SyncPromise((
|
|
114113
|
-
|
|
114112
|
+
return new SyncPromise((resolve5) => {
|
|
114113
|
+
resolve5(value2);
|
|
114114
114114
|
});
|
|
114115
114115
|
}
|
|
114116
114116
|
function rejectedSyncPromise(reason) {
|
|
@@ -114134,15 +114134,15 @@ Error:`,
|
|
|
114134
114134
|
}
|
|
114135
114135
|
/** JSDoc */
|
|
114136
114136
|
then(onfulfilled, onrejected) {
|
|
114137
|
-
return new _SyncPromise((
|
|
114137
|
+
return new _SyncPromise((resolve5, reject) => {
|
|
114138
114138
|
this._handlers.push([
|
|
114139
114139
|
false,
|
|
114140
114140
|
(result) => {
|
|
114141
114141
|
if (!onfulfilled) {
|
|
114142
|
-
|
|
114142
|
+
resolve5(result);
|
|
114143
114143
|
} else {
|
|
114144
114144
|
try {
|
|
114145
|
-
|
|
114145
|
+
resolve5(onfulfilled(result));
|
|
114146
114146
|
} catch (e2) {
|
|
114147
114147
|
reject(e2);
|
|
114148
114148
|
}
|
|
@@ -114153,7 +114153,7 @@ Error:`,
|
|
|
114153
114153
|
reject(reason);
|
|
114154
114154
|
} else {
|
|
114155
114155
|
try {
|
|
114156
|
-
|
|
114156
|
+
resolve5(onrejected(reason));
|
|
114157
114157
|
} catch (e2) {
|
|
114158
114158
|
reject(e2);
|
|
114159
114159
|
}
|
|
@@ -114169,7 +114169,7 @@ Error:`,
|
|
|
114169
114169
|
}
|
|
114170
114170
|
/** JSDoc */
|
|
114171
114171
|
finally(onfinally) {
|
|
114172
|
-
return new _SyncPromise((
|
|
114172
|
+
return new _SyncPromise((resolve5, reject) => {
|
|
114173
114173
|
let val;
|
|
114174
114174
|
let isRejected;
|
|
114175
114175
|
return this.then(
|
|
@@ -114192,7 +114192,7 @@ Error:`,
|
|
|
114192
114192
|
reject(val);
|
|
114193
114193
|
return;
|
|
114194
114194
|
}
|
|
114195
|
-
|
|
114195
|
+
resolve5(val);
|
|
114196
114196
|
});
|
|
114197
114197
|
});
|
|
114198
114198
|
}
|
|
@@ -114270,21 +114270,21 @@ Error:`,
|
|
|
114270
114270
|
return task;
|
|
114271
114271
|
}
|
|
114272
114272
|
function drain(timeout) {
|
|
114273
|
-
return new SyncPromise((
|
|
114273
|
+
return new SyncPromise((resolve5, reject) => {
|
|
114274
114274
|
let counter = buffer2.length;
|
|
114275
114275
|
if (!counter) {
|
|
114276
|
-
return
|
|
114276
|
+
return resolve5(true);
|
|
114277
114277
|
}
|
|
114278
114278
|
const capturedSetTimeout = setTimeout(() => {
|
|
114279
114279
|
if (timeout && timeout > 0) {
|
|
114280
|
-
|
|
114280
|
+
resolve5(false);
|
|
114281
114281
|
}
|
|
114282
114282
|
}, timeout);
|
|
114283
114283
|
buffer2.forEach((item) => {
|
|
114284
114284
|
void resolvedSyncPromise(item).then(() => {
|
|
114285
114285
|
if (!--counter) {
|
|
114286
114286
|
clearTimeout(capturedSetTimeout);
|
|
114287
|
-
|
|
114287
|
+
resolve5(true);
|
|
114288
114288
|
}
|
|
114289
114289
|
}, reject);
|
|
114290
114290
|
});
|
|
@@ -116481,17 +116481,17 @@ ${JSON.stringify(itemHeaders)}
|
|
|
116481
116481
|
} : (callback) => callback();
|
|
116482
116482
|
}
|
|
116483
116483
|
function notifyEventProcessors(processors, event, hint, index = 0) {
|
|
116484
|
-
return new SyncPromise((
|
|
116484
|
+
return new SyncPromise((resolve5, reject) => {
|
|
116485
116485
|
const processor = processors[index];
|
|
116486
116486
|
if (event === null || typeof processor !== "function") {
|
|
116487
|
-
|
|
116487
|
+
resolve5(event);
|
|
116488
116488
|
} else {
|
|
116489
116489
|
const result = processor({ ...event }, hint);
|
|
116490
116490
|
DEBUG_BUILD && processor.id && result === null && logger.log(`Event processor "${processor.id}" dropped event`);
|
|
116491
116491
|
if (isThenable(result)) {
|
|
116492
|
-
void result.then((final) => notifyEventProcessors(processors, final, hint, index + 1).then(
|
|
116492
|
+
void result.then((final) => notifyEventProcessors(processors, final, hint, index + 1).then(resolve5)).then(null, reject);
|
|
116493
116493
|
} else {
|
|
116494
|
-
void notifyEventProcessors(processors, result, hint, index + 1).then(
|
|
116494
|
+
void notifyEventProcessors(processors, result, hint, index + 1).then(resolve5).then(null, reject);
|
|
116495
116495
|
}
|
|
116496
116496
|
}
|
|
116497
116497
|
});
|
|
@@ -117268,18 +117268,18 @@ ${JSON.stringify(itemHeaders)}
|
|
|
117268
117268
|
* `false` otherwise
|
|
117269
117269
|
*/
|
|
117270
117270
|
_isClientDoneProcessing(timeout) {
|
|
117271
|
-
return new SyncPromise((
|
|
117271
|
+
return new SyncPromise((resolve5) => {
|
|
117272
117272
|
let ticked = 0;
|
|
117273
117273
|
const tick = 1;
|
|
117274
117274
|
const interval = setInterval(() => {
|
|
117275
117275
|
if (this._numProcessing == 0) {
|
|
117276
117276
|
clearInterval(interval);
|
|
117277
|
-
|
|
117277
|
+
resolve5(true);
|
|
117278
117278
|
} else {
|
|
117279
117279
|
ticked += tick;
|
|
117280
117280
|
if (timeout && ticked >= timeout) {
|
|
117281
117281
|
clearInterval(interval);
|
|
117282
|
-
|
|
117282
|
+
resolve5(false);
|
|
117283
117283
|
}
|
|
117284
117284
|
}
|
|
117285
117285
|
}, tick);
|
|
@@ -118178,7 +118178,7 @@ Reason: ${reason}`
|
|
|
118178
118178
|
function createRequestExecutor(options) {
|
|
118179
118179
|
var _URL = new URL(options.url), hostname = _URL.hostname, pathname = _URL.pathname, port = _URL.port, protocol = _URL.protocol, search = _URL.search;
|
|
118180
118180
|
return function makeRequest(request) {
|
|
118181
|
-
return new Promise(function(
|
|
118181
|
+
return new Promise(function(resolve5, reject) {
|
|
118182
118182
|
suppressTracing(function() {
|
|
118183
118183
|
var body = streamFromBody(request.body);
|
|
118184
118184
|
var headers = {};
|
|
@@ -118202,7 +118202,7 @@ Reason: ${reason}`
|
|
|
118202
118202
|
res.setEncoding("utf8");
|
|
118203
118203
|
var retryAfterHeader = (_res$headers$retryAf = res.headers["retry-after"]) !== null && _res$headers$retryAf !== void 0 ? _res$headers$retryAf : null;
|
|
118204
118204
|
var rateLimitsHeader = (_res$headers$xSentry = res.headers["x-sentry-rate-limits"]) !== null && _res$headers$xSentry !== void 0 ? _res$headers$xSentry : null;
|
|
118205
|
-
|
|
118205
|
+
resolve5({
|
|
118206
118206
|
statusCode: res.statusCode,
|
|
118207
118207
|
headers: {
|
|
118208
118208
|
"retry-after": retryAfterHeader,
|
|
@@ -118838,14 +118838,14 @@ Reason: ${reason}`
|
|
|
118838
118838
|
};
|
|
118839
118839
|
}
|
|
118840
118840
|
function waitUntilBuildArtifactDependenciesAreFreed() {
|
|
118841
|
-
return new Promise(function(
|
|
118841
|
+
return new Promise(function(resolve5) {
|
|
118842
118842
|
buildArtifactsDependencySubscribers.push(function() {
|
|
118843
118843
|
if (dependenciesOnBuildArtifacts.size === 0) {
|
|
118844
|
-
|
|
118844
|
+
resolve5();
|
|
118845
118845
|
}
|
|
118846
118846
|
});
|
|
118847
118847
|
if (dependenciesOnBuildArtifacts.size === 0) {
|
|
118848
|
-
|
|
118848
|
+
resolve5();
|
|
118849
118849
|
}
|
|
118850
118850
|
});
|
|
118851
118851
|
}
|
|
@@ -128772,41 +128772,41 @@ var require_queue = __commonJS({
|
|
|
128772
128772
|
queue.drained = drained;
|
|
128773
128773
|
return queue;
|
|
128774
128774
|
function push2(value2) {
|
|
128775
|
-
var p = new Promise(function(
|
|
128775
|
+
var p = new Promise(function(resolve5, reject) {
|
|
128776
128776
|
pushCb(value2, function(err, result) {
|
|
128777
128777
|
if (err) {
|
|
128778
128778
|
reject(err);
|
|
128779
128779
|
return;
|
|
128780
128780
|
}
|
|
128781
|
-
|
|
128781
|
+
resolve5(result);
|
|
128782
128782
|
});
|
|
128783
128783
|
});
|
|
128784
128784
|
p.catch(noop7);
|
|
128785
128785
|
return p;
|
|
128786
128786
|
}
|
|
128787
128787
|
function unshift(value2) {
|
|
128788
|
-
var p = new Promise(function(
|
|
128788
|
+
var p = new Promise(function(resolve5, reject) {
|
|
128789
128789
|
unshiftCb(value2, function(err, result) {
|
|
128790
128790
|
if (err) {
|
|
128791
128791
|
reject(err);
|
|
128792
128792
|
return;
|
|
128793
128793
|
}
|
|
128794
|
-
|
|
128794
|
+
resolve5(result);
|
|
128795
128795
|
});
|
|
128796
128796
|
});
|
|
128797
128797
|
p.catch(noop7);
|
|
128798
128798
|
return p;
|
|
128799
128799
|
}
|
|
128800
128800
|
function drained() {
|
|
128801
|
-
var p = new Promise(function(
|
|
128801
|
+
var p = new Promise(function(resolve5) {
|
|
128802
128802
|
process.nextTick(function() {
|
|
128803
128803
|
if (queue.idle()) {
|
|
128804
|
-
|
|
128804
|
+
resolve5();
|
|
128805
128805
|
} else {
|
|
128806
128806
|
var previousDrain = queue.drain;
|
|
128807
128807
|
queue.drain = function() {
|
|
128808
128808
|
if (typeof previousDrain === "function") previousDrain();
|
|
128809
|
-
|
|
128809
|
+
resolve5();
|
|
128810
128810
|
queue.drain = previousDrain;
|
|
128811
128811
|
};
|
|
128812
128812
|
}
|
|
@@ -129303,9 +129303,9 @@ var require_stream3 = __commonJS({
|
|
|
129303
129303
|
});
|
|
129304
129304
|
}
|
|
129305
129305
|
_getStat(filepath) {
|
|
129306
|
-
return new Promise((
|
|
129306
|
+
return new Promise((resolve5, reject) => {
|
|
129307
129307
|
this._stat(filepath, this._fsStatSettings, (error, stats) => {
|
|
129308
|
-
return error === null ?
|
|
129308
|
+
return error === null ? resolve5(stats) : reject(error);
|
|
129309
129309
|
});
|
|
129310
129310
|
});
|
|
129311
129311
|
}
|
|
@@ -129330,10 +129330,10 @@ var require_async5 = __commonJS({
|
|
|
129330
129330
|
this._readerStream = new stream_1.default(this._settings);
|
|
129331
129331
|
}
|
|
129332
129332
|
dynamic(root, options) {
|
|
129333
|
-
return new Promise((
|
|
129333
|
+
return new Promise((resolve5, reject) => {
|
|
129334
129334
|
this._walkAsync(root, options, (error, entries) => {
|
|
129335
129335
|
if (error === null) {
|
|
129336
|
-
|
|
129336
|
+
resolve5(entries);
|
|
129337
129337
|
} else {
|
|
129338
129338
|
reject(error);
|
|
129339
129339
|
}
|
|
@@ -129343,10 +129343,10 @@ var require_async5 = __commonJS({
|
|
|
129343
129343
|
async static(patterns, options) {
|
|
129344
129344
|
const entries = [];
|
|
129345
129345
|
const stream = this._readerStream.static(patterns, options);
|
|
129346
|
-
return new Promise((
|
|
129346
|
+
return new Promise((resolve5, reject) => {
|
|
129347
129347
|
stream.once("error", reject);
|
|
129348
129348
|
stream.on("data", (entry) => entries.push(entry));
|
|
129349
|
-
stream.once("end", () =>
|
|
129349
|
+
stream.once("end", () => resolve5(entries));
|
|
129350
129350
|
});
|
|
129351
129351
|
}
|
|
129352
129352
|
};
|
|
@@ -140868,9 +140868,9 @@ var require_readdirp = __commonJS({
|
|
|
140868
140868
|
return new ReaddirpStream(options);
|
|
140869
140869
|
};
|
|
140870
140870
|
var readdirpPromise = (root, options = {}) => {
|
|
140871
|
-
return new Promise((
|
|
140871
|
+
return new Promise((resolve5, reject) => {
|
|
140872
140872
|
const files = [];
|
|
140873
|
-
readdirp(root, options).on("data", (entry) => files.push(entry)).on("end", () =>
|
|
140873
|
+
readdirp(root, options).on("data", (entry) => files.push(entry)).on("end", () => resolve5(files)).on("error", (error) => reject(error));
|
|
140874
140874
|
});
|
|
140875
140875
|
};
|
|
140876
140876
|
readdirp.promise = readdirpPromise;
|
|
@@ -141269,7 +141269,7 @@ var require_constants7 = __commonJS({
|
|
|
141269
141269
|
"../../node_modules/chokidar/lib/constants.js"(exports) {
|
|
141270
141270
|
"use strict";
|
|
141271
141271
|
init_esm_shims();
|
|
141272
|
-
var { sep:
|
|
141272
|
+
var { sep: sep3 } = __require("path");
|
|
141273
141273
|
var { platform: platform5 } = process;
|
|
141274
141274
|
var os4 = __require("os");
|
|
141275
141275
|
exports.EV_ALL = "all";
|
|
@@ -141298,7 +141298,7 @@ var require_constants7 = __commonJS({
|
|
|
141298
141298
|
exports.KEY_ERR = "errHandlers";
|
|
141299
141299
|
exports.KEY_RAW = "rawEmitters";
|
|
141300
141300
|
exports.HANDLER_KEYS = [exports.KEY_LISTENERS, exports.KEY_ERR, exports.KEY_RAW];
|
|
141301
|
-
exports.DOT_SLASH = `.${
|
|
141301
|
+
exports.DOT_SLASH = `.${sep3}`;
|
|
141302
141302
|
exports.BACK_SLASH_RE = /\\/g;
|
|
141303
141303
|
exports.DOUBLE_SLASH_RE = /\/\//;
|
|
141304
141304
|
exports.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -141695,13 +141695,13 @@ var require_nodefs_handler = __commonJS({
|
|
|
141695
141695
|
}
|
|
141696
141696
|
}).on(EV_ERROR, this._boundHandleError);
|
|
141697
141697
|
return new Promise(
|
|
141698
|
-
(
|
|
141698
|
+
(resolve5) => stream.once(STR_END, () => {
|
|
141699
141699
|
if (this.fsw.closed) {
|
|
141700
141700
|
stream = void 0;
|
|
141701
141701
|
return;
|
|
141702
141702
|
}
|
|
141703
141703
|
const wasThrottled = throttler ? throttler.clear() : false;
|
|
141704
|
-
|
|
141704
|
+
resolve5();
|
|
141705
141705
|
previous.getChildren().filter((item) => {
|
|
141706
141706
|
return item !== directory && !current.has(item) && // in case of intersecting globs;
|
|
141707
141707
|
// a path may have been filtered out of this readdir, but
|
|
@@ -142968,7 +142968,7 @@ var require_chokidar = __commonJS({
|
|
|
142968
142968
|
var package_default = {
|
|
142969
142969
|
name: "@wix/cli-app",
|
|
142970
142970
|
description: "CLI tool for Wix apps",
|
|
142971
|
-
version: "1.1.
|
|
142971
|
+
version: "1.1.204",
|
|
142972
142972
|
author: "Amit Dahan",
|
|
142973
142973
|
dependencies: {
|
|
142974
142974
|
esbuild: "^0.25.0",
|
|
@@ -143413,6 +143413,7 @@ var CliUserErrorCode = (0, import_variant.variant)({
|
|
|
143413
143413
|
FailedToCleanDistFolder: {},
|
|
143414
143414
|
FailedToIdentifyProgramFlow: (0, import_variant.fields)(),
|
|
143415
143415
|
BuildOutputMissing: (0, import_variant.fields)(),
|
|
143416
|
+
SiteOutputDirectoryOutsideProject: {},
|
|
143416
143417
|
FailedToCreateMonitoringVitePlugin: (0, import_variant.fields)(),
|
|
143417
143418
|
FailedToSyncVeloCLIServerDocumentUpdate: {},
|
|
143418
143419
|
AppReleaseConfigViolations: {},
|
|
@@ -143475,7 +143476,7 @@ import {
|
|
|
143475
143476
|
mkdir,
|
|
143476
143477
|
rm
|
|
143477
143478
|
} from "node:fs/promises";
|
|
143478
|
-
import { dirname, join, relative } from "node:path";
|
|
143479
|
+
import { dirname, join, relative, resolve, sep } from "node:path";
|
|
143479
143480
|
import { EOL } from "node:os";
|
|
143480
143481
|
var import_dotenv = __toESM(require_main(), 1);
|
|
143481
143482
|
|
|
@@ -152068,8 +152069,8 @@ var Ink = class {
|
|
|
152068
152069
|
}
|
|
152069
152070
|
async waitUntilExit() {
|
|
152070
152071
|
if (!this.exitPromise) {
|
|
152071
|
-
this.exitPromise = new Promise((
|
|
152072
|
-
this.resolveExitPromise =
|
|
152072
|
+
this.exitPromise = new Promise((resolve5, reject) => {
|
|
152073
|
+
this.resolveExitPromise = resolve5;
|
|
152073
152074
|
this.rejectExitPromise = reject;
|
|
152074
152075
|
});
|
|
152075
152076
|
}
|
|
@@ -155612,11 +155613,11 @@ var useTranslation = (ns, props = {}) => {
|
|
|
155612
155613
|
ret.ready = ready;
|
|
155613
155614
|
if (ready) return ret;
|
|
155614
155615
|
if (!ready && !useSuspense) return ret;
|
|
155615
|
-
throw new Promise((
|
|
155616
|
+
throw new Promise((resolve5) => {
|
|
155616
155617
|
if (props.lng) {
|
|
155617
|
-
loadLanguages(i18n, props.lng, namespaces, () =>
|
|
155618
|
+
loadLanguages(i18n, props.lng, namespaces, () => resolve5());
|
|
155618
155619
|
} else {
|
|
155619
|
-
loadNamespaces(i18n, namespaces, () =>
|
|
155620
|
+
loadNamespaces(i18n, namespaces, () => resolve5());
|
|
155620
155621
|
}
|
|
155621
155622
|
});
|
|
155622
155623
|
};
|
|
@@ -159207,8 +159208,8 @@ var isString2 = (obj) => typeof obj === "string";
|
|
|
159207
159208
|
var defer = () => {
|
|
159208
159209
|
let res;
|
|
159209
159210
|
let rej;
|
|
159210
|
-
const promise = new Promise((
|
|
159211
|
-
res =
|
|
159211
|
+
const promise = new Promise((resolve5, reject) => {
|
|
159212
|
+
res = resolve5;
|
|
159212
159213
|
rej = reject;
|
|
159213
159214
|
});
|
|
159214
159215
|
promise.resolve = res;
|
|
@@ -160414,9 +160415,9 @@ var Interpolator = class {
|
|
|
160414
160415
|
let value2;
|
|
160415
160416
|
let clonedOptions;
|
|
160416
160417
|
const handleHasOptions = (key, inheritedOptions) => {
|
|
160417
|
-
const
|
|
160418
|
-
if (key.indexOf(
|
|
160419
|
-
const c2 = key.split(new RegExp(`${
|
|
160418
|
+
const sep3 = this.nestingOptionsSeparator;
|
|
160419
|
+
if (key.indexOf(sep3) < 0) return key;
|
|
160420
|
+
const c2 = key.split(new RegExp(`${sep3}[ ]*{`));
|
|
160420
160421
|
let optionsString = `{${c2[1]}`;
|
|
160421
160422
|
key = c2[0];
|
|
160422
160423
|
optionsString = this.interpolate(optionsString, clonedOptions);
|
|
@@ -160433,7 +160434,7 @@ var Interpolator = class {
|
|
|
160433
160434
|
};
|
|
160434
160435
|
} catch (e2) {
|
|
160435
160436
|
this.logger.warn(`failed parsing options string in nesting for key ${key}`, e2);
|
|
160436
|
-
return `${key}${
|
|
160437
|
+
return `${key}${sep3}${optionsString}`;
|
|
160437
160438
|
}
|
|
160438
160439
|
if (clonedOptions.defaultValue && clonedOptions.defaultValue.indexOf(this.prefix) > -1) delete clonedOptions.defaultValue;
|
|
160439
160440
|
return key;
|
|
@@ -163308,6 +163309,9 @@ ${errorMessage}`
|
|
|
163308
163309
|
}
|
|
163309
163310
|
);
|
|
163310
163311
|
},
|
|
163312
|
+
SiteOutputDirectoryOutsideProject: () => {
|
|
163313
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Your site output directory must be located inside the main project folder. Please update your configuration." });
|
|
163314
|
+
},
|
|
163311
163315
|
FailedToCreateMonitoringVitePlugin: ({ configPath }) => {
|
|
163312
163316
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163313
163317
|
ErrorMessage,
|
|
@@ -163595,20 +163599,20 @@ function pLimit(concurrency) {
|
|
|
163595
163599
|
activeCount--;
|
|
163596
163600
|
resumeNext();
|
|
163597
163601
|
};
|
|
163598
|
-
const run = async (function_,
|
|
163602
|
+
const run = async (function_, resolve5, arguments_) => {
|
|
163599
163603
|
const result = (async () => function_(...arguments_))();
|
|
163600
|
-
|
|
163604
|
+
resolve5(result);
|
|
163601
163605
|
try {
|
|
163602
163606
|
await result;
|
|
163603
163607
|
} catch {
|
|
163604
163608
|
}
|
|
163605
163609
|
next();
|
|
163606
163610
|
};
|
|
163607
|
-
const enqueue = (function_,
|
|
163611
|
+
const enqueue = (function_, resolve5, arguments_) => {
|
|
163608
163612
|
new Promise((internalResolve) => {
|
|
163609
163613
|
queue.enqueue(internalResolve);
|
|
163610
163614
|
}).then(
|
|
163611
|
-
run.bind(void 0, function_,
|
|
163615
|
+
run.bind(void 0, function_, resolve5, arguments_)
|
|
163612
163616
|
);
|
|
163613
163617
|
(async () => {
|
|
163614
163618
|
await Promise.resolve();
|
|
@@ -163617,8 +163621,8 @@ function pLimit(concurrency) {
|
|
|
163617
163621
|
}
|
|
163618
163622
|
})();
|
|
163619
163623
|
};
|
|
163620
|
-
const generator = (function_, ...arguments_) => new Promise((
|
|
163621
|
-
enqueue(function_,
|
|
163624
|
+
const generator = (function_, ...arguments_) => new Promise((resolve5) => {
|
|
163625
|
+
enqueue(function_, resolve5, arguments_);
|
|
163622
163626
|
});
|
|
163623
163627
|
Object.defineProperties(generator, {
|
|
163624
163628
|
activeCount: {
|
|
@@ -163659,15 +163663,15 @@ var import_variant21 = __toESM(require_lib(), 1);
|
|
|
163659
163663
|
// ../cli-auth/src/auth-data.ts
|
|
163660
163664
|
init_esm_shims();
|
|
163661
163665
|
import { unlink, rm as rm2 } from "node:fs/promises";
|
|
163662
|
-
import { resolve as
|
|
163666
|
+
import { resolve as resolve3 } from "node:path";
|
|
163663
163667
|
|
|
163664
163668
|
// ../cli-data-dir/src/index.ts
|
|
163665
163669
|
init_esm_shims();
|
|
163666
163670
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
163667
|
-
import { resolve } from "node:path";
|
|
163671
|
+
import { resolve as resolve2 } from "node:path";
|
|
163668
163672
|
import { homedir } from "node:os";
|
|
163669
163673
|
function getDataDirPath() {
|
|
163670
|
-
return getTestOverrides().dataDir ??
|
|
163674
|
+
return getTestOverrides().dataDir ?? resolve2(homedir(), ".wix");
|
|
163671
163675
|
}
|
|
163672
163676
|
async function ensureDataDirExists() {
|
|
163673
163677
|
await mkdir2(getDataDirPath(), { recursive: true });
|
|
@@ -163724,19 +163728,19 @@ var apiKeyAuthSchema = external_exports.object({
|
|
|
163724
163728
|
|
|
163725
163729
|
// ../cli-auth/src/auth-data.ts
|
|
163726
163730
|
function getLegacyAuthDataFilePath() {
|
|
163727
|
-
return
|
|
163731
|
+
return resolve3(getDataDirPath(), "auth.json");
|
|
163728
163732
|
}
|
|
163729
163733
|
function getAuthDataFolder() {
|
|
163730
|
-
return
|
|
163734
|
+
return resolve3(getDataDirPath(), "auth");
|
|
163731
163735
|
}
|
|
163732
163736
|
function getApiKeyAuthDataFilePath() {
|
|
163733
|
-
return
|
|
163737
|
+
return resolve3(getAuthDataFolder(), "api-key.json");
|
|
163734
163738
|
}
|
|
163735
163739
|
function getAccountAuthDataFilePath() {
|
|
163736
|
-
return
|
|
163740
|
+
return resolve3(getAuthDataFolder(), "account.json");
|
|
163737
163741
|
}
|
|
163738
163742
|
function getSiteAuthDataFilePath(siteId) {
|
|
163739
|
-
return
|
|
163743
|
+
return resolve3(getAuthDataFolder(), `${siteId}.json`);
|
|
163740
163744
|
}
|
|
163741
163745
|
var ApiKeyAuthData = (0, import_variant16.variant)({
|
|
163742
163746
|
Authenticated: (0, import_variant16.payload)(),
|
|
@@ -163907,7 +163911,7 @@ var decorateErrorWithCounts = (error, attemptNumber, options) => {
|
|
|
163907
163911
|
return error;
|
|
163908
163912
|
};
|
|
163909
163913
|
async function pRetry(input, options) {
|
|
163910
|
-
return new Promise((
|
|
163914
|
+
return new Promise((resolve5, reject) => {
|
|
163911
163915
|
options = { ...options };
|
|
163912
163916
|
options.onFailedAttempt ??= () => {
|
|
163913
163917
|
};
|
|
@@ -163929,7 +163933,7 @@ async function pRetry(input, options) {
|
|
|
163929
163933
|
try {
|
|
163930
163934
|
const result = await input(attemptNumber);
|
|
163931
163935
|
cleanUp();
|
|
163932
|
-
|
|
163936
|
+
resolve5(result);
|
|
163933
163937
|
} catch (error) {
|
|
163934
163938
|
try {
|
|
163935
163939
|
if (!(error instanceof Error)) {
|
|
@@ -165003,7 +165007,7 @@ function pTimeout(promise, options) {
|
|
|
165003
165007
|
} = options;
|
|
165004
165008
|
let timer;
|
|
165005
165009
|
let abortHandler;
|
|
165006
|
-
const wrappedPromise = new Promise((
|
|
165010
|
+
const wrappedPromise = new Promise((resolve5, reject) => {
|
|
165007
165011
|
if (typeof milliseconds !== "number" || Math.sign(milliseconds) !== 1) {
|
|
165008
165012
|
throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${milliseconds}\``);
|
|
165009
165013
|
}
|
|
@@ -165018,14 +165022,14 @@ function pTimeout(promise, options) {
|
|
|
165018
165022
|
signal.addEventListener("abort", abortHandler, { once: true });
|
|
165019
165023
|
}
|
|
165020
165024
|
if (milliseconds === Number.POSITIVE_INFINITY) {
|
|
165021
|
-
promise.then(
|
|
165025
|
+
promise.then(resolve5, reject);
|
|
165022
165026
|
return;
|
|
165023
165027
|
}
|
|
165024
165028
|
const timeoutError = new TimeoutError();
|
|
165025
165029
|
timer = customTimers.setTimeout.call(void 0, () => {
|
|
165026
165030
|
if (fallback) {
|
|
165027
165031
|
try {
|
|
165028
|
-
|
|
165032
|
+
resolve5(fallback());
|
|
165029
165033
|
} catch (error) {
|
|
165030
165034
|
reject(error);
|
|
165031
165035
|
}
|
|
@@ -165035,7 +165039,7 @@ function pTimeout(promise, options) {
|
|
|
165035
165039
|
promise.cancel();
|
|
165036
165040
|
}
|
|
165037
165041
|
if (message === false) {
|
|
165038
|
-
|
|
165042
|
+
resolve5();
|
|
165039
165043
|
} else if (message instanceof Error) {
|
|
165040
165044
|
reject(message);
|
|
165041
165045
|
} else {
|
|
@@ -165045,7 +165049,7 @@ function pTimeout(promise, options) {
|
|
|
165045
165049
|
}, milliseconds);
|
|
165046
165050
|
(async () => {
|
|
165047
165051
|
try {
|
|
165048
|
-
|
|
165052
|
+
resolve5(await promise);
|
|
165049
165053
|
} catch (error) {
|
|
165050
165054
|
reject(error);
|
|
165051
165055
|
}
|
|
@@ -165074,16 +165078,16 @@ async function pWaitFor(condition, options = {}) {
|
|
|
165074
165078
|
} = options;
|
|
165075
165079
|
let retryTimeout;
|
|
165076
165080
|
let abort = false;
|
|
165077
|
-
const promise = new Promise((
|
|
165081
|
+
const promise = new Promise((resolve5, reject) => {
|
|
165078
165082
|
const check = async () => {
|
|
165079
165083
|
try {
|
|
165080
165084
|
const value2 = await condition();
|
|
165081
165085
|
if (typeof value2 === "object" && value2[resolveValue]) {
|
|
165082
|
-
|
|
165086
|
+
resolve5(value2[resolveValue]);
|
|
165083
165087
|
} else if (typeof value2 !== "boolean") {
|
|
165084
165088
|
throw new TypeError("Expected condition to return a boolean");
|
|
165085
165089
|
} else if (value2 === true) {
|
|
165086
|
-
|
|
165090
|
+
resolve5();
|
|
165087
165091
|
} else if (!abort) {
|
|
165088
165092
|
retryTimeout = setTimeout(check, interval);
|
|
165089
165093
|
}
|
|
@@ -165758,14 +165762,14 @@ var baseOpen = async (options) => {
|
|
|
165758
165762
|
}
|
|
165759
165763
|
const subprocess = childProcess.spawn(command, cliArguments, childProcessOptions);
|
|
165760
165764
|
if (options.wait) {
|
|
165761
|
-
return new Promise((
|
|
165765
|
+
return new Promise((resolve5, reject) => {
|
|
165762
165766
|
subprocess.once("error", reject);
|
|
165763
165767
|
subprocess.once("close", (exitCode) => {
|
|
165764
165768
|
if (!options.allowNonzeroExitCode && exitCode > 0) {
|
|
165765
165769
|
reject(new Error(`Exited with code ${exitCode}`));
|
|
165766
165770
|
return;
|
|
165767
165771
|
}
|
|
165768
|
-
|
|
165772
|
+
resolve5(subprocess);
|
|
165769
165773
|
});
|
|
165770
165774
|
});
|
|
165771
165775
|
}
|
|
@@ -170374,7 +170378,7 @@ var import_variant27 = __toESM(require_lib(), 1);
|
|
|
170374
170378
|
|
|
170375
170379
|
// src/dev-center/components/path.ts
|
|
170376
170380
|
init_esm_shims();
|
|
170377
|
-
import { join as join4, parse as parse2, sep } from "node:path";
|
|
170381
|
+
import { join as join4, parse as parse2, sep as sep2 } from "node:path";
|
|
170378
170382
|
import { platform as platform4 } from "node:os";
|
|
170379
170383
|
function replaceExtension(filePath, extension) {
|
|
170380
170384
|
const { dir: dir2, name } = parse2(filePath);
|
|
@@ -170388,7 +170392,7 @@ function deriveRoute(projectFolder, pagePath) {
|
|
|
170388
170392
|
getDashboardPagesDir(projectFolder),
|
|
170389
170393
|
pagePath
|
|
170390
170394
|
);
|
|
170391
|
-
return `/${relativeDir.split(
|
|
170395
|
+
return `/${relativeDir.split(sep2).map(encodeURIComponent).join("/")}`;
|
|
170392
170396
|
}
|
|
170393
170397
|
function normalizeGlobbyPattern(globPattern) {
|
|
170394
170398
|
if (platform4() === "win32") {
|
|
@@ -177476,7 +177480,7 @@ var decorateErrorWithCounts2 = (error, attemptNumber, options) => {
|
|
|
177476
177480
|
var isNetworkError2 = (errorMessage) => networkErrorMsgs.has(errorMessage);
|
|
177477
177481
|
var getDOMException2 = (errorMessage) => globalThis.DOMException === void 0 ? new Error(errorMessage) : new DOMException(errorMessage);
|
|
177478
177482
|
async function pRetry2(input, options) {
|
|
177479
|
-
return new Promise((
|
|
177483
|
+
return new Promise((resolve5, reject) => {
|
|
177480
177484
|
options = {
|
|
177481
177485
|
onFailedAttempt() {
|
|
177482
177486
|
},
|
|
@@ -177486,7 +177490,7 @@ async function pRetry2(input, options) {
|
|
|
177486
177490
|
const operation = import_retry2.default.operation(options);
|
|
177487
177491
|
operation.attempt(async (attemptNumber) => {
|
|
177488
177492
|
try {
|
|
177489
|
-
|
|
177493
|
+
resolve5(await input(attemptNumber));
|
|
177490
177494
|
} catch (error) {
|
|
177491
177495
|
if (!(error instanceof Error)) {
|
|
177492
177496
|
reject(new TypeError(`Non-error was thrown: "${error}". You should only throw errors.`));
|
|
@@ -177926,7 +177930,7 @@ var Uploader = class {
|
|
|
177926
177930
|
return formData;
|
|
177927
177931
|
}
|
|
177928
177932
|
async submitForm(url, formData) {
|
|
177929
|
-
await new Promise((
|
|
177933
|
+
await new Promise((resolve5, reject) => {
|
|
177930
177934
|
let data = "";
|
|
177931
177935
|
formData.submit(url, (err, res) => {
|
|
177932
177936
|
if (err !== null) {
|
|
@@ -177938,7 +177942,7 @@ var Uploader = class {
|
|
|
177938
177942
|
});
|
|
177939
177943
|
res.on("end", () => {
|
|
177940
177944
|
if ([200, 204].includes(res.statusCode)) {
|
|
177941
|
-
|
|
177945
|
+
resolve5();
|
|
177942
177946
|
} else {
|
|
177943
177947
|
reject(data);
|
|
177944
177948
|
}
|
|
@@ -178667,7 +178671,7 @@ import { randomUUID as randomUUID2 } from "node:crypto";
|
|
|
178667
178671
|
|
|
178668
178672
|
// src/dev-center/components/site/config.ts
|
|
178669
178673
|
init_esm_shims();
|
|
178670
|
-
import { join as join8, dirname as dirname3, resolve as
|
|
178674
|
+
import { join as join8, dirname as dirname3, resolve as resolve4 } from "node:path";
|
|
178671
178675
|
var import_variant30 = __toESM(require_lib(), 1);
|
|
178672
178676
|
async function loadEmbeddedScriptComponentConfig(embeddedScriptPath) {
|
|
178673
178677
|
const configPath = replaceExtension(embeddedScriptPath, "json");
|
|
@@ -178893,7 +178897,7 @@ function getElementsPresetEntries(componentId, componentDir, projectFolder, elem
|
|
|
178893
178897
|
const inlineElement = elementConfig.inlineElement;
|
|
178894
178898
|
if (inlineElement.presets) {
|
|
178895
178899
|
for (const presetFolder in inlineElement.presets) {
|
|
178896
|
-
const assetPath =
|
|
178900
|
+
const assetPath = resolve4(
|
|
178897
178901
|
projectFolder,
|
|
178898
178902
|
join8(componentDir, elementPath, PRESETS_DIR, `${presetFolder}.css`)
|
|
178899
178903
|
);
|
|
@@ -178922,7 +178926,7 @@ function getElementsPresetEntries(componentId, componentDir, projectFolder, elem
|
|
|
178922
178926
|
const resolvedElement = elementConfig.refElement.resolvedElement;
|
|
178923
178927
|
if (resolvedElement?.presets) {
|
|
178924
178928
|
for (const presetFolder in resolvedElement.presets) {
|
|
178925
|
-
const assetPath =
|
|
178929
|
+
const assetPath = resolve4(
|
|
178926
178930
|
projectFolder,
|
|
178927
178931
|
join8(componentDir, elementPath, PRESETS_DIR, `${presetFolder}.css`)
|
|
178928
178932
|
);
|
|
@@ -178960,7 +178964,7 @@ function virtualSiteComponentPresetAssets(model) {
|
|
|
178960
178964
|
if (component.presets) {
|
|
178961
178965
|
const componentDir = dirname3(component.relativePath);
|
|
178962
178966
|
for (const presetFolder in component.presets) {
|
|
178963
|
-
const assetPath =
|
|
178967
|
+
const assetPath = resolve4(
|
|
178964
178968
|
model.projectFolder,
|
|
178965
178969
|
join8(componentDir, PRESETS_DIR, `${presetFolder}.css`)
|
|
178966
178970
|
);
|
|
@@ -180839,4 +180843,4 @@ mustache/mustache.mjs:
|
|
|
180839
180843
|
* http://github.com/janl/mustache.js
|
|
180840
180844
|
*)
|
|
180841
180845
|
*/
|
|
180842
|
-
//# sourceMappingURL=chunk-
|
|
180846
|
+
//# sourceMappingURL=chunk-TMLY5Z35.js.map
|