@uipath/cli 1.205.0-preview.281 → 1.206.0-preview.282

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 (76) hide show
  1. package/dist/{applicationinsights-s28k1t0d.js → applicationinsights-pwe8sf3y.js} +1269 -1269
  2. package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-p5fhwxqj.js} +6 -7
  3. package/dist/cli-s27j1n5p.js +23 -0
  4. package/dist/contentStore-m1z06vbp.js +41 -0
  5. package/dist/environmentInfo-687282b3.js +71 -0
  6. package/dist/feedbackPrompts-t1enxv1x.js +144 -0
  7. package/dist/handlers-93z27zrr.js +805 -0
  8. package/dist/index-090cbg51.js +72 -0
  9. package/dist/index-16d4evd1.js +1051 -0
  10. package/dist/index-1vyte4ma.js +14 -0
  11. package/dist/index-1z45q8dr.js +365 -0
  12. package/dist/index-21kns9qg.js +10 -0
  13. package/dist/{index-30618bjs.js → index-2mm750yx.js} +174 -234
  14. package/dist/{index-622x1qb5.js → index-3fvbddpw.js} +7092 -7092
  15. package/dist/{index-d3w0wn6k.js → index-5gce5wfd.js} +16 -16
  16. package/dist/index-5j0bfd3e.js +4744 -0
  17. package/dist/index-5r4q8h0q.js +30 -0
  18. package/dist/index-68xmrb9x.js +237 -0
  19. package/dist/index-6wj58qka.js +59 -0
  20. package/dist/index-99emfvtm.js +13 -0
  21. package/dist/{index-pj3g8ftz.js → index-9db5vwx9.js} +2429 -1693
  22. package/dist/index-ayg25v46.js +151 -0
  23. package/dist/index-bf0e4evz.js +6180 -0
  24. package/dist/index-bpqx6f8h.js +92 -0
  25. package/dist/index-bpxh3fqv.js +392 -0
  26. package/dist/index-c6fsnn8s.js +200 -0
  27. package/dist/{index-m5nwse9v.js → index-cj4v0jct.js} +21 -69
  28. package/dist/index-ckafghar.js +274 -0
  29. package/dist/{index-469jgr1w.js → index-dsj3jrm0.js} +105 -106
  30. package/dist/{index-1yh8g550.js → index-epsr41wx.js} +8 -12
  31. package/dist/index-gbdz3pb5.js +668 -0
  32. package/dist/{index-yb4er9vd.js → index-jjejkkg4.js} +474 -528
  33. package/dist/index-jmz7bmca.js +1327 -0
  34. package/dist/{index-wwyf05nx.js → index-k9t8g78x.js} +331 -2595
  35. package/dist/index-kg1xrq51.js +171 -0
  36. package/dist/index-m8vqyv3g.js +72 -0
  37. package/dist/index-nht90rae.js +45 -0
  38. package/dist/index-nsrrst23.js +44 -0
  39. package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
  40. package/dist/index-qadhm1gn.js +271 -0
  41. package/dist/index-qwbyt2q5.js +95 -0
  42. package/dist/index-rr5hdtcy.js +95 -0
  43. package/dist/{index-qa9gftnj.js → index-xd2w5pct.js} +3 -3
  44. package/dist/{index-925304r7.js → index-y085rpen.js} +29 -25
  45. package/dist/index-y5ncb93a.js +240 -0
  46. package/dist/index-y7d0cth0.js +93 -0
  47. package/dist/{index-hdxtgckw.js → index-z070caqq.js} +56 -12
  48. package/dist/index-zdqbp34f.js +14 -0
  49. package/dist/index.js +38 -36
  50. package/dist/install-3gw33jcf.js +558 -0
  51. package/dist/{jmespath-e4a59c8w.js → jmespath-ab6tdc42.js} +1 -1
  52. package/dist/js-yaml-0c4svjwq.js +36 -0
  53. package/dist/{mcp-jssaz3wr.js → mcp-s50h6d56.js} +236 -472
  54. package/dist/{node-strategy-ggx3nmyj.js → node-strategy-p1n8wr5s.js} +16 -19
  55. package/dist/project-context-285hydnd.js +94 -0
  56. package/dist/prompt-yxpm7mfr.js +13 -0
  57. package/dist/{server-7jza1fyx.js → server-900wc6vc.js} +28 -43
  58. package/dist/skillCatalog-d1t2qec8.js +22 -0
  59. package/dist/skillsService-tpvbx5g8.js +29 -0
  60. package/dist/{stdio-tmngemcz.js → stdio-kpsab5bz.js} +2 -4
  61. package/dist/{telemetry-drain-r92f0e4r.js → telemetry-drain-bw59e8f5.js} +8 -9
  62. package/dist/tree-j4w7p0pg.js +17 -0
  63. package/dist/updateService-mt6d51p1.js +522 -0
  64. package/dist/updateService.skills-491vfgt8.js +22 -0
  65. package/dist/updateService.tools-f7tr6kc6.js +16 -0
  66. package/package.json +2 -2
  67. package/dist/cli-kyp49kdm.js +0 -19
  68. package/dist/index-0gctz400.js +0 -17
  69. package/dist/index-4cq44eth.js +0 -19427
  70. package/dist/index-7tshyfxx.js +0 -157
  71. package/dist/index-g8ck9tv6.js +0 -2
  72. package/dist/index-ngs0a2he.js +0 -15
  73. package/dist/index-pr8kzdte.js +0 -9867
  74. package/dist/index-yc4kw997.js +0 -13
  75. package/dist/js-yaml-69tsdrrf.js +0 -37
  76. package/dist/updateService-t3yq8936.js +0 -14
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  __commonJS,
3
+ __exportCjs,
3
4
  __require
4
- } from "./index-1yh8g550.js";
5
+ } from "./index-epsr41wx.js";
5
6
 
6
7
  // ../../node_modules/undici/lib/core/symbols.js
7
8
  var require_symbols = __commonJS(function(exports, module) {
@@ -1039,9 +1040,9 @@ var require_util = __commonJS(function(exports, module) {
1039
1040
  }
1040
1041
  function getHostname(host) {
1041
1042
  if (host[0] === "[") {
1042
- const idx2 = host.indexOf("]");
1043
- assert(idx2 !== -1);
1044
- return host.substring(1, idx2);
1043
+ const idx = host.indexOf("]");
1044
+ assert(idx !== -1);
1045
+ return host.substring(1, idx);
1045
1046
  }
1046
1047
  const idx = host.indexOf(":");
1047
1048
  if (idx === -1)
@@ -1089,24 +1090,24 @@ var require_util = __commonJS(function(exports, module) {
1089
1090
  function isDestroyed(body) {
1090
1091
  return body && !!(body.destroyed || body[kDestroyed] || stream.isDestroyed?.(body));
1091
1092
  }
1092
- function destroy(stream2, err) {
1093
- if (stream2 == null || !isStream(stream2) || isDestroyed(stream2)) {
1093
+ function destroy(stream, err) {
1094
+ if (stream == null || !isStream(stream) || isDestroyed(stream)) {
1094
1095
  return;
1095
1096
  }
1096
- if (typeof stream2.destroy === "function") {
1097
- if (Object.getPrototypeOf(stream2).constructor === IncomingMessage) {
1098
- stream2.socket = null;
1097
+ if (typeof stream.destroy === "function") {
1098
+ if (Object.getPrototypeOf(stream).constructor === IncomingMessage) {
1099
+ stream.socket = null;
1099
1100
  }
1100
1101
  try {
1101
- stream2.destroy(err);
1102
+ stream.destroy(err);
1102
1103
  } catch {}
1103
1104
  } else if (err) {
1104
1105
  queueMicrotask(() => {
1105
- stream2.emit("error", err);
1106
+ stream.emit("error", err);
1106
1107
  });
1107
1108
  }
1108
- if (stream2.destroyed !== true) {
1109
- stream2[kDestroyed] = true;
1109
+ if (stream.destroyed !== true) {
1110
+ stream[kDestroyed] = true;
1110
1111
  }
1111
1112
  }
1112
1113
  var KEEPALIVE_TIMEOUT_EXPR = /(?:^|,)[\t ]*timeout=(\d+)/i;
@@ -1589,8 +1590,8 @@ var require_util = __commonJS(function(exports, module) {
1589
1590
  try {
1590
1591
  request.onResponseError(err);
1591
1592
  assert(request.aborted);
1592
- } catch (err2) {
1593
- client.emit("error", err2);
1593
+ } catch (err) {
1594
+ client.emit("error", err);
1594
1595
  }
1595
1596
  }
1596
1597
  var setupConnectTimeout = process.platform === "win32" ? (socketWeakRef, opts) => {
@@ -2726,8 +2727,8 @@ var require_webidl = __commonJS(function(exports, module) {
2726
2727
  }
2727
2728
  const result = {};
2728
2729
  if (!types.isProxy(O)) {
2729
- const keys2 = [...Object.getOwnPropertyNames(O), ...Object.getOwnPropertySymbols(O)];
2730
- for (const key of keys2) {
2730
+ const keys = [...Object.getOwnPropertyNames(O), ...Object.getOwnPropertySymbols(O)];
2731
+ for (const key of keys) {
2731
2732
  const keyName = webidl.util.Stringify(key);
2732
2733
  const typedKey = keyConverter(key, prefix, `Key ${keyName} in ${argument}`);
2733
2734
  const typedValue = valueConverter(O[key], prefix, `${argument}[${keyName}]`);
@@ -3919,12 +3920,12 @@ var require_formdata = __commonJS(function(exports, module) {
3919
3920
  value = webidl.converters.USVString(value);
3920
3921
  }
3921
3922
  const entry = makeEntry(name, value, filename);
3922
- const idx = this.#state.findIndex((entry2) => entry2.name === name);
3923
+ const idx = this.#state.findIndex((entry) => entry.name === name);
3923
3924
  if (idx !== -1) {
3924
3925
  this.#state = [
3925
3926
  ...this.#state.slice(0, idx),
3926
3927
  entry,
3927
- ...this.#state.slice(idx + 1).filter((entry2) => entry2.name !== name)
3928
+ ...this.#state.slice(idx + 1).filter((entry) => entry.name !== name)
3928
3929
  ];
3929
3930
  } else {
3930
3931
  this.#state.push(entry);
@@ -4589,8 +4590,8 @@ var require_dispatcher_base = __commonJS(function(exports, module) {
4589
4590
  }
4590
4591
  if (callback === undefined) {
4591
4592
  return new Promise((resolve, reject) => {
4592
- this.destroy(err, (err2, data) => {
4593
- return err2 ? reject(err2) : resolve(data);
4593
+ this.destroy(err, (err, data) => {
4594
+ return err ? reject(err) : resolve(data);
4594
4595
  });
4595
4596
  });
4596
4597
  }
@@ -4709,7 +4710,7 @@ var require_connect = __commonJS(function(exports, module) {
4709
4710
  const sessionCache = new SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions);
4710
4711
  timeout = timeout == null ? 1e4 : timeout;
4711
4712
  allowH2 = allowH2 != null ? allowH2 : true;
4712
- return function connect({ hostname, host, protocol, port, servername, localAddress, httpSocket }, callback) {
4713
+ return function connect2({ hostname, host, protocol, port, servername, localAddress, httpSocket }, callback) {
4713
4714
  let socket;
4714
4715
  if (protocol === "https:") {
4715
4716
  if (!tls) {
@@ -4731,8 +4732,8 @@ var require_connect = __commonJS(function(exports, module) {
4731
4732
  port,
4732
4733
  host: hostname
4733
4734
  });
4734
- socket.on("session", function(session2) {
4735
- sessionCache.set(sessionKey, session2);
4735
+ socket.on("session", function(session) {
4736
+ sessionCache.set(sessionKey, session);
4736
4737
  });
4737
4738
  } else {
4738
4739
  assert(!httpSocket, "httpSocket can only be sent on TLS update");
@@ -5962,15 +5963,15 @@ var require_simd = __commonJS(function(exports, module) {
5962
5963
  function setActiveEvents(parser, value) {
5963
5964
  this.set_active_events(parser, value);
5964
5965
  }
5965
- function simpleCreate(spans, create2) {
5966
- const parser = create2();
5966
+ function simpleCreate(spans, create) {
5967
+ const parser = create();
5967
5968
  spans[parser] = [];
5968
5969
  this.setActiveCallbacks(parser, this.CALLBACK_ACTIVE_ALL);
5969
5970
  return parser;
5970
5971
  }
5971
- function simpleDestroy(spans, destroy2, parser) {
5972
+ function simpleDestroy(spans, destroy, parser) {
5972
5973
  spans[parser] = undefined;
5973
- destroy2(parser);
5974
+ destroy(parser);
5974
5975
  }
5975
5976
  function noop() {}
5976
5977
  function setup(env = {}) {
@@ -6884,15 +6885,15 @@ var require_no_simd = __commonJS(function(exports, module) {
6884
6885
  function setActiveEvents(parser, value) {
6885
6886
  this.set_active_events(parser, value);
6886
6887
  }
6887
- function simpleCreate(spans, create2) {
6888
- const parser = create2();
6888
+ function simpleCreate(spans, create) {
6889
+ const parser = create();
6889
6890
  spans[parser] = [];
6890
6891
  this.setActiveCallbacks(parser, this.CALLBACK_ACTIVE_ALL);
6891
6892
  return parser;
6892
6893
  }
6893
- function simpleDestroy(spans, destroy2, parser) {
6894
+ function simpleDestroy(spans, destroy, parser) {
6894
6895
  spans[parser] = undefined;
6895
- destroy2(parser);
6896
+ destroy(parser);
6896
6897
  }
6897
6898
  function noop() {}
6898
6899
  function setup(env = {}) {
@@ -7677,8 +7678,8 @@ var require_parser_h1 = __commonJS(function(exports, module) {
7677
7678
  return;
7678
7679
  case milo.EVENT_MESSAGE_COMPLETE: {
7679
7680
  const {
7680
- client: client2,
7681
- socket: socket2,
7681
+ client,
7682
+ socket,
7682
7683
  statusCode,
7683
7684
  upgrade,
7684
7685
  trailers,
@@ -7687,7 +7688,7 @@ var require_parser_h1 = __commonJS(function(exports, module) {
7687
7688
  shouldKeepAlive
7688
7689
  } = this;
7689
7690
  this.responseStarted = false;
7690
- if (socket2.destroyed && (!statusCode || shouldKeepAlive)) {
7691
+ if (socket.destroyed && (!statusCode || shouldKeepAlive)) {
7691
7692
  return this.fail(milo.ERROR_CALLBACK_ERROR, "Other side closed");
7692
7693
  }
7693
7694
  if (upgrade) {
@@ -7695,7 +7696,7 @@ var require_parser_h1 = __commonJS(function(exports, module) {
7695
7696
  return;
7696
7697
  }
7697
7698
  assert(statusCode >= 100);
7698
- const request = client2[kQueue][client2[kRunningIdx]];
7699
+ const request = client[kQueue][client[kRunningIdx]];
7699
7700
  assert(request);
7700
7701
  this.statusCode = 0;
7701
7702
  this.statusText = "";
@@ -7713,26 +7714,26 @@ var require_parser_h1 = __commonJS(function(exports, module) {
7713
7714
  break;
7714
7715
  }
7715
7716
  if (request.method !== "HEAD" && contentLength !== -1 && bytesRead !== contentLength) {
7716
- util.destroy(socket2, new ResponseContentLengthMismatchError);
7717
+ util.destroy(socket, new ResponseContentLengthMismatchError);
7717
7718
  this.pauseParser();
7718
7719
  break;
7719
7720
  }
7720
7721
  request.onResponseEnd(trailers);
7721
- client2[kQueue][client2[kRunningIdx]++] = null;
7722
- if (socket2[kWriting]) {
7723
- assert(client2[kRunning] === 0);
7724
- util.destroy(socket2, new InformationalError("reset"));
7722
+ client[kQueue][client[kRunningIdx]++] = null;
7723
+ if (socket[kWriting]) {
7724
+ assert(client[kRunning] === 0);
7725
+ util.destroy(socket, new InformationalError("reset"));
7725
7726
  this.pauseParser(true);
7726
7727
  } else if (!shouldKeepAlive) {
7727
- util.destroy(socket2, new InformationalError("reset"));
7728
+ util.destroy(socket, new InformationalError("reset"));
7728
7729
  this.pauseParser(true);
7729
- } else if (socket2[kReset] && client2[kRunning] === 0) {
7730
- util.destroy(socket2, new InformationalError("reset"));
7730
+ } else if (socket[kReset] && client[kRunning] === 0) {
7731
+ util.destroy(socket, new InformationalError("reset"));
7731
7732
  this.pauseParser(true);
7732
- } else if (client2[kPipelining] == null || client2[kPipelining] === 1) {
7733
- setImmediate(client2[kResume]);
7733
+ } else if (client[kPipelining] == null || client[kPipelining] === 1) {
7734
+ setImmediate(client[kResume]);
7734
7735
  } else {
7735
- client2[kResume]();
7736
+ client[kResume]();
7736
7737
  }
7737
7738
  break;
7738
7739
  }
@@ -7783,62 +7784,62 @@ var require_parser_h1 = __commonJS(function(exports, module) {
7783
7784
  const hasTrailers = this.parserEvents[cursor + 9] !== 0;
7784
7785
  const bodyKind = this.parserEvents[cursor + 10];
7785
7786
  const contentLength = this.parserEvents.readUInt32LE(cursor + 11) + this.parserEvents.readUInt32LE(cursor + 15) * 4294967296;
7786
- const { socket: socket2, client: client2, headers, statusText } = this;
7787
- if (socket2.destroyed) {
7787
+ const { socket, client, headers, statusText } = this;
7788
+ if (socket.destroyed) {
7788
7789
  return this.fail(milo.ERROR_CALLBACK_ERROR, "Other side closed");
7789
7790
  }
7790
- const request = client2[kQueue][client2[kRunningIdx]];
7791
+ const request = client[kQueue][client[kRunningIdx]];
7791
7792
  if (!request) {
7792
7793
  return this.fail(milo.ERROR_CALLBACK_ERROR, "Missing request");
7793
7794
  }
7794
7795
  assert(!this.upgrade);
7795
7796
  assert(this.statusCode < 200);
7796
7797
  if (statusCode === 100) {
7797
- util.destroy(socket2, new SocketError("bad response", util.getSocketInfo(socket2)));
7798
+ util.destroy(socket, new SocketError("bad response", util.getSocketInfo(socket)));
7798
7799
  return this.fail(milo.ERROR_CALLBACK_ERROR, "Bad response");
7799
7800
  }
7800
7801
  if (shouldUpgrade && !request.upgrade) {
7801
- util.destroy(socket2, new SocketError("bad upgrade", util.getSocketInfo(socket2)));
7802
+ util.destroy(socket, new SocketError("bad upgrade", util.getSocketInfo(socket)));
7802
7803
  return this.fail(milo.ERROR_CALLBACK_ERROR, "Bad upgrade");
7803
7804
  }
7804
7805
  assert(this.timeoutType === TIMEOUT_HEADERS);
7805
7806
  this.statusCode = statusCode;
7806
- this.shouldKeepAlive = shouldKeepAlive || request.method === "HEAD" && !socket2[kReset] && /(?:^|,)[\t ]*keep-alive[\t ]*(?:,|$)/i.test(this.connection) && !/(?:^|,)[\t ]*close[\t ]*(?:,|$)/i.test(this.connection);
7807
+ this.shouldKeepAlive = shouldKeepAlive || request.method === "HEAD" && !socket[kReset] && /(?:^|,)[\t ]*keep-alive[\t ]*(?:,|$)/i.test(this.connection) && !/(?:^|,)[\t ]*close[\t ]*(?:,|$)/i.test(this.connection);
7807
7808
  this.contentLength = bodyKind === BODY_KIND_CONTENT_LENGTH ? contentLength : -1;
7808
7809
  if (this.statusCode >= 200) {
7809
- const bodyTimeout = request.bodyTimeout != null ? request.bodyTimeout : client2[kBodyTimeout];
7810
+ const bodyTimeout = request.bodyTimeout != null ? request.bodyTimeout : client[kBodyTimeout];
7810
7811
  this.setTimeout(bodyTimeout, TIMEOUT_BODY);
7811
7812
  } else if (this.timeout?.refresh) {
7812
7813
  this.timeout.refresh();
7813
7814
  }
7814
7815
  if (request.method === "CONNECT") {
7815
- assert(client2[kRunning] === 1);
7816
+ assert(client[kRunning] === 1);
7816
7817
  milo.setIsConnect(this.parser, true);
7817
7818
  this.upgrade = true;
7818
7819
  return;
7819
7820
  }
7820
7821
  if (shouldUpgrade) {
7821
- assert(client2[kRunning] === 1);
7822
+ assert(client[kRunning] === 1);
7822
7823
  this.upgrade = true;
7823
7824
  this.pauseParser();
7824
7825
  return;
7825
7826
  }
7826
7827
  this.headers = [];
7827
7828
  this.headersSize = 0;
7828
- if (this.shouldKeepAlive && client2[kPipelining]) {
7829
+ if (this.shouldKeepAlive && client[kPipelining]) {
7829
7830
  const keepAliveTimeout = this.keepAlive ? util.parseKeepAliveTimeout(this.keepAlive) : null;
7830
7831
  if (keepAliveTimeout != null) {
7831
- const timeout = Math.min(keepAliveTimeout - client2[kKeepAliveTimeoutThreshold], client2[kKeepAliveMaxTimeout]);
7832
+ const timeout = Math.min(keepAliveTimeout - client[kKeepAliveTimeoutThreshold], client[kKeepAliveMaxTimeout]);
7832
7833
  if (timeout <= 0) {
7833
- socket2[kReset] = true;
7834
+ socket[kReset] = true;
7834
7835
  } else {
7835
- client2[kKeepAliveTimeoutValue] = timeout;
7836
+ client[kKeepAliveTimeoutValue] = timeout;
7836
7837
  }
7837
7838
  } else {
7838
- client2[kKeepAliveTimeoutValue] = client2[kKeepAliveDefaultTimeout];
7839
+ client[kKeepAliveTimeoutValue] = client[kKeepAliveDefaultTimeout];
7839
7840
  }
7840
7841
  } else {
7841
- socket2[kReset] = true;
7842
+ socket[kReset] = true;
7842
7843
  }
7843
7844
  const pause = request.onResponseStart(statusCode, headers, this.resume, statusText) === false;
7844
7845
  if (request.aborted) {
@@ -7851,9 +7852,9 @@ var require_parser_h1 = __commonJS(function(exports, module) {
7851
7852
  if (!pause && request.method !== "HEAD" && statusCode >= 200 && statusCode !== 204 && statusCode !== 205 && statusCode !== 304 && bodyKind === BODY_KIND_CONTENT_LENGTH && contentLength > 0 && !hasTrailers) {
7852
7853
  this.directBodyRemaining = contentLength;
7853
7854
  }
7854
- if (socket2[kBlocking]) {
7855
- socket2[kBlocking] = false;
7856
- client2[kResume]();
7855
+ if (socket[kBlocking]) {
7856
+ socket[kBlocking] = false;
7857
+ client[kResume]();
7857
7858
  }
7858
7859
  if (pause) {
7859
7860
  this.pauseParser();
@@ -7866,11 +7867,11 @@ var require_parser_h1 = __commonJS(function(exports, module) {
7866
7867
  case milo.EVENT_DATA: {
7867
7868
  const at = this.parserEvents.readUInt32LE(cursor + 1);
7868
7869
  const len = this.parserEvents.readUInt32LE(cursor + 5);
7869
- const { client: client2, socket: socket2, statusCode, maxResponseSize } = this;
7870
- if (socket2.destroyed) {
7870
+ const { client, socket, statusCode, maxResponseSize } = this;
7871
+ if (socket.destroyed) {
7871
7872
  return this.fail(milo.ERROR_CALLBACK_ERROR, "Other side closed");
7872
7873
  }
7873
- const request = client2[kQueue][client2[kRunningIdx]];
7874
+ const request = client[kQueue][client[kRunningIdx]];
7874
7875
  assert(request);
7875
7876
  assert(this.timeoutType === TIMEOUT_BODY);
7876
7877
  if (this.timeout?.refresh) {
@@ -7878,7 +7879,7 @@ var require_parser_h1 = __commonJS(function(exports, module) {
7878
7879
  }
7879
7880
  assert(statusCode >= 200);
7880
7881
  if (maxResponseSize > -1 && this.bytesRead + len > maxResponseSize) {
7881
- util.destroy(socket2, new ResponseExceededMaxSizeError);
7882
+ util.destroy(socket, new ResponseExceededMaxSizeError);
7882
7883
  return this.fail(milo.ERROR_CALLBACK_ERROR, "Response size exceeded");
7883
7884
  }
7884
7885
  this.bytesRead += len;
@@ -8341,20 +8342,20 @@ Content-Disposition: form-data`;
8341
8342
  let hasUnknownSizeValue = false;
8342
8343
  for (const [name, value] of object) {
8343
8344
  if (typeof value === "string") {
8344
- const chunk2 = textEncoder.encode(prefix + `; name="${formdataEscape(normalizeLinefeeds(name))}"` + `\r
8345
+ const chunk = textEncoder.encode(prefix + `; name="${formdataEscape(normalizeLinefeeds(name))}"` + `\r
8345
8346
  \r
8346
8347
  ${normalizeLinefeeds(value)}\r
8347
8348
  `);
8348
- blobParts.push(chunk2);
8349
- length += chunk2.byteLength;
8349
+ blobParts.push(chunk);
8350
+ length += chunk.byteLength;
8350
8351
  } else {
8351
- const chunk2 = textEncoder.encode(`${prefix}; name="${formdataEscape(normalizeLinefeeds(name))}"` + (value.name ? `; filename="${formdataEscape(value.name)}"` : "") + `\r
8352
+ const chunk = textEncoder.encode(`${prefix}; name="${formdataEscape(normalizeLinefeeds(name))}"` + (value.name ? `; filename="${formdataEscape(value.name)}"` : "") + `\r
8352
8353
  ` + `Content-Type: ${value.type || "application/octet-stream"}\r
8353
8354
  \r
8354
8355
  `);
8355
- blobParts.push(chunk2, value, rn);
8356
+ blobParts.push(chunk, value, rn);
8356
8357
  if (typeof value.size === "number") {
8357
- length += chunk2.byteLength + value.size + rn.byteLength;
8358
+ length += chunk.byteLength + value.size + rn.byteLength;
8358
8359
  } else {
8359
8360
  hasUnknownSizeValue = true;
8360
8361
  }
@@ -8462,8 +8463,8 @@ ${normalizeLinefeeds(value)}\r
8462
8463
  case "application/x-www-form-urlencoded": {
8463
8464
  const entries = new URLSearchParams(value.toString());
8464
8465
  const fd = new FormData;
8465
- for (const [name, value2] of entries) {
8466
- fd.append(name, value2);
8466
+ for (const [name, value] of entries) {
8467
+ fd.append(name, value);
8467
8468
  }
8468
8469
  return fd;
8469
8470
  }
@@ -9383,8 +9384,8 @@ var require_client_h1 = __commonJS(function(exports, module) {
9383
9384
  if (body && typeof body.read === "function") {
9384
9385
  body.read(0);
9385
9386
  }
9386
- const bodyLength = util.bodyLength(body);
9387
- contentLength = bodyLength ?? contentLength;
9387
+ const bodyLength2 = util.bodyLength(body);
9388
+ contentLength = bodyLength2 ?? contentLength;
9388
9389
  if (contentLength === null) {
9389
9390
  contentLength = request.contentLength;
9390
9391
  }
@@ -9469,7 +9470,7 @@ upgrade: ${upgrade}\r
9469
9470
  if (channels.sendHeaders.hasSubscribers) {
9470
9471
  channels.sendHeaders.publish({ request, headers: header, socket });
9471
9472
  }
9472
- if (!body || bodyLength === 0) {
9473
+ if (!body || bodyLength2 === 0) {
9473
9474
  writeBuffer(abort, null, client, request, socket, contentLength, header, expectsPayload);
9474
9475
  } else if (util.isBuffer(body)) {
9475
9476
  writeBuffer(abort, body, client, request, socket, contentLength, header, expectsPayload);
@@ -10513,10 +10514,10 @@ var require_client_h2 = __commonJS(function(exports, module) {
10513
10514
  return session.request(headers, options);
10514
10515
  } catch (err) {
10515
10516
  if (err?.code === "ERR_HTTP2_INVALID_SESSION" || err?.code === "ERR_HTTP2_GOAWAY_SESSION") {
10516
- const wrappedErr2 = new SocketError(err.message, util.getSocketInfo(session[kSocket]));
10517
- wrappedErr2.cause = err;
10518
- session[kError] = wrappedErr2;
10519
- resetHttp2Session(session, wrappedErr2);
10517
+ const wrappedErr = new SocketError(err.message, util.getSocketInfo(session[kSocket]));
10518
+ wrappedErr.cause = err;
10519
+ session[kError] = wrappedErr;
10520
+ resetHttp2Session(session, wrappedErr);
10520
10521
  requeueUnsentRequest(client, request);
10521
10522
  return null;
10522
10523
  }
@@ -10569,10 +10570,10 @@ var require_client_h2 = __commonJS(function(exports, module) {
10569
10570
  util.errorRequest(client, request, err);
10570
10571
  if (state.stream != null) {
10571
10572
  clearRequestStream(request);
10572
- const stream2 = state.stream;
10573
- stream2.close();
10574
- if (!stream2.destroyed) {
10575
- util.destroy(stream2);
10573
+ const stream = state.stream;
10574
+ stream.close();
10575
+ if (!stream.destroyed) {
10576
+ util.destroy(stream);
10576
10577
  }
10577
10578
  client[kOnError](err);
10578
10579
  finalizeRequest(state, resetPendingIdx);
@@ -11137,7 +11138,7 @@ var require_client = __commonJS(function(exports, module) {
11137
11138
  tls,
11138
11139
  strictContentLength,
11139
11140
  maxCachedSessions,
11140
- connect: connect2,
11141
+ connect,
11141
11142
  maxRequestsPerClient,
11142
11143
  localAddress,
11143
11144
  maxResponseSize,
@@ -11197,7 +11198,7 @@ var require_client = __commonJS(function(exports, module) {
11197
11198
  if (bodyTimeout != null && (!Number.isInteger(bodyTimeout) || bodyTimeout < 0)) {
11198
11199
  throw new InvalidArgumentError("bodyTimeout must be a positive integer or zero");
11199
11200
  }
11200
- if (connect2 != null && typeof connect2 !== "function" && typeof connect2 !== "object") {
11201
+ if (connect != null && typeof connect !== "function" && typeof connect !== "object") {
11201
11202
  throw new InvalidArgumentError("connect must be a function or an object");
11202
11203
  }
11203
11204
  if (maxRequestsPerClient != null && (!Number.isInteger(maxRequestsPerClient) || maxRequestsPerClient < 0)) {
@@ -11256,8 +11257,8 @@ var require_client = __commonJS(function(exports, module) {
11256
11257
  }
11257
11258
  }
11258
11259
  super({ webSocket, eventSource });
11259
- if (typeof connect2 !== "function") {
11260
- connect2 = buildConnector({
11260
+ if (typeof connect !== "function") {
11261
+ connect = buildConnector({
11261
11262
  ...tls,
11262
11263
  maxCachedSessions,
11263
11264
  allowH2,
@@ -11265,11 +11266,11 @@ var require_client = __commonJS(function(exports, module) {
11265
11266
  useH2c: h2Options?.useH2c ?? useH2c,
11266
11267
  timeout: connectTimeout,
11267
11268
  ...typeof autoSelectFamily === "boolean" ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined,
11268
- ...connect2
11269
+ ...connect
11269
11270
  });
11270
11271
  } else {
11271
- const customConnect = connect2;
11272
- connect2 = (opts, callback) => customConnect({
11272
+ const customConnect = connect;
11273
+ connect = (opts, callback) => customConnect({
11273
11274
  ...opts,
11274
11275
  ...socketPath != null ? { socketPath } : null,
11275
11276
  ...allowH2 != null ? { allowH2 } : null
@@ -11277,7 +11278,7 @@ var require_client = __commonJS(function(exports, module) {
11277
11278
  }
11278
11279
  this[kUrl] = util.parseOrigin(url);
11279
11280
  this[kHostAuthority] = `${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ""}`;
11280
- this[kConnector] = connect2;
11281
+ this[kConnector] = connect;
11281
11282
  this[kPipelining] = pipelining != null ? pipelining : 1;
11282
11283
  this[kMaxHeadersSize] = maxHeaderSize;
11283
11284
  this[kKeepAliveDefaultTimeout] = keepAliveTimeout == null ? 4000 : keepAliveTimeout;
@@ -11452,9 +11453,9 @@ var require_client = __commonJS(function(exports, module) {
11452
11453
  assert(socket);
11453
11454
  try {
11454
11455
  client[kHTTPContext] = socket.alpnProtocol === "h2" ? connectH2(client, socket) : connectH1(client, socket);
11455
- } catch (err2) {
11456
+ } catch (err) {
11456
11457
  socket.destroy().on("error", noop);
11457
- handleConnectError(client, err2, { host, hostname, protocol, port });
11458
+ handleConnectError(client, err, { host, hostname, protocol, port });
11458
11459
  client[kResume]();
11459
11460
  return;
11460
11461
  }
@@ -12019,7 +12020,7 @@ var require_pool = __commonJS(function(exports, module) {
12019
12020
  this[kFactory] = factory;
12020
12021
  this[kProtocol] = null;
12021
12022
  this[kProtocolProbe] = null;
12022
- this.on("connect", (origin2, targets) => {
12023
+ this.on("connect", (origin, targets) => {
12023
12024
  if (clientTtl != null && clientTtl > 0) {
12024
12025
  for (const target of targets) {
12025
12026
  Object.assign(target, { ttl: Date.now() });
@@ -12032,17 +12033,17 @@ var require_pool = __commonJS(function(exports, module) {
12032
12033
  if (client === this[kProtocolProbe]) {
12033
12034
  if (this[kProtocol] !== "h2") {
12034
12035
  this[kProtocolProbe] = null;
12035
- this[kDrainQueue](origin2, targets.slice(1));
12036
+ this[kDrainQueue](origin, targets.slice(1));
12036
12037
  }
12037
12038
  }
12038
12039
  });
12039
- this.on("disconnect", (origin2, targets) => {
12040
+ this.on("disconnect", (origin, targets) => {
12040
12041
  if (targets.includes(this[kProtocolProbe])) {
12041
12042
  this[kProtocolProbe] = null;
12042
- this[kDrainQueue](origin2, targets.slice(1));
12043
+ this[kDrainQueue](origin, targets.slice(1));
12043
12044
  }
12044
12045
  });
12045
- this.on("connectionError", (origin2, targets) => {
12046
+ this.on("connectionError", (origin, targets) => {
12046
12047
  let resumeQueued = false;
12047
12048
  for (const target of targets) {
12048
12049
  if (target === this[kProtocolProbe]) {
@@ -12054,7 +12055,7 @@ var require_pool = __commonJS(function(exports, module) {
12054
12055
  }
12055
12056
  }
12056
12057
  if (resumeQueued || this[kQueued] > 0) {
12057
- this[kDrainQueue](origin2, targets.slice(1));
12058
+ this[kDrainQueue](origin, targets.slice(1));
12058
12059
  }
12059
12060
  });
12060
12061
  }
@@ -12176,7 +12177,7 @@ var require_balanced_pool = __commonJS(function(exports, module) {
12176
12177
  }
12177
12178
  addUpstream(upstream) {
12178
12179
  const upstreamOrigin = util.parseOrigin(upstream).origin;
12179
- if (this[kClients].find((pool2) => pool2[kUrl].origin === upstreamOrigin && pool2.closed !== true && pool2.destroyed !== true)) {
12180
+ if (this[kClients].find((pool) => pool[kUrl].origin === upstreamOrigin && pool.closed !== true && pool.destroyed !== true)) {
12180
12181
  return this;
12181
12182
  }
12182
12183
  const pool = this[kFactory](upstreamOrigin, this[kOptions]);
@@ -12210,7 +12211,7 @@ var require_balanced_pool = __commonJS(function(exports, module) {
12210
12211
  }
12211
12212
  removeUpstream(upstream) {
12212
12213
  const upstreamOrigin = util.parseOrigin(upstream).origin;
12213
- const pool = this[kClients].find((pool2) => pool2[kUrl].origin === upstreamOrigin && pool2.closed !== true && pool2.destroyed !== true);
12214
+ const pool = this[kClients].find((pool) => pool[kUrl].origin === upstreamOrigin && pool.closed !== true && pool.destroyed !== true);
12214
12215
  if (pool) {
12215
12216
  this[kRemoveClient](pool);
12216
12217
  }
@@ -12328,21 +12329,21 @@ var require_round_robin_pool = __commonJS(function(exports, module) {
12328
12329
  this[kOptions] = { ...util.deepClone(options), connect, allowH2, clientTtl, socketPath };
12329
12330
  this[kFactory] = factory;
12330
12331
  this[kIndex] = -1;
12331
- this.on("connect", (origin2, targets) => {
12332
+ this.on("connect", (origin, targets) => {
12332
12333
  if (clientTtl != null && clientTtl > 0) {
12333
12334
  for (const target of targets) {
12334
12335
  Object.assign(target, { ttl: Date.now() });
12335
12336
  }
12336
12337
  }
12337
12338
  });
12338
- this.on("connectionError", (origin2, targets, error) => {
12339
+ this.on("connectionError", (origin, targets, error) => {
12339
12340
  for (const target of targets) {
12340
12341
  if (this[kClients].includes(target)) {
12341
12342
  this[kRetireClient](target);
12342
12343
  }
12343
12344
  }
12344
12345
  if (this[kQueued] > 0) {
12345
- this[kDrainQueue](origin2, targets.slice(1));
12346
+ this[kDrainQueue](origin, targets.slice(1));
12346
12347
  }
12347
12348
  });
12348
12349
  }
@@ -12496,12 +12497,12 @@ var require_agent = __commonJS(function(exports, module) {
12496
12497
  this[kOrigins].delete(origin);
12497
12498
  }
12498
12499
  };
12499
- dispatcher.on("drain", this[kOnDrain]).on("connect", this[kOnConnect]).on("disconnect", (origin2, targets, err) => {
12500
+ dispatcher.on("drain", this[kOnDrain]).on("connect", this[kOnConnect]).on("disconnect", (origin, targets, err) => {
12500
12501
  closeClientIfUnused();
12501
- this[kOnDisconnect](origin2, targets, err);
12502
- }).on("connectionError", (origin2, targets, err) => {
12502
+ this[kOnDisconnect](origin, targets, err);
12503
+ }).on("connectionError", (origin, targets, err) => {
12503
12504
  closeClientIfUnused();
12504
- this[kOnConnectionError](origin2, targets, err);
12505
+ this[kOnConnectionError](origin, targets, err);
12505
12506
  });
12506
12507
  this[kClients].set(key, dispatcher);
12507
12508
  this[kOrigins].add(origin);
@@ -13160,11 +13161,11 @@ var require_socks5_proxy_agent = __commonJS(function(exports, module) {
13160
13161
  host: proxyHost,
13161
13162
  port: proxyPort,
13162
13163
  protocol: this[kProxyProtocol]
13163
- }, (err, socket2) => {
13164
+ }, (err, socket) => {
13164
13165
  if (err) {
13165
13166
  socketReady.reject(err);
13166
13167
  } else {
13167
- socketReady.resolve(socket2);
13168
+ socketReady.resolve(socket);
13168
13169
  }
13169
13170
  });
13170
13171
  const socket = await socketReady.promise;
@@ -13455,8 +13456,8 @@ var require_proxy_agent = __commonJS(function(exports, module) {
13455
13456
  this[kConnectEndpoint] = buildConnector({ timeout: connectTimeout, ...opts.requestTls });
13456
13457
  this[kConnectEndpointHTTP1] = buildConnector({ timeout: connectTimeout, ...opts.requestTls, allowH2: false });
13457
13458
  const agentFactory = opts.factory || defaultAgentFactory;
13458
- const factory = (origin2, options) => {
13459
- const { protocol: protocol2 } = new URL(origin2);
13459
+ const factory = (origin, options) => {
13460
+ const { protocol } = new URL(origin);
13460
13461
  if (this[kProxy].protocol === "socks5:" || this[kProxy].protocol === "socks:") {
13461
13462
  return new Socks5ProxyAgent(this[kProxy].uri, {
13462
13463
  headers: this[kProxyHeaders],
@@ -13469,8 +13470,8 @@ var require_proxy_agent = __commonJS(function(exports, module) {
13469
13470
  requestTls: opts.requestTls
13470
13471
  });
13471
13472
  }
13472
- if (!shouldProxyTunnel(protocol2, this[kTunnelProxy])) {
13473
- const forwardConnect = this[kProxy].protocol === "https:" ? (opts2, cb) => connectHTTP1(opts2, (err, socket) => {
13473
+ if (!shouldProxyTunnel(protocol, this[kTunnelProxy])) {
13474
+ const forwardConnect = this[kProxy].protocol === "https:" ? (opts, cb) => connectHTTP1(opts, (err, socket) => {
13474
13475
  if (err && err.code === "ERR_TLS_CERT_ALTNAME_INVALID") {
13475
13476
  cb(new SecureProxyConnectionError(err));
13476
13477
  } else {
@@ -13484,7 +13485,7 @@ var require_proxy_agent = __commonJS(function(exports, module) {
13484
13485
  proxyServername: this[kProxy].protocol === "https:" ? this[kProxyTls]?.servername || proxyHostname : undefined
13485
13486
  });
13486
13487
  }
13487
- return agentFactory(origin2, options);
13488
+ return agentFactory(origin, options);
13488
13489
  };
13489
13490
  if (protocol === "socks5:" || protocol === "socks:") {
13490
13491
  this[kClient] = null;
@@ -13494,25 +13495,25 @@ var require_proxy_agent = __commonJS(function(exports, module) {
13494
13495
  this[kAgent] = new Agent({
13495
13496
  ...opts,
13496
13497
  factory,
13497
- connect: async (opts2, callback) => {
13498
+ connect: async (opts, callback) => {
13498
13499
  if (!this[kClient]) {
13499
13500
  callback(new InvalidArgumentError("Cannot establish tunnel connection without a proxy client"));
13500
13501
  return;
13501
13502
  }
13502
- let requestedPath = opts2.host;
13503
- if (!opts2.port) {
13504
- requestedPath += `:${defaultProtocolPort(opts2.protocol)}`;
13503
+ let requestedPath = opts.host;
13504
+ if (!opts.port) {
13505
+ requestedPath += `:${defaultProtocolPort(opts.protocol)}`;
13505
13506
  }
13506
13507
  try {
13507
13508
  const connectParams = {
13508
13509
  origin,
13509
13510
  port,
13510
13511
  path: requestedPath,
13511
- signal: opts2.signal,
13512
+ signal: opts.signal,
13512
13513
  headers: {
13513
13514
  ...this[kProxyHeaders],
13514
- host: opts2.host,
13515
- ...opts2.connections == null || opts2.connections > 0 ? { "proxy-connection": "keep-alive" } : {}
13515
+ host: opts.host,
13516
+ ...opts.connections == null || opts.connections > 0 ? { "proxy-connection": "keep-alive" } : {}
13516
13517
  },
13517
13518
  servername: this[kProxyTls]?.servername || proxyHostname
13518
13519
  };
@@ -13528,7 +13529,7 @@ var require_proxy_agent = __commonJS(function(exports, module) {
13528
13529
  connectParams
13529
13530
  });
13530
13531
  }
13531
- if (opts2.protocol !== "https:") {
13532
+ if (opts.protocol !== "https:") {
13532
13533
  callback(null, socket);
13533
13534
  return;
13534
13535
  }
@@ -13536,10 +13537,10 @@ var require_proxy_agent = __commonJS(function(exports, module) {
13536
13537
  if (this[kRequestTls]) {
13537
13538
  servername = this[kRequestTls].servername;
13538
13539
  } else {
13539
- servername = opts2.servername;
13540
+ servername = opts.servername;
13540
13541
  }
13541
- const connectEndpoint = opts2.allowH2 === false ? this[kConnectEndpointHTTP1] : this[kConnectEndpoint];
13542
- connectEndpoint({ ...opts2, servername, httpSocket: socket }, callback);
13542
+ const connectEndpoint = opts.allowH2 === false ? this[kConnectEndpointHTTP1] : this[kConnectEndpoint];
13543
+ connectEndpoint({ ...opts, servername, httpSocket: socket }, callback);
13543
13544
  } catch (err) {
13544
13545
  if (err.code === "ERR_TLS_CERT_ALTNAME_INVALID") {
13545
13546
  callback(new SecureProxyConnectionError(err));
@@ -14242,25 +14243,25 @@ var require_retry_handler = __commonJS(function(exports, module) {
14242
14243
  }
14243
14244
  function buildResumeHeaders(headers, range, etag) {
14244
14245
  if (Array.isArray(headers) || headers && typeof headers === "object" && hasSafeIterator(headers)) {
14245
- const ret2 = [];
14246
+ const ret = [];
14246
14247
  if (Array.isArray(headers)) {
14247
14248
  for (let i = 0;i < headers.length; i += 2) {
14248
14249
  if (!isReplacedHeader(headers[i], etag)) {
14249
- ret2.push(headers[i], headers[i + 1]);
14250
+ ret.push(headers[i], headers[i + 1]);
14250
14251
  }
14251
14252
  }
14252
14253
  } else {
14253
14254
  for (const [key, value] of headers) {
14254
14255
  if (!isReplacedHeader(key, etag)) {
14255
- ret2.push(key, value);
14256
+ ret.push(key, value);
14256
14257
  }
14257
14258
  }
14258
14259
  }
14259
- ret2.push("range", range);
14260
+ ret.push("range", range);
14260
14261
  if (etag != null) {
14261
- ret2.push("if-match", etag);
14262
+ ret.push("if-match", etag);
14262
14263
  }
14263
- return ret2;
14264
+ return ret;
14264
14265
  }
14265
14266
  const ret = {};
14266
14267
  for (const key in headers) {
@@ -14556,35 +14557,35 @@ var require_readable = __commonJS(function(exports, module) {
14556
14557
  }
14557
14558
  });
14558
14559
  }
14559
- function consumeStart(consume2) {
14560
- if (consume2.body === null) {
14560
+ function consumeStart(consume) {
14561
+ if (consume.body === null) {
14561
14562
  return;
14562
14563
  }
14563
- const { _readableState: state } = consume2.stream;
14564
+ const { _readableState: state } = consume.stream;
14564
14565
  if (state.bufferIndex) {
14565
14566
  const start = state.bufferIndex;
14566
14567
  const end = state.buffer.length;
14567
14568
  for (let n = start;n < end; n++) {
14568
- consumePush(consume2, state.buffer[n]);
14569
+ consumePush(consume, state.buffer[n]);
14569
14570
  }
14570
14571
  } else {
14571
14572
  for (const chunk of state.buffer) {
14572
- consumePush(consume2, chunk);
14573
+ consumePush(consume, chunk);
14573
14574
  }
14574
14575
  }
14575
14576
  const decoder = state.decoder;
14576
14577
  if (decoder != null && decoder.lastNeed > 0) {
14577
- consumePush(consume2, Buffer.from(decoder.lastChar.subarray(0, decoder.lastTotal - decoder.lastNeed)));
14578
+ consumePush(consume, Buffer.from(decoder.lastChar.subarray(0, decoder.lastTotal - decoder.lastNeed)));
14578
14579
  }
14579
14580
  if (state.endEmitted) {
14580
- consumeEnd(consume2, state.encoding);
14581
+ consumeEnd(consume, state.encoding);
14581
14582
  return;
14582
14583
  }
14583
- consume2.stream.on("end", function() {
14584
+ consume.stream.on("end", function() {
14584
14585
  consumeEnd(this[kConsume], this._readableState.encoding);
14585
14586
  });
14586
- consume2.stream.resume();
14587
- while (consume2.stream.read() != null) {}
14587
+ consume.stream.resume();
14588
+ while (consume.stream.read() != null) {}
14588
14589
  }
14589
14590
  function chunksDecode(chunks, length, encoding) {
14590
14591
  if (chunks.length === 0 || length === 0) {
@@ -14615,8 +14616,8 @@ var require_readable = __commonJS(function(exports, module) {
14615
14616
  }
14616
14617
  return buffer;
14617
14618
  }
14618
- function consumeEnd(consume2, encoding) {
14619
- const { type, body, resolve, stream, length } = consume2;
14619
+ function consumeEnd(consume, encoding) {
14620
+ const { type, body, resolve, stream, length } = consume;
14620
14621
  try {
14621
14622
  if (type === "text") {
14622
14623
  resolve(chunksDecode(body, length, encoding));
@@ -14629,36 +14630,36 @@ var require_readable = __commonJS(function(exports, module) {
14629
14630
  } else if (type === "bytes") {
14630
14631
  resolve(chunksConcat(body, length));
14631
14632
  }
14632
- consumeFinish(consume2);
14633
+ consumeFinish(consume);
14633
14634
  } catch (err) {
14634
14635
  stream.destroy(err);
14635
14636
  }
14636
14637
  }
14637
- function consumePush(consume2, chunk) {
14638
- if (consume2.body === null) {
14638
+ function consumePush(consume, chunk) {
14639
+ if (consume.body === null) {
14639
14640
  return;
14640
14641
  }
14641
14642
  if (typeof chunk === "string") {
14642
- chunk = Buffer.from(chunk, consume2.stream._readableState.encoding);
14643
+ chunk = Buffer.from(chunk, consume.stream._readableState.encoding);
14643
14644
  }
14644
- consume2.length += chunk.length;
14645
- consume2.body.push(chunk);
14645
+ consume.length += chunk.length;
14646
+ consume.body.push(chunk);
14646
14647
  }
14647
- function consumeFinish(consume2, err) {
14648
- if (consume2.body === null) {
14648
+ function consumeFinish(consume, err) {
14649
+ if (consume.body === null) {
14649
14650
  return;
14650
14651
  }
14651
14652
  if (err) {
14652
- consume2.reject(err);
14653
+ consume.reject(err);
14653
14654
  } else {
14654
- consume2.resolve();
14655
+ consume.resolve();
14655
14656
  }
14656
- consume2.type = null;
14657
- consume2.stream = null;
14658
- consume2.resolve = null;
14659
- consume2.reject = null;
14660
- consume2.length = 0;
14661
- consume2.body = null;
14657
+ consume.type = null;
14658
+ consume.stream = null;
14659
+ consume.resolve = null;
14660
+ consume.reject = null;
14661
+ consume.length = 0;
14662
+ consume.body = null;
14662
14663
  }
14663
14664
  module.exports = {
14664
14665
  Readable: BodyReadable,
@@ -14921,20 +14922,20 @@ var require_api_stream = __commonJS(function(exports, module) {
14921
14922
  var util = require_util();
14922
14923
  var { addSignal, removeSignal } = require_abort_signal();
14923
14924
  function noop() {}
14924
- function getWritableError(stream2) {
14925
- return stream2.errored ?? stream2.writableErrored ?? stream2._writableState?.errored;
14925
+ function getWritableError(stream) {
14926
+ return stream.errored ?? stream.writableErrored ?? stream._writableState?.errored;
14926
14927
  }
14927
14928
  function createPrematureCloseError() {
14928
14929
  const err = new Error("Premature close");
14929
14930
  err.code = "ERR_STREAM_PREMATURE_CLOSE";
14930
14931
  return err;
14931
14932
  }
14932
- function trackWritableLifecycle(stream2, callback) {
14933
+ function trackWritableLifecycle(stream, callback) {
14933
14934
  let done = false;
14934
14935
  const cleanup = () => {
14935
- stream2.removeListener("close", onClose);
14936
- stream2.removeListener("error", onError);
14937
- stream2.removeListener("finish", onFinish);
14936
+ stream.removeListener("close", onClose);
14937
+ stream.removeListener("error", onError);
14938
+ stream.removeListener("finish", onFinish);
14938
14939
  };
14939
14940
  const finish = (err, fromErrorEvent = false) => {
14940
14941
  if (done) {
@@ -14945,17 +14946,17 @@ var require_api_stream = __commonJS(function(exports, module) {
14945
14946
  callback(err, fromErrorEvent);
14946
14947
  };
14947
14948
  const onClose = () => {
14948
- const err = getWritableError(stream2);
14949
- finish(err ?? (!stream2.writableFinished ? createPrematureCloseError() : undefined));
14949
+ const err = getWritableError(stream);
14950
+ finish(err ?? (!stream.writableFinished ? createPrematureCloseError() : undefined));
14950
14951
  };
14951
14952
  const onError = (err) => finish(err, true);
14952
14953
  const onFinish = () => finish();
14953
- stream2.on("close", onClose);
14954
- stream2.on("error", onError);
14955
- stream2.on("finish", onFinish);
14956
- if (stream2.closed) {
14954
+ stream.on("close", onClose);
14955
+ stream.on("error", onError);
14956
+ stream.on("finish", onFinish);
14957
+ if (stream.closed) {
14957
14958
  process.nextTick(onClose);
14958
- } else if (stream2.writableFinished) {
14959
+ } else if (stream.writableFinished) {
14959
14960
  process.nextTick(onFinish);
14960
14961
  }
14961
14962
  }
@@ -15041,13 +15042,13 @@ var require_api_stream = __commonJS(function(exports, module) {
15041
15042
  throw new InvalidReturnValueError("expected Writable");
15042
15043
  }
15043
15044
  trackWritableLifecycle(res, (err, fromErrorEvent) => {
15044
- const { callback, res: res2, opaque: opaque2, trailers, abort } = this;
15045
+ const { callback, res, opaque, trailers, abort } = this;
15045
15046
  this.res = null;
15046
- if (err || !res2?.readable) {
15047
- util.destroy(res2, fromErrorEvent ? undefined : err);
15047
+ if (err || !res?.readable) {
15048
+ util.destroy(res, fromErrorEvent ? undefined : err);
15048
15049
  }
15049
15050
  this.callback = null;
15050
- this.runInAsyncScope(callback, null, err || null, { opaque: opaque2, trailers });
15051
+ this.runInAsyncScope(callback, null, err || null, { opaque, trailers });
15051
15052
  if (err) {
15052
15053
  abort(err);
15053
15054
  }
@@ -15280,9 +15281,9 @@ var require_api_pipeline = __commonJS(function(exports, module) {
15280
15281
  throw new InvalidReturnValueError("expected Readable");
15281
15282
  }
15282
15283
  body.on("data", (chunk) => {
15283
- const { ret, body: body2 } = this;
15284
- if (!ret.push(chunk) && body2.pause) {
15285
- body2.pause();
15284
+ const { ret, body } = this;
15285
+ if (!ret.push(chunk) && body.pause) {
15286
+ body.pause();
15286
15287
  }
15287
15288
  }).on("error", (err) => {
15288
15289
  const { ret } = this;
@@ -15640,20 +15641,20 @@ var require_mock_utils = __commonJS(function(exports, module) {
15640
15641
  }
15641
15642
  return Object.fromEntries(entries);
15642
15643
  }
15643
- function matchHeaders(mockDispatch2, headers) {
15644
- if (typeof mockDispatch2.headers === "function") {
15644
+ function matchHeaders(mockDispatch, headers) {
15645
+ if (typeof mockDispatch.headers === "function") {
15645
15646
  if (Array.isArray(headers)) {
15646
15647
  headers = buildHeadersFromArray(headers);
15647
15648
  }
15648
- return mockDispatch2.headers(headers ? lowerCaseEntries(headers) : {});
15649
+ return mockDispatch.headers(headers ? lowerCaseEntries(headers) : {});
15649
15650
  }
15650
- if (typeof mockDispatch2.headers === "undefined") {
15651
+ if (typeof mockDispatch.headers === "undefined") {
15651
15652
  return true;
15652
15653
  }
15653
- if (typeof headers !== "object" || typeof mockDispatch2.headers !== "object") {
15654
+ if (typeof headers !== "object" || typeof mockDispatch.headers !== "object") {
15654
15655
  return false;
15655
15656
  }
15656
- for (const [matchHeaderName, matchHeaderValue] of Object.entries(mockDispatch2.headers)) {
15657
+ for (const [matchHeaderName, matchHeaderValue] of Object.entries(mockDispatch.headers)) {
15657
15658
  const headerValue = getHeaderByName(headers, matchHeaderName);
15658
15659
  if (!matchValue(matchHeaderValue, headerValue)) {
15659
15660
  return false;
@@ -15697,11 +15698,11 @@ var require_mock_utils = __commonJS(function(exports, module) {
15697
15698
  qp.sort();
15698
15699
  return [...pathSegments, qp.toString()].join("?");
15699
15700
  }
15700
- function matchKey(mockDispatch2, { path, method, body, headers }) {
15701
- const pathMatch = matchValue(mockDispatch2.path, path);
15702
- const methodMatch = matchValue(mockDispatch2.method, method);
15703
- const bodyMatch = typeof mockDispatch2.body !== "undefined" ? matchValue(mockDispatch2.body, body) : true;
15704
- const headersMatch = matchHeaders(mockDispatch2, headers);
15701
+ function matchKey(mockDispatch, { path, method, body, headers }) {
15702
+ const pathMatch = matchValue(mockDispatch.path, path);
15703
+ const methodMatch = matchValue(mockDispatch.method, method);
15704
+ const bodyMatch = typeof mockDispatch.body !== "undefined" ? matchValue(mockDispatch.body, body) : true;
15705
+ const headersMatch = matchHeaders(mockDispatch, headers);
15705
15706
  return pathMatch && methodMatch && bodyMatch && headersMatch;
15706
15707
  }
15707
15708
  function getResponseData(data) {
@@ -15739,7 +15740,7 @@ var require_mock_utils = __commonJS(function(exports, module) {
15739
15740
  if (matchedMockDispatches.length === 0) {
15740
15741
  throw new MockNotMatchedError(`Mock dispatch not matched for body '${key.body}' on path '${resolvedPath}'`);
15741
15742
  }
15742
- matchedMockDispatches = matchedMockDispatches.filter((mockDispatch2) => matchHeaders(mockDispatch2, key.headers));
15743
+ matchedMockDispatches = matchedMockDispatches.filter((mockDispatch) => matchHeaders(mockDispatch, key.headers));
15743
15744
  if (matchedMockDispatches.length === 0) {
15744
15745
  const headers = typeof key.headers === "object" ? JSON.stringify(key.headers) : key.headers;
15745
15746
  throw new MockNotMatchedError(`Mock dispatch not matched for headers '${headers}' on path '${resolvedPath}'`);
@@ -15816,15 +15817,15 @@ var require_mock_utils = __commonJS(function(exports, module) {
15816
15817
  }
15817
15818
  function mockDispatch(opts, handler) {
15818
15819
  const key = buildKey(opts);
15819
- const mockDispatch2 = getMockDispatch(this[kDispatches], key);
15820
+ const mockDispatch = getMockDispatch(this[kDispatches], key);
15820
15821
  const mockDispatches = this[kDispatches];
15821
- mockDispatch2.timesInvoked++;
15822
- const { timesInvoked, times } = mockDispatch2;
15823
- mockDispatch2.consumed = !mockDispatch2.persist && timesInvoked >= times;
15824
- mockDispatch2.pending = timesInvoked < times;
15822
+ mockDispatch.timesInvoked++;
15823
+ const { timesInvoked, times } = mockDispatch;
15824
+ mockDispatch.consumed = !mockDispatch.persist && timesInvoked >= times;
15825
+ mockDispatch.pending = timesInvoked < times;
15825
15826
  const hasBodyHooks = typeof handler.onBodySent === "function" || typeof handler.onRequestSent === "function";
15826
- if (mockDispatch2.data.callback && (!hasBodyHooks || opts.body == null)) {
15827
- const { callback, ...responseDefaults } = mockDispatch2.data;
15827
+ if (mockDispatch.data.callback && (!hasBodyHooks || opts.body == null)) {
15828
+ const { callback, ...responseDefaults } = mockDispatch.data;
15828
15829
  const callbackResult = callback(opts);
15829
15830
  if (isPromise(callbackResult)) {
15830
15831
  callbackResult.then((resolvedData) => {
@@ -15832,7 +15833,7 @@ var require_mock_utils = __commonJS(function(exports, module) {
15832
15833
  handler.onResponseError(null, new InvalidArgumentError("reply options callback must return an object"));
15833
15834
  return;
15834
15835
  }
15835
- dispatchMockReply(mockDispatches, mockDispatch2, key, opts, handler, { ...responseDefaults, ...resolvedData });
15836
+ dispatchMockReply(mockDispatches, mockDispatch, key, opts, handler, { ...responseDefaults, ...resolvedData });
15836
15837
  }, (error) => {
15837
15838
  handler.onResponseError(null, error);
15838
15839
  });
@@ -15841,12 +15842,12 @@ var require_mock_utils = __commonJS(function(exports, module) {
15841
15842
  if (callbackResult == null || typeof callbackResult !== "object") {
15842
15843
  throw new InvalidArgumentError("reply options callback must return an object");
15843
15844
  }
15844
- return dispatchMockReply(mockDispatches, mockDispatch2, key, opts, handler, { ...responseDefaults, ...callbackResult });
15845
+ return dispatchMockReply(mockDispatches, mockDispatch, key, opts, handler, { ...responseDefaults, ...callbackResult });
15845
15846
  }
15846
- return dispatchMockReply(mockDispatches, mockDispatch2, key, opts, handler);
15847
+ return dispatchMockReply(mockDispatches, mockDispatch, key, opts, handler);
15847
15848
  }
15848
- function dispatchMockReply(mockDispatches, mockDispatch2, key, opts, handler, resolvedResponse) {
15849
- const { data: responseData, delay } = mockDispatch2;
15849
+ function dispatchMockReply(mockDispatches, mockDispatch, key, opts, handler, resolvedResponse) {
15850
+ const { data: responseData, delay } = mockDispatch;
15850
15851
  const response = resolvedResponse ?? responseData;
15851
15852
  if (response.error !== null) {
15852
15853
  deleteMockDispatch(mockDispatches, key);
@@ -15941,7 +15942,7 @@ var require_mock_utils = __commonJS(function(exports, module) {
15941
15942
  handleReply(dispatches);
15942
15943
  }
15943
15944
  }
15944
- function handleReply(mockDispatches2, _response = response) {
15945
+ function handleReply(mockDispatches, _response = response) {
15945
15946
  if (aborted) {
15946
15947
  return;
15947
15948
  }
@@ -15949,20 +15950,20 @@ var require_mock_utils = __commonJS(function(exports, module) {
15949
15950
  const optsHeaders = Array.isArray(opts.headers) ? buildHeadersFromArray(opts.headers) : opts.headers;
15950
15951
  const body = typeof data === "function" ? data({ ...replyOpts, headers: optsHeaders }) : data;
15951
15952
  if (isPromise(body)) {
15952
- return body.then((newData) => handleReply(mockDispatches2, { ..._response, data: newData }));
15953
+ return body.then((newData) => handleReply(mockDispatches, { ..._response, data: newData }));
15953
15954
  }
15954
15955
  if (aborted) {
15955
15956
  return;
15956
15957
  }
15957
- const responseData2 = getResponseData(body);
15958
+ const responseData = getResponseData(body);
15958
15959
  const responseHeaders = generateKeyValues(headers ?? {});
15959
15960
  const responseTrailers = generateKeyValues(trailers ?? {});
15960
15961
  controller.rawHeaders = responseHeaders;
15961
15962
  controller.rawTrailers = responseTrailers;
15962
15963
  handler.onResponseStart?.(controller, statusCode, parseHeaders(responseHeaders), getStatusText(statusCode));
15963
- handler.onResponseData?.(controller, Buffer.from(responseData2));
15964
+ handler.onResponseData?.(controller, Buffer.from(responseData));
15964
15965
  handler.onResponseEnd?.(controller, parseHeaders(responseTrailers));
15965
- deleteMockDispatch(mockDispatches2, key);
15966
+ deleteMockDispatch(mockDispatches, key);
15966
15967
  }
15967
15968
  return true;
15968
15969
  }
@@ -16215,10 +16216,10 @@ var require_mock_interceptor = __commonJS(function(exports, module) {
16215
16216
  if (typeof resolvedData !== "object" || resolvedData === null) {
16216
16217
  throw new InvalidArgumentError("reply options callback must return an object");
16217
16218
  }
16218
- const replyParameters2 = { data: "", responseOptions: {}, ...resolvedData };
16219
- this.validateReplyParameters(replyParameters2);
16219
+ const replyParameters = { data: "", responseOptions: {}, ...resolvedData };
16220
+ this.validateReplyParameters(replyParameters);
16220
16221
  return {
16221
- ...this.createMockScopeDispatchData(replyParameters2)
16222
+ ...this.createMockScopeDispatchData(replyParameters)
16222
16223
  };
16223
16224
  };
16224
16225
  const wrappedDefaultsCallback = (opts) => {
@@ -16228,8 +16229,8 @@ var require_mock_interceptor = __commonJS(function(exports, module) {
16228
16229
  }
16229
16230
  return resolveReplyCallbackData(resolvedData);
16230
16231
  };
16231
- const newMockDispatch2 = addMockDispatch(this[kDispatches], this[kDispatchKey], wrappedDefaultsCallback, { ignoreTrailingSlash: this[kIgnoreTrailingSlash] });
16232
- return new MockScope(newMockDispatch2);
16232
+ const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], wrappedDefaultsCallback, { ignoreTrailingSlash: this[kIgnoreTrailingSlash] });
16233
+ return new MockScope(newMockDispatch);
16233
16234
  }
16234
16235
  const replyParameters = {
16235
16236
  statusCode: replyOptionsCallbackOrStatusCode,
@@ -16767,16 +16768,16 @@ var require_mock_agent = __commonJS(function(exports, module) {
16767
16768
  return dispatcher;
16768
16769
  }
16769
16770
  if (typeof origin !== "string") {
16770
- const dispatcher2 = this[kFactory]("http://localhost:9999");
16771
- this[kMockAgentSet](origin, dispatcher2);
16772
- return dispatcher2;
16771
+ const dispatcher = this[kFactory]("http://localhost:9999");
16772
+ this[kMockAgentSet](origin, dispatcher);
16773
+ return dispatcher;
16773
16774
  }
16774
16775
  for (const [keyMatcher, nonExplicitDispatcher] of Array.from(this[kClients])) {
16775
16776
  if (nonExplicitDispatcher && typeof keyMatcher !== "string" && matchValue(keyMatcher, origin)) {
16776
- const dispatcher2 = this[kFactory](origin);
16777
- this[kMockAgentSet](origin, dispatcher2);
16778
- dispatcher2[kDispatches] = nonExplicitDispatcher[kDispatches];
16779
- return dispatcher2;
16777
+ const dispatcher = this[kFactory](origin);
16778
+ this[kMockAgentSet](origin, dispatcher);
16779
+ dispatcher[kDispatches] = nonExplicitDispatcher[kDispatches];
16780
+ return dispatcher;
16780
16781
  }
16781
16782
  }
16782
16783
  }
@@ -17825,8 +17826,8 @@ var require_response_error = __commonJS(function(exports, module) {
17825
17826
  throw new InvalidArgumentError("maxSize must be a non-negative integer");
17826
17827
  }
17827
17828
  return (dispatch) => {
17828
- return function Intercept(opts2, handler) {
17829
- return dispatch(opts2, new ResponseErrorHandler({ maxSize }, { handler }));
17829
+ return function Intercept(opts, handler) {
17830
+ return dispatch(opts, new ResponseErrorHandler({ maxSize }, { handler }));
17830
17831
  };
17831
17832
  };
17832
17833
  };
@@ -18700,10 +18701,10 @@ var require_cache = __commonJS(function(exports, module) {
18700
18701
  const fieldListParts = [value.substring(1)];
18701
18702
  for (let j = i + 1;j < directives.length; j++) {
18702
18703
  const nextPart = trimOWS(directives[j].value);
18703
- const closingQuote2 = findUnescapedQuote(nextPart, 0);
18704
+ const closingQuote = findUnescapedQuote(nextPart, 0);
18704
18705
  lastQuotedPart = j;
18705
- if (closingQuote2 !== -1) {
18706
- fieldListParts.push(nextPart.substring(0, closingQuote2));
18706
+ if (closingQuote !== -1) {
18707
+ fieldListParts.push(nextPart.substring(0, closingQuote));
18707
18708
  foundEndingQuote = true;
18708
18709
  break;
18709
18710
  }
@@ -20465,7 +20466,7 @@ var require_cache2 = __commonJS(function(exports, module) {
20465
20466
  }
20466
20467
  return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler));
20467
20468
  }
20468
- function sendCachedValue(handler, opts, result, age, context, isStale2) {
20469
+ function sendCachedValue(handler, opts, result, age, context, isStale) {
20469
20470
  const stream = util.isStream(result.body) ? result.body : Readable.from(result.body ?? []);
20470
20471
  assert(!stream.destroyed, "stream should not be destroyed");
20471
20472
  assert(!stream.readableDidRead, "stream should not be readableDidRead");
@@ -20516,7 +20517,7 @@ var require_cache2 = __commonJS(function(exports, module) {
20516
20517
  return;
20517
20518
  }
20518
20519
  const headers = { ...result.headers, age: String(age) };
20519
- if (isStale2) {
20520
+ if (isStale) {
20520
20521
  headers.warning = '110 - "response is stale"';
20521
20522
  }
20522
20523
  controller.rawHeaders = util.toRawHeaders(headers);
@@ -20555,10 +20556,10 @@ var require_cache2 = __commonJS(function(exports, module) {
20555
20556
  if (!revalidate && withinStaleWhileRevalidateWindow(result, globalOpts.type)) {
20556
20557
  sendCachedValue(handler, opts, result, age, null, true);
20557
20558
  queueMicrotask(() => {
20558
- const headers2 = makeRevalidationHeaders(opts, result);
20559
+ const headers = makeRevalidationHeaders(opts, result);
20559
20560
  dispatch({
20560
20561
  ...opts,
20561
- headers: headers2
20562
+ headers
20562
20563
  }, new CacheHandler(globalOpts, cacheKey, {
20563
20564
  onRequestStart() {},
20564
20565
  onRequestUpgrade() {},
@@ -20581,19 +20582,19 @@ var require_cache2 = __commonJS(function(exports, module) {
20581
20582
  return dispatch({
20582
20583
  ...opts,
20583
20584
  headers
20584
- }, new CacheRevalidationHandler((success, context, statusCode, headers2) => {
20585
+ }, new CacheRevalidationHandler((success, context, statusCode, headers) => {
20585
20586
  if (success) {
20586
20587
  if (statusCode === 304) {
20587
- if (revalidationResponseDisallowsCachedReuse(globalOpts.type, headers2)) {
20588
+ if (revalidationResponseDisallowsCachedReuse(globalOpts.type, headers)) {
20588
20589
  if (util.isStream(result.body)) {
20589
20590
  result.body.on("error", nop).destroy();
20590
20591
  }
20591
20592
  deleteCachedValue(globalOpts.store, cacheKey);
20592
20593
  return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler));
20593
20594
  }
20594
- if (revalidationResponseUpdatesCacheControl(headers2)) {
20595
+ if (revalidationResponseUpdatesCacheControl(headers)) {
20595
20596
  deleteCachedValue(globalOpts.store, cacheKey);
20596
- } else if (revalidationResponseAddsVary(result, headers2.vary ? parseVaryHeader(headers2.vary, opts.headers) : undefined)) {
20597
+ } else if (revalidationResponseAddsVary(result, headers.vary ? parseVaryHeader(headers.vary, opts.headers) : undefined)) {
20597
20598
  if (util.isStream(result.body)) {
20598
20599
  result.body.on("error", nop).destroy();
20599
20600
  }
@@ -20646,10 +20647,10 @@ var require_cache2 = __commonJS(function(exports, module) {
20646
20647
  }
20647
20648
  }
20648
20649
  return (dispatch, interceptorOrigin) => {
20649
- return (opts2, handler) => {
20650
- const requestOrigin = getInterceptorOrigin(opts2, interceptorOrigin);
20651
- if (!requestOrigin || arrayIncludes(safeMethodsToNotCache, opts2.method)) {
20652
- return dispatch(opts2, handler);
20650
+ return (opts, handler) => {
20651
+ const requestOrigin = getInterceptorOrigin(opts, interceptorOrigin);
20652
+ if (!requestOrigin || arrayIncludes(safeMethodsToNotCache, opts.method)) {
20653
+ return dispatch(opts, handler);
20653
20654
  }
20654
20655
  if (origins !== undefined) {
20655
20656
  const normalizedRequestOrigin = requestOrigin.toString().toLowerCase();
@@ -20667,26 +20668,26 @@ var require_cache2 = __commonJS(function(exports, module) {
20667
20668
  }
20668
20669
  }
20669
20670
  if (!isAllowed) {
20670
- return dispatch(opts2, handler);
20671
+ return dispatch(opts, handler);
20671
20672
  }
20672
20673
  }
20673
- opts2 = {
20674
- ...opts2,
20675
- headers: normalizeHeaders(opts2)
20674
+ opts = {
20675
+ ...opts,
20676
+ headers: normalizeHeaders(opts)
20676
20677
  };
20677
- const reqCacheControl = opts2.headers?.["cache-control"] ? parseCacheControlHeader(opts2.headers["cache-control"]) : hasPragmaNoCache(opts2.headers) ? { "no-cache": true } : undefined;
20678
+ const reqCacheControl = opts.headers?.["cache-control"] ? parseCacheControlHeader(opts.headers["cache-control"]) : hasPragmaNoCache(opts.headers) ? { "no-cache": true } : undefined;
20678
20679
  if (reqCacheControl?.["no-store"]) {
20679
- return dispatch(opts2, handler);
20680
+ return dispatch(opts, handler);
20680
20681
  }
20681
- const cacheKey = makeCacheKey(opts2, requestOrigin);
20682
- if (!arrayIncludes(util.safeHTTPMethods, opts2.method)) {
20683
- return dispatch(opts2, new CacheHandler(globalOpts, cacheKey, handler));
20682
+ const cacheKey = makeCacheKey(opts, requestOrigin);
20683
+ if (!arrayIncludes(util.safeHTTPMethods, opts.method)) {
20684
+ return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler));
20684
20685
  }
20685
20686
  const result = store.get(cacheKey);
20686
20687
  if (result && typeof result.then === "function") {
20687
- return result.then((result2) => handleResult(dispatch, globalOpts, cacheKey, handler, opts2, reqCacheControl, result2));
20688
+ return result.then((result) => handleResult(dispatch, globalOpts, cacheKey, handler, opts, reqCacheControl, result));
20688
20689
  } else {
20689
- return handleResult(dispatch, globalOpts, cacheKey, handler, opts2, reqCacheControl, result);
20690
+ return handleResult(dispatch, globalOpts, cacheKey, handler, opts, reqCacheControl, result);
20690
20691
  }
20691
20692
  };
20692
20693
  };
@@ -21417,30 +21418,30 @@ var require_deduplicate = __commonJS(function(exports, module) {
21417
21418
  const excludeHeaderNamesSet = new Set(excludeHeaderNames.map((name) => name.toLowerCase()));
21418
21419
  const pendingRequests = new Map;
21419
21420
  return (dispatch, interceptorOrigin) => {
21420
- return (opts2, handler) => {
21421
- const requestOrigin = getInterceptorOrigin(opts2, interceptorOrigin);
21422
- if (!requestOrigin || opts2.upgrade || methods.includes(opts2.method) === false) {
21423
- return dispatch(opts2, handler);
21424
- }
21425
- opts2 = {
21426
- ...opts2,
21427
- headers: normalizeHeaders(opts2)
21421
+ return (opts, handler) => {
21422
+ const requestOrigin = getInterceptorOrigin(opts, interceptorOrigin);
21423
+ if (!requestOrigin || opts.upgrade || methods.includes(opts.method) === false) {
21424
+ return dispatch(opts, handler);
21425
+ }
21426
+ opts = {
21427
+ ...opts,
21428
+ headers: normalizeHeaders(opts)
21428
21429
  };
21429
21430
  if (skipHeaderNamesSet.size > 0) {
21430
- for (const headerName of Object.keys(opts2.headers)) {
21431
+ for (const headerName of Object.keys(opts.headers)) {
21431
21432
  if (skipHeaderNamesSet.has(headerName.toLowerCase())) {
21432
- return dispatch(opts2, handler);
21433
+ return dispatch(opts, handler);
21433
21434
  }
21434
21435
  }
21435
21436
  }
21436
- const cacheKey = makeCacheKey(opts2, requestOrigin);
21437
+ const cacheKey = makeCacheKey(opts, requestOrigin);
21437
21438
  const dedupeKey = makeDeduplicationKey(cacheKey, excludeHeaderNamesSet);
21438
21439
  const pendingHandler = pendingRequests.get(dedupeKey);
21439
21440
  if (pendingHandler) {
21440
21441
  if (pendingHandler.addWaitingHandler(handler)) {
21441
21442
  return true;
21442
21443
  }
21443
- return dispatch(opts2, handler);
21444
+ return dispatch(opts, handler);
21444
21445
  }
21445
21446
  const deduplicationHandler = new DeduplicationHandler(handler, () => {
21446
21447
  pendingRequests.delete(dedupeKey);
@@ -21452,7 +21453,7 @@ var require_deduplicate = __commonJS(function(exports, module) {
21452
21453
  if (pendingRequestsChannel.hasSubscribers) {
21453
21454
  pendingRequestsChannel.publish({ size: pendingRequests.size, key: dedupeKey, type: "added" });
21454
21455
  }
21455
- return dispatch(opts2, deduplicationHandler);
21456
+ return dispatch(opts, deduplicationHandler);
21456
21457
  };
21457
21458
  };
21458
21459
  };
@@ -23297,11 +23298,11 @@ var require_subresource_integrity = __commonJS(function(exports, module) {
23297
23298
  if (algorithmAndValue[1]) {
23298
23299
  base64Value = algorithmAndValue[1];
23299
23300
  }
23300
- const metadata2 = {
23301
+ const metadata = {
23301
23302
  alg: asciiLowercase(algorithm),
23302
23303
  val: base64Value
23303
23304
  };
23304
- result.push(metadata2);
23305
+ result.push(metadata);
23305
23306
  }
23306
23307
  return result;
23307
23308
  }
@@ -24278,13 +24279,13 @@ var require_fetch = __commonJS(function(exports, module) {
24278
24279
  const path = url.pathname + url.search;
24279
24280
  const hasTrailingQuestionMark = url.search.length === 0 && url.href[url.href.length - url.hash.length - 1] === "?";
24280
24281
  return dispatchWithProtocolPreference(body);
24281
- function dispatchWithProtocolPreference(body2, allowH2) {
24282
+ function dispatchWithProtocolPreference(body, allowH2) {
24282
24283
  return new Promise((resolve, reject) => agent.dispatch({
24283
24284
  path: hasTrailingQuestionMark ? `${path}?` : path,
24284
24285
  origin: url.origin,
24285
24286
  method: request.method,
24286
- body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body2,
24287
- __mockAgentBodyForDispatch: body2,
24287
+ body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body,
24288
+ __mockAgentBodyForDispatch: body,
24288
24289
  headers: request.headersList.entries,
24289
24290
  maxRedirections: 0,
24290
24291
  upgrade: request.mode === "websocket" ? "websocket" : undefined,
@@ -24391,7 +24392,7 @@ var require_fetch = __commonJS(function(exports, module) {
24391
24392
  fetchParams.controller.off("terminated", this.abort);
24392
24393
  }
24393
24394
  if (request.mode === "websocket" && allowH2 !== false && error?.code === "UND_ERR_INFO" && error?.message === "HTTP/2: Extended CONNECT protocol not supported by server") {
24394
- resolve(dispatchWithProtocolPreference(body2, false));
24395
+ resolve(dispatchWithProtocolPreference(body, false));
24395
24396
  return;
24396
24397
  }
24397
24398
  this.body?.destroy(error);
@@ -24758,8 +24759,8 @@ var require_cache3 = __commonJS(function(exports, module) {
24758
24759
  }
24759
24760
  queueMicrotask(() => {
24760
24761
  const requestList = [];
24761
- for (const request2 of requests) {
24762
- const requestObject = fromInnerRequest(request2, undefined, new AbortController().signal, "immutable");
24762
+ for (const request of requests) {
24763
+ const requestObject = fromInnerRequest(request, undefined, new AbortController().signal, "immutable");
24763
24764
  requestList.push(requestObject);
24764
24765
  }
24765
24766
  promise.resolve(Object.freeze(requestList));
@@ -25013,8 +25014,8 @@ var require_cachestorage = __commonJS(function(exports, module) {
25013
25014
  webidl.argumentLengthCheck(arguments, 1, prefix);
25014
25015
  cacheName = webidl.converters.DOMString(cacheName, prefix, "cacheName");
25015
25016
  if (this.#caches.has(cacheName)) {
25016
- const cache2 = this.#caches.get(cacheName);
25017
- return new Cache(kConstruct, cache2);
25017
+ const cache = this.#caches.get(cacheName);
25018
+ return new Cache(kConstruct, cache);
25018
25019
  }
25019
25020
  const cache = [];
25020
25021
  this.#caches.set(cacheName, cache);
@@ -26024,33 +26025,33 @@ var require_frame = __commonJS(function(exports, module) {
26024
26025
  offset += 2;
26025
26026
  payloadLength = 126;
26026
26027
  }
26027
- const buffer2 = Buffer.allocUnsafe(bodyLength + offset);
26028
- buffer2[0] = buffer2[1] = 0;
26029
- buffer2[0] |= 128;
26030
- buffer2[0] = (buffer2[0] & 240) + opcode;
26028
+ const buffer = Buffer.allocUnsafe(bodyLength + offset);
26029
+ buffer[0] = buffer[1] = 0;
26030
+ buffer[0] |= 128;
26031
+ buffer[0] = (buffer[0] & 240) + opcode;
26031
26032
  /*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */
26032
- buffer2[offset - 4] = maskKey[0];
26033
- buffer2[offset - 3] = maskKey[1];
26034
- buffer2[offset - 2] = maskKey[2];
26035
- buffer2[offset - 1] = maskKey[3];
26036
- buffer2[1] = payloadLength;
26033
+ buffer[offset - 4] = maskKey[0];
26034
+ buffer[offset - 3] = maskKey[1];
26035
+ buffer[offset - 2] = maskKey[2];
26036
+ buffer[offset - 1] = maskKey[3];
26037
+ buffer[1] = payloadLength;
26037
26038
  if (payloadLength === 126) {
26038
- buffer2.writeUInt16BE(bodyLength, 2);
26039
+ buffer.writeUInt16BE(bodyLength, 2);
26039
26040
  } else if (payloadLength === 127) {
26040
- buffer2[2] = buffer2[3] = 0;
26041
- buffer2.writeUIntBE(bodyLength, 4, 6);
26041
+ buffer[2] = buffer[3] = 0;
26042
+ buffer.writeUIntBE(bodyLength, 4, 6);
26042
26043
  }
26043
- buffer2[1] |= 128;
26044
+ buffer[1] |= 128;
26044
26045
  for (let i = 0;i < bodyLength; ++i) {
26045
- buffer2[offset + i] = frameData[i] ^ maskKey[i & 3];
26046
+ buffer[offset + i] = frameData[i] ^ maskKey[i & 3];
26046
26047
  }
26047
- return buffer2;
26048
+ return buffer;
26048
26049
  }
26049
- static createFastTextFrame(buffer2) {
26050
+ static createFastTextFrame(buffer) {
26050
26051
  const maskKey = generateMask();
26051
- const bodyLength = buffer2.length;
26052
+ const bodyLength = buffer.length;
26052
26053
  for (let i = 0;i < bodyLength; ++i) {
26053
- buffer2[i] ^= maskKey[i & 3];
26054
+ buffer[i] ^= maskKey[i & 3];
26054
26055
  }
26055
26056
  let payloadLength = bodyLength;
26056
26057
  let offset = 6;
@@ -26074,7 +26075,7 @@ var require_frame = __commonJS(function(exports, module) {
26074
26075
  head[2] = head[3] = 0;
26075
26076
  head.writeUIntBE(bodyLength, 4, 6);
26076
26077
  }
26077
- return [head, buffer2];
26078
+ return [head, buffer];
26078
26079
  }
26079
26080
  }
26080
26081
  module.exports = {
@@ -26624,12 +26625,12 @@ var require_receiver = __commonJS(function(exports, module) {
26624
26625
  return false;
26625
26626
  }
26626
26627
  if (!this.#handler.closeState.has(sentCloseFrameState.SENT) && !this.#handler.closeState.has(sentCloseFrameState.RECEIVED)) {
26627
- let body2 = emptyBuffer;
26628
+ let body = emptyBuffer;
26628
26629
  if (this.#info.closeInfo.code) {
26629
- body2 = Buffer.allocUnsafe(2);
26630
- body2.writeUInt16BE(this.#info.closeInfo.code, 0);
26630
+ body = Buffer.allocUnsafe(2);
26631
+ body.writeUInt16BE(this.#info.closeInfo.code, 0);
26631
26632
  }
26632
- const closeFrame = new WebsocketFrameSend(body2);
26633
+ const closeFrame = new WebsocketFrameSend(body);
26633
26634
  this.#handler.socket.write(closeFrame.createFrame(opcodes.CLOSE));
26634
26635
  this.#handler.closeState.add(sentCloseFrameState.SENT);
26635
26636
  }
@@ -26682,12 +26683,12 @@ var require_sender = __commonJS(function(exports, module) {
26682
26683
  this.#socket.write(createFrame(item, hint), cb);
26683
26684
  }
26684
26685
  } else {
26685
- const node2 = {
26686
+ const node = {
26686
26687
  promise: null,
26687
26688
  callback: cb,
26688
26689
  frame: createFrame(item, hint)
26689
26690
  };
26690
- this.#queue.push(node2);
26691
+ this.#queue.push(node);
26691
26692
  }
26692
26693
  return;
26693
26694
  }
@@ -27625,20 +27626,20 @@ var require_eventsource_stream = __commonJS(function(exports, module) {
27625
27626
  var minParserItems = 1024;
27626
27627
  var maxParserItems = 131072;
27627
27628
  var bytesPerParserItem = 128;
27628
- function isASCIINumberBytes(buffer2, start) {
27629
- if (start >= buffer2.length) {
27629
+ function isASCIINumberBytes(buffer, start) {
27630
+ if (start >= buffer.length) {
27630
27631
  return false;
27631
27632
  }
27632
- for (let i = start;i < buffer2.length; i++) {
27633
- if (buffer2[i] < 48 || buffer2[i] > 57) {
27633
+ for (let i = start;i < buffer.length; i++) {
27634
+ if (buffer[i] < 48 || buffer[i] > 57) {
27634
27635
  return false;
27635
27636
  }
27636
27637
  }
27637
27638
  return true;
27638
27639
  }
27639
- function isValidLastEventIdBytes(buffer2, start) {
27640
- for (let i = start;i < buffer2.length; i++) {
27641
- if (buffer2[i] === 0) {
27640
+ function isValidLastEventIdBytes(buffer, start) {
27641
+ for (let i = start;i < buffer.length; i++) {
27642
+ if (buffer[i] === 0) {
27642
27643
  return false;
27643
27644
  }
27644
27645
  }
@@ -28270,6 +28271,126 @@ var require_eventsource = __commonJS(function(exports, module) {
28270
28271
  });
28271
28272
 
28272
28273
  // ../../node_modules/undici/index.js
28274
+ var exports_undici = {};
28275
+ __exportCjs(exports_undici, {
28276
+ Dispatcher: () => $Dispatcher,
28277
+ Client: () => $Client,
28278
+ Pool: () => $Pool,
28279
+ BalancedPool: () => $BalancedPool,
28280
+ RoundRobinPool: () => $RoundRobinPool,
28281
+ Agent: () => $Agent,
28282
+ Dispatcher1Wrapper: () => $Dispatcher1Wrapper,
28283
+ ProxyAgent: () => $ProxyAgent,
28284
+ Socks5ProxyAgent: () => $Socks5ProxyAgent,
28285
+ EnvHttpProxyAgent: () => $EnvHttpProxyAgent,
28286
+ RetryAgent: () => $RetryAgent,
28287
+ H2CClient: () => $H2CClient,
28288
+ RetryHandler: () => $RetryHandler,
28289
+ DecoratorHandler: () => $DecoratorHandler,
28290
+ RedirectHandler: () => $RedirectHandler,
28291
+ interceptors: () => $interceptors,
28292
+ cacheStores: () => $cacheStores,
28293
+ buildConnector: () => $buildConnector,
28294
+ errors: () => $errors,
28295
+ util: () => $util,
28296
+ setGlobalDispatcher: () => $setGlobalDispatcher,
28297
+ getGlobalDispatcher: () => $getGlobalDispatcher,
28298
+ fetch: () => $fetch,
28299
+ Headers: () => $Headers,
28300
+ Response: () => $Response,
28301
+ Request: () => $Request,
28302
+ FormData: () => $FormData,
28303
+ setGlobalOrigin: () => $setGlobalOrigin,
28304
+ getGlobalOrigin: () => $getGlobalOrigin,
28305
+ caches: () => $caches,
28306
+ deleteCookie: () => $deleteCookie,
28307
+ getCookies: () => $getCookies,
28308
+ getSetCookies: () => $getSetCookies,
28309
+ setCookie: () => $setCookie,
28310
+ parseCookie: () => $parseCookie,
28311
+ parseMIMEType: () => $parseMIMEType,
28312
+ serializeAMimeType: () => $serializeAMimeType,
28313
+ WebSocket: () => $WebSocket,
28314
+ CloseEvent: () => $CloseEvent,
28315
+ ErrorEvent: () => $ErrorEvent,
28316
+ MessageEvent: () => $MessageEvent,
28317
+ ping: () => $ping,
28318
+ WebSocketStream: () => $WebSocketStream,
28319
+ WebSocketError: () => $WebSocketError,
28320
+ request: () => $request,
28321
+ stream: () => $stream,
28322
+ pipeline: () => $pipeline,
28323
+ connect: () => $connect,
28324
+ upgrade: () => $upgrade,
28325
+ MockClient: () => $MockClient,
28326
+ MockCallHistory: () => $MockCallHistory,
28327
+ MockCallHistoryLog: () => $MockCallHistoryLog,
28328
+ MockPool: () => $MockPool,
28329
+ MockAgent: () => $MockAgent,
28330
+ SnapshotAgent: () => $SnapshotAgent,
28331
+ mockErrors: () => $mockErrors,
28332
+ EventSource: () => $EventSource,
28333
+ install: () => $install
28334
+ }, {
28335
+ Dispatcher: (value) => $Dispatcher = value,
28336
+ Client: (value) => $Client = value,
28337
+ Pool: (value) => $Pool = value,
28338
+ BalancedPool: (value) => $BalancedPool = value,
28339
+ RoundRobinPool: (value) => $RoundRobinPool = value,
28340
+ Agent: (value) => $Agent = value,
28341
+ Dispatcher1Wrapper: (value) => $Dispatcher1Wrapper = value,
28342
+ ProxyAgent: (value) => $ProxyAgent = value,
28343
+ Socks5ProxyAgent: (value) => $Socks5ProxyAgent = value,
28344
+ EnvHttpProxyAgent: (value) => $EnvHttpProxyAgent = value,
28345
+ RetryAgent: (value) => $RetryAgent = value,
28346
+ H2CClient: (value) => $H2CClient = value,
28347
+ RetryHandler: (value) => $RetryHandler = value,
28348
+ DecoratorHandler: (value) => $DecoratorHandler = value,
28349
+ RedirectHandler: (value) => $RedirectHandler = value,
28350
+ interceptors: (value) => $interceptors = value,
28351
+ cacheStores: (value) => $cacheStores = value,
28352
+ buildConnector: (value) => $buildConnector = value,
28353
+ errors: (value) => $errors = value,
28354
+ util: (value) => $util = value,
28355
+ setGlobalDispatcher: (value) => $setGlobalDispatcher = value,
28356
+ getGlobalDispatcher: (value) => $getGlobalDispatcher = value,
28357
+ fetch: (value) => $fetch = value,
28358
+ Headers: (value) => $Headers = value,
28359
+ Response: (value) => $Response = value,
28360
+ Request: (value) => $Request = value,
28361
+ FormData: (value) => $FormData = value,
28362
+ setGlobalOrigin: (value) => $setGlobalOrigin = value,
28363
+ getGlobalOrigin: (value) => $getGlobalOrigin = value,
28364
+ caches: (value) => $caches = value,
28365
+ deleteCookie: (value) => $deleteCookie = value,
28366
+ getCookies: (value) => $getCookies = value,
28367
+ getSetCookies: (value) => $getSetCookies = value,
28368
+ setCookie: (value) => $setCookie = value,
28369
+ parseCookie: (value) => $parseCookie = value,
28370
+ parseMIMEType: (value) => $parseMIMEType = value,
28371
+ serializeAMimeType: (value) => $serializeAMimeType = value,
28372
+ WebSocket: (value) => $WebSocket = value,
28373
+ CloseEvent: (value) => $CloseEvent = value,
28374
+ ErrorEvent: (value) => $ErrorEvent = value,
28375
+ MessageEvent: (value) => $MessageEvent = value,
28376
+ ping: (value) => $ping = value,
28377
+ WebSocketStream: (value) => $WebSocketStream = value,
28378
+ WebSocketError: (value) => $WebSocketError = value,
28379
+ request: (value) => $request = value,
28380
+ stream: (value) => $stream = value,
28381
+ pipeline: (value) => $pipeline = value,
28382
+ connect: (value) => $connect = value,
28383
+ upgrade: (value) => $upgrade = value,
28384
+ MockClient: (value) => $MockClient = value,
28385
+ MockCallHistory: (value) => $MockCallHistory = value,
28386
+ MockCallHistoryLog: (value) => $MockCallHistoryLog = value,
28387
+ MockPool: (value) => $MockPool = value,
28388
+ MockAgent: (value) => $MockAgent = value,
28389
+ SnapshotAgent: (value) => $SnapshotAgent = value,
28390
+ mockErrors: (value) => $mockErrors = value,
28391
+ EventSource: (value) => $EventSource = value,
28392
+ install: (value) => $install = value
28393
+ });
28273
28394
  var __filename = "/home/runner/work/cli/cli/node_modules/undici/index.js";
28274
28395
  var Client = require_client();
28275
28396
  var Dispatcher = require_dispatcher();
@@ -28464,240 +28585,65 @@ function install() {
28464
28585
  }
28465
28586
  var $install = install;
28466
28587
  export {
28467
- $Agent as Agent,
28468
- $BalancedPool as BalancedPool,
28469
- $Client as Client,
28470
- $CloseEvent as CloseEvent,
28471
- $DecoratorHandler as DecoratorHandler,
28472
28588
  $Dispatcher as Dispatcher,
28473
- $Dispatcher1Wrapper as Dispatcher1Wrapper,
28474
- $EnvHttpProxyAgent as EnvHttpProxyAgent,
28475
- $ErrorEvent as ErrorEvent,
28476
- $EventSource as EventSource,
28477
- $FormData as FormData,
28478
- $H2CClient as H2CClient,
28479
- $Headers as Headers,
28480
- $MessageEvent as MessageEvent,
28481
- $MockAgent as MockAgent,
28482
- $MockCallHistory as MockCallHistory,
28483
- $MockCallHistoryLog as MockCallHistoryLog,
28484
- $MockClient as MockClient,
28485
- $MockPool as MockPool,
28589
+ $Client as Client,
28486
28590
  $Pool as Pool,
28591
+ $BalancedPool as BalancedPool,
28592
+ $RoundRobinPool as RoundRobinPool,
28593
+ $Agent as Agent,
28594
+ $Dispatcher1Wrapper as Dispatcher1Wrapper,
28487
28595
  $ProxyAgent as ProxyAgent,
28488
- $RedirectHandler as RedirectHandler,
28489
- $Request as Request,
28490
- $Response as Response,
28596
+ $Socks5ProxyAgent as Socks5ProxyAgent,
28597
+ $EnvHttpProxyAgent as EnvHttpProxyAgent,
28491
28598
  $RetryAgent as RetryAgent,
28599
+ $H2CClient as H2CClient,
28492
28600
  $RetryHandler as RetryHandler,
28493
- $RoundRobinPool as RoundRobinPool,
28494
- $SnapshotAgent as SnapshotAgent,
28495
- $Socks5ProxyAgent as Socks5ProxyAgent,
28496
- $WebSocket as WebSocket,
28497
- $WebSocketError as WebSocketError,
28498
- $WebSocketStream as WebSocketStream,
28499
- $buildConnector as buildConnector,
28601
+ $DecoratorHandler as DecoratorHandler,
28602
+ $RedirectHandler as RedirectHandler,
28603
+ $interceptors as interceptors,
28500
28604
  $cacheStores as cacheStores,
28501
- $caches as caches,
28502
- $connect as connect,
28503
- $deleteCookie as deleteCookie,
28605
+ $buildConnector as buildConnector,
28504
28606
  $errors as errors,
28505
- $fetch as fetch,
28506
- $getCookies as getCookies,
28607
+ $util as util,
28608
+ $setGlobalDispatcher as setGlobalDispatcher,
28507
28609
  $getGlobalDispatcher as getGlobalDispatcher,
28610
+ $fetch as fetch,
28611
+ $Headers as Headers,
28612
+ $Response as Response,
28613
+ $Request as Request,
28614
+ $FormData as FormData,
28615
+ $setGlobalOrigin as setGlobalOrigin,
28508
28616
  $getGlobalOrigin as getGlobalOrigin,
28617
+ $caches as caches,
28618
+ $deleteCookie as deleteCookie,
28619
+ $getCookies as getCookies,
28509
28620
  $getSetCookies as getSetCookies,
28510
- $install as install,
28511
- $interceptors as interceptors,
28512
- $mockErrors as mockErrors,
28621
+ $setCookie as setCookie,
28513
28622
  $parseCookie as parseCookie,
28514
28623
  $parseMIMEType as parseMIMEType,
28624
+ $serializeAMimeType as serializeAMimeType,
28625
+ $WebSocket as WebSocket,
28626
+ $CloseEvent as CloseEvent,
28627
+ $ErrorEvent as ErrorEvent,
28628
+ $MessageEvent as MessageEvent,
28515
28629
  $ping as ping,
28516
- $pipeline as pipeline,
28630
+ $WebSocketStream as WebSocketStream,
28631
+ $WebSocketError as WebSocketError,
28517
28632
  $request as request,
28518
- $serializeAMimeType as serializeAMimeType,
28519
- $setCookie as setCookie,
28520
- $setGlobalDispatcher as setGlobalDispatcher,
28521
- $setGlobalOrigin as setGlobalOrigin,
28522
28633
  $stream as stream,
28634
+ $pipeline as pipeline,
28635
+ $connect as connect,
28523
28636
  $upgrade as upgrade,
28524
- $util as util
28525
- };
28526
- export default {
28527
- get Agent() {
28528
- return $Agent;
28529
- },
28530
- get BalancedPool() {
28531
- return $BalancedPool;
28532
- },
28533
- get Client() {
28534
- return $Client;
28535
- },
28536
- get CloseEvent() {
28537
- return $CloseEvent;
28538
- },
28539
- get DecoratorHandler() {
28540
- return $DecoratorHandler;
28541
- },
28542
- get Dispatcher() {
28543
- return $Dispatcher;
28544
- },
28545
- get Dispatcher1Wrapper() {
28546
- return $Dispatcher1Wrapper;
28547
- },
28548
- get EnvHttpProxyAgent() {
28549
- return $EnvHttpProxyAgent;
28550
- },
28551
- get ErrorEvent() {
28552
- return $ErrorEvent;
28553
- },
28554
- get EventSource() {
28555
- return $EventSource;
28556
- },
28557
- get FormData() {
28558
- return $FormData;
28559
- },
28560
- get H2CClient() {
28561
- return $H2CClient;
28562
- },
28563
- get Headers() {
28564
- return $Headers;
28565
- },
28566
- get MessageEvent() {
28567
- return $MessageEvent;
28568
- },
28569
- get MockAgent() {
28570
- return $MockAgent;
28571
- },
28572
- get MockCallHistory() {
28573
- return $MockCallHistory;
28574
- },
28575
- get MockCallHistoryLog() {
28576
- return $MockCallHistoryLog;
28577
- },
28578
- get MockClient() {
28579
- return $MockClient;
28580
- },
28581
- get MockPool() {
28582
- return $MockPool;
28583
- },
28584
- get Pool() {
28585
- return $Pool;
28586
- },
28587
- get ProxyAgent() {
28588
- return $ProxyAgent;
28589
- },
28590
- get RedirectHandler() {
28591
- return $RedirectHandler;
28592
- },
28593
- get Request() {
28594
- return $Request;
28595
- },
28596
- get Response() {
28597
- return $Response;
28598
- },
28599
- get RetryAgent() {
28600
- return $RetryAgent;
28601
- },
28602
- get RetryHandler() {
28603
- return $RetryHandler;
28604
- },
28605
- get RoundRobinPool() {
28606
- return $RoundRobinPool;
28607
- },
28608
- get SnapshotAgent() {
28609
- return $SnapshotAgent;
28610
- },
28611
- get Socks5ProxyAgent() {
28612
- return $Socks5ProxyAgent;
28613
- },
28614
- get WebSocket() {
28615
- return $WebSocket;
28616
- },
28617
- get WebSocketError() {
28618
- return $WebSocketError;
28619
- },
28620
- get WebSocketStream() {
28621
- return $WebSocketStream;
28622
- },
28623
- get buildConnector() {
28624
- return $buildConnector;
28625
- },
28626
- get cacheStores() {
28627
- return $cacheStores;
28628
- },
28629
- get caches() {
28630
- return $caches;
28631
- },
28632
- get connect() {
28633
- return $connect;
28634
- },
28635
- get deleteCookie() {
28636
- return $deleteCookie;
28637
- },
28638
- get errors() {
28639
- return $errors;
28640
- },
28641
- get fetch() {
28642
- return $fetch;
28643
- },
28644
- get getCookies() {
28645
- return $getCookies;
28646
- },
28647
- get getGlobalDispatcher() {
28648
- return $getGlobalDispatcher;
28649
- },
28650
- get getGlobalOrigin() {
28651
- return $getGlobalOrigin;
28652
- },
28653
- get getSetCookies() {
28654
- return $getSetCookies;
28655
- },
28656
- get install() {
28657
- return $install;
28658
- },
28659
- get interceptors() {
28660
- return $interceptors;
28661
- },
28662
- get mockErrors() {
28663
- return $mockErrors;
28664
- },
28665
- get parseCookie() {
28666
- return $parseCookie;
28667
- },
28668
- get parseMIMEType() {
28669
- return $parseMIMEType;
28670
- },
28671
- get ping() {
28672
- return $ping;
28673
- },
28674
- get pipeline() {
28675
- return $pipeline;
28676
- },
28677
- get request() {
28678
- return $request;
28679
- },
28680
- get serializeAMimeType() {
28681
- return $serializeAMimeType;
28682
- },
28683
- get setCookie() {
28684
- return $setCookie;
28685
- },
28686
- get setGlobalDispatcher() {
28687
- return $setGlobalDispatcher;
28688
- },
28689
- get setGlobalOrigin() {
28690
- return $setGlobalOrigin;
28691
- },
28692
- get stream() {
28693
- return $stream;
28694
- },
28695
- get upgrade() {
28696
- return $upgrade;
28697
- },
28698
- get util() {
28699
- return $util;
28700
- }
28637
+ $MockClient as MockClient,
28638
+ $MockCallHistory as MockCallHistory,
28639
+ $MockCallHistoryLog as MockCallHistoryLog,
28640
+ $MockPool as MockPool,
28641
+ $MockAgent as MockAgent,
28642
+ $SnapshotAgent as SnapshotAgent,
28643
+ $mockErrors as mockErrors,
28644
+ $EventSource as EventSource,
28645
+ $install as install
28701
28646
  };
28647
+ export default exports_undici;
28702
28648
 
28703
- //# debugId=C26DDB2F2B0B7A1364756E2164756E21
28649
+ //# debugId=D73D698B3CE7195B64756E2164756E21