vercel 41.7.3 → 41.7.6

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 (2) hide show
  1. package/dist/index.js +129 -115
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -14755,12 +14755,12 @@ var require_exports = __commonJS2({
14755
14755
  const isolationScope = hub.getIsolationScope();
14756
14756
  const currentScope = getCurrentScope();
14757
14757
  const { release, environment = constants.DEFAULT_ENVIRONMENT } = client2 && client2.getOptions() || {};
14758
- const { userAgent } = utils.GLOBAL_OBJ.navigator || {};
14758
+ const { userAgent: userAgent2 } = utils.GLOBAL_OBJ.navigator || {};
14759
14759
  const session$1 = session.makeSession({
14760
14760
  release,
14761
14761
  environment,
14762
14762
  user: currentScope.getUser() || isolationScope.getUser(),
14763
- ...userAgent && { userAgent },
14763
+ ...userAgent2 && { userAgent: userAgent2 },
14764
14764
  ...context
14765
14765
  });
14766
14766
  const currentSession = isolationScope.getSession();
@@ -16041,12 +16041,12 @@ Sentry.init({...});
16041
16041
  startSession(context) {
16042
16042
  const { scope: scope2, client: client2 } = this.getStackTop();
16043
16043
  const { release, environment = constants.DEFAULT_ENVIRONMENT } = client2 && client2.getOptions() || {};
16044
- const { userAgent } = utils.GLOBAL_OBJ.navigator || {};
16044
+ const { userAgent: userAgent2 } = utils.GLOBAL_OBJ.navigator || {};
16045
16045
  const session$1 = session.makeSession({
16046
16046
  release,
16047
16047
  environment,
16048
16048
  user: scope2.getUser(),
16049
- ...userAgent && { userAgent },
16049
+ ...userAgent2 && { userAgent: userAgent2 },
16050
16050
  ...context
16051
16051
  });
16052
16052
  const currentSession = scope2.getSession && scope2.getSession();
@@ -24698,7 +24698,7 @@ var require_http = __commonJS2({
24698
24698
  }
24699
24699
  }
24700
24700
  function createRequestExecutor(options, httpModule, agent) {
24701
- const { hostname: hostname2, pathname, port, protocol, search } = new url3.URL(options.url);
24701
+ const { hostname: hostname3, pathname, port, protocol, search } = new url3.URL(options.url);
24702
24702
  return function makeRequest(request) {
24703
24703
  return new Promise((resolve12, reject) => {
24704
24704
  let body = streamFromBody(request.body);
@@ -24712,7 +24712,7 @@ var require_http = __commonJS2({
24712
24712
  method: "POST",
24713
24713
  agent,
24714
24714
  headers,
24715
- hostname: hostname2,
24715
+ hostname: hostname3,
24716
24716
  path: `${pathname}${search}`,
24717
24717
  port,
24718
24718
  protocol,
@@ -25311,15 +25311,15 @@ var require_http2 = __commonJS2({
25311
25311
  var url3 = require("url");
25312
25312
  var nodeVersion = require_nodeVersion();
25313
25313
  function extractRawUrl(requestOptions) {
25314
- const { protocol, hostname: hostname2, port } = parseRequestOptions(requestOptions);
25314
+ const { protocol, hostname: hostname3, port } = parseRequestOptions(requestOptions);
25315
25315
  const path11 = requestOptions.path ? requestOptions.path : "/";
25316
- return `${protocol}//${hostname2}${port}${path11}`;
25316
+ return `${protocol}//${hostname3}${port}${path11}`;
25317
25317
  }
25318
25318
  function extractUrl(requestOptions) {
25319
- const { protocol, hostname: hostname2, port } = parseRequestOptions(requestOptions);
25319
+ const { protocol, hostname: hostname3, port } = parseRequestOptions(requestOptions);
25320
25320
  const path11 = requestOptions.pathname || "/";
25321
25321
  const authority = requestOptions.auth ? redactAuthority(requestOptions.auth) : "";
25322
- return `${protocol}//${authority}${hostname2}${port}${path11}`;
25322
+ return `${protocol}//${authority}${hostname3}${port}${path11}`;
25323
25323
  }
25324
25324
  function redactAuthority(auth) {
25325
25325
  const [user, password] = auth.split(":");
@@ -25400,9 +25400,9 @@ var require_http2 = __commonJS2({
25400
25400
  }
25401
25401
  function parseRequestOptions(requestOptions) {
25402
25402
  const protocol = requestOptions.protocol || "";
25403
- const hostname2 = requestOptions.hostname || requestOptions.host || "";
25404
- const port = !requestOptions.port || requestOptions.port === 80 || requestOptions.port === 443 || /^(.*):(\d+)$/.test(hostname2) ? "" : `:${requestOptions.port}`;
25405
- return { protocol, hostname: hostname2, port };
25403
+ const hostname3 = requestOptions.hostname || requestOptions.host || "";
25404
+ const port = !requestOptions.port || requestOptions.port === 80 || requestOptions.port === 443 || /^(.*):(\d+)$/.test(hostname3) ? "" : `:${requestOptions.port}`;
25405
+ return { protocol, hostname: hostname3, port };
25406
25406
  }
25407
25407
  exports2.cleanSpanDescription = cleanSpanDescription;
25408
25408
  exports2.extractRawUrl = extractRawUrl;
@@ -54907,13 +54907,13 @@ ${clearRelative(ignoreFile)}`);
54907
54907
  url3 = parsedUrl.toString();
54908
54908
  delete opts.teamId;
54909
54909
  }
54910
- const userAgent = opts.userAgent || `client-v${import_pkg5.pkgVersion}`;
54910
+ const userAgent2 = opts.userAgent || `client-v${import_pkg5.pkgVersion}`;
54911
54911
  delete opts.userAgent;
54912
54912
  opts.headers = {
54913
54913
  ...opts.headers,
54914
54914
  authorization: `Bearer ${token}`,
54915
54915
  accept: "application/json",
54916
- "user-agent": userAgent
54916
+ "user-agent": userAgent2
54917
54917
  };
54918
54918
  debug2(`${opts.method || "GET"} ${url3}`);
54919
54919
  time = Date.now();
@@ -55213,7 +55213,7 @@ var require_check_deployment_status = __commonJS2({
55213
55213
  var import_ready_state = require_ready_state();
55214
55214
  var import_utils22 = require_utils13();
55215
55215
  async function* checkDeploymentStatus3(deployment, clientOptions) {
55216
- const { token, teamId, apiUrl: apiUrl2, userAgent } = clientOptions;
55216
+ const { token, teamId, apiUrl: apiUrl2, userAgent: userAgent2 } = clientOptions;
55217
55217
  const debug2 = (0, import_utils22.createDebug)(clientOptions.debug);
55218
55218
  let deploymentState = deployment;
55219
55219
  const apiDeployments = (0, import_utils4.getApiDeploymentsUrl)();
@@ -55230,7 +55230,7 @@ var require_check_deployment_status = __commonJS2({
55230
55230
  const deploymentData = await (0, import_utils4.fetch)(
55231
55231
  `${apiDeployments}/${deployment.id || deployment.deploymentId}${teamId ? `?teamId=${teamId}` : ""}`,
55232
55232
  token,
55233
- { apiUrl: apiUrl2, userAgent, agent: clientOptions.agent }
55233
+ { apiUrl: apiUrl2, userAgent: userAgent2, agent: clientOptions.agent }
55234
55234
  );
55235
55235
  const deploymentUpdate = await deploymentData.json();
55236
55236
  if (deploymentUpdate.error) {
@@ -55534,7 +55534,7 @@ var require_upload = __commonJS2({
55534
55534
  return false;
55535
55535
  };
55536
55536
  async function* upload(files, clientOptions, deploymentOptions) {
55537
- const { token, teamId, apiUrl: apiUrl2, userAgent } = clientOptions;
55537
+ const { token, teamId, apiUrl: apiUrl2, userAgent: userAgent2 } = clientOptions;
55538
55538
  const debug2 = (0, import_utils4.createDebug)(clientOptions.debug);
55539
55539
  if (!files && !token && !teamId) {
55540
55540
  debug2(`Neither 'files', 'token' nor 'teamId are present. Exiting`);
@@ -55625,7 +55625,7 @@ var require_upload = __commonJS2({
55625
55625
  body,
55626
55626
  teamId,
55627
55627
  apiUrl: apiUrl2,
55628
- userAgent,
55628
+ userAgent: userAgent2,
55629
55629
  // @ts-expect-error: typescript is getting confused with the signal types from node (web & server) and node-fetch (server only)
55630
55630
  signal: abortController.signal
55631
55631
  },
@@ -62676,15 +62676,15 @@ var require_proxy_from_env = __commonJS2({
62676
62676
  function getProxyForUrl(url3) {
62677
62677
  var parsedUrl = typeof url3 === "string" ? parseUrl2(url3) : url3 || {};
62678
62678
  var proto = parsedUrl.protocol;
62679
- var hostname2 = parsedUrl.host;
62679
+ var hostname3 = parsedUrl.host;
62680
62680
  var port = parsedUrl.port;
62681
- if (typeof hostname2 !== "string" || !hostname2 || typeof proto !== "string") {
62681
+ if (typeof hostname3 !== "string" || !hostname3 || typeof proto !== "string") {
62682
62682
  return "";
62683
62683
  }
62684
62684
  proto = proto.split(":", 1)[0];
62685
- hostname2 = hostname2.replace(/:\d*$/, "");
62685
+ hostname3 = hostname3.replace(/:\d*$/, "");
62686
62686
  port = parseInt(port) || DEFAULT_PORTS[proto] || 0;
62687
- if (!shouldProxy(hostname2, port)) {
62687
+ if (!shouldProxy(hostname3, port)) {
62688
62688
  return "";
62689
62689
  }
62690
62690
  var proxy = getEnv("npm_config_" + proto + "_proxy") || getEnv(proto + "_proxy") || getEnv("npm_config_proxy") || getEnv("all_proxy");
@@ -62693,7 +62693,7 @@ var require_proxy_from_env = __commonJS2({
62693
62693
  }
62694
62694
  return proxy;
62695
62695
  }
62696
- function shouldProxy(hostname2, port) {
62696
+ function shouldProxy(hostname3, port) {
62697
62697
  var NO_PROXY = (getEnv("npm_config_no_proxy") || getEnv("no_proxy")).toLowerCase();
62698
62698
  if (!NO_PROXY) {
62699
62699
  return true;
@@ -62712,12 +62712,12 @@ var require_proxy_from_env = __commonJS2({
62712
62712
  return true;
62713
62713
  }
62714
62714
  if (!/^[.*]/.test(parsedProxyHostname)) {
62715
- return hostname2 !== parsedProxyHostname;
62715
+ return hostname3 !== parsedProxyHostname;
62716
62716
  }
62717
62717
  if (parsedProxyHostname.charAt(0) === "*") {
62718
62718
  parsedProxyHostname = parsedProxyHostname.slice(1);
62719
62719
  }
62720
- return !stringEndsWith.call(hostname2, parsedProxyHostname);
62720
+ return !stringEndsWith.call(hostname3, parsedProxyHostname);
62721
62721
  });
62722
62722
  }
62723
62723
  function getEnv(key) {
@@ -89736,8 +89736,8 @@ var require_dist16 = __commonJS2({
89736
89736
  setRequestProps(req, opts) {
89737
89737
  const { proxy } = this;
89738
89738
  const protocol = opts.secureEndpoint ? "https:" : "http:";
89739
- const hostname2 = req.getHeader("host") || "localhost";
89740
- const base = `${protocol}//${hostname2}`;
89739
+ const hostname3 = req.getHeader("host") || "localhost";
89740
+ const base = `${protocol}//${hostname3}`;
89741
89741
  const url3 = new url_1.URL(req.path, base);
89742
89742
  if (opts.port !== 80) {
89743
89743
  url3.port = String(opts.port);
@@ -93382,6 +93382,16 @@ var init_telemetry = __esm({
93382
93382
  value: subcommand ? `${command}:${subcommand}` : command
93383
93383
  });
93384
93384
  }
93385
+ trackCliFlagFuture(command, subcommands) {
93386
+ let subcommand;
93387
+ if (subcommands) {
93388
+ subcommand = Array.isArray(subcommands) ? subcommands[0] : subcommands;
93389
+ }
93390
+ this.track({
93391
+ key: "flag:future",
93392
+ value: subcommand ? `${command}:${subcommand}` : command
93393
+ });
93394
+ }
93385
93395
  };
93386
93396
  TelemetryEventStore = class {
93387
93397
  constructor(opts) {
@@ -96454,44 +96464,44 @@ var init_create_cert_for_cns = __esm({
96454
96464
  var require_cjs7 = __commonJS2({
96455
96465
  "../../node_modules/.pnpm/tldts@6.1.47/node_modules/tldts/dist/cjs/index.js"(exports2) {
96456
96466
  "use strict";
96457
- function shareSameDomainSuffix(hostname2, vhost) {
96458
- if (hostname2.endsWith(vhost)) {
96459
- return hostname2.length === vhost.length || hostname2[hostname2.length - vhost.length - 1] === ".";
96467
+ function shareSameDomainSuffix(hostname3, vhost) {
96468
+ if (hostname3.endsWith(vhost)) {
96469
+ return hostname3.length === vhost.length || hostname3[hostname3.length - vhost.length - 1] === ".";
96460
96470
  }
96461
96471
  return false;
96462
96472
  }
96463
- function extractDomainWithSuffix(hostname2, publicSuffix) {
96464
- const publicSuffixIndex = hostname2.length - publicSuffix.length - 2;
96465
- const lastDotBeforeSuffixIndex = hostname2.lastIndexOf(".", publicSuffixIndex);
96473
+ function extractDomainWithSuffix(hostname3, publicSuffix) {
96474
+ const publicSuffixIndex = hostname3.length - publicSuffix.length - 2;
96475
+ const lastDotBeforeSuffixIndex = hostname3.lastIndexOf(".", publicSuffixIndex);
96466
96476
  if (lastDotBeforeSuffixIndex === -1) {
96467
- return hostname2;
96477
+ return hostname3;
96468
96478
  }
96469
- return hostname2.slice(lastDotBeforeSuffixIndex + 1);
96479
+ return hostname3.slice(lastDotBeforeSuffixIndex + 1);
96470
96480
  }
96471
- function getDomain$1(suffix, hostname2, options) {
96481
+ function getDomain$1(suffix, hostname3, options) {
96472
96482
  if (options.validHosts !== null) {
96473
96483
  const validHosts = options.validHosts;
96474
96484
  for (const vhost of validHosts) {
96475
96485
  if (
96476
96486
  /*@__INLINE__*/
96477
- shareSameDomainSuffix(hostname2, vhost)
96487
+ shareSameDomainSuffix(hostname3, vhost)
96478
96488
  ) {
96479
96489
  return vhost;
96480
96490
  }
96481
96491
  }
96482
96492
  }
96483
96493
  let numberOfLeadingDots = 0;
96484
- if (hostname2.startsWith(".")) {
96485
- while (numberOfLeadingDots < hostname2.length && hostname2[numberOfLeadingDots] === ".") {
96494
+ if (hostname3.startsWith(".")) {
96495
+ while (numberOfLeadingDots < hostname3.length && hostname3[numberOfLeadingDots] === ".") {
96486
96496
  numberOfLeadingDots += 1;
96487
96497
  }
96488
96498
  }
96489
- if (suffix.length === hostname2.length - numberOfLeadingDots) {
96499
+ if (suffix.length === hostname3.length - numberOfLeadingDots) {
96490
96500
  return null;
96491
96501
  }
96492
96502
  return (
96493
96503
  /*@__INLINE__*/
96494
- extractDomainWithSuffix(hostname2, suffix)
96504
+ extractDomainWithSuffix(hostname3, suffix)
96495
96505
  );
96496
96506
  }
96497
96507
  function getDomainWithoutSuffix$1(domain, suffix) {
@@ -96583,37 +96593,37 @@ var require_cjs7 = __commonJS2({
96583
96593
  while (end > start + 1 && url3.charCodeAt(end - 1) === 46) {
96584
96594
  end -= 1;
96585
96595
  }
96586
- const hostname2 = start !== 0 || end !== url3.length ? url3.slice(start, end) : url3;
96596
+ const hostname3 = start !== 0 || end !== url3.length ? url3.slice(start, end) : url3;
96587
96597
  if (hasUpper) {
96588
- return hostname2.toLowerCase();
96598
+ return hostname3.toLowerCase();
96589
96599
  }
96590
- return hostname2;
96600
+ return hostname3;
96591
96601
  }
96592
- function isProbablyIpv4(hostname2) {
96593
- if (hostname2.length < 7) {
96602
+ function isProbablyIpv4(hostname3) {
96603
+ if (hostname3.length < 7) {
96594
96604
  return false;
96595
96605
  }
96596
- if (hostname2.length > 15) {
96606
+ if (hostname3.length > 15) {
96597
96607
  return false;
96598
96608
  }
96599
96609
  let numberOfDots = 0;
96600
- for (let i = 0; i < hostname2.length; i += 1) {
96601
- const code2 = hostname2.charCodeAt(i);
96610
+ for (let i = 0; i < hostname3.length; i += 1) {
96611
+ const code2 = hostname3.charCodeAt(i);
96602
96612
  if (code2 === 46) {
96603
96613
  numberOfDots += 1;
96604
96614
  } else if (code2 < 48 || code2 > 57) {
96605
96615
  return false;
96606
96616
  }
96607
96617
  }
96608
- return numberOfDots === 3 && hostname2.charCodeAt(0) !== 46 && hostname2.charCodeAt(hostname2.length - 1) !== 46;
96618
+ return numberOfDots === 3 && hostname3.charCodeAt(0) !== 46 && hostname3.charCodeAt(hostname3.length - 1) !== 46;
96609
96619
  }
96610
- function isProbablyIpv6(hostname2) {
96611
- if (hostname2.length < 3) {
96620
+ function isProbablyIpv6(hostname3) {
96621
+ if (hostname3.length < 3) {
96612
96622
  return false;
96613
96623
  }
96614
- let start = hostname2.startsWith("[") ? 1 : 0;
96615
- let end = hostname2.length;
96616
- if (hostname2[end - 1] === "]") {
96624
+ let start = hostname3.startsWith("[") ? 1 : 0;
96625
+ let end = hostname3.length;
96626
+ if (hostname3[end - 1] === "]") {
96617
96627
  end -= 1;
96618
96628
  }
96619
96629
  if (end - start > 39) {
@@ -96621,7 +96631,7 @@ var require_cjs7 = __commonJS2({
96621
96631
  }
96622
96632
  let hasColon = false;
96623
96633
  for (; start < end; start += 1) {
96624
- const code2 = hostname2.charCodeAt(start);
96634
+ const code2 = hostname3.charCodeAt(start);
96625
96635
  if (code2 === 58) {
96626
96636
  hasColon = true;
96627
96637
  } else if (!(code2 >= 48 && code2 <= 57 || // 0-9
@@ -96632,31 +96642,31 @@ var require_cjs7 = __commonJS2({
96632
96642
  }
96633
96643
  return hasColon;
96634
96644
  }
96635
- function isIp(hostname2) {
96636
- return isProbablyIpv6(hostname2) || isProbablyIpv4(hostname2);
96645
+ function isIp(hostname3) {
96646
+ return isProbablyIpv6(hostname3) || isProbablyIpv4(hostname3);
96637
96647
  }
96638
96648
  function isValidAscii(code2) {
96639
96649
  return code2 >= 97 && code2 <= 122 || code2 >= 48 && code2 <= 57 || code2 > 127;
96640
96650
  }
96641
- function isValidHostname(hostname2) {
96642
- if (hostname2.length > 255) {
96651
+ function isValidHostname(hostname3) {
96652
+ if (hostname3.length > 255) {
96643
96653
  return false;
96644
96654
  }
96645
- if (hostname2.length === 0) {
96655
+ if (hostname3.length === 0) {
96646
96656
  return false;
96647
96657
  }
96648
96658
  if (
96649
96659
  /*@__INLINE__*/
96650
- !isValidAscii(hostname2.charCodeAt(0)) && hostname2.charCodeAt(0) !== 46 && // '.' (dot)
96651
- hostname2.charCodeAt(0) !== 95
96660
+ !isValidAscii(hostname3.charCodeAt(0)) && hostname3.charCodeAt(0) !== 46 && // '.' (dot)
96661
+ hostname3.charCodeAt(0) !== 95
96652
96662
  ) {
96653
96663
  return false;
96654
96664
  }
96655
96665
  let lastDotIndex = -1;
96656
96666
  let lastCharCode = -1;
96657
- const len = hostname2.length;
96667
+ const len = hostname3.length;
96658
96668
  for (let i = 0; i < len; i += 1) {
96659
- const code2 = hostname2.charCodeAt(i);
96669
+ const code2 = hostname3.charCodeAt(i);
96660
96670
  if (code2 === 46) {
96661
96671
  if (
96662
96672
  // Check that previous label is < 63 bytes long (64 = 63 + '.')
@@ -96706,11 +96716,11 @@ var require_cjs7 = __commonJS2({
96706
96716
  setDefaultsImpl(options)
96707
96717
  );
96708
96718
  }
96709
- function getSubdomain$1(hostname2, domain) {
96710
- if (domain.length === hostname2.length) {
96719
+ function getSubdomain$1(hostname3, domain) {
96720
+ if (domain.length === hostname3.length) {
96711
96721
  return "";
96712
96722
  }
96713
- return hostname2.slice(0, -domain.length - 1);
96723
+ return hostname3.slice(0, -domain.length - 1);
96714
96724
  }
96715
96725
  function getEmptyResult() {
96716
96726
  return {
@@ -96777,13 +96787,13 @@ var require_cjs7 = __commonJS2({
96777
96787
  result.domainWithoutSuffix = getDomainWithoutSuffix$1(result.domain, result.publicSuffix);
96778
96788
  return result;
96779
96789
  }
96780
- function fastPathLookup(hostname2, options, out) {
96781
- if (!options.allowPrivateDomains && hostname2.length > 3) {
96782
- const last = hostname2.length - 1;
96783
- const c3 = hostname2.charCodeAt(last);
96784
- const c2 = hostname2.charCodeAt(last - 1);
96785
- const c1 = hostname2.charCodeAt(last - 2);
96786
- const c0 = hostname2.charCodeAt(last - 3);
96790
+ function fastPathLookup(hostname3, options, out) {
96791
+ if (!options.allowPrivateDomains && hostname3.length > 3) {
96792
+ const last = hostname3.length - 1;
96793
+ const c3 = hostname3.charCodeAt(last);
96794
+ const c2 = hostname3.charCodeAt(last - 1);
96795
+ const c1 = hostname3.charCodeAt(last - 2);
96796
+ const c0 = hostname3.charCodeAt(last - 3);
96787
96797
  if (c3 === 109 && c2 === 111 && c1 === 99 && c0 === 46) {
96788
96798
  out.isIcann = true;
96789
96799
  out.isPrivate = false;
@@ -96848,12 +96858,12 @@ var require_cjs7 = __commonJS2({
96848
96858
  }
96849
96859
  return result;
96850
96860
  }
96851
- function suffixLookup(hostname2, options, out) {
96861
+ function suffixLookup(hostname3, options, out) {
96852
96862
  var _a;
96853
- if (fastPathLookup(hostname2, options, out)) {
96863
+ if (fastPathLookup(hostname3, options, out)) {
96854
96864
  return;
96855
96865
  }
96856
- const hostnameParts = hostname2.split(".");
96866
+ const hostnameParts = hostname3.split(".");
96857
96867
  const allowedMask = (options.allowPrivateDomains ? 2 : 0) | (options.allowIcannDomains ? 1 : 0);
96858
96868
  const exceptionMatch = lookupInTrie(hostnameParts, exceptions, hostnameParts.length - 1, allowedMask);
96859
96869
  if (exceptionMatch !== null) {
@@ -117691,10 +117701,10 @@ var require_superstatic = __commonJS2({
117691
117701
  delete parsedDestination.path;
117692
117702
  delete parsedDestination.search;
117693
117703
  delete parsedDestination.host;
117694
- let { pathname, hash, query, hostname: hostname2, ...rest } = parsedDestination;
117704
+ let { pathname, hash, query, hostname: hostname3, ...rest } = parsedDestination;
117695
117705
  pathname = unescapeSegments(pathname || "");
117696
117706
  hash = unescapeSegments(hash || "");
117697
- hostname2 = unescapeSegments(hostname2 || "");
117707
+ hostname3 = unescapeSegments(hostname3 || "");
117698
117708
  let destParams = /* @__PURE__ */ new Set();
117699
117709
  const pathnameKeys = [];
117700
117710
  const hashKeys = [];
@@ -117702,7 +117712,7 @@ var require_superstatic = __commonJS2({
117702
117712
  try {
117703
117713
  pathToRegexp("528", pathname, pathnameKeys);
117704
117714
  pathToRegexp("834", hash || "", hashKeys);
117705
- pathToRegexp("712", hostname2 || "", hostnameKeys);
117715
+ pathToRegexp("712", hostname3 || "", hostnameKeys);
117706
117716
  } catch (_) {
117707
117717
  }
117708
117718
  destParams = new Set(
@@ -117710,7 +117720,7 @@ var require_superstatic = __commonJS2({
117710
117720
  );
117711
117721
  pathname = safelyCompile(pathname, indexes, true);
117712
117722
  hash = hash ? safelyCompile(hash, indexes, true) : null;
117713
- hostname2 = hostname2 ? safelyCompile(hostname2, indexes, true) : null;
117723
+ hostname3 = hostname3 ? safelyCompile(hostname3, indexes, true) : null;
117714
117724
  for (const [key, strOrArray] of Object.entries(query)) {
117715
117725
  if (Array.isArray(strOrArray)) {
117716
117726
  query[key] = strOrArray.map(
@@ -117740,7 +117750,7 @@ var require_superstatic = __commonJS2({
117740
117750
  }
117741
117751
  destination = (0, import_url23.format)({
117742
117752
  ...rest,
117743
- hostname: hostname2,
117753
+ hostname: hostname3,
117744
117754
  pathname,
117745
117755
  query,
117746
117756
  hash
@@ -118483,8 +118493,8 @@ var require_dist23 = __commonJS2({
118483
118493
  }
118484
118494
  if (destination) {
118485
118495
  try {
118486
- const { hostname: hostname2, pathname, query } = (0, import_url23.parse)(destination, true);
118487
- (0, import_superstatic.sourceToRegex)(hostname2 || "").segments.forEach(
118496
+ const { hostname: hostname3, pathname, query } = (0, import_url23.parse)(destination, true);
118497
+ (0, import_superstatic.sourceToRegex)(hostname3 || "").segments.forEach(
118488
118498
  (name) => destinationSegments.add(name)
118489
118499
  );
118490
118500
  (0, import_superstatic.sourceToRegex)(pathname || "").segments.forEach(
@@ -153155,7 +153165,7 @@ var require_http_proxy = __commonJS2({
153155
153165
  throw err;
153156
153166
  }
153157
153167
  };
153158
- ProxyServer.prototype.listen = function(port, hostname2) {
153168
+ ProxyServer.prototype.listen = function(port, hostname3) {
153159
153169
  var self2 = this, closure = function(req, res) {
153160
153170
  self2.web(req, res);
153161
153171
  };
@@ -153165,7 +153175,7 @@ var require_http_proxy = __commonJS2({
153165
153175
  self2.ws(req, socket, head);
153166
153176
  });
153167
153177
  }
153168
- this._server.listen(port, hostname2);
153178
+ this._server.listen(port, hostname3);
153169
153179
  return this;
153170
153180
  };
153171
153181
  ProxyServer.prototype.close = function(callback) {
@@ -153312,7 +153322,7 @@ var require_urlparser = __commonJS2({
153312
153322
  var hash = this.hash || "";
153313
153323
  var search = this.search || "";
153314
153324
  var query = "";
153315
- var hostname2 = this.hostname || "";
153325
+ var hostname3 = this.hostname || "";
153316
153326
  var port = this.port || "";
153317
153327
  var host = false;
153318
153328
  var scheme = "";
@@ -153327,11 +153337,11 @@ var require_urlparser = __commonJS2({
153327
153337
  protocol += ":";
153328
153338
  if (this.host) {
153329
153339
  host = auth + this.host;
153330
- } else if (hostname2) {
153331
- var ip6 = hostname2.indexOf(":") > -1;
153340
+ } else if (hostname3) {
153341
+ var ip6 = hostname3.indexOf(":") > -1;
153332
153342
  if (ip6)
153333
- hostname2 = "[" + hostname2 + "]";
153334
- host = auth + hostname2 + (port ? ":" + port : "");
153343
+ hostname3 = "[" + hostname3 + "]";
153344
+ host = auth + hostname3 + (port ? ":" + port : "");
153335
153345
  }
153336
153346
  var slashes = this.slashes || (!protocol || slashProtocols[protocol]) && host !== false;
153337
153347
  if (protocol)
@@ -153503,8 +153513,8 @@ var require_urlparser = __commonJS2({
153503
153513
  return result;
153504
153514
  };
153505
153515
  var punycode = require("punycode");
153506
- Url.prototype._hostIdna = function Url$_hostIdna(hostname2) {
153507
- return punycode.toASCII(hostname2);
153516
+ Url.prototype._hostIdna = function Url$_hostIdna(hostname3) {
153517
+ return punycode.toASCII(hostname3);
153508
153518
  };
153509
153519
  var escapePathName = Url.prototype._escapePathName = function Url$_escapePathName(pathname) {
153510
153520
  if (!containsCharacter2(
@@ -153626,9 +153636,9 @@ var require_urlparser = __commonJS2({
153626
153636
  if (str.charCodeAt(i2 + 1) === 58) {
153627
153637
  portLength = this._parsePort(str, i2 + 2, end) + 1;
153628
153638
  }
153629
- var hostname2 = str.slice(start + 1, i2).toLowerCase();
153630
- this.hostname = hostname2;
153631
- this.host = this._port > 0 ? "[" + hostname2 + "]:" + this._port : "[" + hostname2 + "]";
153639
+ var hostname3 = str.slice(start + 1, i2).toLowerCase();
153640
+ this.hostname = hostname3;
153641
+ this.host = this._port > 0 ? "[" + hostname3 + "]:" + this._port : "[" + hostname3 + "]";
153632
153642
  this.pathname = "/";
153633
153643
  return i2 + portLength + 1;
153634
153644
  }
@@ -153671,13 +153681,13 @@ var require_urlparser = __commonJS2({
153671
153681
  charsAfterDot++;
153672
153682
  }
153673
153683
  if (hostNameEnd + 1 !== start && hostNameEnd - hostNameStart <= 256) {
153674
- var hostname2 = str.slice(hostNameStart, hostNameEnd + 1);
153684
+ var hostname3 = str.slice(hostNameStart, hostNameEnd + 1);
153675
153685
  if (doLowerCase)
153676
- hostname2 = hostname2.toLowerCase();
153686
+ hostname3 = hostname3.toLowerCase();
153677
153687
  if (idna)
153678
- hostname2 = this._hostIdna(hostname2);
153679
- this.hostname = hostname2;
153680
- this.host = this._port > 0 ? hostname2 + ":" + this._port : hostname2;
153688
+ hostname3 = this._hostIdna(hostname3);
153689
+ this.hostname = hostname3;
153690
+ this.host = this._port > 0 ? hostname3 + ":" + this._port : hostname3;
153681
153691
  }
153682
153692
  return hostNameEnd + 1 + portLength;
153683
153693
  };
@@ -166596,10 +166606,10 @@ async function main4(client2) {
166596
166606
  if ((0, import_error_utils22.isErrnoException)(err) && err.code === "ENOTFOUND") {
166597
166607
  const matches = /getaddrinfo ENOTFOUND (.*)$/.exec(err.message || "");
166598
166608
  if (matches && matches[1]) {
166599
- const hostname2 = matches[1];
166609
+ const hostname3 = matches[1];
166600
166610
  output_manager_default.error(
166601
166611
  `The hostname ${highlight(
166602
- hostname2
166612
+ hostname3
166603
166613
  )} could not be resolved. Please verify your internet connectivity and DNS configuration.`
166604
166614
  );
166605
166615
  }
@@ -175600,7 +175610,7 @@ async function as() {
175600
175610
  }
175601
175611
  async function discoveryEndpointRequest(issuer) {
175602
175612
  return await (0, import_node_fetch6.default)(new URL(".well-known/openid-configuration", issuer), {
175603
- headers: { "Content-Type": "application/json", "user-agent": ua_default }
175613
+ headers: { "Content-Type": "application/json", "user-agent": userAgent }
175604
175614
  });
175605
175615
  }
175606
175616
  async function processDiscoveryEndpointResponse(response) {
@@ -175633,7 +175643,7 @@ async function deviceAuthorizationRequest() {
175633
175643
  method: "POST",
175634
175644
  headers: {
175635
175645
  "Content-Type": "application/x-www-form-urlencoded",
175636
- "user-agent": ua_default
175646
+ "user-agent": userAgent
175637
175647
  },
175638
175648
  body: new URLSearchParams({
175639
175649
  client_id: VERCEL_CLI_CLIENT_ID,
@@ -175684,7 +175694,7 @@ async function deviceAccessTokenRequest(options) {
175684
175694
  method: "POST",
175685
175695
  headers: {
175686
175696
  "Content-Type": "application/x-www-form-urlencoded",
175687
- "user-agent": ua_default
175697
+ "user-agent": userAgent
175688
175698
  },
175689
175699
  body: new URLSearchParams({
175690
175700
  client_id: VERCEL_CLI_CLIENT_ID,
@@ -175731,7 +175741,7 @@ async function revocationRequest(options) {
175731
175741
  method: "POST",
175732
175742
  headers: {
175733
175743
  "Content-Type": "application/x-www-form-urlencoded",
175734
- "user-agent": ua_default
175744
+ "user-agent": userAgent
175735
175745
  },
175736
175746
  body: new URLSearchParams({ ...options, client_id: VERCEL_CLI_CLIENT_ID })
175737
175747
  });
@@ -175777,15 +175787,17 @@ async function verifyJWT(token) {
175777
175787
  return [new Error("Could not verify JWT.", { cause: error3 })];
175778
175788
  }
175779
175789
  }
175780
- var import_node_fetch6, import_jose2, VERCEL_ISSUER, VERCEL_CLI_CLIENT_ID, _as, OAuthError;
175790
+ var import_node_fetch6, import_jose2, import_os8, VERCEL_ISSUER, VERCEL_CLI_CLIENT_ID, userAgent, _as, OAuthError;
175781
175791
  var init_oauth2 = __esm({
175782
175792
  "src/util/oauth.ts"() {
175783
175793
  "use strict";
175784
175794
  import_node_fetch6 = __toESM3(require_lib7());
175785
175795
  import_jose2 = require("jose");
175786
175796
  init_ua();
175797
+ import_os8 = require("os");
175787
175798
  VERCEL_ISSUER = new URL("https://vercel.com");
175788
175799
  VERCEL_CLI_CLIENT_ID = "cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp";
175800
+ userAgent = `${(0, import_os8.hostname)()} @ ${ua_default}`;
175789
175801
  OAuthError = class extends Error {
175790
175802
  constructor(message2, response) {
175791
175803
  var __super = (...args) => {
@@ -175977,6 +175989,7 @@ async function login3(client2) {
175977
175989
  return 1;
175978
175990
  }
175979
175991
  if (parsedArgs.flags["--future"]) {
175992
+ telemetry2.trackCliFlagFuture("login");
175980
175993
  return await login2(client2);
175981
175994
  }
175982
175995
  if (parsedArgs.flags["--help"]) {
@@ -176146,6 +176159,7 @@ async function logout2(client2) {
176146
176159
  return 1;
176147
176160
  }
176148
176161
  if (parsedArgs.flags["--future"]) {
176162
+ telemetry2.trackCliFlagFuture("logout");
176149
176163
  return await logout(client2);
176150
176164
  }
176151
176165
  if (parsedArgs.flags["--help"]) {
@@ -181012,10 +181026,10 @@ var main13 = async () => {
181012
181026
  if ((0, import_error_utils37.isErrnoException)(err) && err.code === "ENOTFOUND") {
181013
181027
  const matches = /getaddrinfo ENOTFOUND (.*)$/.exec(err.message || "");
181014
181028
  if (matches && matches[1]) {
181015
- const hostname2 = matches[1];
181029
+ const hostname3 = matches[1];
181016
181030
  output_manager_default.error(
181017
181031
  `The hostname ${highlight(
181018
- hostname2
181032
+ hostname3
181019
181033
  )} could not be resolved. Please verify your internet connectivity and DNS configuration.`
181020
181034
  );
181021
181035
  }
@@ -181026,11 +181040,11 @@ var main13 = async () => {
181026
181040
  }
181027
181041
  if ((0, import_error_utils37.isErrnoException)(err) && err.code === "ECONNRESET") {
181028
181042
  const matches = /request to https:\/\/(.*?)\//.exec(err.message || "");
181029
- const hostname2 = matches?.[1];
181030
- if (hostname2) {
181043
+ const hostname3 = matches?.[1];
181044
+ if (hostname3) {
181031
181045
  output_manager_default.error(
181032
181046
  `Connection to ${highlight(
181033
- hostname2
181047
+ hostname3
181034
181048
  )} interrupted. Please verify your internet connectivity and DNS configuration.`
181035
181049
  );
181036
181050
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "41.7.3",
3
+ "version": "41.7.6",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -22,14 +22,14 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@vercel/build-utils": "10.5.1",
25
- "@vercel/fun": "1.1.5",
25
+ "@vercel/fun": "1.1.6",
26
26
  "@vercel/go": "3.2.1",
27
27
  "@vercel/hydrogen": "1.2.0",
28
- "@vercel/next": "4.7.10",
29
- "@vercel/node": "5.1.15",
28
+ "@vercel/next": "4.7.11",
29
+ "@vercel/node": "5.1.16",
30
30
  "@vercel/python": "4.7.2",
31
- "@vercel/redwood": "2.3.0",
32
- "@vercel/remix-builder": "5.4.3",
31
+ "@vercel/redwood": "2.3.1",
32
+ "@vercel/remix-builder": "5.4.5",
33
33
  "@vercel/ruby": "2.2.0",
34
34
  "@vercel/static-build": "2.7.7",
35
35
  "chokidar": "4.0.0",