@wix/cli 1.1.81 → 1.1.83
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-ROAFAABI.js → DevCommand-2FHETZHJ.js} +15 -15
- package/build/{DevCommand-AQVBUCQ5.js → DevCommand-7FLY53JW.js} +12 -12
- package/build/{InstallCommand-5APYHO2Z.js → InstallCommand-GZWOTJY7.js} +14 -14
- package/build/{LoginCommand-LJNMGW55.js → LoginCommand-BIY66PO3.js} +9 -9
- package/build/{LogoutCommand-N7M5R6DQ.js → LogoutCommand-BJOUD3CZ.js} +6 -6
- package/build/{PreviewCommand-KYYCE4Q4.js → PreviewCommand-QHBLPP4K.js} +16 -16
- package/build/{PreviewCommand-WWGPGR4W.js → PreviewCommand-V5JDRAJF.js} +16 -16
- package/build/{PublishCommand-FX2PBBRP.js → PublishCommand-7CV2LZVF.js} +16 -16
- package/build/{UninstallCommand-LSNEIZAG.js → UninstallCommand-N5SUVTWL.js} +14 -14
- package/build/{WhoamiCommand-7LFKOA7P.js → WhoamiCommand-PYCHPQVR.js} +3 -3
- package/build/{chunk-L2OFDD7L.js → chunk-2EEEXTSP.js} +282 -252
- package/build/chunk-2EEEXTSP.js.map +1 -0
- package/build/{chunk-RVTEZC6O.js → chunk-3VLZ5TXO.js} +2 -2
- package/build/{chunk-CZRP75CM.js → chunk-4KXA7OTA.js} +3 -3
- package/build/{chunk-XZRGU2BN.js → chunk-62KLBABG.js} +4 -4
- package/build/{chunk-XZRGU2BN.js.map → chunk-62KLBABG.js.map} +1 -1
- package/build/{chunk-AHCB4FZQ.js → chunk-7KWVPMV3.js} +2 -2
- package/build/{chunk-WVRFNQAR.js → chunk-BZ75Q6V4.js} +3 -3
- package/build/{chunk-DPMKYLSD.js → chunk-C2NCY3HU.js} +7 -7
- package/build/{chunk-EM2L6Z2P.js → chunk-CDBWCK43.js} +3 -3
- package/build/{chunk-XAJN6WMG.js → chunk-DIDBVGEX.js} +2 -2
- package/build/chunk-DIDBVGEX.js.map +1 -0
- package/build/{chunk-2QOJBDBC.js → chunk-DNVSDRXL.js} +5 -2
- package/build/{chunk-2QOJBDBC.js.map → chunk-DNVSDRXL.js.map} +1 -1
- package/build/{chunk-HU6LUVVH.js → chunk-F4JHSZOO.js} +11 -12
- package/build/chunk-F4JHSZOO.js.map +1 -0
- package/build/{chunk-QGXDBWK4.js → chunk-GHO6HXNF.js} +7 -7
- package/build/{chunk-34RNWGDX.js → chunk-GRFQKMCG.js} +2 -2
- package/build/{chunk-GIUMBYDX.js → chunk-HWTUUKLN.js} +2 -2
- package/build/{chunk-RXP6EXIE.js → chunk-IVYJEEA5.js} +3 -3
- package/build/{chunk-PVBFIQE6.js → chunk-J6UVVUXM.js} +5 -5
- package/build/{chunk-3IPI42RG.js → chunk-KGEQDCPT.js} +2 -2
- package/build/{chunk-MPK46DP7.js → chunk-KVDTRWO2.js} +3 -3
- package/build/{chunk-6X7QKHUR.js → chunk-L2RBKBWS.js} +6 -6
- package/build/{chunk-YUK6JSZI.js → chunk-LZRBPNG4.js} +8 -8
- package/build/{chunk-Y7ZOU5RY.js → chunk-NCLCL3AK.js} +2 -2
- package/build/{chunk-QE2EBWWG.js → chunk-NELBXTIQ.js} +5 -5
- package/build/{chunk-EC54EUIB.js → chunk-NZWSDGPM.js} +3 -3
- package/build/{chunk-RIERIQTQ.js → chunk-PDWZ4AAP.js} +3 -3
- package/build/{chunk-K43K5PQH.js → chunk-RBRIWPTR.js} +7 -7
- package/build/{chunk-K43K5PQH.js.map → chunk-RBRIWPTR.js.map} +1 -1
- package/build/{chunk-TKJ7JISC.js → chunk-RC6HVX6P.js} +3 -3
- package/build/{chunk-EN35BUXA.js → chunk-SEPRQ4J3.js} +3 -3
- package/build/{chunk-Z4TFXDON.js → chunk-SUANNPLO.js} +3 -3
- package/build/{chunk-UMKARVY3.js → chunk-UOMENRZB.js} +249 -16
- package/build/chunk-UOMENRZB.js.map +1 -0
- package/build/{chunk-3JI3OJDH.js → chunk-VJY6GXAR.js} +2 -2
- package/build/{chunk-N4HLEIXT.js → chunk-X6TPXQTH.js} +5 -5
- package/build/{chunk-PI6PXWES.js → chunk-XMHOJZJH.js} +2 -2
- package/build/{chunk-2MXH7XW4.js → chunk-XOREL5B4.js} +2 -2
- package/build/{dev-DQWO3OGW.js → dev-DV2ZHDOT.js} +19 -19
- package/build/index.js +22 -22
- package/build/{install-MLIWPYHO.js → install-NP4TACMK.js} +15 -15
- package/build/{publish-6F4KDNZO.js → publish-WMHAWUDA.js} +16 -16
- package/build/{render-command-IKW64PCT.js → render-command-C2LXOOMW.js} +9 -9
- package/build/{render-command-UBAZMB26.js → render-command-IN6IFCJF.js} +8 -8
- package/build/{render-command-WKAERDSP.js → render-command-KLFKD53G.js} +10 -10
- package/build/{render-command-Q7VFABDV.js → render-command-QKCR7GV6.js} +9 -9
- package/build/{run-command-2TNRAZUW.js → run-command-LZEFBFQC.js} +7 -7
- package/build/{src-MQQ3G6VW.js → src-5ZOCO3CL.js} +4 -4
- package/build/{src-ZHJGZHLR.js → src-7HULO2TB.js} +2 -2
- package/build/{src-YJSDV4K3.js → src-D6ROI2SU.js} +16 -16
- package/build/{src-VZCIJGVQ.js → src-RRXZCDII.js} +6 -6
- package/build/{src-VLY4PHRH.js → src-XGF6JXL2.js} +5 -5
- package/build/{src-OH4OD574.js → src-XJHEPDBZ.js} +13 -13
- package/build/{sync-types-GIJTUM52.js → sync-types-32XACOJM.js} +11 -11
- package/build/{uninstall-HVEIYOYY.js → uninstall-5BZYCWZU.js} +15 -15
- package/package.json +2 -2
- package/build/chunk-HU6LUVVH.js.map +0 -1
- package/build/chunk-L2OFDD7L.js.map +0 -1
- package/build/chunk-UMKARVY3.js.map +0 -1
- package/build/chunk-XAJN6WMG.js.map +0 -1
- /package/build/{DevCommand-ROAFAABI.js.map → DevCommand-2FHETZHJ.js.map} +0 -0
- /package/build/{DevCommand-AQVBUCQ5.js.map → DevCommand-7FLY53JW.js.map} +0 -0
- /package/build/{InstallCommand-5APYHO2Z.js.map → InstallCommand-GZWOTJY7.js.map} +0 -0
- /package/build/{LoginCommand-LJNMGW55.js.map → LoginCommand-BIY66PO3.js.map} +0 -0
- /package/build/{LogoutCommand-N7M5R6DQ.js.map → LogoutCommand-BJOUD3CZ.js.map} +0 -0
- /package/build/{PreviewCommand-KYYCE4Q4.js.map → PreviewCommand-QHBLPP4K.js.map} +0 -0
- /package/build/{PreviewCommand-WWGPGR4W.js.map → PreviewCommand-V5JDRAJF.js.map} +0 -0
- /package/build/{PublishCommand-FX2PBBRP.js.map → PublishCommand-7CV2LZVF.js.map} +0 -0
- /package/build/{UninstallCommand-LSNEIZAG.js.map → UninstallCommand-N5SUVTWL.js.map} +0 -0
- /package/build/{WhoamiCommand-7LFKOA7P.js.map → WhoamiCommand-PYCHPQVR.js.map} +0 -0
- /package/build/{chunk-RVTEZC6O.js.map → chunk-3VLZ5TXO.js.map} +0 -0
- /package/build/{chunk-CZRP75CM.js.map → chunk-4KXA7OTA.js.map} +0 -0
- /package/build/{chunk-AHCB4FZQ.js.map → chunk-7KWVPMV3.js.map} +0 -0
- /package/build/{chunk-WVRFNQAR.js.map → chunk-BZ75Q6V4.js.map} +0 -0
- /package/build/{chunk-DPMKYLSD.js.map → chunk-C2NCY3HU.js.map} +0 -0
- /package/build/{chunk-EM2L6Z2P.js.map → chunk-CDBWCK43.js.map} +0 -0
- /package/build/{chunk-QGXDBWK4.js.map → chunk-GHO6HXNF.js.map} +0 -0
- /package/build/{chunk-34RNWGDX.js.map → chunk-GRFQKMCG.js.map} +0 -0
- /package/build/{chunk-GIUMBYDX.js.map → chunk-HWTUUKLN.js.map} +0 -0
- /package/build/{chunk-RXP6EXIE.js.map → chunk-IVYJEEA5.js.map} +0 -0
- /package/build/{chunk-PVBFIQE6.js.map → chunk-J6UVVUXM.js.map} +0 -0
- /package/build/{chunk-3IPI42RG.js.map → chunk-KGEQDCPT.js.map} +0 -0
- /package/build/{chunk-MPK46DP7.js.map → chunk-KVDTRWO2.js.map} +0 -0
- /package/build/{chunk-6X7QKHUR.js.map → chunk-L2RBKBWS.js.map} +0 -0
- /package/build/{chunk-YUK6JSZI.js.map → chunk-LZRBPNG4.js.map} +0 -0
- /package/build/{chunk-Y7ZOU5RY.js.map → chunk-NCLCL3AK.js.map} +0 -0
- /package/build/{chunk-QE2EBWWG.js.map → chunk-NELBXTIQ.js.map} +0 -0
- /package/build/{chunk-EC54EUIB.js.map → chunk-NZWSDGPM.js.map} +0 -0
- /package/build/{chunk-RIERIQTQ.js.map → chunk-PDWZ4AAP.js.map} +0 -0
- /package/build/{chunk-TKJ7JISC.js.map → chunk-RC6HVX6P.js.map} +0 -0
- /package/build/{chunk-EN35BUXA.js.map → chunk-SEPRQ4J3.js.map} +0 -0
- /package/build/{chunk-Z4TFXDON.js.map → chunk-SUANNPLO.js.map} +0 -0
- /package/build/{chunk-3JI3OJDH.js.map → chunk-VJY6GXAR.js.map} +0 -0
- /package/build/{chunk-N4HLEIXT.js.map → chunk-X6TPXQTH.js.map} +0 -0
- /package/build/{chunk-PI6PXWES.js.map → chunk-XMHOJZJH.js.map} +0 -0
- /package/build/{chunk-2MXH7XW4.js.map → chunk-XOREL5B4.js.map} +0 -0
- /package/build/{dev-DQWO3OGW.js.map → dev-DV2ZHDOT.js.map} +0 -0
- /package/build/{install-MLIWPYHO.js.map → install-NP4TACMK.js.map} +0 -0
- /package/build/{publish-6F4KDNZO.js.map → publish-WMHAWUDA.js.map} +0 -0
- /package/build/{render-command-IKW64PCT.js.map → render-command-C2LXOOMW.js.map} +0 -0
- /package/build/{render-command-UBAZMB26.js.map → render-command-IN6IFCJF.js.map} +0 -0
- /package/build/{render-command-WKAERDSP.js.map → render-command-KLFKD53G.js.map} +0 -0
- /package/build/{render-command-Q7VFABDV.js.map → render-command-QKCR7GV6.js.map} +0 -0
- /package/build/{run-command-2TNRAZUW.js.map → run-command-LZEFBFQC.js.map} +0 -0
- /package/build/{src-MQQ3G6VW.js.map → src-5ZOCO3CL.js.map} +0 -0
- /package/build/{src-VZCIJGVQ.js.map → src-7HULO2TB.js.map} +0 -0
- /package/build/{src-YJSDV4K3.js.map → src-D6ROI2SU.js.map} +0 -0
- /package/build/{src-ZHJGZHLR.js.map → src-RRXZCDII.js.map} +0 -0
- /package/build/{src-VLY4PHRH.js.map → src-XGF6JXL2.js.map} +0 -0
- /package/build/{src-OH4OD574.js.map → src-XJHEPDBZ.js.map} +0 -0
- /package/build/{sync-types-GIJTUM52.js.map → sync-types-32XACOJM.js.map} +0 -0
- /package/build/{uninstall-HVEIYOYY.js.map → uninstall-5BZYCWZU.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
pathExists,
|
|
8
8
|
readJson,
|
|
9
9
|
writeJson
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HWTUUKLN.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-DNVSDRXL.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-RC6HVX6P.js.map
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
} from "./chunk-LXW2RB2I.js";
|
|
15
15
|
import {
|
|
16
16
|
readUserConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KGEQDCPT.js";
|
|
18
18
|
import {
|
|
19
19
|
getTestOverrides
|
|
20
20
|
} from "./chunk-GO2GZJCK.js";
|
|
21
21
|
import {
|
|
22
22
|
isCliError,
|
|
23
23
|
isCliSystemError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DNVSDRXL.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__toESM,
|
|
@@ -1281,4 +1281,4 @@ export {
|
|
|
1281
1281
|
createBiLogger,
|
|
1282
1282
|
reportCommandStartEvent
|
|
1283
1283
|
};
|
|
1284
|
-
//# sourceMappingURL=chunk-
|
|
1284
|
+
//# sourceMappingURL=chunk-SEPRQ4J3.js.map
|
|
@@ -2,10 +2,10 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
addUserFields
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SEPRQ4J3.js";
|
|
6
6
|
import {
|
|
7
7
|
authenticateWithSiteId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-F4JHSZOO.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esm_shims
|
|
11
11
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -30,4 +30,4 @@ async function authenticate({
|
|
|
30
30
|
export {
|
|
31
31
|
authenticate
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
33
|
+
//# sourceMappingURL=chunk-SUANNPLO.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-F4JHSZOO.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-2EEEXTSP.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-DNVSDRXL.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-UOMENRZB.js.map
|