@workflow/web 5.1.0 → 5.2.0

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 (29) hide show
  1. package/build/client/assets/app-DSMA-d-h.css +1 -0
  2. package/build/client/assets/{arrow-up-right-KWrqnTig.js → arrow-up-right-Cpa3Pdwo.js} +1 -1
  3. package/build/client/assets/{highlighted-body-JLMTFACH-DcETTNIg.js → highlighted-body-JLMTFACH-B3GqULNn.js} +1 -1
  4. package/build/client/assets/{home-DXDIbwXs.js → home-D79hgIWW.js} +18 -1412
  5. package/build/client/assets/{loader-circle-CTGjdS9p.js → loader-circle-JR85kUd5.js} +1 -1
  6. package/build/client/assets/manifest-59ebdf79.js +1 -0
  7. package/build/client/assets/{mermaid-WFAXDIZX-C05IxJpM.js → mermaid-WFAXDIZX-CWiYj6ob.js} +21920 -21866
  8. package/build/client/assets/root-Cv68eh5c.css +1 -0
  9. package/build/client/assets/{root-BxCk7uqa.js → root-DgYJfBXO.js} +24 -9
  10. package/build/client/assets/{run-detail-CZBOEgvx.js → run-detail-Befe_Bls.js} +1868 -1952
  11. package/build/client/assets/{index-DsOfMZH2.js → url-state-DtiYSmtM.js} +1520 -95
  12. package/build/client/assets/{zstd-browser-decoder-DADxxRqK.js → zstd-browser-decoder-feFoAFP-.js} +1 -1
  13. package/build/server/assets/{app-DT6Gt-BX.js → app-BXJVj0oU.js} +22544 -25746
  14. package/build/server/assets/{highlighted-body-JLMTFACH-CHR6of_B.js → highlighted-body-JLMTFACH-DBscEG8Y.js} +2 -4
  15. package/build/server/assets/{index-puMiLsWF.js → index-DFAOTIzy.js} +276 -87
  16. package/build/server/assets/{mermaid-WFAXDIZX-D-xr2vKt.js → mermaid-WFAXDIZX-hv3921YS.js} +2 -4
  17. package/build/server/assets/{token-D41jJA1K.js → token-BPk8AzMN.js} +2 -2
  18. package/build/server/assets/{token-CwT5ChW-.js → token-CXneDSmI.js} +1 -1
  19. package/build/server/assets/{token-util-DqfRGa3d.js → token-util-C_CN233b.js} +1 -1
  20. package/build/server/assets/{token-util-BJpBdFnQ.js → token-util-lTSClVuJ.js} +2 -2
  21. package/build/server/assets/{wrapper-Cr0R902L.js → wrapper-CaZIHABu.js} +10 -12
  22. package/build/server/assets/{zstd-browser-decoder-B48pzCro.js → zstd-browser-decoder-XCzFkM-Z.js} +2 -4
  23. package/build/server/index.js +3 -5
  24. package/package.json +10 -10
  25. package/build/client/assets/app-C_84j2Id.css +0 -1
  26. package/build/client/assets/manifest-d238ca03.js +0 -1
  27. package/build/client/assets/root-DUrWgRk7.css +0 -1
  28. package/build/server/assets/dist-BQmT5wQz.js +0 -210
  29. /package/build/client/assets/{index-C9ccOmbh.css → url-state-C9ccOmbh.css} +0 -0
@@ -5,22 +5,24 @@ import { createRequire as __wkfCreateRequire } from "node:module";
5
5
  if (typeof require === "undefined") {
6
6
  globalThis.require = __wkfCreateRequire(import.meta.url);
7
7
  }
8
- import fs from "node:fs/promises";
9
- import require$$0$1 from "node:buffer";
10
- import require$$0 from "node:crypto";
8
+ import require$$0 from "node:fs/promises";
9
+ import require$$0$2 from "node:buffer";
10
+ import require$$0$1 from "node:crypto";
11
11
  import require$$1 from "node:util";
12
12
  import http from "node:http";
13
13
  import https from "node:https";
14
- import require$$0$2 from "node:events";
14
+ import require$$0$3 from "node:events";
15
15
  import path__default from "path";
16
16
  import require$$0__default from "fs";
17
17
  import path from "node:path";
18
- import require$$0$3 from "child_process";
19
- import { bQ as commonjsGlobal, bR as requireSignalExit } from "./app-DT6Gt-BX.js";
20
- import require$$0$4 from "os";
21
- import require$$0$6 from "buffer";
22
- import require$$0$5 from "stream";
23
- import require$$0$7 from "util";
18
+ import require$$0$4 from "child_process";
19
+ import { l as commonjsGlobal } from "./app-BXJVj0oU.js";
20
+ import require$$0$5 from "os";
21
+ import require$$0$7 from "assert";
22
+ import require$$0$6 from "events";
23
+ import require$$0$9 from "buffer";
24
+ import require$$0$8 from "stream";
25
+ import require$$0$a from "util";
24
26
  function _mergeNamespaces(n, m) {
25
27
  for (var i = 0; i < m.length; i++) {
26
28
  const e = m[i];
@@ -1198,7 +1200,7 @@ function requireWebsocket() {
1198
1200
  const DEFAULT_MAX_PAYLOAD = 256 * 1024;
1199
1201
  async function loadWebSocketServer() {
1200
1202
  try {
1201
- const ws = await import("./wrapper-Cr0R902L.js");
1203
+ const ws = await import("./wrapper-CaZIHABu.js");
1202
1204
  return ws.WebSocketServer;
1203
1205
  } catch {
1204
1206
  throw new Error(
@@ -1575,7 +1577,7 @@ function requireGetVercelOidcTokenWithRefresh() {
1575
1577
  getVercelOidcToken: () => getVercelOidcToken
1576
1578
  });
1577
1579
  getVercelOidcTokenWithRefresh = __toCommonJS(get_vercel_oidc_token_with_refresh_exports);
1578
- var import_promises2 = fs;
1580
+ var import_promises2 = require$$0;
1579
1581
  var import_exchange_vercel_oidc_token = requireExchangeVercelOidcToken();
1580
1582
  var import_get_context = requireGetContext();
1581
1583
  var import_get_vercel_oidc_token_sync = requireGetVercelOidcTokenSync();
@@ -1592,8 +1594,8 @@ function requireGetVercelOidcTokenWithRefresh() {
1592
1594
  }
1593
1595
  try {
1594
1596
  const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
1595
- await import("./token-util-BJpBdFnQ.js").then((n) => n.t),
1596
- await import("./token-D41jJA1K.js").then((n) => n.t)
1597
+ await import("./token-util-lTSClVuJ.js").then((n) => n.t),
1598
+ await import("./token-BPk8AzMN.js").then((n) => n.t)
1597
1599
  ]);
1598
1600
  if (!token || isExpired(getTokenPayload(token), options == null ? void 0 : options.expirationBufferMs)) {
1599
1601
  await refreshToken(options);
@@ -1646,7 +1648,7 @@ function requireDigest() {
1646
1648
  if (hasRequiredDigest) return digest;
1647
1649
  hasRequiredDigest = 1;
1648
1650
  Object.defineProperty(digest, "__esModule", { value: true });
1649
- const node_crypto_1 = require$$0;
1651
+ const node_crypto_1 = require$$0$1;
1650
1652
  const digest$1 = (algorithm, data) => (0, node_crypto_1.createHash)(algorithm).update(data).digest();
1651
1653
  digest.default = digest$1;
1652
1654
  return digest;
@@ -1724,7 +1726,7 @@ function requireBase64url$1() {
1724
1726
  hasRequiredBase64url$1 = 1;
1725
1727
  Object.defineProperty(base64url$1, "__esModule", { value: true });
1726
1728
  base64url$1.decode = base64url$1.encode = base64url$1.encodeBase64 = base64url$1.decodeBase64 = void 0;
1727
- const node_buffer_1 = require$$0$1;
1729
+ const node_buffer_1 = require$$0$2;
1728
1730
  const buffer_utils_js_1 = /* @__PURE__ */ requireBuffer_utils();
1729
1731
  function normalize(input) {
1730
1732
  let encoded = input;
@@ -1900,7 +1902,7 @@ function requireRandom() {
1900
1902
  (function(exports) {
1901
1903
  Object.defineProperty(exports, "__esModule", { value: true });
1902
1904
  exports.default = void 0;
1903
- var node_crypto_1 = require$$0;
1905
+ var node_crypto_1 = require$$0$1;
1904
1906
  Object.defineProperty(exports, "default", { enumerable: true, get: function() {
1905
1907
  return node_crypto_1.randomFillSync;
1906
1908
  } });
@@ -2009,7 +2011,7 @@ function requireTiming_safe_equal() {
2009
2011
  if (hasRequiredTiming_safe_equal) return timing_safe_equal;
2010
2012
  hasRequiredTiming_safe_equal = 1;
2011
2013
  Object.defineProperty(timing_safe_equal, "__esModule", { value: true });
2012
- const node_crypto_1 = require$$0;
2014
+ const node_crypto_1 = require$$0$1;
2013
2015
  const timingSafeEqual = node_crypto_1.timingSafeEqual;
2014
2016
  timing_safe_equal.default = timingSafeEqual;
2015
2017
  return timing_safe_equal;
@@ -2021,7 +2023,7 @@ function requireCbc_tag() {
2021
2023
  hasRequiredCbc_tag = 1;
2022
2024
  Object.defineProperty(cbc_tag, "__esModule", { value: true });
2023
2025
  cbc_tag.default = cbcTag;
2024
- const node_crypto_1 = require$$0;
2026
+ const node_crypto_1 = require$$0$1;
2025
2027
  const buffer_utils_js_1 = /* @__PURE__ */ requireBuffer_utils();
2026
2028
  function cbcTag(aad, iv2, ciphertext, macSize, macKey, keySize) {
2027
2029
  const macData = (0, buffer_utils_js_1.concat)(aad, iv2, ciphertext, (0, buffer_utils_js_1.uint64be)(aad.length << 3));
@@ -2038,7 +2040,7 @@ function requireWebcrypto() {
2038
2040
  hasRequiredWebcrypto = 1;
2039
2041
  Object.defineProperty(webcrypto, "__esModule", { value: true });
2040
2042
  webcrypto.isCryptoKey = void 0;
2041
- const crypto2 = require$$0;
2043
+ const crypto2 = require$$0$1;
2042
2044
  const util = require$$1;
2043
2045
  const webcrypto$1 = crypto2.webcrypto;
2044
2046
  webcrypto.default = webcrypto$1;
@@ -2254,7 +2256,7 @@ function requireCiphers() {
2254
2256
  if (hasRequiredCiphers) return ciphers;
2255
2257
  hasRequiredCiphers = 1;
2256
2258
  Object.defineProperty(ciphers, "__esModule", { value: true });
2257
- const node_crypto_1 = require$$0;
2259
+ const node_crypto_1 = require$$0$1;
2258
2260
  let ciphers$1;
2259
2261
  ciphers.default = (algorithm) => {
2260
2262
  ciphers$1 || (ciphers$1 = new Set((0, node_crypto_1.getCiphers)()));
@@ -2285,7 +2287,7 @@ function requireDecrypt$4() {
2285
2287
  if (hasRequiredDecrypt$4) return decrypt$2;
2286
2288
  hasRequiredDecrypt$4 = 1;
2287
2289
  Object.defineProperty(decrypt$2, "__esModule", { value: true });
2288
- const node_crypto_1 = require$$0;
2290
+ const node_crypto_1 = require$$0$1;
2289
2291
  const check_iv_length_js_1 = /* @__PURE__ */ requireCheck_iv_length();
2290
2292
  const check_cek_length_js_1 = /* @__PURE__ */ requireCheck_cek_length();
2291
2293
  const buffer_utils_js_1 = /* @__PURE__ */ requireBuffer_utils();
@@ -2446,8 +2448,8 @@ function requireAeskw() {
2446
2448
  hasRequiredAeskw = 1;
2447
2449
  Object.defineProperty(aeskw, "__esModule", { value: true });
2448
2450
  aeskw.unwrap = aeskw.wrap = void 0;
2449
- const node_buffer_1 = require$$0$1;
2450
- const node_crypto_1 = require$$0;
2451
+ const node_buffer_1 = require$$0$2;
2452
+ const node_crypto_1 = require$$0$1;
2451
2453
  const errors_js_1 = /* @__PURE__ */ requireErrors$1();
2452
2454
  const buffer_utils_js_1 = /* @__PURE__ */ requireBuffer_utils();
2453
2455
  const webcrypto_js_1 = /* @__PURE__ */ requireWebcrypto();
@@ -2533,7 +2535,7 @@ function requireGet_named_curve() {
2533
2535
  hasRequiredGet_named_curve = 1;
2534
2536
  Object.defineProperty(get_named_curve, "__esModule", { value: true });
2535
2537
  get_named_curve.weakMap = void 0;
2536
- const node_crypto_1 = require$$0;
2538
+ const node_crypto_1 = require$$0$1;
2537
2539
  const errors_js_1 = /* @__PURE__ */ requireErrors$1();
2538
2540
  const webcrypto_js_1 = /* @__PURE__ */ requireWebcrypto();
2539
2541
  const is_key_object_js_1 = /* @__PURE__ */ requireIs_key_object();
@@ -2598,7 +2600,7 @@ function requireEcdhes() {
2598
2600
  ecdhes.ecdhAllowed = void 0;
2599
2601
  ecdhes.deriveKey = deriveKey;
2600
2602
  ecdhes.generateEpk = generateEpk;
2601
- const node_crypto_1 = require$$0;
2603
+ const node_crypto_1 = require$$0$1;
2602
2604
  const node_util_1 = require$$1;
2603
2605
  const get_named_curve_js_1 = /* @__PURE__ */ requireGet_named_curve();
2604
2606
  const buffer_utils_js_1 = /* @__PURE__ */ requireBuffer_utils();
@@ -2682,7 +2684,7 @@ function requirePbes2kw() {
2682
2684
  Object.defineProperty(pbes2kw, "__esModule", { value: true });
2683
2685
  pbes2kw.decrypt = pbes2kw.encrypt = void 0;
2684
2686
  const node_util_1 = require$$1;
2685
- const node_crypto_1 = require$$0;
2687
+ const node_crypto_1 = require$$0$1;
2686
2688
  const random_js_1 = /* @__PURE__ */ requireRandom();
2687
2689
  const buffer_utils_js_1 = /* @__PURE__ */ requireBuffer_utils();
2688
2690
  const base64url_js_1 = /* @__PURE__ */ requireBase64url$1();
@@ -2735,7 +2737,7 @@ function requireCheck_key_length() {
2735
2737
  if (hasRequiredCheck_key_length) return check_key_length;
2736
2738
  hasRequiredCheck_key_length = 1;
2737
2739
  Object.defineProperty(check_key_length, "__esModule", { value: true });
2738
- const node_crypto_1 = require$$0;
2740
+ const node_crypto_1 = require$$0$1;
2739
2741
  check_key_length.default = (key, alg) => {
2740
2742
  var _a;
2741
2743
  let modulusLength;
@@ -2759,7 +2761,7 @@ function requireRsaes() {
2759
2761
  hasRequiredRsaes = 1;
2760
2762
  Object.defineProperty(rsaes, "__esModule", { value: true });
2761
2763
  rsaes.decrypt = rsaes.encrypt = void 0;
2762
- const node_crypto_1 = require$$0;
2764
+ const node_crypto_1 = require$$0$1;
2763
2765
  const node_util_1 = require$$1;
2764
2766
  const check_key_length_js_1 = /* @__PURE__ */ requireCheck_key_length();
2765
2767
  const webcrypto_js_1 = /* @__PURE__ */ requireWebcrypto();
@@ -2875,8 +2877,8 @@ function requireAsn1() {
2875
2877
  hasRequiredAsn1 = 1;
2876
2878
  Object.defineProperty(asn1, "__esModule", { value: true });
2877
2879
  asn1.fromX509 = asn1.fromSPKI = asn1.fromPKCS8 = asn1.toPKCS8 = asn1.toSPKI = void 0;
2878
- const node_crypto_1 = require$$0;
2879
- const node_buffer_1 = require$$0$1;
2880
+ const node_crypto_1 = require$$0$1;
2881
+ const node_buffer_1 = require$$0$2;
2880
2882
  const webcrypto_js_1 = /* @__PURE__ */ requireWebcrypto();
2881
2883
  const is_key_object_js_1 = /* @__PURE__ */ requireIs_key_object();
2882
2884
  const invalid_key_input_js_1 = /* @__PURE__ */ requireInvalid_key_input();
@@ -2932,7 +2934,7 @@ function requireJwk_to_key() {
2932
2934
  if (hasRequiredJwk_to_key) return jwk_to_key;
2933
2935
  hasRequiredJwk_to_key = 1;
2934
2936
  Object.defineProperty(jwk_to_key, "__esModule", { value: true });
2935
- const node_crypto_1 = require$$0;
2937
+ const node_crypto_1 = require$$0$1;
2936
2938
  const parse = (key) => {
2937
2939
  if (key.d) {
2938
2940
  return (0, node_crypto_1.createPrivateKey)({ format: "jwk", key });
@@ -3088,7 +3090,7 @@ function requireEncrypt$4() {
3088
3090
  if (hasRequiredEncrypt$4) return encrypt$4;
3089
3091
  hasRequiredEncrypt$4 = 1;
3090
3092
  Object.defineProperty(encrypt$4, "__esModule", { value: true });
3091
- const node_crypto_1 = require$$0;
3093
+ const node_crypto_1 = require$$0$1;
3092
3094
  const check_iv_length_js_1 = /* @__PURE__ */ requireCheck_iv_length();
3093
3095
  const check_cek_length_js_1 = /* @__PURE__ */ requireCheck_cek_length();
3094
3096
  const buffer_utils_js_1 = /* @__PURE__ */ requireBuffer_utils();
@@ -3632,7 +3634,7 @@ function requireKey_to_jwk() {
3632
3634
  if (hasRequiredKey_to_jwk) return key_to_jwk;
3633
3635
  hasRequiredKey_to_jwk = 1;
3634
3636
  Object.defineProperty(key_to_jwk, "__esModule", { value: true });
3635
- const node_crypto_1 = require$$0;
3637
+ const node_crypto_1 = require$$0$1;
3636
3638
  const base64url_js_1 = /* @__PURE__ */ requireBase64url$1();
3637
3639
  const errors_js_1 = /* @__PURE__ */ requireErrors$1();
3638
3640
  const webcrypto_js_1 = /* @__PURE__ */ requireWebcrypto();
@@ -4167,7 +4169,7 @@ function requireNode_key() {
4167
4169
  hasRequiredNode_key = 1;
4168
4170
  Object.defineProperty(node_key, "__esModule", { value: true });
4169
4171
  node_key.default = keyForCrypto;
4170
- const node_crypto_1 = require$$0;
4172
+ const node_crypto_1 = require$$0$1;
4171
4173
  const get_named_curve_js_1 = /* @__PURE__ */ requireGet_named_curve();
4172
4174
  const errors_js_1 = /* @__PURE__ */ requireErrors$1();
4173
4175
  const check_key_length_js_1 = /* @__PURE__ */ requireCheck_key_length();
@@ -4304,7 +4306,7 @@ function requireGet_sign_verify_key() {
4304
4306
  hasRequiredGet_sign_verify_key = 1;
4305
4307
  Object.defineProperty(get_sign_verify_key, "__esModule", { value: true });
4306
4308
  get_sign_verify_key.default = getSignVerifyKey;
4307
- const node_crypto_1 = require$$0;
4309
+ const node_crypto_1 = require$$0$1;
4308
4310
  const webcrypto_js_1 = /* @__PURE__ */ requireWebcrypto();
4309
4311
  const crypto_key_js_1 = /* @__PURE__ */ requireCrypto_key();
4310
4312
  const invalid_key_input_js_1 = /* @__PURE__ */ requireInvalid_key_input();
@@ -4339,7 +4341,7 @@ function requireSign$4() {
4339
4341
  if (hasRequiredSign$4) return sign$4;
4340
4342
  hasRequiredSign$4 = 1;
4341
4343
  Object.defineProperty(sign$4, "__esModule", { value: true });
4342
- const crypto2 = require$$0;
4344
+ const crypto2 = require$$0$1;
4343
4345
  const node_util_1 = require$$1;
4344
4346
  const dsa_digest_js_1 = /* @__PURE__ */ requireDsa_digest();
4345
4347
  const hmac_digest_js_1 = /* @__PURE__ */ requireHmac_digest();
@@ -4363,7 +4365,7 @@ function requireVerify$4() {
4363
4365
  if (hasRequiredVerify$4) return verify$2;
4364
4366
  hasRequiredVerify$4 = 1;
4365
4367
  Object.defineProperty(verify$2, "__esModule", { value: true });
4366
- const crypto2 = require$$0;
4368
+ const crypto2 = require$$0$1;
4367
4369
  const node_util_1 = require$$1;
4368
4370
  const dsa_digest_js_1 = /* @__PURE__ */ requireDsa_digest();
4369
4371
  const node_key_js_1 = /* @__PURE__ */ requireNode_key();
@@ -5478,7 +5480,7 @@ function requireFetch_jwks() {
5478
5480
  Object.defineProperty(fetch_jwks, "__esModule", { value: true });
5479
5481
  const http$1 = http;
5480
5482
  const https$1 = https;
5481
- const node_events_1 = require$$0$2;
5483
+ const node_events_1 = require$$0$3;
5482
5484
  const errors_js_1 = /* @__PURE__ */ requireErrors$1();
5483
5485
  const buffer_utils_js_1 = /* @__PURE__ */ requireBuffer_utils();
5484
5486
  const fetchJwks = async (url, timeout, options) => {
@@ -5809,7 +5811,7 @@ function requireGenerate() {
5809
5811
  Object.defineProperty(generate, "__esModule", { value: true });
5810
5812
  generate.generateSecret = generateSecret;
5811
5813
  generate.generateKeyPair = generateKeyPair;
5812
- const node_crypto_1 = require$$0;
5814
+ const node_crypto_1 = require$$0$1;
5813
5815
  const node_util_1 = require$$1;
5814
5816
  const random_js_1 = /* @__PURE__ */ requireRandom();
5815
5817
  const errors_js_1 = /* @__PURE__ */ requireErrors$1();
@@ -6309,7 +6311,7 @@ function requireErrors() {
6309
6311
  toVercelCliError: () => toVercelCliError
6310
6312
  });
6311
6313
  errors = __toCommonJS(errors_exports);
6312
- var import_promises2 = fs;
6314
+ var import_promises2 = require$$0;
6313
6315
  class VercelCliError extends Error {
6314
6316
  constructor(options) {
6315
6317
  super(options.message);
@@ -6444,7 +6446,7 @@ function requireWindows() {
6444
6446
  hasRequiredWindows = 1;
6445
6447
  windows = isexe;
6446
6448
  isexe.sync = sync;
6447
- var fs2 = require$$0__default;
6449
+ var fs = require$$0__default;
6448
6450
  function checkPathExt(path2, options) {
6449
6451
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
6450
6452
  if (!pathext) {
@@ -6469,12 +6471,12 @@ function requireWindows() {
6469
6471
  return checkPathExt(path2, options);
6470
6472
  }
6471
6473
  function isexe(path2, options, cb) {
6472
- fs2.stat(path2, function(er, stat) {
6474
+ fs.stat(path2, function(er, stat) {
6473
6475
  cb(er, er ? false : checkStat(stat, path2, options));
6474
6476
  });
6475
6477
  }
6476
6478
  function sync(path2, options) {
6477
- return checkStat(fs2.statSync(path2), path2, options);
6479
+ return checkStat(fs.statSync(path2), path2, options);
6478
6480
  }
6479
6481
  return windows;
6480
6482
  }
@@ -6485,14 +6487,14 @@ function requireMode() {
6485
6487
  hasRequiredMode = 1;
6486
6488
  mode = isexe;
6487
6489
  isexe.sync = sync;
6488
- var fs2 = require$$0__default;
6490
+ var fs = require$$0__default;
6489
6491
  function isexe(path2, options, cb) {
6490
- fs2.stat(path2, function(er, stat) {
6492
+ fs.stat(path2, function(er, stat) {
6491
6493
  cb(er, er ? false : checkStat(stat, options));
6492
6494
  });
6493
6495
  }
6494
6496
  function sync(path2, options) {
6495
- return checkStat(fs2.statSync(path2), options);
6497
+ return checkStat(fs.statSync(path2), options);
6496
6498
  }
6497
6499
  function checkStat(stat, options) {
6498
6500
  return stat.isFile() && checkMode(stat, options);
@@ -6781,16 +6783,16 @@ var hasRequiredReadShebang;
6781
6783
  function requireReadShebang() {
6782
6784
  if (hasRequiredReadShebang) return readShebang_1;
6783
6785
  hasRequiredReadShebang = 1;
6784
- const fs2 = require$$0__default;
6786
+ const fs = require$$0__default;
6785
6787
  const shebangCommand2 = requireShebangCommand();
6786
6788
  function readShebang(command2) {
6787
6789
  const size = 150;
6788
6790
  const buffer = Buffer.alloc(size);
6789
6791
  let fd;
6790
6792
  try {
6791
- fd = fs2.openSync(command2, "r");
6792
- fs2.readSync(fd, buffer, 0, size, 0);
6793
- fs2.closeSync(fd);
6793
+ fd = fs.openSync(command2, "r");
6794
+ fs.readSync(fd, buffer, 0, size, 0);
6795
+ fs.closeSync(fd);
6794
6796
  } catch (e) {
6795
6797
  }
6796
6798
  return shebangCommand2(buffer.toString());
@@ -6914,7 +6916,7 @@ var hasRequiredCrossSpawn;
6914
6916
  function requireCrossSpawn() {
6915
6917
  if (hasRequiredCrossSpawn) return crossSpawn.exports;
6916
6918
  hasRequiredCrossSpawn = 1;
6917
- const cp = require$$0$3;
6919
+ const cp = require$$0$4;
6918
6920
  const parse = requireParse();
6919
6921
  const enoent2 = requireEnoent();
6920
6922
  function spawn(command2, args, options) {
@@ -7052,7 +7054,7 @@ function requireOnetime() {
7052
7054
  return onetime.exports;
7053
7055
  }
7054
7056
  var main = {};
7055
- var signals = {};
7057
+ var signals$1 = {};
7056
7058
  var core = {};
7057
7059
  var hasRequiredCore;
7058
7060
  function requireCore() {
@@ -7360,13 +7362,13 @@ function requireRealtime() {
7360
7362
  realtime.SIGRTMAX = SIGRTMAX;
7361
7363
  return realtime;
7362
7364
  }
7363
- var hasRequiredSignals;
7364
- function requireSignals() {
7365
- if (hasRequiredSignals) return signals;
7366
- hasRequiredSignals = 1;
7367
- Object.defineProperty(signals, "__esModule", { value: true });
7368
- signals.getSignals = void 0;
7369
- var _os = require$$0$4;
7365
+ var hasRequiredSignals$1;
7366
+ function requireSignals$1() {
7367
+ if (hasRequiredSignals$1) return signals$1;
7368
+ hasRequiredSignals$1 = 1;
7369
+ Object.defineProperty(signals$1, "__esModule", { value: true });
7370
+ signals$1.getSignals = void 0;
7371
+ var _os = require$$0$5;
7370
7372
  var _core = requireCore();
7371
7373
  var _realtime = requireRealtime();
7372
7374
  const getSignals = function() {
@@ -7374,7 +7376,7 @@ function requireSignals() {
7374
7376
  const signals2 = [..._core.SIGNALS, ...realtimeSignals].map(normalizeSignal);
7375
7377
  return signals2;
7376
7378
  };
7377
- signals.getSignals = getSignals;
7379
+ signals$1.getSignals = getSignals;
7378
7380
  const normalizeSignal = function({
7379
7381
  name,
7380
7382
  number: defaultNumber,
@@ -7390,7 +7392,7 @@ function requireSignals() {
7390
7392
  const number = supported ? constantSignal : defaultNumber;
7391
7393
  return { name, number, description, supported, action, forced, standard };
7392
7394
  };
7393
- return signals;
7395
+ return signals$1;
7394
7396
  }
7395
7397
  var hasRequiredMain;
7396
7398
  function requireMain() {
@@ -7398,8 +7400,8 @@ function requireMain() {
7398
7400
  hasRequiredMain = 1;
7399
7401
  Object.defineProperty(main, "__esModule", { value: true });
7400
7402
  main.signalsByNumber = main.signalsByName = void 0;
7401
- var _os = require$$0$4;
7402
- var _signals = requireSignals();
7403
+ var _os = require$$0$5;
7404
+ var _signals = requireSignals$1();
7403
7405
  var _realtime = requireRealtime();
7404
7406
  const getSignalsByName = function() {
7405
7407
  const signals2 = (0, _signals.getSignals)();
@@ -7568,12 +7570,199 @@ function requireStdio() {
7568
7570
  };
7569
7571
  return stdio.exports;
7570
7572
  }
7573
+ var signalExit = { exports: {} };
7574
+ var signals = { exports: {} };
7575
+ var hasRequiredSignals;
7576
+ function requireSignals() {
7577
+ if (hasRequiredSignals) return signals.exports;
7578
+ hasRequiredSignals = 1;
7579
+ (function(module) {
7580
+ module.exports = [
7581
+ "SIGABRT",
7582
+ "SIGALRM",
7583
+ "SIGHUP",
7584
+ "SIGINT",
7585
+ "SIGTERM"
7586
+ ];
7587
+ if (process.platform !== "win32") {
7588
+ module.exports.push(
7589
+ "SIGVTALRM",
7590
+ "SIGXCPU",
7591
+ "SIGXFSZ",
7592
+ "SIGUSR2",
7593
+ "SIGTRAP",
7594
+ "SIGSYS",
7595
+ "SIGQUIT",
7596
+ "SIGIOT"
7597
+ // should detect profiler and enable/disable accordingly.
7598
+ // see #21
7599
+ // 'SIGPROF'
7600
+ );
7601
+ }
7602
+ if (process.platform === "linux") {
7603
+ module.exports.push(
7604
+ "SIGIO",
7605
+ "SIGPOLL",
7606
+ "SIGPWR",
7607
+ "SIGSTKFLT",
7608
+ "SIGUNUSED"
7609
+ );
7610
+ }
7611
+ })(signals);
7612
+ return signals.exports;
7613
+ }
7614
+ var hasRequiredSignalExit;
7615
+ function requireSignalExit() {
7616
+ if (hasRequiredSignalExit) return signalExit.exports;
7617
+ hasRequiredSignalExit = 1;
7618
+ var process2 = commonjsGlobal.process;
7619
+ const processOk = function(process3) {
7620
+ return process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function";
7621
+ };
7622
+ if (!processOk(process2)) {
7623
+ signalExit.exports = function() {
7624
+ return function() {
7625
+ };
7626
+ };
7627
+ } else {
7628
+ var assert = require$$0$7;
7629
+ var signals2 = requireSignals();
7630
+ var isWin = /^win/i.test(process2.platform);
7631
+ var EE = require$$0$6;
7632
+ if (typeof EE !== "function") {
7633
+ EE = EE.EventEmitter;
7634
+ }
7635
+ var emitter;
7636
+ if (process2.__signal_exit_emitter__) {
7637
+ emitter = process2.__signal_exit_emitter__;
7638
+ } else {
7639
+ emitter = process2.__signal_exit_emitter__ = new EE();
7640
+ emitter.count = 0;
7641
+ emitter.emitted = {};
7642
+ }
7643
+ if (!emitter.infinite) {
7644
+ emitter.setMaxListeners(Infinity);
7645
+ emitter.infinite = true;
7646
+ }
7647
+ signalExit.exports = function(cb, opts) {
7648
+ if (!processOk(commonjsGlobal.process)) {
7649
+ return function() {
7650
+ };
7651
+ }
7652
+ assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
7653
+ if (loaded === false) {
7654
+ load();
7655
+ }
7656
+ var ev = "exit";
7657
+ if (opts && opts.alwaysLast) {
7658
+ ev = "afterexit";
7659
+ }
7660
+ var remove = function() {
7661
+ emitter.removeListener(ev, cb);
7662
+ if (emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0) {
7663
+ unload();
7664
+ }
7665
+ };
7666
+ emitter.on(ev, cb);
7667
+ return remove;
7668
+ };
7669
+ var unload = function unload2() {
7670
+ if (!loaded || !processOk(commonjsGlobal.process)) {
7671
+ return;
7672
+ }
7673
+ loaded = false;
7674
+ signals2.forEach(function(sig) {
7675
+ try {
7676
+ process2.removeListener(sig, sigListeners[sig]);
7677
+ } catch (er) {
7678
+ }
7679
+ });
7680
+ process2.emit = originalProcessEmit;
7681
+ process2.reallyExit = originalProcessReallyExit;
7682
+ emitter.count -= 1;
7683
+ };
7684
+ signalExit.exports.unload = unload;
7685
+ var emit = function emit2(event, code, signal) {
7686
+ if (emitter.emitted[event]) {
7687
+ return;
7688
+ }
7689
+ emitter.emitted[event] = true;
7690
+ emitter.emit(event, code, signal);
7691
+ };
7692
+ var sigListeners = {};
7693
+ signals2.forEach(function(sig) {
7694
+ sigListeners[sig] = function listener() {
7695
+ if (!processOk(commonjsGlobal.process)) {
7696
+ return;
7697
+ }
7698
+ var listeners = process2.listeners(sig);
7699
+ if (listeners.length === emitter.count) {
7700
+ unload();
7701
+ emit("exit", null, sig);
7702
+ emit("afterexit", null, sig);
7703
+ if (isWin && sig === "SIGHUP") {
7704
+ sig = "SIGINT";
7705
+ }
7706
+ process2.kill(process2.pid, sig);
7707
+ }
7708
+ };
7709
+ });
7710
+ signalExit.exports.signals = function() {
7711
+ return signals2;
7712
+ };
7713
+ var loaded = false;
7714
+ var load = function load2() {
7715
+ if (loaded || !processOk(commonjsGlobal.process)) {
7716
+ return;
7717
+ }
7718
+ loaded = true;
7719
+ emitter.count += 1;
7720
+ signals2 = signals2.filter(function(sig) {
7721
+ try {
7722
+ process2.on(sig, sigListeners[sig]);
7723
+ return true;
7724
+ } catch (er) {
7725
+ return false;
7726
+ }
7727
+ });
7728
+ process2.emit = processEmit;
7729
+ process2.reallyExit = processReallyExit;
7730
+ };
7731
+ signalExit.exports.load = load;
7732
+ var originalProcessReallyExit = process2.reallyExit;
7733
+ var processReallyExit = function processReallyExit2(code) {
7734
+ if (!processOk(commonjsGlobal.process)) {
7735
+ return;
7736
+ }
7737
+ process2.exitCode = code || /* istanbul ignore next */
7738
+ 0;
7739
+ emit("exit", process2.exitCode, null);
7740
+ emit("afterexit", process2.exitCode, null);
7741
+ originalProcessReallyExit.call(process2, process2.exitCode);
7742
+ };
7743
+ var originalProcessEmit = process2.emit;
7744
+ var processEmit = function processEmit2(ev, arg) {
7745
+ if (ev === "exit" && processOk(commonjsGlobal.process)) {
7746
+ if (arg !== void 0) {
7747
+ process2.exitCode = arg;
7748
+ }
7749
+ var ret = originalProcessEmit.apply(this, arguments);
7750
+ emit("exit", process2.exitCode, null);
7751
+ emit("afterexit", process2.exitCode, null);
7752
+ return ret;
7753
+ } else {
7754
+ return originalProcessEmit.apply(this, arguments);
7755
+ }
7756
+ };
7757
+ }
7758
+ return signalExit.exports;
7759
+ }
7571
7760
  var kill;
7572
7761
  var hasRequiredKill;
7573
7762
  function requireKill() {
7574
7763
  if (hasRequiredKill) return kill;
7575
7764
  hasRequiredKill = 1;
7576
- const os = require$$0$4;
7765
+ const os = require$$0$5;
7577
7766
  const onExit = requireSignalExit();
7578
7767
  const DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
7579
7768
  const spawnedKill = (kill2, signal = "SIGTERM", options = {}) => {
@@ -7677,7 +7866,7 @@ var hasRequiredBufferStream;
7677
7866
  function requireBufferStream() {
7678
7867
  if (hasRequiredBufferStream) return bufferStream;
7679
7868
  hasRequiredBufferStream = 1;
7680
- const { PassThrough: PassThroughStream } = require$$0$5;
7869
+ const { PassThrough: PassThroughStream } = require$$0$8;
7681
7870
  bufferStream = (options) => {
7682
7871
  options = { ...options };
7683
7872
  const { array } = options;
@@ -7721,9 +7910,9 @@ var hasRequiredGetStream;
7721
7910
  function requireGetStream() {
7722
7911
  if (hasRequiredGetStream) return getStream.exports;
7723
7912
  hasRequiredGetStream = 1;
7724
- const { constants: BufferConstants } = require$$0$6;
7725
- const stream2 = require$$0$5;
7726
- const { promisify } = require$$0$7;
7913
+ const { constants: BufferConstants } = require$$0$9;
7914
+ const stream2 = require$$0$8;
7915
+ const { promisify } = require$$0$a;
7727
7916
  const bufferStream2 = requireBufferStream();
7728
7917
  const streamPipelinePromisified = promisify(stream2.pipeline);
7729
7918
  class MaxBufferError extends Error {
@@ -7776,7 +7965,7 @@ var hasRequiredMergeStream;
7776
7965
  function requireMergeStream() {
7777
7966
  if (hasRequiredMergeStream) return mergeStream;
7778
7967
  hasRequiredMergeStream = 1;
7779
- const { PassThrough } = require$$0$5;
7968
+ const { PassThrough } = require$$0$8;
7780
7969
  mergeStream = function() {
7781
7970
  var sources = [];
7782
7971
  var output = new PassThrough({ objectMode: true });
@@ -7979,7 +8168,7 @@ function requireExeca() {
7979
8168
  if (hasRequiredExeca) return execa.exports;
7980
8169
  hasRequiredExeca = 1;
7981
8170
  const path2 = path__default;
7982
- const childProcess = require$$0$3;
8171
+ const childProcess = require$$0$4;
7983
8172
  const crossSpawn2 = requireCrossSpawn();
7984
8173
  const stripFinalNewline2 = requireStripFinalNewline();
7985
8174
  const npmRunPath2 = requireNpmRunPath();
@@ -8370,7 +8559,7 @@ function requireFsutils() {
8370
8559
  statIfExists: () => statIfExists
8371
8560
  });
8372
8561
  fsutils = __toCommonJS(fsutils_exports);
8373
- var import_promises2 = fs;
8562
+ var import_promises2 = require$$0;
8374
8563
  var import_node_path2 = __toESM(path);
8375
8564
  var import_errutils = requireErrutils();
8376
8565
  async function getCanonicalPath(filePath) {
@@ -8464,7 +8653,7 @@ function requireSafety() {
8464
8653
  getUnsafeStatsReason: () => getUnsafeStatsReason
8465
8654
  });
8466
8655
  safety = __toCommonJS(safety_exports);
8467
- var import_promises2 = fs;
8656
+ var import_promises2 = require$$0;
8468
8657
  var import_node_path2 = __toESM(path);
8469
8658
  var import_errutils = requireErrutils();
8470
8659
  var import_fsutils = requireFsutils();
@@ -8632,7 +8821,7 @@ function requireLookup() {
8632
8821
  toVercelCliInvocation: () => toVercelCliInvocation
8633
8822
  });
8634
8823
  lookup = __toCommonJS(lookup_exports);
8635
- var import_promises2 = fs;
8824
+ var import_promises2 = require$$0;
8636
8825
  var import_node_path2 = __toESM(path);
8637
8826
  var import_envpath = requireEnvpath();
8638
8827
  var import_errutils = requireErrutils();
@@ -9229,7 +9418,7 @@ function requireDist$1() {
9229
9418
  };
9230
9419
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(!mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target, mod)), __toCommonJS = (mod) => __copyProps(__defProp2({}, "__esModule", { value: true }), mod);
9231
9420
  var require_lib = __commonJS({ "../../node_modules/.pnpm/os-paths@4.4.0/node_modules/os-paths/src/lib/index.js"(exports, module2) {
9232
- var os = require$$0$4, paths = path__default, isWinOS = /^win/i.test(process.platform);
9421
+ var os = require$$0$5, paths = path__default, isWinOS = /^win/i.test(process.platform);
9233
9422
  function normalize_path(path3) {
9234
9423
  return paths.normalize(paths.join(path3, "."));
9235
9424
  }
@@ -9292,7 +9481,7 @@ function requireDist$1() {
9292
9481
  module2.exports = _XDGPortable();
9293
9482
  } });
9294
9483
  var require_xdg_app_paths = __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@5.1.0/node_modules/xdg-app-paths/index.js"(exports, module2) {
9295
- var path3 = path__default, os = require$$0$4, xdg = require_lib2(), isWinOS = /^win/i.test(process.platform);
9484
+ var path3 = path__default, os = require$$0$5, xdg = require_lib2(), isWinOS = /^win/i.test(process.platform);
9296
9485
  function _normalizeOptions(options, isolated) {
9297
9486
  if (options = options || {}, typeof options != "object" && (options = { isolated: options }), options.isolated = options.isolated === void 0 || options.isolated === null ? isolated : options.isolated, typeof options.isolated != "boolean") throw new TypeError(`Expected boolean for "isolated" argument, got ${typeof options.isolated}`);
9298
9487
  return options;
@@ -12295,7 +12484,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12295
12484
  }
12296
12485
  var telemetryConfigSchema2 = telemetryConfigSchema.passthrough(), guidanceConfigSchema2 = guidanceConfigSchema.passthrough(), updatesConfigSchema2 = updatesConfigSchema.passthrough(), credStorageSchema2 = _enum(CRED_STORAGE_CONFIG_VALUES, { error: (issue2) => formatCredStorageError(issue2.input) }).optional(), globalConfigSchema2 = globalConfigSchema.extend({ credStorage: credStorageSchema2, telemetry: telemetryConfigSchema2.optional(), guidance: guidanceConfigSchema2.optional(), updates: updatesConfigSchema2.optional() }).passthrough(), authConfigSchema2 = authConfigSchema.passthrough();
12297
12486
  var import_node_fs2 = __toESM(require$$0__default), import_node_path2 = __toESM(path__default);
12298
- var import_node_fs = __toESM(require$$0__default), import_node_path3 = __toESM(path__default), import_node_os = require$$0$4;
12487
+ var import_node_fs = __toESM(require$$0__default), import_node_path3 = __toESM(path__default), import_node_os = require$$0$5;
12299
12488
  function isReadableDirectory(targetPath) {
12300
12489
  try {
12301
12490
  return import_node_fs.default.lstatSync(targetPath).isDirectory();
@@ -12502,7 +12691,7 @@ function requireTokenIo() {
12502
12691
  tokenIo = __toCommonJS(token_io_exports);
12503
12692
  var import_path2 = __toESM(path__default);
12504
12693
  var import_fs2 = __toESM(require$$0__default);
12505
- var import_os2 = __toESM(require$$0$4);
12694
+ var import_os2 = __toESM(require$$0$5);
12506
12695
  var import_token_error = requireTokenError();
12507
12696
  function findRootDir() {
12508
12697
  try {
@@ -12569,7 +12758,7 @@ function requireOauth() {
12569
12758
  refreshTokenRequest: () => refreshTokenRequest
12570
12759
  });
12571
12760
  oauth = __toCommonJS(oauth_exports);
12572
- var import_os2 = require$$0$4;
12761
+ var import_os2 = require$$0$5;
12573
12762
  const VERCEL_ISSUER = "https://vercel.com";
12574
12763
  const VERCEL_CLI_CLIENT_ID = "cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp";
12575
12764
  const userAgent = `@vercel/oidc node-${process.version} ${(0, import_os2.platform)()} (${(0, import_os2.arch)()}) ${(0, import_os2.hostname)()}`;
@@ -12676,7 +12865,7 @@ function requireTokenUtil() {
12676
12865
  });
12677
12866
  tokenUtil = __toCommonJS(token_util_exports);
12678
12867
  var path2 = __toESM(path__default);
12679
- var fs2 = __toESM(require$$0__default);
12868
+ var fs = __toESM(require$$0__default);
12680
12869
  var import_cli_exec = requireDist$2();
12681
12870
  var import_cli_config = requireDist$1();
12682
12871
  var import_token_error = requireTokenError();
@@ -12814,12 +13003,12 @@ ${stderr}`.trim();
12814
13003
  );
12815
13004
  }
12816
13005
  const prjPath = path2.join(dir, ".vercel", "project.json");
12817
- if (!fs2.existsSync(prjPath)) {
13006
+ if (!fs.existsSync(prjPath)) {
12818
13007
  throw new import_token_error.VercelOidcTokenError(
12819
13008
  "project.json not found, have you linked your project with `vc link?`"
12820
13009
  );
12821
13010
  }
12822
- const prj = JSON.parse(fs2.readFileSync(prjPath, "utf8"));
13011
+ const prj = JSON.parse(fs.readFileSync(prjPath, "utf8"));
12823
13012
  if (typeof prj.projectId !== "string" && typeof prj.orgId !== "string") {
12824
13013
  throw new TypeError(
12825
13014
  "Expected a string-valued projectId property. Try running `vc link` to re-link your project."
@@ -12836,9 +13025,9 @@ ${stderr}`.trim();
12836
13025
  }
12837
13026
  const tokenPath = path2.join(dir, "com.vercel.token", `${projectId}.json`);
12838
13027
  const tokenJson = JSON.stringify(token);
12839
- fs2.mkdirSync(path2.dirname(tokenPath), { mode: 504, recursive: true });
12840
- fs2.writeFileSync(tokenPath, tokenJson);
12841
- fs2.chmodSync(tokenPath, 432);
13028
+ fs.mkdirSync(path2.dirname(tokenPath), { mode: 504, recursive: true });
13029
+ fs.writeFileSync(tokenPath, tokenJson);
13030
+ fs.chmodSync(tokenPath, 432);
12842
13031
  return;
12843
13032
  }
12844
13033
  function loadToken(projectId) {
@@ -12849,10 +13038,10 @@ ${stderr}`.trim();
12849
13038
  );
12850
13039
  }
12851
13040
  const tokenPath = path2.join(dir, "com.vercel.token", `${projectId}.json`);
12852
- if (!fs2.existsSync(tokenPath)) {
13041
+ if (!fs.existsSync(tokenPath)) {
12853
13042
  return null;
12854
13043
  }
12855
- const token = JSON.parse(fs2.readFileSync(tokenPath, "utf8"));
13044
+ const token = JSON.parse(fs.readFileSync(tokenPath, "utf8"));
12856
13045
  assertVercelOidcTokenResponse(token);
12857
13046
  return token;
12858
13047
  }