@fern-api/fern-api-dev 4.65.2 → 4.65.3-2-gc801697ea62

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/cli.cjs +307 -117
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -16361,6 +16361,7 @@ var require_lib = __commonJS({
16361
16361
  // ../../commons/core-utils/lib/titleCase.js
16362
16362
  function titleCase(name2) {
16363
16363
  name2 = name2.replace(/([a-z])([A-Z])/g, "$1 $2");
16364
+ name2 = name2.replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2");
16364
16365
  name2 = name2.replace(/_/g, " ");
16365
16366
  name2 = name2.replace(/-/g, " ");
16366
16367
  const titleCased = (0, import_title.default)(name2, { special: SPECIAL_TOKENS });
@@ -232024,7 +232025,20 @@ var init_GraphQLConverter = __esm({
232024
232025
  } finally {
232025
232026
  this.processingTypes.delete(typeName);
232026
232027
  }
232027
- } else if (type8 instanceof GraphQLObjectType || type8 instanceof GraphQLInterfaceType) {
232028
+ } else if (type8 instanceof GraphQLInterfaceType) {
232029
+ this.processingTypes.add(typeName);
232030
+ try {
232031
+ this.types[typeId] = {
232032
+ name: this.getNamespacedTypeName(typeName),
232033
+ shape: this.convertInterfaceTypeDefinition(type8),
232034
+ displayName: void 0,
232035
+ description: type8.description ?? void 0,
232036
+ availability: void 0
232037
+ };
232038
+ } finally {
232039
+ this.processingTypes.delete(typeName);
232040
+ }
232041
+ } else if (type8 instanceof GraphQLObjectType) {
232028
232042
  this.processingTypes.add(typeName);
232029
232043
  try {
232030
232044
  this.types[typeId] = {
@@ -232294,16 +232308,60 @@ var init_GraphQLConverter = __esm({
232294
232308
  }
232295
232309
  convertObjectTypeDefinition(type8) {
232296
232310
  const fields = type8.getFields();
232297
- const properties7 = [];
232298
- for (const [fieldName, field5] of Object.entries(fields)) {
232299
- properties7.push({
232300
- key: FdrAPI_exports.PropertyKey(fieldName),
232301
- valueType: this.convertOutputType(field5.type),
232302
- description: field5.description ?? void 0,
232303
- availability: void 0,
232304
- propertyAccess: void 0
232305
- });
232311
+ const properties7 = Object.entries(fields).map(([fieldName, field5]) => ({
232312
+ key: FdrAPI_exports.PropertyKey(fieldName),
232313
+ valueType: this.convertOutputType(field5.type),
232314
+ description: field5.description ?? void 0,
232315
+ availability: void 0,
232316
+ propertyAccess: void 0
232317
+ }));
232318
+ const interfaces = type8.getInterfaces();
232319
+ const extendsIds = interfaces.filter((iface) => {
232320
+ if (!this.schema) {
232321
+ return true;
232322
+ }
232323
+ const implementations = this.schema.getPossibleTypes(iface);
232324
+ return implementations.length === 0;
232325
+ }).map((iface) => this.getNamespacedTypeId(iface.name));
232326
+ return {
232327
+ type: "object",
232328
+ extends: extendsIds,
232329
+ properties: properties7,
232330
+ extraProperties: void 0
232331
+ };
232332
+ }
232333
+ convertInterfaceTypeDefinition(type8) {
232334
+ if (!this.schema) {
232335
+ return this.convertInterfaceAsObject(type8);
232336
+ }
232337
+ const implementations = this.schema.getPossibleTypes(type8);
232338
+ if (implementations.length === 0) {
232339
+ return this.convertInterfaceAsObject(type8);
232306
232340
  }
232341
+ return {
232342
+ type: "undiscriminatedUnion",
232343
+ variants: implementations.map((impl) => ({
232344
+ typeName: impl.name,
232345
+ displayName: impl.name,
232346
+ type: {
232347
+ type: "id",
232348
+ value: this.getNamespacedTypeId(impl.name),
232349
+ default: void 0
232350
+ },
232351
+ description: impl.description ?? void 0,
232352
+ availability: void 0
232353
+ }))
232354
+ };
232355
+ }
232356
+ convertInterfaceAsObject(type8) {
232357
+ const fields = type8.getFields();
232358
+ const properties7 = Object.entries(fields).map(([fieldName, field5]) => ({
232359
+ key: FdrAPI_exports.PropertyKey(fieldName),
232360
+ valueType: this.convertOutputType(field5.type),
232361
+ description: field5.description ?? void 0,
232362
+ availability: void 0,
232363
+ propertyAccess: void 0
232364
+ }));
232307
232365
  return {
232308
232366
  type: "object",
232309
232367
  extends: [],
@@ -232313,16 +232371,13 @@ var init_GraphQLConverter = __esm({
232313
232371
  }
232314
232372
  convertInputObjectTypeDefinition(type8) {
232315
232373
  const fields = type8.getFields();
232316
- const properties7 = [];
232317
- for (const [fieldName, field5] of Object.entries(fields)) {
232318
- properties7.push({
232319
- key: FdrAPI_exports.PropertyKey(fieldName),
232320
- valueType: this.convertInputType(field5.type),
232321
- description: field5.description ?? void 0,
232322
- availability: void 0,
232323
- propertyAccess: void 0
232324
- });
232325
- }
232374
+ const properties7 = Object.entries(fields).map(([fieldName, field5]) => ({
232375
+ key: FdrAPI_exports.PropertyKey(fieldName),
232376
+ valueType: this.convertInputType(field5.type),
232377
+ description: field5.description ?? void 0,
232378
+ availability: void 0,
232379
+ propertyAccess: void 0
232380
+ }));
232326
232381
  return {
232327
232382
  type: "object",
232328
232383
  extends: [],
@@ -400783,7 +400838,7 @@ var require_proxy_from_env = __commonJS({
400783
400838
  "../../../node_modules/.pnpm/proxy-from-env@1.1.0/node_modules/proxy-from-env/index.js"(exports2) {
400784
400839
  "use strict";
400785
400840
  var parseUrl5 = require("url").parse;
400786
- var DEFAULT_PORTS2 = {
400841
+ var DEFAULT_PORTS3 = {
400787
400842
  ftp: 21,
400788
400843
  gopher: 70,
400789
400844
  http: 80,
@@ -400804,7 +400859,7 @@ var require_proxy_from_env = __commonJS({
400804
400859
  }
400805
400860
  proto3 = proto3.split(":", 1)[0];
400806
400861
  hostname4 = hostname4.replace(/:\d*$/, "");
400807
- port = parseInt(port) || DEFAULT_PORTS2[proto3] || 0;
400862
+ port = parseInt(port) || DEFAULT_PORTS3[proto3] || 0;
400808
400863
  if (!shouldProxy2(hostname4, port)) {
400809
400864
  return "";
400810
400865
  }
@@ -443527,7 +443582,7 @@ var require_util10 = __commonJS({
443527
443582
  return true;
443528
443583
  }
443529
443584
  var headerCharRegex = /[^\t\x20-\x7e\x80-\xff]/;
443530
- function isValidHeaderValue(characters) {
443585
+ function isValidHeaderValue2(characters) {
443531
443586
  return !headerCharRegex.test(characters);
443532
443587
  }
443533
443588
  function parseRangeHeader(range2) {
@@ -443617,7 +443672,7 @@ var require_util10 = __commonJS({
443617
443672
  buildURL: buildURL2,
443618
443673
  addAbortListener,
443619
443674
  isValidHTTPToken,
443620
- isValidHeaderValue,
443675
+ isValidHeaderValue: isValidHeaderValue2,
443621
443676
  isTokenCharCode,
443622
443677
  parseRangeHeader,
443623
443678
  normalizedMethodRecordsBase,
@@ -443828,7 +443883,7 @@ var require_request4 = __commonJS({
443828
443883
  var assert10 = require("assert");
443829
443884
  var {
443830
443885
  isValidHTTPToken,
443831
- isValidHeaderValue,
443886
+ isValidHeaderValue: isValidHeaderValue2,
443832
443887
  isStream: isStream3,
443833
443888
  destroy,
443834
443889
  isBuffer: isBuffer4,
@@ -443876,7 +443931,7 @@ var require_request4 = __commonJS({
443876
443931
  if (upgrade2 && typeof upgrade2 !== "string") {
443877
443932
  throw new InvalidArgumentError("upgrade must be a string");
443878
443933
  }
443879
- if (upgrade2 && !isValidHeaderValue(upgrade2)) {
443934
+ if (upgrade2 && !isValidHeaderValue2(upgrade2)) {
443880
443935
  throw new InvalidArgumentError("invalid upgrade header");
443881
443936
  }
443882
443937
  if (headersTimeout != null && (!Number.isFinite(headersTimeout) || headersTimeout < 0)) {
@@ -444089,7 +444144,7 @@ var require_request4 = __commonJS({
444089
444144
  const arr = [];
444090
444145
  for (let i11 = 0; i11 < val.length; i11++) {
444091
444146
  if (typeof val[i11] === "string") {
444092
- if (!isValidHeaderValue(val[i11])) {
444147
+ if (!isValidHeaderValue2(val[i11])) {
444093
444148
  throw new InvalidArgumentError(`invalid ${key2} header`);
444094
444149
  }
444095
444150
  arr.push(val[i11]);
@@ -444103,7 +444158,7 @@ var require_request4 = __commonJS({
444103
444158
  }
444104
444159
  val = arr;
444105
444160
  } else if (typeof val === "string") {
444106
- if (!isValidHeaderValue(val)) {
444161
+ if (!isValidHeaderValue2(val)) {
444107
444162
  throw new InvalidArgumentError(`invalid ${key2} header`);
444108
444163
  }
444109
444164
  } else if (val === null) {
@@ -446193,7 +446248,7 @@ var require_util11 = __commonJS({
446193
446248
  return null;
446194
446249
  }
446195
446250
  let location2 = response.headersList.get("location", true);
446196
- if (location2 !== null && isValidHeaderValue(location2)) {
446251
+ if (location2 !== null && isValidHeaderValue2(location2)) {
446197
446252
  if (!isValidEncodedURL(location2)) {
446198
446253
  location2 = normalizeBinaryStringToUtf8(location2);
446199
446254
  }
@@ -446242,7 +446297,7 @@ var require_util11 = __commonJS({
446242
446297
  return true;
446243
446298
  }
446244
446299
  var isValidHeaderName2 = isValidHTTPToken;
446245
- function isValidHeaderValue(potentialValue) {
446300
+ function isValidHeaderValue2(potentialValue) {
446246
446301
  return (potentialValue[0] === " " || potentialValue[0] === " " || potentialValue[potentialValue.length - 1] === " " || potentialValue[potentialValue.length - 1] === " " || potentialValue.includes("\n") || potentialValue.includes("\r") || potentialValue.includes("\0")) === false;
446247
446302
  }
446248
446303
  function setRequestReferrerPolicyOnRedirect(request7, actualResponse) {
@@ -447008,7 +447063,7 @@ var require_util11 = __commonJS({
447008
447063
  iteratorMixin,
447009
447064
  createIterator: createIterator2,
447010
447065
  isValidHeaderName: isValidHeaderName2,
447011
- isValidHeaderValue,
447066
+ isValidHeaderValue: isValidHeaderValue2,
447012
447067
  isErrorLike: isErrorLike3,
447013
447068
  fullyReadBody,
447014
447069
  bytesMatch,
@@ -450870,7 +450925,7 @@ var require_env_http_proxy_agent = __commonJS({
450870
450925
  var { kClose, kDestroy, kClosed, kDestroyed, kDispatch, kNoProxyAgent, kHttpProxyAgent, kHttpsProxyAgent } = require_symbols2();
450871
450926
  var ProxyAgent2 = require_proxy_agent();
450872
450927
  var Agent3 = require_agent();
450873
- var DEFAULT_PORTS2 = {
450928
+ var DEFAULT_PORTS3 = {
450874
450929
  "http:": 80,
450875
450930
  "https:": 443
450876
450931
  };
@@ -450930,7 +450985,7 @@ var require_env_http_proxy_agent = __commonJS({
450930
450985
  #getProxyAgentForUrl(url3) {
450931
450986
  let { protocol: protocol2, host: hostname4, port } = url3;
450932
450987
  hostname4 = hostname4.replace(/:\d*$/, "").toLowerCase();
450933
- port = Number.parseInt(port, 10) || DEFAULT_PORTS2[protocol2] || 0;
450988
+ port = Number.parseInt(port, 10) || DEFAULT_PORTS3[protocol2] || 0;
450934
450989
  if (!this.#shouldProxy(hostname4, port)) {
450935
450990
  return this[kNoProxyAgent];
450936
450991
  }
@@ -453827,7 +453882,7 @@ var require_headers3 = __commonJS({
453827
453882
  var {
453828
453883
  iteratorMixin,
453829
453884
  isValidHeaderName: isValidHeaderName2,
453830
- isValidHeaderValue
453885
+ isValidHeaderValue: isValidHeaderValue2
453831
453886
  } = require_util11();
453832
453887
  var { webidl } = require_webidl();
453833
453888
  var assert10 = require("assert");
@@ -453877,7 +453932,7 @@ var require_headers3 = __commonJS({
453877
453932
  value: name2,
453878
453933
  type: "header name"
453879
453934
  });
453880
- } else if (!isValidHeaderValue(value)) {
453935
+ } else if (!isValidHeaderValue2(value)) {
453881
453936
  throw webidl.errors.invalidArgument({
453882
453937
  prefix: "Headers.append",
453883
453938
  value,
@@ -454146,7 +454201,7 @@ var require_headers3 = __commonJS({
454146
454201
  value: name2,
454147
454202
  type: "header name"
454148
454203
  });
454149
- } else if (!isValidHeaderValue(value)) {
454204
+ } else if (!isValidHeaderValue2(value)) {
454150
454205
  throw webidl.errors.invalidArgument({
454151
454206
  prefix: prefix2,
454152
454207
  value,
@@ -564206,14 +564261,14 @@ function getReleaseVersion(version7) {
564206
564261
  // ../workspace/lazy-fern-workspace/lib/utils/loadDependency.js
564207
564262
  var import_fiddle_sdk3 = __toESM(require_fiddle_sdk(), 1);
564208
564263
 
564209
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js
564264
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/bind.js
564210
564265
  function bind2(fn5, thisArg) {
564211
564266
  return function wrap10() {
564212
564267
  return fn5.apply(thisArg, arguments);
564213
564268
  };
564214
564269
  }
564215
564270
 
564216
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js
564271
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/utils.js
564217
564272
  var { toString: toString6 } = Object.prototype;
564218
564273
  var { getPrototypeOf } = Object;
564219
564274
  var { iterator: iterator2, toStringTag } = Symbol;
@@ -564640,7 +564695,7 @@ var utils_default = {
564640
564695
  isIterable
564641
564696
  };
564642
564697
 
564643
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js
564698
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/AxiosError.js
564644
564699
  var AxiosError = class _AxiosError extends Error {
564645
564700
  static from(error50, code5, config5, request7, response, customProps) {
564646
564701
  const axiosError = new _AxiosError(error50.message, code5 || error50.code, config5, request7, response);
@@ -564715,11 +564770,11 @@ AxiosError.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
564715
564770
  AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
564716
564771
  var AxiosError_default = AxiosError;
564717
564772
 
564718
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/node/classes/FormData.js
564773
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/node/classes/FormData.js
564719
564774
  var import_form_data3 = __toESM(require_form_data(), 1);
564720
564775
  var FormData_default = import_form_data3.default;
564721
564776
 
564722
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js
564777
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/toFormData.js
564723
564778
  function isVisitable(thing) {
564724
564779
  return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
564725
564780
  }
@@ -564837,7 +564892,7 @@ function toFormData(obj, formData, options2) {
564837
564892
  }
564838
564893
  var toFormData_default = toFormData;
564839
564894
 
564840
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
564895
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
564841
564896
  function encode4(str3) {
564842
564897
  const charMap = {
564843
564898
  "!": "%21",
@@ -564870,7 +564925,7 @@ prototype.toString = function toString7(encoder) {
564870
564925
  };
564871
564926
  var AxiosURLSearchParams_default = AxiosURLSearchParams;
564872
564927
 
564873
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js
564928
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/buildURL.js
564874
564929
  function encode5(val) {
564875
564930
  return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
564876
564931
  }
@@ -564899,7 +564954,7 @@ function buildURL(url3, params2, options2) {
564899
564954
  return url3;
564900
564955
  }
564901
564956
 
564902
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js
564957
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/InterceptorManager.js
564903
564958
  var InterceptorManager = class {
564904
564959
  constructor() {
564905
564960
  this.handlers = [];
@@ -564964,7 +565019,7 @@ var InterceptorManager = class {
564964
565019
  };
564965
565020
  var InterceptorManager_default = InterceptorManager;
564966
565021
 
564967
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js
565022
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/defaults/transitional.js
564968
565023
  var transitional_default = {
564969
565024
  silentJSONParsing: true,
564970
565025
  forcedJSONParsing: true,
@@ -564972,14 +565027,14 @@ var transitional_default = {
564972
565027
  legacyInterceptorReqResOrdering: true
564973
565028
  };
564974
565029
 
564975
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/node/index.js
565030
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/node/index.js
564976
565031
  var import_crypto5 = __toESM(require("crypto"), 1);
564977
565032
 
564978
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
565033
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
564979
565034
  var import_url4 = __toESM(require("url"), 1);
564980
565035
  var URLSearchParams_default = import_url4.default.URLSearchParams;
564981
565036
 
564982
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/node/index.js
565037
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/node/index.js
564983
565038
  var ALPHA = "abcdefghijklmnopqrstuvwxyz";
564984
565039
  var DIGIT = "0123456789";
564985
565040
  var ALPHABET = {
@@ -565009,7 +565064,7 @@ var node_default2 = {
565009
565064
  protocols: ["http", "https", "file", "data"]
565010
565065
  };
565011
565066
 
565012
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js
565067
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/common/utils.js
565013
565068
  var utils_exports3 = {};
565014
565069
  __export(utils_exports3, {
565015
565070
  hasBrowserEnv: () => hasBrowserEnv,
@@ -565027,13 +565082,13 @@ var hasStandardBrowserWebWorkerEnv = (() => {
565027
565082
  })();
565028
565083
  var origin = hasBrowserEnv && window.location.href || "http://localhost";
565029
565084
 
565030
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js
565085
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/index.js
565031
565086
  var platform_default = {
565032
565087
  ...utils_exports3,
565033
565088
  ...node_default2
565034
565089
  };
565035
565090
 
565036
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js
565091
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/toURLEncodedForm.js
565037
565092
  function toURLEncodedForm(data2, options2) {
565038
565093
  return toFormData_default(data2, new platform_default.classes.URLSearchParams(), {
565039
565094
  visitor: function(value, key2, path98, helpers) {
@@ -565047,7 +565102,7 @@ function toURLEncodedForm(data2, options2) {
565047
565102
  });
565048
565103
  }
565049
565104
 
565050
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js
565105
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/formDataToJSON.js
565051
565106
  function parsePropPath(name2) {
565052
565107
  return utils_default.matchAll(/\w+|\[(\w*)]/g, name2).map((match3) => {
565053
565108
  return match3[0] === "[]" ? "" : match3[1] || match3[0];
@@ -565100,7 +565155,7 @@ function formDataToJSON(formData) {
565100
565155
  }
565101
565156
  var formDataToJSON_default = formDataToJSON;
565102
565157
 
565103
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js
565158
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/defaults/index.js
565104
565159
  function stringifySafely(rawValue, parser4, encoder) {
565105
565160
  if (utils_default.isString(rawValue)) {
565106
565161
  try {
@@ -565213,7 +565268,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
565213
565268
  });
565214
565269
  var defaults_default2 = defaults2;
565215
565270
 
565216
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js
565271
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/parseHeaders.js
565217
565272
  var ignoreDuplicateOf = utils_default.toObjectSet([
565218
565273
  "age",
565219
565274
  "authorization",
@@ -565258,16 +565313,40 @@ var parseHeaders_default = (rawHeaders) => {
565258
565313
  return parsed;
565259
565314
  };
565260
565315
 
565261
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js
565316
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/AxiosHeaders.js
565262
565317
  var $internals = /* @__PURE__ */ Symbol("internals");
565318
+ var isValidHeaderValue = (value) => !/[\r\n]/.test(value);
565319
+ function assertValidHeaderValue(value, header) {
565320
+ if (value === false || value == null) {
565321
+ return;
565322
+ }
565323
+ if (utils_default.isArray(value)) {
565324
+ value.forEach((v23) => assertValidHeaderValue(v23, header));
565325
+ return;
565326
+ }
565327
+ if (!isValidHeaderValue(String(value))) {
565328
+ throw new Error(`Invalid character in header content ["${header}"]`);
565329
+ }
565330
+ }
565263
565331
  function normalizeHeader(header) {
565264
565332
  return header && String(header).trim().toLowerCase();
565265
565333
  }
565334
+ function stripTrailingCRLF(str3) {
565335
+ let end = str3.length;
565336
+ while (end > 0) {
565337
+ const charCode = str3.charCodeAt(end - 1);
565338
+ if (charCode !== 10 && charCode !== 13) {
565339
+ break;
565340
+ }
565341
+ end -= 1;
565342
+ }
565343
+ return end === str3.length ? str3 : str3.slice(0, end);
565344
+ }
565266
565345
  function normalizeValue(value) {
565267
565346
  if (value === false || value == null) {
565268
565347
  return value;
565269
565348
  }
565270
- return utils_default.isArray(value) ? value.map(normalizeValue) : String(value).replace(/[\r\n]+$/, "");
565349
+ return utils_default.isArray(value) ? value.map(normalizeValue) : stripTrailingCRLF(String(value));
565271
565350
  }
565272
565351
  function parseTokens(str3) {
565273
565352
  const tokens = /* @__PURE__ */ Object.create(null);
@@ -565323,6 +565402,7 @@ var AxiosHeaders = class {
565323
565402
  }
565324
565403
  const key2 = utils_default.findKey(self2, lHeader);
565325
565404
  if (!key2 || self2[key2] === void 0 || _rewrite === true || _rewrite === void 0 && self2[key2] !== false) {
565405
+ assertValidHeaderValue(_value, _header);
565326
565406
  self2[key2 || _header] = normalizeValue(_value);
565327
565407
  }
565328
565408
  }
@@ -565494,7 +565574,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key2) => {
565494
565574
  utils_default.freezeMethods(AxiosHeaders);
565495
565575
  var AxiosHeaders_default = AxiosHeaders;
565496
565576
 
565497
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js
565577
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/transformData.js
565498
565578
  function transformData(fns, response) {
565499
565579
  const config5 = this || defaults_default2;
565500
565580
  const context3 = response || config5;
@@ -565507,12 +565587,12 @@ function transformData(fns, response) {
565507
565587
  return data2;
565508
565588
  }
565509
565589
 
565510
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js
565590
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/cancel/isCancel.js
565511
565591
  function isCancel(value) {
565512
565592
  return !!(value && value.__CANCEL__);
565513
565593
  }
565514
565594
 
565515
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js
565595
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/cancel/CanceledError.js
565516
565596
  var CanceledError = class extends AxiosError_default {
565517
565597
  /**
565518
565598
  * A `CanceledError` is an object that is thrown when an operation is canceled.
@@ -565531,7 +565611,7 @@ var CanceledError = class extends AxiosError_default {
565531
565611
  };
565532
565612
  var CanceledError_default = CanceledError;
565533
565613
 
565534
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js
565614
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/settle.js
565535
565615
  function settle(resolve13, reject, response) {
565536
565616
  const validateStatus2 = response.config.validateStatus;
565537
565617
  if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
@@ -565549,7 +565629,7 @@ function settle(resolve13, reject, response) {
565549
565629
  }
565550
565630
  }
565551
565631
 
565552
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js
565632
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/isAbsoluteURL.js
565553
565633
  function isAbsoluteURL(url3) {
565554
565634
  if (typeof url3 !== "string") {
565555
565635
  return false;
@@ -565557,12 +565637,12 @@ function isAbsoluteURL(url3) {
565557
565637
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url3);
565558
565638
  }
565559
565639
 
565560
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js
565640
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/combineURLs.js
565561
565641
  function combineURLs(baseURL, relativeURL) {
565562
565642
  return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
565563
565643
  }
565564
565644
 
565565
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js
565645
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/buildFullPath.js
565566
565646
  function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
565567
565647
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
565568
565648
  if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
@@ -565638,7 +565718,7 @@ function getEnv(key2) {
565638
565718
  return process.env[key2.toLowerCase()] || process.env[key2.toUpperCase()] || "";
565639
565719
  }
565640
565720
 
565641
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/http.js
565721
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/http.js
565642
565722
  var import_http2 = __toESM(require("http"), 1);
565643
565723
  var import_https2 = __toESM(require("https"), 1);
565644
565724
  var import_http22 = __toESM(require("http2"), 1);
@@ -565646,16 +565726,16 @@ var import_util12 = __toESM(require("util"), 1);
565646
565726
  var import_follow_redirects = __toESM(require_follow_redirects(), 1);
565647
565727
  var import_zlib2 = __toESM(require("zlib"), 1);
565648
565728
 
565649
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js
565650
- var VERSION17 = "1.14.0";
565729
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/env/data.js
565730
+ var VERSION17 = "1.15.0";
565651
565731
 
565652
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js
565732
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/parseProtocol.js
565653
565733
  function parseProtocol(url3) {
565654
565734
  const match3 = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url3);
565655
565735
  return match3 && match3[1] || "";
565656
565736
  }
565657
565737
 
565658
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/fromDataURI.js
565738
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/fromDataURI.js
565659
565739
  var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
565660
565740
  function fromDataURI(uri, asBlob, options2) {
565661
565741
  const _Blob = options2 && options2.Blob || platform_default.classes.Blob;
@@ -565684,10 +565764,10 @@ function fromDataURI(uri, asBlob, options2) {
565684
565764
  throw new AxiosError_default("Unsupported protocol " + protocol2, AxiosError_default.ERR_NOT_SUPPORT);
565685
565765
  }
565686
565766
 
565687
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/http.js
565767
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/http.js
565688
565768
  var import_stream6 = __toESM(require("stream"), 1);
565689
565769
 
565690
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosTransformStream.js
565770
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/AxiosTransformStream.js
565691
565771
  var import_stream3 = __toESM(require("stream"), 1);
565692
565772
  var kInternals = /* @__PURE__ */ Symbol("internals");
565693
565773
  var AxiosTransformStream = class extends import_stream3.default.Transform {
@@ -565810,14 +565890,14 @@ var AxiosTransformStream = class extends import_stream3.default.Transform {
565810
565890
  };
565811
565891
  var AxiosTransformStream_default = AxiosTransformStream;
565812
565892
 
565813
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/http.js
565893
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/http.js
565814
565894
  var import_events = require("events");
565815
565895
 
565816
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToStream.js
565896
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/formDataToStream.js
565817
565897
  var import_util11 = __toESM(require("util"), 1);
565818
565898
  var import_stream4 = require("stream");
565819
565899
 
565820
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/readBlob.js
565900
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/readBlob.js
565821
565901
  var { asyncIterator } = Symbol;
565822
565902
  var readBlob = async function* (blob) {
565823
565903
  if (blob.stream) {
@@ -565832,7 +565912,7 @@ var readBlob = async function* (blob) {
565832
565912
  };
565833
565913
  var readBlob_default = readBlob;
565834
565914
 
565835
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToStream.js
565915
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/formDataToStream.js
565836
565916
  var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
565837
565917
  var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util11.default.TextEncoder();
565838
565918
  var CRLF2 = "\r\n";
@@ -565916,7 +565996,7 @@ var formDataToStream = (form, headersHandler, options2) => {
565916
565996
  };
565917
565997
  var formDataToStream_default = formDataToStream;
565918
565998
 
565919
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
565999
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
565920
566000
  var import_stream5 = __toESM(require("stream"), 1);
565921
566001
  var ZlibHeaderTransformStream = class extends import_stream5.default.Transform {
565922
566002
  __transform(chunk2, encoding, callback) {
@@ -565938,7 +566018,7 @@ var ZlibHeaderTransformStream = class extends import_stream5.default.Transform {
565938
566018
  };
565939
566019
  var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
565940
566020
 
565941
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/callbackify.js
566021
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/callbackify.js
565942
566022
  var callbackify = (fn5, reducer2) => {
565943
566023
  return utils_default.isAsyncFn(fn5) ? function(...args) {
565944
566024
  const cb2 = args.pop();
@@ -565953,7 +566033,84 @@ var callbackify = (fn5, reducer2) => {
565953
566033
  };
565954
566034
  var callbackify_default = callbackify;
565955
566035
 
565956
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js
566036
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/shouldBypassProxy.js
566037
+ var DEFAULT_PORTS2 = {
566038
+ http: 80,
566039
+ https: 443,
566040
+ ws: 80,
566041
+ wss: 443,
566042
+ ftp: 21
566043
+ };
566044
+ var parseNoProxyEntry = (entry) => {
566045
+ let entryHost = entry;
566046
+ let entryPort = 0;
566047
+ if (entryHost.charAt(0) === "[") {
566048
+ const bracketIndex = entryHost.indexOf("]");
566049
+ if (bracketIndex !== -1) {
566050
+ const host = entryHost.slice(1, bracketIndex);
566051
+ const rest = entryHost.slice(bracketIndex + 1);
566052
+ if (rest.charAt(0) === ":" && /^\d+$/.test(rest.slice(1))) {
566053
+ entryPort = Number.parseInt(rest.slice(1), 10);
566054
+ }
566055
+ return [host, entryPort];
566056
+ }
566057
+ }
566058
+ const firstColon = entryHost.indexOf(":");
566059
+ const lastColon = entryHost.lastIndexOf(":");
566060
+ if (firstColon !== -1 && firstColon === lastColon && /^\d+$/.test(entryHost.slice(lastColon + 1))) {
566061
+ entryPort = Number.parseInt(entryHost.slice(lastColon + 1), 10);
566062
+ entryHost = entryHost.slice(0, lastColon);
566063
+ }
566064
+ return [entryHost, entryPort];
566065
+ };
566066
+ var normalizeNoProxyHost = (hostname4) => {
566067
+ if (!hostname4) {
566068
+ return hostname4;
566069
+ }
566070
+ if (hostname4.charAt(0) === "[" && hostname4.charAt(hostname4.length - 1) === "]") {
566071
+ hostname4 = hostname4.slice(1, -1);
566072
+ }
566073
+ return hostname4.replace(/\.+$/, "");
566074
+ };
566075
+ function shouldBypassProxy(location2) {
566076
+ let parsed;
566077
+ try {
566078
+ parsed = new URL(location2);
566079
+ } catch (_err) {
566080
+ return false;
566081
+ }
566082
+ const noProxy = (process.env.no_proxy || process.env.NO_PROXY || "").toLowerCase();
566083
+ if (!noProxy) {
566084
+ return false;
566085
+ }
566086
+ if (noProxy === "*") {
566087
+ return true;
566088
+ }
566089
+ const port = Number.parseInt(parsed.port, 10) || DEFAULT_PORTS2[parsed.protocol.split(":", 1)[0]] || 0;
566090
+ const hostname4 = normalizeNoProxyHost(parsed.hostname.toLowerCase());
566091
+ return noProxy.split(/[\s,]+/).some((entry) => {
566092
+ if (!entry) {
566093
+ return false;
566094
+ }
566095
+ let [entryHost, entryPort] = parseNoProxyEntry(entry);
566096
+ entryHost = normalizeNoProxyHost(entryHost);
566097
+ if (!entryHost) {
566098
+ return false;
566099
+ }
566100
+ if (entryPort && entryPort !== port) {
566101
+ return false;
566102
+ }
566103
+ if (entryHost.charAt(0) === "*") {
566104
+ entryHost = entryHost.slice(1);
566105
+ }
566106
+ if (entryHost.charAt(0) === ".") {
566107
+ return hostname4.endsWith(entryHost);
566108
+ }
566109
+ return hostname4 === entryHost;
566110
+ });
566111
+ }
566112
+
566113
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/speedometer.js
565957
566114
  function speedometer(samplesCount, min) {
565958
566115
  samplesCount = samplesCount || 10;
565959
566116
  const bytes = new Array(samplesCount);
@@ -565989,7 +566146,7 @@ function speedometer(samplesCount, min) {
565989
566146
  }
565990
566147
  var speedometer_default = speedometer;
565991
566148
 
565992
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js
566149
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/throttle.js
565993
566150
  function throttle(fn5, freq) {
565994
566151
  let timestamp2 = 0;
565995
566152
  let threshold = 1e3 / freq;
@@ -566024,7 +566181,7 @@ function throttle(fn5, freq) {
566024
566181
  }
566025
566182
  var throttle_default = throttle;
566026
566183
 
566027
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js
566184
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/progressEventReducer.js
566028
566185
  var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
566029
566186
  let bytesNotified = 0;
566030
566187
  const _speedometer = speedometer_default(50, 250);
@@ -566062,7 +566219,7 @@ var progressEventDecorator = (total, throttled) => {
566062
566219
  };
566063
566220
  var asyncDecorator = (fn5) => (...args) => utils_default.asap(() => fn5(...args));
566064
566221
 
566065
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
566222
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
566066
566223
  function estimateDataURLDecodedBytes(url3) {
566067
566224
  if (!url3 || typeof url3 !== "string") return 0;
566068
566225
  if (!url3.startsWith("data:")) return 0;
@@ -566113,7 +566270,7 @@ function estimateDataURLDecodedBytes(url3) {
566113
566270
  return Buffer.byteLength(body, "utf8");
566114
566271
  }
566115
566272
 
566116
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/http.js
566273
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/http.js
566117
566274
  var zlibOptions = {
566118
566275
  flush: import_zlib2.default.constants.Z_SYNC_FLUSH,
566119
566276
  finishFlush: import_zlib2.default.constants.Z_SYNC_FLUSH
@@ -566218,7 +566375,9 @@ function setProxy(options2, configProxy, location2) {
566218
566375
  if (!proxy && proxy !== false) {
566219
566376
  const proxyUrl = getProxyForUrl(location2);
566220
566377
  if (proxyUrl) {
566221
- proxy = new URL(proxyUrl);
566378
+ if (!shouldBypassProxy(location2)) {
566379
+ proxy = new URL(proxyUrl);
566380
+ }
566222
566381
  }
566223
566382
  }
566224
566383
  if (proxy) {
@@ -566789,7 +566948,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config5) {
566789
566948
  });
566790
566949
  };
566791
566950
 
566792
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js
566951
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/isURLSameOrigin.js
566793
566952
  var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url3) => {
566794
566953
  url3 = new URL(url3, platform_default.origin);
566795
566954
  return origin2.protocol === url3.protocol && origin2.host === url3.host && (isMSIE || origin2.port === url3.port);
@@ -566798,7 +566957,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PUR
566798
566957
  platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
566799
566958
  ) : () => true;
566800
566959
 
566801
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js
566960
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/cookies.js
566802
566961
  var cookies_default = platform_default.hasStandardBrowserEnv ? (
566803
566962
  // Standard browser envs support document.cookie
566804
566963
  {
@@ -566844,7 +567003,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
566844
567003
  }
566845
567004
  );
566846
567005
 
566847
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js
567006
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/mergeConfig.js
566848
567007
  var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing;
566849
567008
  function mergeConfig(config1, config22) {
566850
567009
  config22 = config22 || {};
@@ -566925,7 +567084,7 @@ function mergeConfig(config1, config22) {
566925
567084
  return config5;
566926
567085
  }
566927
567086
 
566928
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js
567087
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/resolveConfig.js
566929
567088
  var resolveConfig_default = (config5) => {
566930
567089
  const newConfig = mergeConfig({}, config5);
566931
567090
  let { data: data2, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers: headers2, auth: auth8 } = newConfig;
@@ -566968,7 +567127,7 @@ var resolveConfig_default = (config5) => {
566968
567127
  return newConfig;
566969
567128
  };
566970
567129
 
566971
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js
567130
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/xhr.js
566972
567131
  var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
566973
567132
  var xhr_default = isXHRAdapterSupported && function(config5) {
566974
567133
  return new Promise(function dispatchXhrRequest(resolve13, reject) {
@@ -567110,7 +567269,7 @@ var xhr_default = isXHRAdapterSupported && function(config5) {
567110
567269
  });
567111
567270
  };
567112
567271
 
567113
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js
567272
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/composeSignals.js
567114
567273
  var composeSignals = (signals2, timeout4) => {
567115
567274
  const { length } = signals2 = signals2 ? signals2.filter(Boolean) : [];
567116
567275
  if (timeout4 || length) {
@@ -567148,7 +567307,7 @@ var composeSignals = (signals2, timeout4) => {
567148
567307
  };
567149
567308
  var composeSignals_default = composeSignals;
567150
567309
 
567151
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js
567310
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/trackStream.js
567152
567311
  var streamChunk = function* (chunk2, chunkSize) {
567153
567312
  let len = chunk2.byteLength;
567154
567313
  if (!chunkSize || len < chunkSize) {
@@ -567228,7 +567387,7 @@ var trackStream = (stream5, chunkSize, onProgress, onFinish) => {
567228
567387
  );
567229
567388
  };
567230
567389
 
567231
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js
567390
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/fetch.js
567232
567391
  var DEFAULT_CHUNK_SIZE = 64 * 1024;
567233
567392
  var { isFunction: isFunction5 } = utils_default;
567234
567393
  var globalFetchAPI = (({ Request: Request34, Response: Response36 }) => ({
@@ -567452,7 +567611,7 @@ var getFetch = (config5) => {
567452
567611
  };
567453
567612
  var adapter = getFetch();
567454
567613
 
567455
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js
567614
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/adapters.js
567456
567615
  var knownAdapters = {
567457
567616
  http: http_default,
567458
567617
  xhr: xhr_default,
@@ -567517,7 +567676,7 @@ var adapters_default = {
567517
567676
  adapters: knownAdapters
567518
567677
  };
567519
567678
 
567520
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js
567679
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/dispatchRequest.js
567521
567680
  function throwIfCancellationRequested(config5) {
567522
567681
  if (config5.cancelToken) {
567523
567682
  config5.cancelToken.throwIfRequested();
@@ -567558,7 +567717,7 @@ function dispatchRequest(config5) {
567558
567717
  );
567559
567718
  }
567560
567719
 
567561
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js
567720
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/validator.js
567562
567721
  var validators = {};
567563
567722
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type8, i11) => {
567564
567723
  validators[type8] = function validator(thing) {
@@ -567625,7 +567784,7 @@ var validator_default = {
567625
567784
  validators
567626
567785
  };
567627
567786
 
567628
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js
567787
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/Axios.js
567629
567788
  var validators2 = validator_default.validators;
567630
567789
  var Axios = class {
567631
567790
  constructor(instanceConfig) {
@@ -567650,12 +567809,23 @@ var Axios = class {
567650
567809
  if (err instanceof Error) {
567651
567810
  let dummy = {};
567652
567811
  Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
567653
- const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, "") : "";
567812
+ const stack = (() => {
567813
+ if (!dummy.stack) {
567814
+ return "";
567815
+ }
567816
+ const firstNewlineIndex = dummy.stack.indexOf("\n");
567817
+ return firstNewlineIndex === -1 ? "" : dummy.stack.slice(firstNewlineIndex + 1);
567818
+ })();
567654
567819
  try {
567655
567820
  if (!err.stack) {
567656
567821
  err.stack = stack;
567657
- } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ""))) {
567658
- err.stack += "\n" + stack;
567822
+ } else if (stack) {
567823
+ const firstNewlineIndex = stack.indexOf("\n");
567824
+ const secondNewlineIndex = firstNewlineIndex === -1 ? -1 : stack.indexOf("\n", firstNewlineIndex + 1);
567825
+ const stackWithoutTwoTopLines = secondNewlineIndex === -1 ? "" : stack.slice(secondNewlineIndex + 1);
567826
+ if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {
567827
+ err.stack += "\n" + stack;
567828
+ }
567659
567829
  }
567660
567830
  } catch (e6) {
567661
567831
  }
@@ -567814,7 +567984,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
567814
567984
  });
567815
567985
  var Axios_default = Axios;
567816
567986
 
567817
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js
567987
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/cancel/CancelToken.js
567818
567988
  var CancelToken = class _CancelToken {
567819
567989
  constructor(executor) {
567820
567990
  if (typeof executor !== "function") {
@@ -567912,19 +568082,19 @@ var CancelToken = class _CancelToken {
567912
568082
  };
567913
568083
  var CancelToken_default = CancelToken;
567914
568084
 
567915
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js
568085
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/spread.js
567916
568086
  function spread(callback) {
567917
568087
  return function wrap10(arr) {
567918
568088
  return callback.apply(null, arr);
567919
568089
  };
567920
568090
  }
567921
568091
 
567922
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js
568092
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/isAxiosError.js
567923
568093
  function isAxiosError(payload) {
567924
568094
  return utils_default.isObject(payload) && payload.isAxiosError === true;
567925
568095
  }
567926
568096
 
567927
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js
568097
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/HttpStatusCode.js
567928
568098
  var HttpStatusCode = {
567929
568099
  Continue: 100,
567930
568100
  SwitchingProtocols: 101,
@@ -568001,7 +568171,7 @@ Object.entries(HttpStatusCode).forEach(([key2, value]) => {
568001
568171
  });
568002
568172
  var HttpStatusCode_default = HttpStatusCode;
568003
568173
 
568004
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js
568174
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/axios.js
568005
568175
  function createInstance2(defaultConfig) {
568006
568176
  const context3 = new Axios_default(defaultConfig);
568007
568177
  const instance = bind2(Axios_default.prototype.request, context3);
@@ -568034,7 +568204,7 @@ axios3.HttpStatusCode = HttpStatusCode_default;
568034
568204
  axios3.default = axios3;
568035
568205
  var axios_default = axios3;
568036
568206
 
568037
- // ../../../node_modules/.pnpm/axios@1.14.0/node_modules/axios/index.js
568207
+ // ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/index.js
568038
568208
  var {
568039
568209
  Axios: Axios2,
568040
568210
  AxiosError: AxiosError2,
@@ -604115,7 +604285,7 @@ var AccessTokenPosthogManager = class {
604115
604285
  properties: {
604116
604286
  ...event,
604117
604287
  ...event.properties,
604118
- version: "4.65.2",
604288
+ version: "4.65.3-2-gc801697ea62",
604119
604289
  usingAccessToken: true
604120
604290
  }
604121
604291
  });
@@ -604166,7 +604336,7 @@ var UserPosthogManager = class {
604166
604336
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
604167
604337
  event: "CLI",
604168
604338
  properties: {
604169
- version: "4.65.2",
604339
+ version: "4.65.3-2-gc801697ea62",
604170
604340
  ...event,
604171
604341
  ...event.properties,
604172
604342
  usingAccessToken: false,
@@ -796244,7 +796414,7 @@ var ApiReferenceNodeConverter = class {
796244
796414
  const relativeFilePath = `tag-${subpackageName}.md`;
796245
796415
  const virtualAbsolutePath = AbsoluteFilePath2.of(`/${relativeFilePath}`);
796246
796416
  const pageId = navigation_exports2.V1.PageId(relativeFilePath);
796247
- const markdownContent = `# ${titleCase3(tagInfo.id.replace(/[_-]/g, " "))}
796417
+ const markdownContent = `# ${titleCase(tagInfo.id.replace(/[_-]/g, " "))}
796248
796418
 
796249
796419
  ${tagInfo.description}`;
796250
796420
  this.#tagDescriptionContent.set(virtualAbsolutePath, markdownContent);
@@ -796313,7 +796483,7 @@ ${tagInfo.description}`;
796313
796483
  id: subpackageNodeId,
796314
796484
  type: "apiPackage",
796315
796485
  children: convertedItems,
796316
- title: pkg2.title ?? (isSubpackage3(subpackage) ? subpackage.displayName ?? titleCase3(subpackage.name) : this.apiSection.title),
796486
+ title: pkg2.title ?? (isSubpackage3(subpackage) ? subpackage.displayName ?? titleCase(subpackage.name) : this.apiSection.title),
796317
796487
  slug: slug.get(),
796318
796488
  icon: this.resolveIconFileId(pkg2.icon),
796319
796489
  hidden: this.hideChildren || pkg2.hidden,
@@ -796431,7 +796601,7 @@ ${tagInfo.description}`;
796431
796601
  id: subpackageNodeId,
796432
796602
  type: "apiPackage",
796433
796603
  children: [],
796434
- title: isSubpackage3(subpackage) ? subpackage.displayName ?? titleCase3(subpackage.name) : this.apiSection.title,
796604
+ title: isSubpackage3(subpackage) ? subpackage.displayName ?? titleCase(subpackage.name) : this.apiSection.title,
796435
796605
  slug: slug.get(),
796436
796606
  icon: void 0,
796437
796607
  hidden: this.hideChildren,
@@ -796781,7 +796951,7 @@ ${tagInfo.description}`;
796781
796951
  type: "webhook",
796782
796952
  webhookId,
796783
796953
  method: webhook.method,
796784
- title: webhook.name ?? titleCase3(webhook.id),
796954
+ title: webhook.name ?? titleCase(webhook.id),
796785
796955
  slug: parentSlug.apply(webhook).get(),
796786
796956
  icon: void 0,
796787
796957
  hidden: this.hideChildren,
@@ -796815,7 +796985,7 @@ ${tagInfo.description}`;
796815
796985
  id: navigation_exports2.V1.NodeId(`${this.apiDefinitionId}:${subpackageId}`),
796816
796986
  type: "apiPackage",
796817
796987
  children: subpackageChildren,
796818
- title: isSubpackage3(subpackage) ? subpackage.displayName ?? titleCase3(subpackage.name) : this.apiSection.title,
796988
+ title: isSubpackage3(subpackage) ? subpackage.displayName ?? titleCase(subpackage.name) : this.apiSection.title,
796819
796989
  slug: slug.get(),
796820
796990
  icon: void 0,
796821
796991
  hidden: this.hideChildren,
@@ -796938,7 +797108,7 @@ ${tagInfo.description}`;
796938
797108
  id: this.#idgen.get(`${this.apiDefinitionId}:graphql:namespace:${namespace}`),
796939
797109
  type: "apiPackage",
796940
797110
  children: namespaceChildren,
796941
- title: titleCase3(namespace),
797111
+ title: titleCase(namespace),
796942
797112
  slug: namespaceSlug.get(),
796943
797113
  icon: void 0,
796944
797114
  hidden: this.hideChildren,
@@ -836109,7 +836279,7 @@ function withBasepath2(source2, basePath) {
836109
836279
  }
836110
836280
 
836111
836281
  // ../yaml/docs-validator/lib/rules/valid-markdown-link/check-if-pathname-exists.js
836112
- async function checkIfPathnameExists({ pathname, markdown, absoluteFilepath, workspaceAbsoluteFilePath, pageSlugs, absoluteFilePathsToSlugs, redirects = [], baseUrl }) {
836282
+ async function checkIfPathnameExists({ pathname, markdown, absoluteFilepath, workspaceAbsoluteFilePath, pageSlugs, absoluteFilePathsToSlugs, redirects = [], baseUrl, versionSlugs = [], productSlugs = [] }) {
836113
836283
  pathname = removeTrailingSlash3(pathname);
836114
836284
  const slugs = absoluteFilepath != null ? absoluteFilePathsToSlugs.get(absoluteFilepath) ?? [] : [];
836115
836285
  if (pathname.trim() === "") {
@@ -836131,6 +836301,20 @@ async function checkIfPathnameExists({ pathname, markdown, absoluteFilepath, wor
836131
836301
  if (markdown && pageSlugs.has(removeLeadingSlash(redirectedPath))) {
836132
836302
  return true;
836133
836303
  }
836304
+ const contextSlugs = [...versionSlugs, ...productSlugs];
836305
+ if (markdown && contextSlugs.length > 0) {
836306
+ for (const slug of slugs) {
836307
+ for (const contextSlug of contextSlugs) {
836308
+ if (slug.startsWith(contextSlug + "/") || slug === contextSlug) {
836309
+ const prefixedPath = `${contextSlug}/${removeLeadingSlash(redirectedPath)}`;
836310
+ if (pageSlugs.has(prefixedPath)) {
836311
+ return true;
836312
+ }
836313
+ break;
836314
+ }
836315
+ }
836316
+ }
836317
+ }
836134
836318
  const absolutePath = join2(workspaceAbsoluteFilePath, RelativeFilePath2.of(removeLeadingSlash(pathname)));
836135
836319
  if (await doesPathExist(absolutePath, "file")) {
836136
836320
  return true;
@@ -836449,6 +836633,8 @@ var ValidMarkdownLinks = {
836449
836633
  slugs.push(slug);
836450
836634
  absoluteFilePathsToSlugs.set(absoluteFilePath, slugs);
836451
836635
  });
836636
+ const versionSlugs = collector.getVersionNodes().map((v23) => v23.slug);
836637
+ const productSlugs = collector.getProductNodes().filter(navigation_exports2.isInternalProductNode).map((p10) => p10.slug);
836452
836638
  const specialDocPages = ["/llms-full.txt", "/llms.txt"];
836453
836639
  for (const specialPage of specialDocPages) {
836454
836640
  const pageWithBasePath = baseUrl.basePath ? `${removeLeadingSlash(baseUrl.basePath)}${specialPage}` : removeLeadingSlash(specialPage);
@@ -836479,7 +836665,9 @@ var ValidMarkdownLinks = {
836479
836665
  pageSlugs: visitableSlugs,
836480
836666
  absoluteFilePathsToSlugs,
836481
836667
  redirects: workspace.config.redirects,
836482
- baseUrl
836668
+ baseUrl,
836669
+ versionSlugs,
836670
+ productSlugs
836483
836671
  });
836484
836672
  if (exists2 === true) {
836485
836673
  return [];
@@ -836539,7 +836727,9 @@ var ValidMarkdownLinks = {
836539
836727
  pageSlugs: visitableSlugs,
836540
836728
  absoluteFilePathsToSlugs,
836541
836729
  redirects: workspace.config.redirects,
836542
- baseUrl
836730
+ baseUrl,
836731
+ versionSlugs,
836732
+ productSlugs
836543
836733
  });
836544
836734
  if (exists2 === true) {
836545
836735
  return [];
@@ -841147,7 +841337,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
841147
841337
  var LOGS_FOLDER_NAME = "logs";
841148
841338
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
841149
841339
  function getCliSource() {
841150
- const version7 = "4.65.2";
841340
+ const version7 = "4.65.3-2-gc801697ea62";
841151
841341
  return `cli@${version7}`;
841152
841342
  }
841153
841343
  var DebugLogger = class {
@@ -852345,7 +852535,7 @@ var LegacyDocsPublisher = class {
852345
852535
  previewId,
852346
852536
  disableTemplates: void 0,
852347
852537
  skipUpload,
852348
- cliVersion: "4.65.2"
852538
+ cliVersion: "4.65.3-2-gc801697ea62"
852349
852539
  });
852350
852540
  if (taskContext.getResult() === TaskResult.Failure) {
852351
852541
  return { success: false };
@@ -925934,7 +926124,7 @@ var CliContext = class {
925934
926124
  if (false) {
925935
926125
  this.logger.error("CLI_VERSION is not defined");
925936
926126
  }
925937
- return "4.65.2";
926127
+ return "4.65.3-2-gc801697ea62";
925938
926128
  }
925939
926129
  getCliName() {
925940
926130
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.65.2",
2
+ "version": "4.65.3-2-gc801697ea62",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",