@wix/cli 1.1.79 → 1.1.81
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/{DevCommand-V5WDZS4B.js → DevCommand-AQVBUCQ5.js} +12 -12
- package/build/{DevCommand-NJ6THMY4.js → DevCommand-ROAFAABI.js} +15 -15
- package/build/{InstallCommand-K5I3IQTL.js → InstallCommand-5APYHO2Z.js} +14 -14
- package/build/{LoginCommand-NLH7OCLP.js → LoginCommand-LJNMGW55.js} +9 -9
- package/build/{LogoutCommand-VHQCOUCO.js → LogoutCommand-N7M5R6DQ.js} +6 -6
- package/build/{PreviewCommand-2ZQNXDBP.js → PreviewCommand-KYYCE4Q4.js} +16 -16
- package/build/{PreviewCommand-MBNS3U3U.js → PreviewCommand-WWGPGR4W.js} +16 -16
- package/build/{PublishCommand-CQ4UEHTX.js → PublishCommand-FX2PBBRP.js} +16 -16
- package/build/{UninstallCommand-AMWFTPZ5.js → UninstallCommand-LSNEIZAG.js} +14 -14
- package/build/{WhoamiCommand-QEGMSHQ2.js → WhoamiCommand-7LFKOA7P.js} +3 -3
- package/build/{chunk-PR73JPSE.js → chunk-2MXH7XW4.js} +2 -2
- package/build/chunk-2MXH7XW4.js.map +1 -0
- package/build/{chunk-F63GAI4F.js → chunk-2QOJBDBC.js} +3 -7
- package/build/{chunk-F63GAI4F.js.map → chunk-2QOJBDBC.js.map} +1 -1
- package/build/{chunk-IMBJZ3UI.js → chunk-34RNWGDX.js} +3 -3
- package/build/chunk-34RNWGDX.js.map +1 -0
- package/build/{chunk-FQB5WA6K.js → chunk-3IPI42RG.js} +2 -2
- package/build/{chunk-BOCVEA2O.js → chunk-3JI3OJDH.js} +2 -2
- package/build/{chunk-M4KFHLVR.js → chunk-6X7QKHUR.js} +8 -7
- package/build/{chunk-M4KFHLVR.js.map → chunk-6X7QKHUR.js.map} +1 -1
- package/build/{chunk-5WDU6FX2.js → chunk-7S4TD3NR.js} +1 -1
- package/build/{chunk-LYL4JUHA.js → chunk-AHCB4FZQ.js} +2 -2
- package/build/{chunk-Z3BKHPN5.js → chunk-CNKZM54U.js} +1 -1
- package/build/{chunk-YUGTQQID.js → chunk-CZRP75CM.js} +3 -3
- package/build/{chunk-37SSXHXJ.js → chunk-DPMKYLSD.js} +7 -7
- package/build/{chunk-YQHKS7GJ.js → chunk-EC54EUIB.js} +3 -3
- package/build/{chunk-MHIV5HR5.js → chunk-EM2L6Z2P.js} +3 -3
- package/build/{chunk-T2TARSVP.js → chunk-EN35BUXA.js} +3 -3
- package/build/{chunk-KI3KRWT4.js → chunk-GIUMBYDX.js} +2 -2
- package/build/{chunk-RH2ZHUFP.js → chunk-HU6LUVVH.js} +28 -49
- package/build/chunk-HU6LUVVH.js.map +1 -0
- package/build/{chunk-XHUQFWXB.js → chunk-K43K5PQH.js} +7 -7
- package/build/{chunk-XHUQFWXB.js.map → chunk-K43K5PQH.js.map} +1 -1
- package/build/{chunk-7CXKIQNA.js → chunk-L2OFDD7L.js} +15 -32
- package/build/{chunk-7CXKIQNA.js.map → chunk-L2OFDD7L.js.map} +1 -1
- package/build/{chunk-NQ6XAGAF.js → chunk-MPK46DP7.js} +3 -3
- package/build/{chunk-RTDQOZ3U.js → chunk-N4HLEIXT.js} +5 -5
- package/build/{chunk-HCJQQACZ.js → chunk-NZWOBXKV.js} +1 -1
- package/build/{chunk-KRDDGNES.js → chunk-PI6PXWES.js} +2 -2
- package/build/{chunk-WC2H22NZ.js → chunk-PVBFIQE6.js} +5 -5
- package/build/{chunk-VTOZLUQR.js → chunk-QE2EBWWG.js} +5 -5
- package/build/{chunk-V7C6EZG4.js → chunk-QGXDBWK4.js} +38 -33
- package/build/chunk-QGXDBWK4.js.map +1 -0
- package/build/{chunk-RILMLOX5.js → chunk-RIERIQTQ.js} +3 -3
- package/build/{chunk-B5KXKZY5.js → chunk-RVTEZC6O.js} +2 -2
- package/build/{chunk-JHX6EZIO.js → chunk-RXP6EXIE.js} +3 -3
- package/build/{chunk-6CQXTPSU.js → chunk-TKJ7JISC.js} +3 -3
- package/build/{chunk-BRO65NMB.js → chunk-UMKARVY3.js} +26 -259
- package/build/chunk-UMKARVY3.js.map +1 -0
- package/build/{chunk-BYHAPURJ.js → chunk-WVRFNQAR.js} +3 -3
- package/build/{chunk-F6VUNTGD.js → chunk-WYXNH6LH.js} +2 -2
- package/build/{chunk-F6VUNTGD.js.map → chunk-WYXNH6LH.js.map} +1 -1
- package/build/{chunk-GZZLN27Q.js → chunk-XAJN6WMG.js} +20 -2
- package/build/chunk-XAJN6WMG.js.map +1 -0
- package/build/{chunk-4BWILWXX.js → chunk-XZRGU2BN.js} +5 -7
- package/build/{chunk-4BWILWXX.js.map → chunk-XZRGU2BN.js.map} +1 -1
- package/build/{chunk-UDTYL6OI.js → chunk-Y7ZOU5RY.js} +2 -2
- package/build/{chunk-JSLUM7TU.js → chunk-YUK6JSZI.js} +8 -8
- package/build/{chunk-75THOFWQ.js → chunk-Z4TFXDON.js} +3 -3
- package/build/{dev-GMC75OLH.js → dev-DQWO3OGW.js} +20 -20
- package/build/index.js +50 -41
- package/build/index.js.map +1 -1
- package/build/{install-5WCR4UVH.js → install-MLIWPYHO.js} +16 -16
- package/build/{publish-QZQC4D5V.js → publish-6F4KDNZO.js} +17 -17
- package/build/{render-command-2WCIXKOR.js → render-command-IKW64PCT.js} +10 -10
- package/build/render-command-IKW64PCT.js.map +1 -0
- package/build/{render-command-5BX6P437.js → render-command-Q7VFABDV.js} +10 -10
- package/build/render-command-Q7VFABDV.js.map +1 -0
- package/build/{render-command-LAH4TCW4.js → render-command-UBAZMB26.js} +9 -9
- package/build/render-command-UBAZMB26.js.map +1 -0
- package/build/{render-command-U3MODL5F.js → render-command-WKAERDSP.js} +11 -11
- package/build/render-command-WKAERDSP.js.map +1 -0
- package/build/{run-command-M4SJR3M3.js → run-command-2TNRAZUW.js} +7 -7
- package/build/{src-CQCCIQ37.js → src-MQQ3G6VW.js} +4 -4
- package/build/{src-T3DZBBXE.js → src-OH4OD574.js} +14 -14
- package/build/src-OH4OD574.js.map +1 -0
- package/build/{src-45KK47A7.js → src-VLY4PHRH.js} +6 -6
- package/build/{src-45KK47A7.js.map → src-VLY4PHRH.js.map} +1 -1
- package/build/{src-PEZ7FCVG.js → src-VZCIJGVQ.js} +6 -6
- package/build/{src-QKJMBEHM.js → src-YJSDV4K3.js} +17 -17
- package/build/{src-FUP5ZJ7V.js → src-ZHJGZHLR.js} +2 -2
- package/build/{sync-types-HPZP6SB5.js → sync-types-GIJTUM52.js} +11 -11
- package/build/{uninstall-CJGYAE4U.js → uninstall-HVEIYOYY.js} +16 -16
- package/package.json +2 -2
- package/build/chunk-BRO65NMB.js.map +0 -1
- package/build/chunk-GZZLN27Q.js.map +0 -1
- package/build/chunk-IMBJZ3UI.js.map +0 -1
- package/build/chunk-PR73JPSE.js.map +0 -1
- package/build/chunk-RH2ZHUFP.js.map +0 -1
- package/build/chunk-V7C6EZG4.js.map +0 -1
- package/build/render-command-2WCIXKOR.js.map +0 -1
- package/build/render-command-5BX6P437.js.map +0 -1
- package/build/render-command-LAH4TCW4.js.map +0 -1
- package/build/render-command-U3MODL5F.js.map +0 -1
- package/build/src-T3DZBBXE.js.map +0 -1
- /package/build/{DevCommand-V5WDZS4B.js.map → DevCommand-AQVBUCQ5.js.map} +0 -0
- /package/build/{DevCommand-NJ6THMY4.js.map → DevCommand-ROAFAABI.js.map} +0 -0
- /package/build/{InstallCommand-K5I3IQTL.js.map → InstallCommand-5APYHO2Z.js.map} +0 -0
- /package/build/{LoginCommand-NLH7OCLP.js.map → LoginCommand-LJNMGW55.js.map} +0 -0
- /package/build/{LogoutCommand-VHQCOUCO.js.map → LogoutCommand-N7M5R6DQ.js.map} +0 -0
- /package/build/{PreviewCommand-2ZQNXDBP.js.map → PreviewCommand-KYYCE4Q4.js.map} +0 -0
- /package/build/{PreviewCommand-MBNS3U3U.js.map → PreviewCommand-WWGPGR4W.js.map} +0 -0
- /package/build/{PublishCommand-CQ4UEHTX.js.map → PublishCommand-FX2PBBRP.js.map} +0 -0
- /package/build/{UninstallCommand-AMWFTPZ5.js.map → UninstallCommand-LSNEIZAG.js.map} +0 -0
- /package/build/{WhoamiCommand-QEGMSHQ2.js.map → WhoamiCommand-7LFKOA7P.js.map} +0 -0
- /package/build/{chunk-FQB5WA6K.js.map → chunk-3IPI42RG.js.map} +0 -0
- /package/build/{chunk-BOCVEA2O.js.map → chunk-3JI3OJDH.js.map} +0 -0
- /package/build/{chunk-5WDU6FX2.js.map → chunk-7S4TD3NR.js.map} +0 -0
- /package/build/{chunk-LYL4JUHA.js.map → chunk-AHCB4FZQ.js.map} +0 -0
- /package/build/{chunk-Z3BKHPN5.js.map → chunk-CNKZM54U.js.map} +0 -0
- /package/build/{chunk-YUGTQQID.js.map → chunk-CZRP75CM.js.map} +0 -0
- /package/build/{chunk-37SSXHXJ.js.map → chunk-DPMKYLSD.js.map} +0 -0
- /package/build/{chunk-YQHKS7GJ.js.map → chunk-EC54EUIB.js.map} +0 -0
- /package/build/{chunk-MHIV5HR5.js.map → chunk-EM2L6Z2P.js.map} +0 -0
- /package/build/{chunk-T2TARSVP.js.map → chunk-EN35BUXA.js.map} +0 -0
- /package/build/{chunk-KI3KRWT4.js.map → chunk-GIUMBYDX.js.map} +0 -0
- /package/build/{chunk-NQ6XAGAF.js.map → chunk-MPK46DP7.js.map} +0 -0
- /package/build/{chunk-RTDQOZ3U.js.map → chunk-N4HLEIXT.js.map} +0 -0
- /package/build/{chunk-HCJQQACZ.js.map → chunk-NZWOBXKV.js.map} +0 -0
- /package/build/{chunk-KRDDGNES.js.map → chunk-PI6PXWES.js.map} +0 -0
- /package/build/{chunk-WC2H22NZ.js.map → chunk-PVBFIQE6.js.map} +0 -0
- /package/build/{chunk-VTOZLUQR.js.map → chunk-QE2EBWWG.js.map} +0 -0
- /package/build/{chunk-RILMLOX5.js.map → chunk-RIERIQTQ.js.map} +0 -0
- /package/build/{chunk-B5KXKZY5.js.map → chunk-RVTEZC6O.js.map} +0 -0
- /package/build/{chunk-JHX6EZIO.js.map → chunk-RXP6EXIE.js.map} +0 -0
- /package/build/{chunk-6CQXTPSU.js.map → chunk-TKJ7JISC.js.map} +0 -0
- /package/build/{chunk-BYHAPURJ.js.map → chunk-WVRFNQAR.js.map} +0 -0
- /package/build/{chunk-UDTYL6OI.js.map → chunk-Y7ZOU5RY.js.map} +0 -0
- /package/build/{chunk-JSLUM7TU.js.map → chunk-YUK6JSZI.js.map} +0 -0
- /package/build/{chunk-75THOFWQ.js.map → chunk-Z4TFXDON.js.map} +0 -0
- /package/build/{dev-GMC75OLH.js.map → dev-DQWO3OGW.js.map} +0 -0
- /package/build/{install-5WCR4UVH.js.map → install-MLIWPYHO.js.map} +0 -0
- /package/build/{publish-QZQC4D5V.js.map → publish-6F4KDNZO.js.map} +0 -0
- /package/build/{run-command-M4SJR3M3.js.map → run-command-2TNRAZUW.js.map} +0 -0
- /package/build/{src-CQCCIQ37.js.map → src-MQQ3G6VW.js.map} +0 -0
- /package/build/{src-FUP5ZJ7V.js.map → src-VZCIJGVQ.js.map} +0 -0
- /package/build/{src-QKJMBEHM.js.map → src-YJSDV4K3.js.map} +0 -0
- /package/build/{src-PEZ7FCVG.js.map → src-ZHJGZHLR.js.map} +0 -0
- /package/build/{sync-types-HPZP6SB5.js.map → sync-types-GIJTUM52.js.map} +0 -0
- /package/build/{uninstall-CJGYAE4U.js.map → uninstall-HVEIYOYY.js.map} +0 -0
|
@@ -7,16 +7,17 @@ import {
|
|
|
7
7
|
GridAppLayout
|
|
8
8
|
} from "./chunk-6LI4WGAW.js";
|
|
9
9
|
import {
|
|
10
|
+
require_retry,
|
|
10
11
|
resolveUrl,
|
|
11
12
|
serializer,
|
|
12
13
|
toURLSearchParams
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HU6LUVVH.js";
|
|
14
15
|
import {
|
|
15
16
|
require_clean,
|
|
16
17
|
require_is_core_module,
|
|
17
18
|
require_semver,
|
|
18
19
|
require_valid
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-L2OFDD7L.js";
|
|
20
21
|
import {
|
|
21
22
|
require_index_node,
|
|
22
23
|
require_ms,
|
|
@@ -27,7 +28,7 @@ import {
|
|
|
27
28
|
} from "./chunk-GO2GZJCK.js";
|
|
28
29
|
import {
|
|
29
30
|
require_verror
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2QOJBDBC.js";
|
|
31
32
|
import {
|
|
32
33
|
__commonJS,
|
|
33
34
|
__dirname,
|
|
@@ -17069,9 +17070,9 @@ var require_err_code = __commonJS({
|
|
|
17069
17070
|
}
|
|
17070
17071
|
});
|
|
17071
17072
|
|
|
17072
|
-
// ../../node_modules/retry/lib/retry_operation.js
|
|
17073
|
+
// ../../node_modules/promise-retry/node_modules/retry/lib/retry_operation.js
|
|
17073
17074
|
var require_retry_operation = __commonJS({
|
|
17074
|
-
"../../node_modules/retry/lib/retry_operation.js"(exports2, module2) {
|
|
17075
|
+
"../../node_modules/promise-retry/node_modules/retry/lib/retry_operation.js"(exports2, module2) {
|
|
17075
17076
|
"use strict";
|
|
17076
17077
|
init_esm_shims();
|
|
17077
17078
|
function RetryOperation(timeouts, options) {
|
|
@@ -17202,9 +17203,9 @@ var require_retry_operation = __commonJS({
|
|
|
17202
17203
|
}
|
|
17203
17204
|
});
|
|
17204
17205
|
|
|
17205
|
-
// ../../node_modules/retry/lib/retry.js
|
|
17206
|
-
var
|
|
17207
|
-
"../../node_modules/retry/lib/retry.js"(exports2) {
|
|
17206
|
+
// ../../node_modules/promise-retry/node_modules/retry/lib/retry.js
|
|
17207
|
+
var require_retry2 = __commonJS({
|
|
17208
|
+
"../../node_modules/promise-retry/node_modules/retry/lib/retry.js"(exports2) {
|
|
17208
17209
|
"use strict";
|
|
17209
17210
|
init_esm_shims();
|
|
17210
17211
|
var RetryOperation = require_retry_operation();
|
|
@@ -17290,12 +17291,12 @@ var require_retry = __commonJS({
|
|
|
17290
17291
|
}
|
|
17291
17292
|
});
|
|
17292
17293
|
|
|
17293
|
-
// ../../node_modules/retry/index.js
|
|
17294
|
-
var
|
|
17295
|
-
"../../node_modules/retry/index.js"(exports2, module2) {
|
|
17294
|
+
// ../../node_modules/promise-retry/node_modules/retry/index.js
|
|
17295
|
+
var require_retry3 = __commonJS({
|
|
17296
|
+
"../../node_modules/promise-retry/node_modules/retry/index.js"(exports2, module2) {
|
|
17296
17297
|
"use strict";
|
|
17297
17298
|
init_esm_shims();
|
|
17298
|
-
module2.exports =
|
|
17299
|
+
module2.exports = require_retry2();
|
|
17299
17300
|
}
|
|
17300
17301
|
});
|
|
17301
17302
|
|
|
@@ -17305,7 +17306,7 @@ var require_promise_retry = __commonJS({
|
|
|
17305
17306
|
"use strict";
|
|
17306
17307
|
init_esm_shims();
|
|
17307
17308
|
var errcode = require_err_code();
|
|
17308
|
-
var retry2 =
|
|
17309
|
+
var retry2 = require_retry3();
|
|
17309
17310
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
17310
17311
|
function isRetryError(err) {
|
|
17311
17312
|
return err && err.code === "EPROMISERETRY" && hasOwn.call(err, "retried");
|
|
@@ -37524,9 +37525,9 @@ var require_dist = __commonJS({
|
|
|
37524
37525
|
}
|
|
37525
37526
|
});
|
|
37526
37527
|
|
|
37527
|
-
// ../../node_modules/agent-base/dist/src/promisify.js
|
|
37528
|
+
// ../../node_modules/npm-registry-fetch/node_modules/agent-base/dist/src/promisify.js
|
|
37528
37529
|
var require_promisify = __commonJS({
|
|
37529
|
-
"../../node_modules/agent-base/dist/src/promisify.js"(exports2) {
|
|
37530
|
+
"../../node_modules/npm-registry-fetch/node_modules/agent-base/dist/src/promisify.js"(exports2) {
|
|
37530
37531
|
"use strict";
|
|
37531
37532
|
init_esm_shims();
|
|
37532
37533
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -37547,9 +37548,9 @@ var require_promisify = __commonJS({
|
|
|
37547
37548
|
}
|
|
37548
37549
|
});
|
|
37549
37550
|
|
|
37550
|
-
// ../../node_modules/agent-base/dist/src/index.js
|
|
37551
|
+
// ../../node_modules/npm-registry-fetch/node_modules/agent-base/dist/src/index.js
|
|
37551
37552
|
var require_src4 = __commonJS({
|
|
37552
|
-
"../../node_modules/agent-base/dist/src/index.js"(exports2, module2) {
|
|
37553
|
+
"../../node_modules/npm-registry-fetch/node_modules/agent-base/dist/src/index.js"(exports2, module2) {
|
|
37553
37554
|
"use strict";
|
|
37554
37555
|
init_esm_shims();
|
|
37555
37556
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -37888,9 +37889,9 @@ var require_dist2 = __commonJS({
|
|
|
37888
37889
|
}
|
|
37889
37890
|
});
|
|
37890
37891
|
|
|
37891
|
-
// ../../node_modules/https-proxy-agent/dist/parse-proxy-response.js
|
|
37892
|
+
// ../../node_modules/npm-registry-fetch/node_modules/https-proxy-agent/dist/parse-proxy-response.js
|
|
37892
37893
|
var require_parse_proxy_response = __commonJS({
|
|
37893
|
-
"../../node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports2) {
|
|
37894
|
+
"../../node_modules/npm-registry-fetch/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports2) {
|
|
37894
37895
|
"use strict";
|
|
37895
37896
|
init_esm_shims();
|
|
37896
37897
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -37955,9 +37956,9 @@ var require_parse_proxy_response = __commonJS({
|
|
|
37955
37956
|
}
|
|
37956
37957
|
});
|
|
37957
37958
|
|
|
37958
|
-
// ../../node_modules/https-proxy-agent/dist/agent.js
|
|
37959
|
+
// ../../node_modules/npm-registry-fetch/node_modules/https-proxy-agent/dist/agent.js
|
|
37959
37960
|
var require_agent3 = __commonJS({
|
|
37960
|
-
"../../node_modules/https-proxy-agent/dist/agent.js"(exports2) {
|
|
37961
|
+
"../../node_modules/npm-registry-fetch/node_modules/https-proxy-agent/dist/agent.js"(exports2) {
|
|
37961
37962
|
"use strict";
|
|
37962
37963
|
init_esm_shims();
|
|
37963
37964
|
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
@@ -38116,9 +38117,9 @@ var require_agent3 = __commonJS({
|
|
|
38116
38117
|
}
|
|
38117
38118
|
});
|
|
38118
38119
|
|
|
38119
|
-
// ../../node_modules/https-proxy-agent/dist/index.js
|
|
38120
|
+
// ../../node_modules/npm-registry-fetch/node_modules/https-proxy-agent/dist/index.js
|
|
38120
38121
|
var require_dist3 = __commonJS({
|
|
38121
|
-
"../../node_modules/https-proxy-agent/dist/index.js"(exports2, module2) {
|
|
38122
|
+
"../../node_modules/npm-registry-fetch/node_modules/https-proxy-agent/dist/index.js"(exports2, module2) {
|
|
38122
38123
|
"use strict";
|
|
38123
38124
|
init_esm_shims();
|
|
38124
38125
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -49440,240 +49441,6 @@ var require_lib29 = __commonJS({
|
|
|
49440
49441
|
}
|
|
49441
49442
|
});
|
|
49442
49443
|
|
|
49443
|
-
// ../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/lib/retry_operation.js
|
|
49444
|
-
var require_retry_operation2 = __commonJS({
|
|
49445
|
-
"../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/lib/retry_operation.js"(exports2, module2) {
|
|
49446
|
-
"use strict";
|
|
49447
|
-
init_esm_shims();
|
|
49448
|
-
function RetryOperation(timeouts, options) {
|
|
49449
|
-
if (typeof options === "boolean") {
|
|
49450
|
-
options = { forever: options };
|
|
49451
|
-
}
|
|
49452
|
-
this._originalTimeouts = JSON.parse(JSON.stringify(timeouts));
|
|
49453
|
-
this._timeouts = timeouts;
|
|
49454
|
-
this._options = options || {};
|
|
49455
|
-
this._maxRetryTime = options && options.maxRetryTime || Infinity;
|
|
49456
|
-
this._fn = null;
|
|
49457
|
-
this._errors = [];
|
|
49458
|
-
this._attempts = 1;
|
|
49459
|
-
this._operationTimeout = null;
|
|
49460
|
-
this._operationTimeoutCb = null;
|
|
49461
|
-
this._timeout = null;
|
|
49462
|
-
this._operationStart = null;
|
|
49463
|
-
this._timer = null;
|
|
49464
|
-
if (this._options.forever) {
|
|
49465
|
-
this._cachedTimeouts = this._timeouts.slice(0);
|
|
49466
|
-
}
|
|
49467
|
-
}
|
|
49468
|
-
module2.exports = RetryOperation;
|
|
49469
|
-
RetryOperation.prototype.reset = function() {
|
|
49470
|
-
this._attempts = 1;
|
|
49471
|
-
this._timeouts = this._originalTimeouts.slice(0);
|
|
49472
|
-
};
|
|
49473
|
-
RetryOperation.prototype.stop = function() {
|
|
49474
|
-
if (this._timeout) {
|
|
49475
|
-
clearTimeout(this._timeout);
|
|
49476
|
-
}
|
|
49477
|
-
if (this._timer) {
|
|
49478
|
-
clearTimeout(this._timer);
|
|
49479
|
-
}
|
|
49480
|
-
this._timeouts = [];
|
|
49481
|
-
this._cachedTimeouts = null;
|
|
49482
|
-
};
|
|
49483
|
-
RetryOperation.prototype.retry = function(err) {
|
|
49484
|
-
if (this._timeout) {
|
|
49485
|
-
clearTimeout(this._timeout);
|
|
49486
|
-
}
|
|
49487
|
-
if (!err) {
|
|
49488
|
-
return false;
|
|
49489
|
-
}
|
|
49490
|
-
var currentTime = (/* @__PURE__ */ new Date()).getTime();
|
|
49491
|
-
if (err && currentTime - this._operationStart >= this._maxRetryTime) {
|
|
49492
|
-
this._errors.push(err);
|
|
49493
|
-
this._errors.unshift(new Error("RetryOperation timeout occurred"));
|
|
49494
|
-
return false;
|
|
49495
|
-
}
|
|
49496
|
-
this._errors.push(err);
|
|
49497
|
-
var timeout = this._timeouts.shift();
|
|
49498
|
-
if (timeout === void 0) {
|
|
49499
|
-
if (this._cachedTimeouts) {
|
|
49500
|
-
this._errors.splice(0, this._errors.length - 1);
|
|
49501
|
-
timeout = this._cachedTimeouts.slice(-1);
|
|
49502
|
-
} else {
|
|
49503
|
-
return false;
|
|
49504
|
-
}
|
|
49505
|
-
}
|
|
49506
|
-
var self = this;
|
|
49507
|
-
this._timer = setTimeout(function() {
|
|
49508
|
-
self._attempts++;
|
|
49509
|
-
if (self._operationTimeoutCb) {
|
|
49510
|
-
self._timeout = setTimeout(function() {
|
|
49511
|
-
self._operationTimeoutCb(self._attempts);
|
|
49512
|
-
}, self._operationTimeout);
|
|
49513
|
-
if (self._options.unref) {
|
|
49514
|
-
self._timeout.unref();
|
|
49515
|
-
}
|
|
49516
|
-
}
|
|
49517
|
-
self._fn(self._attempts);
|
|
49518
|
-
}, timeout);
|
|
49519
|
-
if (this._options.unref) {
|
|
49520
|
-
this._timer.unref();
|
|
49521
|
-
}
|
|
49522
|
-
return true;
|
|
49523
|
-
};
|
|
49524
|
-
RetryOperation.prototype.attempt = function(fn2, timeoutOps) {
|
|
49525
|
-
this._fn = fn2;
|
|
49526
|
-
if (timeoutOps) {
|
|
49527
|
-
if (timeoutOps.timeout) {
|
|
49528
|
-
this._operationTimeout = timeoutOps.timeout;
|
|
49529
|
-
}
|
|
49530
|
-
if (timeoutOps.cb) {
|
|
49531
|
-
this._operationTimeoutCb = timeoutOps.cb;
|
|
49532
|
-
}
|
|
49533
|
-
}
|
|
49534
|
-
var self = this;
|
|
49535
|
-
if (this._operationTimeoutCb) {
|
|
49536
|
-
this._timeout = setTimeout(function() {
|
|
49537
|
-
self._operationTimeoutCb();
|
|
49538
|
-
}, self._operationTimeout);
|
|
49539
|
-
}
|
|
49540
|
-
this._operationStart = (/* @__PURE__ */ new Date()).getTime();
|
|
49541
|
-
this._fn(this._attempts);
|
|
49542
|
-
};
|
|
49543
|
-
RetryOperation.prototype.try = function(fn2) {
|
|
49544
|
-
console.log("Using RetryOperation.try() is deprecated");
|
|
49545
|
-
this.attempt(fn2);
|
|
49546
|
-
};
|
|
49547
|
-
RetryOperation.prototype.start = function(fn2) {
|
|
49548
|
-
console.log("Using RetryOperation.start() is deprecated");
|
|
49549
|
-
this.attempt(fn2);
|
|
49550
|
-
};
|
|
49551
|
-
RetryOperation.prototype.start = RetryOperation.prototype.try;
|
|
49552
|
-
RetryOperation.prototype.errors = function() {
|
|
49553
|
-
return this._errors;
|
|
49554
|
-
};
|
|
49555
|
-
RetryOperation.prototype.attempts = function() {
|
|
49556
|
-
return this._attempts;
|
|
49557
|
-
};
|
|
49558
|
-
RetryOperation.prototype.mainError = function() {
|
|
49559
|
-
if (this._errors.length === 0) {
|
|
49560
|
-
return null;
|
|
49561
|
-
}
|
|
49562
|
-
var counts = {};
|
|
49563
|
-
var mainError = null;
|
|
49564
|
-
var mainErrorCount = 0;
|
|
49565
|
-
for (var i = 0; i < this._errors.length; i++) {
|
|
49566
|
-
var error = this._errors[i];
|
|
49567
|
-
var message2 = error.message;
|
|
49568
|
-
var count = (counts[message2] || 0) + 1;
|
|
49569
|
-
counts[message2] = count;
|
|
49570
|
-
if (count >= mainErrorCount) {
|
|
49571
|
-
mainError = error;
|
|
49572
|
-
mainErrorCount = count;
|
|
49573
|
-
}
|
|
49574
|
-
}
|
|
49575
|
-
return mainError;
|
|
49576
|
-
};
|
|
49577
|
-
}
|
|
49578
|
-
});
|
|
49579
|
-
|
|
49580
|
-
// ../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/lib/retry.js
|
|
49581
|
-
var require_retry3 = __commonJS({
|
|
49582
|
-
"../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/lib/retry.js"(exports2) {
|
|
49583
|
-
"use strict";
|
|
49584
|
-
init_esm_shims();
|
|
49585
|
-
var RetryOperation = require_retry_operation2();
|
|
49586
|
-
exports2.operation = function(options) {
|
|
49587
|
-
var timeouts = exports2.timeouts(options);
|
|
49588
|
-
return new RetryOperation(timeouts, {
|
|
49589
|
-
forever: options && (options.forever || options.retries === Infinity),
|
|
49590
|
-
unref: options && options.unref,
|
|
49591
|
-
maxRetryTime: options && options.maxRetryTime
|
|
49592
|
-
});
|
|
49593
|
-
};
|
|
49594
|
-
exports2.timeouts = function(options) {
|
|
49595
|
-
if (options instanceof Array) {
|
|
49596
|
-
return [].concat(options);
|
|
49597
|
-
}
|
|
49598
|
-
var opts = {
|
|
49599
|
-
retries: 10,
|
|
49600
|
-
factor: 2,
|
|
49601
|
-
minTimeout: 1 * 1e3,
|
|
49602
|
-
maxTimeout: Infinity,
|
|
49603
|
-
randomize: false
|
|
49604
|
-
};
|
|
49605
|
-
for (var key in options) {
|
|
49606
|
-
opts[key] = options[key];
|
|
49607
|
-
}
|
|
49608
|
-
if (opts.minTimeout > opts.maxTimeout) {
|
|
49609
|
-
throw new Error("minTimeout is greater than maxTimeout");
|
|
49610
|
-
}
|
|
49611
|
-
var timeouts = [];
|
|
49612
|
-
for (var i = 0; i < opts.retries; i++) {
|
|
49613
|
-
timeouts.push(this.createTimeout(i, opts));
|
|
49614
|
-
}
|
|
49615
|
-
if (options && options.forever && !timeouts.length) {
|
|
49616
|
-
timeouts.push(this.createTimeout(i, opts));
|
|
49617
|
-
}
|
|
49618
|
-
timeouts.sort(function(a, b) {
|
|
49619
|
-
return a - b;
|
|
49620
|
-
});
|
|
49621
|
-
return timeouts;
|
|
49622
|
-
};
|
|
49623
|
-
exports2.createTimeout = function(attempt, opts) {
|
|
49624
|
-
var random = opts.randomize ? Math.random() + 1 : 1;
|
|
49625
|
-
var timeout = Math.round(random * Math.max(opts.minTimeout, 1) * Math.pow(opts.factor, attempt));
|
|
49626
|
-
timeout = Math.min(timeout, opts.maxTimeout);
|
|
49627
|
-
return timeout;
|
|
49628
|
-
};
|
|
49629
|
-
exports2.wrap = function(obj, options, methods) {
|
|
49630
|
-
if (options instanceof Array) {
|
|
49631
|
-
methods = options;
|
|
49632
|
-
options = null;
|
|
49633
|
-
}
|
|
49634
|
-
if (!methods) {
|
|
49635
|
-
methods = [];
|
|
49636
|
-
for (var key in obj) {
|
|
49637
|
-
if (typeof obj[key] === "function") {
|
|
49638
|
-
methods.push(key);
|
|
49639
|
-
}
|
|
49640
|
-
}
|
|
49641
|
-
}
|
|
49642
|
-
for (var i = 0; i < methods.length; i++) {
|
|
49643
|
-
var method = methods[i];
|
|
49644
|
-
var original = obj[method];
|
|
49645
|
-
obj[method] = function retryWrapper(original2) {
|
|
49646
|
-
var op = exports2.operation(options);
|
|
49647
|
-
var args2 = Array.prototype.slice.call(arguments, 1);
|
|
49648
|
-
var callback = args2.pop();
|
|
49649
|
-
args2.push(function(err) {
|
|
49650
|
-
if (op.retry(err)) {
|
|
49651
|
-
return;
|
|
49652
|
-
}
|
|
49653
|
-
if (err) {
|
|
49654
|
-
arguments[0] = op.mainError();
|
|
49655
|
-
}
|
|
49656
|
-
callback.apply(this, arguments);
|
|
49657
|
-
});
|
|
49658
|
-
op.attempt(function() {
|
|
49659
|
-
original2.apply(obj, args2);
|
|
49660
|
-
});
|
|
49661
|
-
}.bind(obj, original);
|
|
49662
|
-
obj[method].options = options;
|
|
49663
|
-
}
|
|
49664
|
-
};
|
|
49665
|
-
}
|
|
49666
|
-
});
|
|
49667
|
-
|
|
49668
|
-
// ../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/index.js
|
|
49669
|
-
var require_retry4 = __commonJS({
|
|
49670
|
-
"../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/index.js"(exports2, module2) {
|
|
49671
|
-
"use strict";
|
|
49672
|
-
init_esm_shims();
|
|
49673
|
-
module2.exports = require_retry3();
|
|
49674
|
-
}
|
|
49675
|
-
});
|
|
49676
|
-
|
|
49677
49444
|
// ../../node_modules/@wix/ambassador-velo-ide-v1-path-transform/build/cjs/types.impl.js
|
|
49678
49445
|
var require_types_impl = __commonJS({
|
|
49679
49446
|
"../../node_modules/@wix/ambassador-velo-ide-v1-path-transform/build/cjs/types.impl.js"(exports2) {
|
|
@@ -49807,7 +49574,7 @@ import { dirname, join as join22, relative as relative2 } from "node:path";
|
|
|
49807
49574
|
|
|
49808
49575
|
// ../../node_modules/@wix/velo-site-types-syncer/node_modules/p-retry/index.js
|
|
49809
49576
|
init_esm_shims();
|
|
49810
|
-
var import_retry = __toESM(
|
|
49577
|
+
var import_retry = __toESM(require_retry(), 1);
|
|
49811
49578
|
var networkErrorMsgs = /* @__PURE__ */ new Set([
|
|
49812
49579
|
"Failed to fetch",
|
|
49813
49580
|
// Chrome
|
|
@@ -51374,4 +51141,4 @@ make-fetch-happen/lib/fetch.js:
|
|
|
51374
51141
|
* governing permissions and limitations under the License.
|
|
51375
51142
|
*)
|
|
51376
51143
|
*/
|
|
51377
|
-
//# sourceMappingURL=chunk-
|
|
51144
|
+
//# sourceMappingURL=chunk-UMKARVY3.js.map
|