@wix/cli 1.1.82 → 1.1.84
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/bin/wix.cjs +2 -2
- package/build/{DevCommand-SDFXHWAZ.js → DevCommand-3T55WLCX.js} +15 -15
- package/build/{DevCommand-G3CESSCS.js → DevCommand-QIKMRRK2.js} +12 -12
- package/build/{InstallCommand-45AVI6H7.js → InstallCommand-4YBBLALN.js} +14 -14
- package/build/{LoginCommand-JMCJIN4P.js → LoginCommand-VYFNU5TA.js} +9 -9
- package/build/{LogoutCommand-YERC4TI3.js → LogoutCommand-W3YHFAZJ.js} +6 -6
- package/build/{PreviewCommand-LLZ7NWAV.js → PreviewCommand-N5QXU2FK.js} +16 -16
- package/build/{PreviewCommand-VNTDBBKT.js → PreviewCommand-YHAJGKV7.js} +17 -17
- package/build/{PublishCommand-ZPWZSNY5.js → PublishCommand-UJX7YSD7.js} +16 -16
- package/build/{UninstallCommand-CDIBOZUN.js → UninstallCommand-WYZDNETD.js} +14 -14
- package/build/{WhoamiCommand-PLS6RUWM.js → WhoamiCommand-DXQH6HUP.js} +3 -3
- package/build/{chunk-VQPUE22G.js → chunk-2F3TGHU3.js} +7 -7
- package/build/{chunk-VQPUE22G.js.map → chunk-2F3TGHU3.js.map} +1 -1
- package/build/{chunk-UMFWKOWB.js → chunk-3ESROA3O.js} +3 -3
- package/build/{chunk-P35RKHKI.js → chunk-3TOIVPXU.js} +3 -3
- package/build/{chunk-BDO6CR4V.js → chunk-443UULTT.js} +3 -3
- package/build/{chunk-27DLATXZ.js → chunk-6YL4Z7HO.js} +5 -5
- package/build/chunk-6YL4Z7HO.js.map +1 -0
- package/build/{chunk-G6EV7W6O.js → chunk-7HAKFVGI.js} +2 -2
- package/build/{chunk-4EO7ZBWR.js → chunk-7SBYWHZH.js} +2 -2
- package/build/{chunk-YDXZTDCP.js → chunk-AKNVJLMI.js} +11 -12
- package/build/chunk-AKNVJLMI.js.map +1 -0
- package/build/{chunk-V5ZP5VFT.js → chunk-AWJBTSZB.js} +7 -7
- package/build/{chunk-NZWOBXKV.js → chunk-BWQNSFZR.js} +3 -3
- package/build/{chunk-NZWOBXKV.js.map → chunk-BWQNSFZR.js.map} +1 -1
- package/build/{chunk-4QUIYV2D.js → chunk-CZNH4NDF.js} +2 -2
- package/build/{chunk-Y2YOKPFS.js → chunk-D32EVRHZ.js} +3 -3
- package/build/{chunk-ZOXP3NVG.js → chunk-D4OH4DMW.js} +8 -8
- package/build/{chunk-UAFSX2SL.js → chunk-DZ6HYDXN.js} +5 -5
- package/build/{chunk-4TDFATZJ.js → chunk-EB5O7IPB.js} +3 -3
- package/build/{chunk-GX2P5YHY.js → chunk-EDBFXDBA.js} +6 -6
- package/build/{chunk-FDFLEAUS.js → chunk-G4TMGKQZ.js} +3 -3
- package/build/{chunk-5NU7W36B.js → chunk-GMB4V5N6.js} +2 -2
- package/build/{chunk-PWTKS7IC.js → chunk-HIY4FIRZ.js} +2 -2
- package/build/{chunk-L5767LEQ.js → chunk-HJQ6N2XI.js} +282 -254
- package/build/chunk-HJQ6N2XI.js.map +1 -0
- package/build/{chunk-ALLETB4G.js → chunk-K5TRKVBA.js} +3 -3
- package/build/{chunk-JMIOSJ6M.js → chunk-LQK7FXRR.js} +5 -5
- package/build/{chunk-IJUB7F5P.js → chunk-NN465VNN.js} +249 -16
- package/build/chunk-NN465VNN.js.map +1 -0
- package/build/{chunk-H6JMSRER.js → chunk-ODUS243S.js} +8 -8
- package/build/{chunk-LOIAECXT.js → chunk-OG7CQWH4.js} +3 -3
- package/build/{chunk-JFKUMOCQ.js → chunk-OKG3SHLM.js} +14 -5
- package/build/chunk-OKG3SHLM.js.map +1 -0
- package/build/{chunk-YCFZ247L.js → chunk-PCN3DSXO.js} +4 -4
- package/build/{chunk-FQPD6463.js → chunk-RTNNLCWK.js} +2 -2
- package/build/{chunk-OELBJVRN.js → chunk-RVMEYUY7.js} +4 -2
- package/build/chunk-RVMEYUY7.js.map +1 -0
- package/build/{chunk-V2FLJHZT.js → chunk-TTMVSSSY.js} +2 -2
- package/build/{chunk-OFZYGRHS.js → chunk-VDEWNPZW.js} +3 -3
- package/build/{chunk-MGQ2ESKW.js → chunk-VTNVMBHW.js} +5 -5
- package/build/{chunk-UPC7ESRG.js → chunk-WCNBMDVW.js} +2 -2
- package/build/{chunk-BVG5SCZS.js → chunk-YZNDZ4SI.js} +3 -3
- package/build/{chunk-IFOT72TN.js → chunk-ZB6FQ6GP.js} +7 -3
- package/build/{chunk-IFOT72TN.js.map → chunk-ZB6FQ6GP.js.map} +1 -1
- package/build/{dev-7W2DPJU7.js → dev-RGJBH6UG.js} +21 -21
- package/build/index.js +29 -23
- package/build/index.js.map +1 -1
- package/build/{install-65IG2O5T.js → install-DWGSHW3J.js} +17 -17
- package/build/{publish-YGH7XDLS.js → publish-AC7TTXOB.js} +18 -17
- package/build/{publish-YGH7XDLS.js.map → publish-AC7TTXOB.js.map} +1 -1
- package/build/{render-command-2MR5YBEV.js → render-command-GUDTM4IQ.js} +9 -9
- package/build/{render-command-SWR5N5GP.js → render-command-I2EZ5ZOY.js} +8 -8
- package/build/{render-command-NECYRVEQ.js → render-command-IGB63PTD.js} +9 -9
- package/build/{render-command-2WLWMKTZ.js → render-command-KGE4WNRS.js} +12 -12
- package/build/{run-command-ZIBXWV63.js → run-command-TBCHFVR6.js} +8 -8
- package/build/{src-55UVIEKB.js → src-A6GUTLAP.js} +17 -17
- package/build/{src-SDOROU7S.js → src-BAC3WGFQ.js} +6 -6
- package/build/{src-QCJABFJO.js → src-NE5D32YX.js} +4 -4
- package/build/{src-26FPXGXH.js → src-PTVLFJGU.js} +2 -2
- package/build/{src-PSCSVTUC.js → src-QIYGDXHR.js} +5 -5
- package/build/{src-TUUZ6KXC.js → src-XY5XGVPA.js} +13 -13
- package/build/{sync-types-7CGIZBAV.js → sync-types-KIRJNRVB.js} +11 -11
- package/build/{uninstall-2RSTFKCM.js → uninstall-MT6ZLKJY.js} +17 -17
- package/package.json +3 -3
- package/build/chunk-27DLATXZ.js.map +0 -1
- package/build/chunk-IJUB7F5P.js.map +0 -1
- package/build/chunk-JFKUMOCQ.js.map +0 -1
- package/build/chunk-L5767LEQ.js.map +0 -1
- package/build/chunk-OELBJVRN.js.map +0 -1
- package/build/chunk-YDXZTDCP.js.map +0 -1
- /package/build/{DevCommand-SDFXHWAZ.js.map → DevCommand-3T55WLCX.js.map} +0 -0
- /package/build/{DevCommand-G3CESSCS.js.map → DevCommand-QIKMRRK2.js.map} +0 -0
- /package/build/{InstallCommand-45AVI6H7.js.map → InstallCommand-4YBBLALN.js.map} +0 -0
- /package/build/{LoginCommand-JMCJIN4P.js.map → LoginCommand-VYFNU5TA.js.map} +0 -0
- /package/build/{LogoutCommand-YERC4TI3.js.map → LogoutCommand-W3YHFAZJ.js.map} +0 -0
- /package/build/{PreviewCommand-LLZ7NWAV.js.map → PreviewCommand-N5QXU2FK.js.map} +0 -0
- /package/build/{PreviewCommand-VNTDBBKT.js.map → PreviewCommand-YHAJGKV7.js.map} +0 -0
- /package/build/{PublishCommand-ZPWZSNY5.js.map → PublishCommand-UJX7YSD7.js.map} +0 -0
- /package/build/{UninstallCommand-CDIBOZUN.js.map → UninstallCommand-WYZDNETD.js.map} +0 -0
- /package/build/{WhoamiCommand-PLS6RUWM.js.map → WhoamiCommand-DXQH6HUP.js.map} +0 -0
- /package/build/{chunk-UMFWKOWB.js.map → chunk-3ESROA3O.js.map} +0 -0
- /package/build/{chunk-P35RKHKI.js.map → chunk-3TOIVPXU.js.map} +0 -0
- /package/build/{chunk-BDO6CR4V.js.map → chunk-443UULTT.js.map} +0 -0
- /package/build/{chunk-G6EV7W6O.js.map → chunk-7HAKFVGI.js.map} +0 -0
- /package/build/{chunk-4EO7ZBWR.js.map → chunk-7SBYWHZH.js.map} +0 -0
- /package/build/{chunk-V5ZP5VFT.js.map → chunk-AWJBTSZB.js.map} +0 -0
- /package/build/{chunk-4QUIYV2D.js.map → chunk-CZNH4NDF.js.map} +0 -0
- /package/build/{chunk-Y2YOKPFS.js.map → chunk-D32EVRHZ.js.map} +0 -0
- /package/build/{chunk-ZOXP3NVG.js.map → chunk-D4OH4DMW.js.map} +0 -0
- /package/build/{chunk-UAFSX2SL.js.map → chunk-DZ6HYDXN.js.map} +0 -0
- /package/build/{chunk-4TDFATZJ.js.map → chunk-EB5O7IPB.js.map} +0 -0
- /package/build/{chunk-GX2P5YHY.js.map → chunk-EDBFXDBA.js.map} +0 -0
- /package/build/{chunk-FDFLEAUS.js.map → chunk-G4TMGKQZ.js.map} +0 -0
- /package/build/{chunk-5NU7W36B.js.map → chunk-GMB4V5N6.js.map} +0 -0
- /package/build/{chunk-PWTKS7IC.js.map → chunk-HIY4FIRZ.js.map} +0 -0
- /package/build/{chunk-ALLETB4G.js.map → chunk-K5TRKVBA.js.map} +0 -0
- /package/build/{chunk-JMIOSJ6M.js.map → chunk-LQK7FXRR.js.map} +0 -0
- /package/build/{chunk-H6JMSRER.js.map → chunk-ODUS243S.js.map} +0 -0
- /package/build/{chunk-LOIAECXT.js.map → chunk-OG7CQWH4.js.map} +0 -0
- /package/build/{chunk-YCFZ247L.js.map → chunk-PCN3DSXO.js.map} +0 -0
- /package/build/{chunk-FQPD6463.js.map → chunk-RTNNLCWK.js.map} +0 -0
- /package/build/{chunk-V2FLJHZT.js.map → chunk-TTMVSSSY.js.map} +0 -0
- /package/build/{chunk-OFZYGRHS.js.map → chunk-VDEWNPZW.js.map} +0 -0
- /package/build/{chunk-MGQ2ESKW.js.map → chunk-VTNVMBHW.js.map} +0 -0
- /package/build/{chunk-UPC7ESRG.js.map → chunk-WCNBMDVW.js.map} +0 -0
- /package/build/{chunk-BVG5SCZS.js.map → chunk-YZNDZ4SI.js.map} +0 -0
- /package/build/{dev-7W2DPJU7.js.map → dev-RGJBH6UG.js.map} +0 -0
- /package/build/{install-65IG2O5T.js.map → install-DWGSHW3J.js.map} +0 -0
- /package/build/{render-command-2MR5YBEV.js.map → render-command-GUDTM4IQ.js.map} +0 -0
- /package/build/{render-command-SWR5N5GP.js.map → render-command-I2EZ5ZOY.js.map} +0 -0
- /package/build/{render-command-NECYRVEQ.js.map → render-command-IGB63PTD.js.map} +0 -0
- /package/build/{render-command-2WLWMKTZ.js.map → render-command-KGE4WNRS.js.map} +0 -0
- /package/build/{run-command-ZIBXWV63.js.map → run-command-TBCHFVR6.js.map} +0 -0
- /package/build/{src-55UVIEKB.js.map → src-A6GUTLAP.js.map} +0 -0
- /package/build/{src-26FPXGXH.js.map → src-BAC3WGFQ.js.map} +0 -0
- /package/build/{src-QCJABFJO.js.map → src-NE5D32YX.js.map} +0 -0
- /package/build/{src-SDOROU7S.js.map → src-PTVLFJGU.js.map} +0 -0
- /package/build/{src-PSCSVTUC.js.map → src-QIYGDXHR.js.map} +0 -0
- /package/build/{src-TUUZ6KXC.js.map → src-XY5XGVPA.js.map} +0 -0
- /package/build/{sync-types-7CGIZBAV.js.map → sync-types-KIRJNRVB.js.map} +0 -0
- /package/build/{uninstall-2RSTFKCM.js.map → uninstall-MT6ZLKJY.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
pathExists,
|
|
8
8
|
readJson,
|
|
9
9
|
writeJson
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7HAKFVGI.js";
|
|
11
11
|
import {
|
|
12
12
|
z
|
|
13
13
|
} from "./chunk-GO2GZJCK.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
CliError,
|
|
16
16
|
CliErrorCode,
|
|
17
17
|
require_lib
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZB6FQ6GP.js";
|
|
19
19
|
import {
|
|
20
20
|
__toESM,
|
|
21
21
|
init_esm_shims
|
|
@@ -345,4 +345,4 @@ export {
|
|
|
345
345
|
Yarn,
|
|
346
346
|
createPackageManager
|
|
347
347
|
};
|
|
348
|
-
//# sourceMappingURL=chunk-
|
|
348
|
+
//# sourceMappingURL=chunk-K5TRKVBA.js.map
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
} from "./chunk-EDFOB3LN.js";
|
|
6
6
|
import {
|
|
7
7
|
GridAppLayout
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RTNNLCWK.js";
|
|
9
9
|
import {
|
|
10
10
|
extractHttpError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HJQ6N2XI.js";
|
|
12
12
|
import {
|
|
13
13
|
WIX_LOCK_FILENAME,
|
|
14
14
|
getSourceFolder
|
|
15
15
|
} from "./chunk-YLK75XXM.js";
|
|
16
16
|
import {
|
|
17
17
|
pathExists
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7HAKFVGI.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError,
|
|
21
21
|
CliErrorCode
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZB6FQ6GP.js";
|
|
23
23
|
import {
|
|
24
24
|
__toESM,
|
|
25
25
|
init_esm_shims
|
|
@@ -107,4 +107,4 @@ export {
|
|
|
107
107
|
isSiteNotPublishedError,
|
|
108
108
|
loadProjectGridAppContent
|
|
109
109
|
};
|
|
110
|
-
//# sourceMappingURL=chunk-
|
|
110
|
+
//# sourceMappingURL=chunk-LQK7FXRR.js.map
|
|
@@ -7,17 +7,16 @@ import {
|
|
|
7
7
|
GridAppLayout
|
|
8
8
|
} from "./chunk-6LI4WGAW.js";
|
|
9
9
|
import {
|
|
10
|
-
require_retry,
|
|
11
10
|
resolveUrl,
|
|
12
11
|
serializer,
|
|
13
12
|
toURLSearchParams
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AKNVJLMI.js";
|
|
15
14
|
import {
|
|
16
15
|
require_clean,
|
|
17
16
|
require_is_core_module,
|
|
18
17
|
require_semver,
|
|
19
18
|
require_valid
|
|
20
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HJQ6N2XI.js";
|
|
21
20
|
import {
|
|
22
21
|
require_index_node,
|
|
23
22
|
require_ms,
|
|
@@ -28,7 +27,7 @@ import {
|
|
|
28
27
|
} from "./chunk-GO2GZJCK.js";
|
|
29
28
|
import {
|
|
30
29
|
require_verror
|
|
31
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZB6FQ6GP.js";
|
|
32
31
|
import {
|
|
33
32
|
__commonJS,
|
|
34
33
|
__dirname,
|
|
@@ -17070,9 +17069,9 @@ var require_err_code = __commonJS({
|
|
|
17070
17069
|
}
|
|
17071
17070
|
});
|
|
17072
17071
|
|
|
17073
|
-
// ../../node_modules/
|
|
17072
|
+
// ../../node_modules/retry/lib/retry_operation.js
|
|
17074
17073
|
var require_retry_operation = __commonJS({
|
|
17075
|
-
"../../node_modules/
|
|
17074
|
+
"../../node_modules/retry/lib/retry_operation.js"(exports2, module2) {
|
|
17076
17075
|
"use strict";
|
|
17077
17076
|
init_esm_shims();
|
|
17078
17077
|
function RetryOperation(timeouts, options) {
|
|
@@ -17203,9 +17202,9 @@ var require_retry_operation = __commonJS({
|
|
|
17203
17202
|
}
|
|
17204
17203
|
});
|
|
17205
17204
|
|
|
17206
|
-
// ../../node_modules/
|
|
17207
|
-
var
|
|
17208
|
-
"../../node_modules/
|
|
17205
|
+
// ../../node_modules/retry/lib/retry.js
|
|
17206
|
+
var require_retry = __commonJS({
|
|
17207
|
+
"../../node_modules/retry/lib/retry.js"(exports2) {
|
|
17209
17208
|
"use strict";
|
|
17210
17209
|
init_esm_shims();
|
|
17211
17210
|
var RetryOperation = require_retry_operation();
|
|
@@ -17291,12 +17290,12 @@ var require_retry2 = __commonJS({
|
|
|
17291
17290
|
}
|
|
17292
17291
|
});
|
|
17293
17292
|
|
|
17294
|
-
// ../../node_modules/
|
|
17295
|
-
var
|
|
17296
|
-
"../../node_modules/
|
|
17293
|
+
// ../../node_modules/retry/index.js
|
|
17294
|
+
var require_retry2 = __commonJS({
|
|
17295
|
+
"../../node_modules/retry/index.js"(exports2, module2) {
|
|
17297
17296
|
"use strict";
|
|
17298
17297
|
init_esm_shims();
|
|
17299
|
-
module2.exports =
|
|
17298
|
+
module2.exports = require_retry();
|
|
17300
17299
|
}
|
|
17301
17300
|
});
|
|
17302
17301
|
|
|
@@ -17306,7 +17305,7 @@ var require_promise_retry = __commonJS({
|
|
|
17306
17305
|
"use strict";
|
|
17307
17306
|
init_esm_shims();
|
|
17308
17307
|
var errcode = require_err_code();
|
|
17309
|
-
var retry2 =
|
|
17308
|
+
var retry2 = require_retry2();
|
|
17310
17309
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
17311
17310
|
function isRetryError(err) {
|
|
17312
17311
|
return err && err.code === "EPROMISERETRY" && hasOwn.call(err, "retried");
|
|
@@ -49441,6 +49440,240 @@ var require_lib29 = __commonJS({
|
|
|
49441
49440
|
}
|
|
49442
49441
|
});
|
|
49443
49442
|
|
|
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
|
+
|
|
49444
49677
|
// ../../node_modules/@wix/ambassador-velo-ide-v1-path-transform/build/cjs/types.impl.js
|
|
49445
49678
|
var require_types_impl = __commonJS({
|
|
49446
49679
|
"../../node_modules/@wix/ambassador-velo-ide-v1-path-transform/build/cjs/types.impl.js"(exports2) {
|
|
@@ -49574,7 +49807,7 @@ import { dirname, join as join22, relative as relative2 } from "node:path";
|
|
|
49574
49807
|
|
|
49575
49808
|
// ../../node_modules/@wix/velo-site-types-syncer/node_modules/p-retry/index.js
|
|
49576
49809
|
init_esm_shims();
|
|
49577
|
-
var import_retry = __toESM(
|
|
49810
|
+
var import_retry = __toESM(require_retry4(), 1);
|
|
49578
49811
|
var networkErrorMsgs = /* @__PURE__ */ new Set([
|
|
49579
49812
|
"Failed to fetch",
|
|
49580
49813
|
// Chrome
|
|
@@ -51141,4 +51374,4 @@ make-fetch-happen/lib/fetch.js:
|
|
|
51141
51374
|
* governing permissions and limitations under the License.
|
|
51142
51375
|
*)
|
|
51143
51376
|
*/
|
|
51144
|
-
//# sourceMappingURL=chunk-
|
|
51377
|
+
//# sourceMappingURL=chunk-NN465VNN.js.map
|