@wix/cli 1.1.80 → 1.1.82

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.
Files changed (124) hide show
  1. package/build/{DevCommand-UEOSKW44.js → DevCommand-G3CESSCS.js} +12 -12
  2. package/build/{DevCommand-AYUIPPX7.js → DevCommand-SDFXHWAZ.js} +15 -15
  3. package/build/{InstallCommand-DFZNK6OS.js → InstallCommand-45AVI6H7.js} +14 -14
  4. package/build/{LoginCommand-MQGGHH3U.js → LoginCommand-JMCJIN4P.js} +9 -9
  5. package/build/{LogoutCommand-JG3PNW2D.js → LogoutCommand-YERC4TI3.js} +6 -6
  6. package/build/{PreviewCommand-6AOCH4TK.js → PreviewCommand-LLZ7NWAV.js} +16 -16
  7. package/build/{PreviewCommand-NJGS3THT.js → PreviewCommand-VNTDBBKT.js} +16 -16
  8. package/build/{PublishCommand-JUXBYDWL.js → PublishCommand-ZPWZSNY5.js} +16 -16
  9. package/build/{UninstallCommand-RFULS5MT.js → UninstallCommand-CDIBOZUN.js} +14 -14
  10. package/build/{WhoamiCommand-QEGMSHQ2.js → WhoamiCommand-PLS6RUWM.js} +3 -3
  11. package/build/{chunk-2ZY5H6SV.js → chunk-27DLATXZ.js} +4 -4
  12. package/build/{chunk-2ZY5H6SV.js.map → chunk-27DLATXZ.js.map} +1 -1
  13. package/build/{chunk-ZGYILOV2.js → chunk-4EO7ZBWR.js} +2 -2
  14. package/build/{chunk-B5KXKZY5.js → chunk-4QUIYV2D.js} +2 -2
  15. package/build/{chunk-B6OPDJBW.js → chunk-4TDFATZJ.js} +3 -3
  16. package/build/{chunk-FQB5WA6K.js → chunk-5NU7W36B.js} +2 -2
  17. package/build/{chunk-6CQXTPSU.js → chunk-ALLETB4G.js} +3 -3
  18. package/build/{chunk-BYHAPURJ.js → chunk-BDO6CR4V.js} +3 -3
  19. package/build/{chunk-NQ6XAGAF.js → chunk-BVG5SCZS.js} +3 -3
  20. package/build/{chunk-T2TARSVP.js → chunk-FDFLEAUS.js} +3 -3
  21. package/build/{chunk-DIZMLZUO.js → chunk-FQPD6463.js} +2 -2
  22. package/build/{chunk-KI3KRWT4.js → chunk-G6EV7W6O.js} +2 -2
  23. package/build/{chunk-UKU55I7K.js → chunk-GX2P5YHY.js} +8 -7
  24. package/build/{chunk-UKU55I7K.js.map → chunk-GX2P5YHY.js.map} +1 -1
  25. package/build/{chunk-ETVYCV6A.js → chunk-H6JMSRER.js} +38 -33
  26. package/build/chunk-H6JMSRER.js.map +1 -0
  27. package/build/{chunk-F63GAI4F.js → chunk-IFOT72TN.js} +4 -7
  28. package/build/{chunk-F63GAI4F.js.map → chunk-IFOT72TN.js.map} +1 -1
  29. package/build/{chunk-KUPSNZUA.js → chunk-IJUB7F5P.js} +26 -259
  30. package/build/chunk-IJUB7F5P.js.map +1 -0
  31. package/build/{chunk-BOCVEA2O.js → chunk-JFKUMOCQ.js} +2 -2
  32. package/build/{chunk-SCYJ2FB4.js → chunk-JMIOSJ6M.js} +5 -5
  33. package/build/{chunk-ZJT6XFSK.js → chunk-L5767LEQ.js} +24 -32
  34. package/build/{chunk-ZJT6XFSK.js.map → chunk-L5767LEQ.js.map} +1 -1
  35. package/build/{chunk-MHIV5HR5.js → chunk-LOIAECXT.js} +3 -3
  36. package/build/{chunk-BOUJSOSJ.js → chunk-MGQ2ESKW.js} +5 -5
  37. package/build/{chunk-YUGTQQID.js → chunk-OFZYGRHS.js} +3 -3
  38. package/build/{chunk-QC5DR3YM.js → chunk-P35RKHKI.js} +3 -3
  39. package/build/{chunk-2KGNQAN4.js → chunk-PWTKS7IC.js} +2 -2
  40. package/build/{chunk-GNIP53IZ.js → chunk-UAFSX2SL.js} +5 -5
  41. package/build/{chunk-RILMLOX5.js → chunk-UMFWKOWB.js} +3 -3
  42. package/build/{chunk-GZZLN27Q.js → chunk-UPC7ESRG.js} +20 -2
  43. package/build/chunk-UPC7ESRG.js.map +1 -0
  44. package/build/{chunk-6SVVKJLL.js → chunk-V2FLJHZT.js} +2 -2
  45. package/build/{chunk-WLDFZL6S.js → chunk-V5ZP5VFT.js} +7 -7
  46. package/build/{chunk-HBS6L2KS.js → chunk-VQPUE22G.js} +7 -7
  47. package/build/{chunk-HBS6L2KS.js.map → chunk-VQPUE22G.js.map} +1 -1
  48. package/build/{chunk-UK7L4DSN.js → chunk-Y2YOKPFS.js} +2 -2
  49. package/build/{chunk-YQHKS7GJ.js → chunk-YCFZ247L.js} +3 -3
  50. package/build/{chunk-5ZI6FLSD.js → chunk-YDXZTDCP.js} +12 -11
  51. package/build/chunk-YDXZTDCP.js.map +1 -0
  52. package/build/{chunk-4UGR26HY.js → chunk-ZOXP3NVG.js} +8 -8
  53. package/build/{dev-GUZ6W2M2.js → dev-7W2DPJU7.js} +19 -19
  54. package/build/index.js +22 -22
  55. package/build/{install-F3JDQ5TX.js → install-65IG2O5T.js} +15 -15
  56. package/build/{publish-W2KE5HGG.js → publish-YGH7XDLS.js} +16 -16
  57. package/build/{render-command-UO5BC6XQ.js → render-command-2MR5YBEV.js} +9 -9
  58. package/build/{render-command-IUMQKJLS.js → render-command-2WLWMKTZ.js} +10 -10
  59. package/build/{render-command-CENMLMSX.js → render-command-NECYRVEQ.js} +9 -9
  60. package/build/{render-command-I3VDBIFT.js → render-command-SWR5N5GP.js} +8 -8
  61. package/build/{run-command-M4SJR3M3.js → run-command-ZIBXWV63.js} +7 -7
  62. package/build/{src-FUP5ZJ7V.js → src-26FPXGXH.js} +2 -2
  63. package/build/{src-MKGS2WD2.js → src-55UVIEKB.js} +16 -16
  64. package/build/{src-ZM3BI4BX.js → src-PSCSVTUC.js} +5 -5
  65. package/build/{src-CQCCIQ37.js → src-QCJABFJO.js} +4 -4
  66. package/build/{src-TS32DJNB.js → src-SDOROU7S.js} +6 -6
  67. package/build/{src-LBPQGNDN.js → src-TUUZ6KXC.js} +13 -13
  68. package/build/{sync-types-G2XYHYSL.js → sync-types-7CGIZBAV.js} +11 -11
  69. package/build/{uninstall-6PBRHVCM.js → uninstall-2RSTFKCM.js} +15 -15
  70. package/package.json +2 -2
  71. package/build/chunk-5ZI6FLSD.js.map +0 -1
  72. package/build/chunk-ETVYCV6A.js.map +0 -1
  73. package/build/chunk-GZZLN27Q.js.map +0 -1
  74. package/build/chunk-KUPSNZUA.js.map +0 -1
  75. /package/build/{DevCommand-UEOSKW44.js.map → DevCommand-G3CESSCS.js.map} +0 -0
  76. /package/build/{DevCommand-AYUIPPX7.js.map → DevCommand-SDFXHWAZ.js.map} +0 -0
  77. /package/build/{InstallCommand-DFZNK6OS.js.map → InstallCommand-45AVI6H7.js.map} +0 -0
  78. /package/build/{LoginCommand-MQGGHH3U.js.map → LoginCommand-JMCJIN4P.js.map} +0 -0
  79. /package/build/{LogoutCommand-JG3PNW2D.js.map → LogoutCommand-YERC4TI3.js.map} +0 -0
  80. /package/build/{PreviewCommand-6AOCH4TK.js.map → PreviewCommand-LLZ7NWAV.js.map} +0 -0
  81. /package/build/{PreviewCommand-NJGS3THT.js.map → PreviewCommand-VNTDBBKT.js.map} +0 -0
  82. /package/build/{PublishCommand-JUXBYDWL.js.map → PublishCommand-ZPWZSNY5.js.map} +0 -0
  83. /package/build/{UninstallCommand-RFULS5MT.js.map → UninstallCommand-CDIBOZUN.js.map} +0 -0
  84. /package/build/{WhoamiCommand-QEGMSHQ2.js.map → WhoamiCommand-PLS6RUWM.js.map} +0 -0
  85. /package/build/{chunk-ZGYILOV2.js.map → chunk-4EO7ZBWR.js.map} +0 -0
  86. /package/build/{chunk-B5KXKZY5.js.map → chunk-4QUIYV2D.js.map} +0 -0
  87. /package/build/{chunk-B6OPDJBW.js.map → chunk-4TDFATZJ.js.map} +0 -0
  88. /package/build/{chunk-FQB5WA6K.js.map → chunk-5NU7W36B.js.map} +0 -0
  89. /package/build/{chunk-6CQXTPSU.js.map → chunk-ALLETB4G.js.map} +0 -0
  90. /package/build/{chunk-BYHAPURJ.js.map → chunk-BDO6CR4V.js.map} +0 -0
  91. /package/build/{chunk-NQ6XAGAF.js.map → chunk-BVG5SCZS.js.map} +0 -0
  92. /package/build/{chunk-T2TARSVP.js.map → chunk-FDFLEAUS.js.map} +0 -0
  93. /package/build/{chunk-DIZMLZUO.js.map → chunk-FQPD6463.js.map} +0 -0
  94. /package/build/{chunk-KI3KRWT4.js.map → chunk-G6EV7W6O.js.map} +0 -0
  95. /package/build/{chunk-BOCVEA2O.js.map → chunk-JFKUMOCQ.js.map} +0 -0
  96. /package/build/{chunk-SCYJ2FB4.js.map → chunk-JMIOSJ6M.js.map} +0 -0
  97. /package/build/{chunk-MHIV5HR5.js.map → chunk-LOIAECXT.js.map} +0 -0
  98. /package/build/{chunk-BOUJSOSJ.js.map → chunk-MGQ2ESKW.js.map} +0 -0
  99. /package/build/{chunk-YUGTQQID.js.map → chunk-OFZYGRHS.js.map} +0 -0
  100. /package/build/{chunk-QC5DR3YM.js.map → chunk-P35RKHKI.js.map} +0 -0
  101. /package/build/{chunk-2KGNQAN4.js.map → chunk-PWTKS7IC.js.map} +0 -0
  102. /package/build/{chunk-GNIP53IZ.js.map → chunk-UAFSX2SL.js.map} +0 -0
  103. /package/build/{chunk-RILMLOX5.js.map → chunk-UMFWKOWB.js.map} +0 -0
  104. /package/build/{chunk-6SVVKJLL.js.map → chunk-V2FLJHZT.js.map} +0 -0
  105. /package/build/{chunk-WLDFZL6S.js.map → chunk-V5ZP5VFT.js.map} +0 -0
  106. /package/build/{chunk-UK7L4DSN.js.map → chunk-Y2YOKPFS.js.map} +0 -0
  107. /package/build/{chunk-YQHKS7GJ.js.map → chunk-YCFZ247L.js.map} +0 -0
  108. /package/build/{chunk-4UGR26HY.js.map → chunk-ZOXP3NVG.js.map} +0 -0
  109. /package/build/{dev-GUZ6W2M2.js.map → dev-7W2DPJU7.js.map} +0 -0
  110. /package/build/{install-F3JDQ5TX.js.map → install-65IG2O5T.js.map} +0 -0
  111. /package/build/{publish-W2KE5HGG.js.map → publish-YGH7XDLS.js.map} +0 -0
  112. /package/build/{render-command-UO5BC6XQ.js.map → render-command-2MR5YBEV.js.map} +0 -0
  113. /package/build/{render-command-IUMQKJLS.js.map → render-command-2WLWMKTZ.js.map} +0 -0
  114. /package/build/{render-command-CENMLMSX.js.map → render-command-NECYRVEQ.js.map} +0 -0
  115. /package/build/{render-command-I3VDBIFT.js.map → render-command-SWR5N5GP.js.map} +0 -0
  116. /package/build/{run-command-M4SJR3M3.js.map → run-command-ZIBXWV63.js.map} +0 -0
  117. /package/build/{src-CQCCIQ37.js.map → src-26FPXGXH.js.map} +0 -0
  118. /package/build/{src-MKGS2WD2.js.map → src-55UVIEKB.js.map} +0 -0
  119. /package/build/{src-ZM3BI4BX.js.map → src-PSCSVTUC.js.map} +0 -0
  120. /package/build/{src-FUP5ZJ7V.js.map → src-QCJABFJO.js.map} +0 -0
  121. /package/build/{src-TS32DJNB.js.map → src-SDOROU7S.js.map} +0 -0
  122. /package/build/{src-LBPQGNDN.js.map → src-TUUZ6KXC.js.map} +0 -0
  123. /package/build/{sync-types-G2XYHYSL.js.map → sync-types-7CGIZBAV.js.map} +0 -0
  124. /package/build/{uninstall-6PBRHVCM.js.map → uninstall-2RSTFKCM.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-5ZI6FLSD.js";
14
+ } from "./chunk-YDXZTDCP.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-ZJT6XFSK.js";
20
+ } from "./chunk-L5767LEQ.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-F63GAI4F.js";
31
+ } from "./chunk-IFOT72TN.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 require_retry = __commonJS({
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 require_retry2 = __commonJS({
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 = require_retry();
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 = require_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(require_retry4(), 1);
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-KUPSNZUA.js.map
51144
+ //# sourceMappingURL=chunk-IJUB7F5P.js.map