@fern-api/fern-api-dev 4.65.1 → 4.65.2-2-g86685bdab73
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.
- package/cli.cjs +212 -94
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -400783,7 +400783,7 @@ var require_proxy_from_env = __commonJS({
|
|
|
400783
400783
|
"../../../node_modules/.pnpm/proxy-from-env@1.1.0/node_modules/proxy-from-env/index.js"(exports2) {
|
|
400784
400784
|
"use strict";
|
|
400785
400785
|
var parseUrl5 = require("url").parse;
|
|
400786
|
-
var
|
|
400786
|
+
var DEFAULT_PORTS3 = {
|
|
400787
400787
|
ftp: 21,
|
|
400788
400788
|
gopher: 70,
|
|
400789
400789
|
http: 80,
|
|
@@ -400804,7 +400804,7 @@ var require_proxy_from_env = __commonJS({
|
|
|
400804
400804
|
}
|
|
400805
400805
|
proto3 = proto3.split(":", 1)[0];
|
|
400806
400806
|
hostname4 = hostname4.replace(/:\d*$/, "");
|
|
400807
|
-
port = parseInt(port) ||
|
|
400807
|
+
port = parseInt(port) || DEFAULT_PORTS3[proto3] || 0;
|
|
400808
400808
|
if (!shouldProxy2(hostname4, port)) {
|
|
400809
400809
|
return "";
|
|
400810
400810
|
}
|
|
@@ -443527,7 +443527,7 @@ var require_util10 = __commonJS({
|
|
|
443527
443527
|
return true;
|
|
443528
443528
|
}
|
|
443529
443529
|
var headerCharRegex = /[^\t\x20-\x7e\x80-\xff]/;
|
|
443530
|
-
function
|
|
443530
|
+
function isValidHeaderValue2(characters) {
|
|
443531
443531
|
return !headerCharRegex.test(characters);
|
|
443532
443532
|
}
|
|
443533
443533
|
function parseRangeHeader(range2) {
|
|
@@ -443617,7 +443617,7 @@ var require_util10 = __commonJS({
|
|
|
443617
443617
|
buildURL: buildURL2,
|
|
443618
443618
|
addAbortListener,
|
|
443619
443619
|
isValidHTTPToken,
|
|
443620
|
-
isValidHeaderValue,
|
|
443620
|
+
isValidHeaderValue: isValidHeaderValue2,
|
|
443621
443621
|
isTokenCharCode,
|
|
443622
443622
|
parseRangeHeader,
|
|
443623
443623
|
normalizedMethodRecordsBase,
|
|
@@ -443828,7 +443828,7 @@ var require_request4 = __commonJS({
|
|
|
443828
443828
|
var assert10 = require("assert");
|
|
443829
443829
|
var {
|
|
443830
443830
|
isValidHTTPToken,
|
|
443831
|
-
isValidHeaderValue,
|
|
443831
|
+
isValidHeaderValue: isValidHeaderValue2,
|
|
443832
443832
|
isStream: isStream3,
|
|
443833
443833
|
destroy,
|
|
443834
443834
|
isBuffer: isBuffer4,
|
|
@@ -443876,7 +443876,7 @@ var require_request4 = __commonJS({
|
|
|
443876
443876
|
if (upgrade2 && typeof upgrade2 !== "string") {
|
|
443877
443877
|
throw new InvalidArgumentError("upgrade must be a string");
|
|
443878
443878
|
}
|
|
443879
|
-
if (upgrade2 && !
|
|
443879
|
+
if (upgrade2 && !isValidHeaderValue2(upgrade2)) {
|
|
443880
443880
|
throw new InvalidArgumentError("invalid upgrade header");
|
|
443881
443881
|
}
|
|
443882
443882
|
if (headersTimeout != null && (!Number.isFinite(headersTimeout) || headersTimeout < 0)) {
|
|
@@ -444089,7 +444089,7 @@ var require_request4 = __commonJS({
|
|
|
444089
444089
|
const arr = [];
|
|
444090
444090
|
for (let i11 = 0; i11 < val.length; i11++) {
|
|
444091
444091
|
if (typeof val[i11] === "string") {
|
|
444092
|
-
if (!
|
|
444092
|
+
if (!isValidHeaderValue2(val[i11])) {
|
|
444093
444093
|
throw new InvalidArgumentError(`invalid ${key2} header`);
|
|
444094
444094
|
}
|
|
444095
444095
|
arr.push(val[i11]);
|
|
@@ -444103,7 +444103,7 @@ var require_request4 = __commonJS({
|
|
|
444103
444103
|
}
|
|
444104
444104
|
val = arr;
|
|
444105
444105
|
} else if (typeof val === "string") {
|
|
444106
|
-
if (!
|
|
444106
|
+
if (!isValidHeaderValue2(val)) {
|
|
444107
444107
|
throw new InvalidArgumentError(`invalid ${key2} header`);
|
|
444108
444108
|
}
|
|
444109
444109
|
} else if (val === null) {
|
|
@@ -446193,7 +446193,7 @@ var require_util11 = __commonJS({
|
|
|
446193
446193
|
return null;
|
|
446194
446194
|
}
|
|
446195
446195
|
let location2 = response.headersList.get("location", true);
|
|
446196
|
-
if (location2 !== null &&
|
|
446196
|
+
if (location2 !== null && isValidHeaderValue2(location2)) {
|
|
446197
446197
|
if (!isValidEncodedURL(location2)) {
|
|
446198
446198
|
location2 = normalizeBinaryStringToUtf8(location2);
|
|
446199
446199
|
}
|
|
@@ -446242,7 +446242,7 @@ var require_util11 = __commonJS({
|
|
|
446242
446242
|
return true;
|
|
446243
446243
|
}
|
|
446244
446244
|
var isValidHeaderName2 = isValidHTTPToken;
|
|
446245
|
-
function
|
|
446245
|
+
function isValidHeaderValue2(potentialValue) {
|
|
446246
446246
|
return (potentialValue[0] === " " || potentialValue[0] === " " || potentialValue[potentialValue.length - 1] === " " || potentialValue[potentialValue.length - 1] === " " || potentialValue.includes("\n") || potentialValue.includes("\r") || potentialValue.includes("\0")) === false;
|
|
446247
446247
|
}
|
|
446248
446248
|
function setRequestReferrerPolicyOnRedirect(request7, actualResponse) {
|
|
@@ -447008,7 +447008,7 @@ var require_util11 = __commonJS({
|
|
|
447008
447008
|
iteratorMixin,
|
|
447009
447009
|
createIterator: createIterator2,
|
|
447010
447010
|
isValidHeaderName: isValidHeaderName2,
|
|
447011
|
-
isValidHeaderValue,
|
|
447011
|
+
isValidHeaderValue: isValidHeaderValue2,
|
|
447012
447012
|
isErrorLike: isErrorLike3,
|
|
447013
447013
|
fullyReadBody,
|
|
447014
447014
|
bytesMatch,
|
|
@@ -450870,7 +450870,7 @@ var require_env_http_proxy_agent = __commonJS({
|
|
|
450870
450870
|
var { kClose, kDestroy, kClosed, kDestroyed, kDispatch, kNoProxyAgent, kHttpProxyAgent, kHttpsProxyAgent } = require_symbols2();
|
|
450871
450871
|
var ProxyAgent2 = require_proxy_agent();
|
|
450872
450872
|
var Agent3 = require_agent();
|
|
450873
|
-
var
|
|
450873
|
+
var DEFAULT_PORTS3 = {
|
|
450874
450874
|
"http:": 80,
|
|
450875
450875
|
"https:": 443
|
|
450876
450876
|
};
|
|
@@ -450930,7 +450930,7 @@ var require_env_http_proxy_agent = __commonJS({
|
|
|
450930
450930
|
#getProxyAgentForUrl(url3) {
|
|
450931
450931
|
let { protocol: protocol2, host: hostname4, port } = url3;
|
|
450932
450932
|
hostname4 = hostname4.replace(/:\d*$/, "").toLowerCase();
|
|
450933
|
-
port = Number.parseInt(port, 10) ||
|
|
450933
|
+
port = Number.parseInt(port, 10) || DEFAULT_PORTS3[protocol2] || 0;
|
|
450934
450934
|
if (!this.#shouldProxy(hostname4, port)) {
|
|
450935
450935
|
return this[kNoProxyAgent];
|
|
450936
450936
|
}
|
|
@@ -453827,7 +453827,7 @@ var require_headers3 = __commonJS({
|
|
|
453827
453827
|
var {
|
|
453828
453828
|
iteratorMixin,
|
|
453829
453829
|
isValidHeaderName: isValidHeaderName2,
|
|
453830
|
-
isValidHeaderValue
|
|
453830
|
+
isValidHeaderValue: isValidHeaderValue2
|
|
453831
453831
|
} = require_util11();
|
|
453832
453832
|
var { webidl } = require_webidl();
|
|
453833
453833
|
var assert10 = require("assert");
|
|
@@ -453877,7 +453877,7 @@ var require_headers3 = __commonJS({
|
|
|
453877
453877
|
value: name2,
|
|
453878
453878
|
type: "header name"
|
|
453879
453879
|
});
|
|
453880
|
-
} else if (!
|
|
453880
|
+
} else if (!isValidHeaderValue2(value)) {
|
|
453881
453881
|
throw webidl.errors.invalidArgument({
|
|
453882
453882
|
prefix: "Headers.append",
|
|
453883
453883
|
value,
|
|
@@ -454146,7 +454146,7 @@ var require_headers3 = __commonJS({
|
|
|
454146
454146
|
value: name2,
|
|
454147
454147
|
type: "header name"
|
|
454148
454148
|
});
|
|
454149
|
-
} else if (!
|
|
454149
|
+
} else if (!isValidHeaderValue2(value)) {
|
|
454150
454150
|
throw webidl.errors.invalidArgument({
|
|
454151
454151
|
prefix: prefix2,
|
|
454152
454152
|
value,
|
|
@@ -564206,14 +564206,14 @@ function getReleaseVersion(version7) {
|
|
|
564206
564206
|
// ../workspace/lazy-fern-workspace/lib/utils/loadDependency.js
|
|
564207
564207
|
var import_fiddle_sdk3 = __toESM(require_fiddle_sdk(), 1);
|
|
564208
564208
|
|
|
564209
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564209
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/bind.js
|
|
564210
564210
|
function bind2(fn5, thisArg) {
|
|
564211
564211
|
return function wrap10() {
|
|
564212
564212
|
return fn5.apply(thisArg, arguments);
|
|
564213
564213
|
};
|
|
564214
564214
|
}
|
|
564215
564215
|
|
|
564216
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564216
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/utils.js
|
|
564217
564217
|
var { toString: toString6 } = Object.prototype;
|
|
564218
564218
|
var { getPrototypeOf } = Object;
|
|
564219
564219
|
var { iterator: iterator2, toStringTag } = Symbol;
|
|
@@ -564640,7 +564640,7 @@ var utils_default = {
|
|
|
564640
564640
|
isIterable
|
|
564641
564641
|
};
|
|
564642
564642
|
|
|
564643
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564643
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/AxiosError.js
|
|
564644
564644
|
var AxiosError = class _AxiosError extends Error {
|
|
564645
564645
|
static from(error50, code5, config5, request7, response, customProps) {
|
|
564646
564646
|
const axiosError = new _AxiosError(error50.message, code5 || error50.code, config5, request7, response);
|
|
@@ -564715,11 +564715,11 @@ AxiosError.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
|
|
|
564715
564715
|
AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
564716
564716
|
var AxiosError_default = AxiosError;
|
|
564717
564717
|
|
|
564718
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564718
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
564719
564719
|
var import_form_data3 = __toESM(require_form_data(), 1);
|
|
564720
564720
|
var FormData_default = import_form_data3.default;
|
|
564721
564721
|
|
|
564722
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564722
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/toFormData.js
|
|
564723
564723
|
function isVisitable(thing) {
|
|
564724
564724
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
564725
564725
|
}
|
|
@@ -564837,7 +564837,7 @@ function toFormData(obj, formData, options2) {
|
|
|
564837
564837
|
}
|
|
564838
564838
|
var toFormData_default = toFormData;
|
|
564839
564839
|
|
|
564840
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564840
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
564841
564841
|
function encode4(str3) {
|
|
564842
564842
|
const charMap = {
|
|
564843
564843
|
"!": "%21",
|
|
@@ -564870,7 +564870,7 @@ prototype.toString = function toString7(encoder) {
|
|
|
564870
564870
|
};
|
|
564871
564871
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
564872
564872
|
|
|
564873
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564873
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/buildURL.js
|
|
564874
564874
|
function encode5(val) {
|
|
564875
564875
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
564876
564876
|
}
|
|
@@ -564899,7 +564899,7 @@ function buildURL(url3, params2, options2) {
|
|
|
564899
564899
|
return url3;
|
|
564900
564900
|
}
|
|
564901
564901
|
|
|
564902
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564902
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/InterceptorManager.js
|
|
564903
564903
|
var InterceptorManager = class {
|
|
564904
564904
|
constructor() {
|
|
564905
564905
|
this.handlers = [];
|
|
@@ -564964,7 +564964,7 @@ var InterceptorManager = class {
|
|
|
564964
564964
|
};
|
|
564965
564965
|
var InterceptorManager_default = InterceptorManager;
|
|
564966
564966
|
|
|
564967
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564967
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/defaults/transitional.js
|
|
564968
564968
|
var transitional_default = {
|
|
564969
564969
|
silentJSONParsing: true,
|
|
564970
564970
|
forcedJSONParsing: true,
|
|
@@ -564972,14 +564972,14 @@ var transitional_default = {
|
|
|
564972
564972
|
legacyInterceptorReqResOrdering: true
|
|
564973
564973
|
};
|
|
564974
564974
|
|
|
564975
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564975
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/node/index.js
|
|
564976
564976
|
var import_crypto5 = __toESM(require("crypto"), 1);
|
|
564977
564977
|
|
|
564978
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564978
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
564979
564979
|
var import_url4 = __toESM(require("url"), 1);
|
|
564980
564980
|
var URLSearchParams_default = import_url4.default.URLSearchParams;
|
|
564981
564981
|
|
|
564982
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
564982
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/node/index.js
|
|
564983
564983
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
564984
564984
|
var DIGIT = "0123456789";
|
|
564985
564985
|
var ALPHABET = {
|
|
@@ -565009,7 +565009,7 @@ var node_default2 = {
|
|
|
565009
565009
|
protocols: ["http", "https", "file", "data"]
|
|
565010
565010
|
};
|
|
565011
565011
|
|
|
565012
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565012
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/common/utils.js
|
|
565013
565013
|
var utils_exports3 = {};
|
|
565014
565014
|
__export(utils_exports3, {
|
|
565015
565015
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -565027,13 +565027,13 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
565027
565027
|
})();
|
|
565028
565028
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
565029
565029
|
|
|
565030
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565030
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/platform/index.js
|
|
565031
565031
|
var platform_default = {
|
|
565032
565032
|
...utils_exports3,
|
|
565033
565033
|
...node_default2
|
|
565034
565034
|
};
|
|
565035
565035
|
|
|
565036
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565036
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
565037
565037
|
function toURLEncodedForm(data2, options2) {
|
|
565038
565038
|
return toFormData_default(data2, new platform_default.classes.URLSearchParams(), {
|
|
565039
565039
|
visitor: function(value, key2, path98, helpers) {
|
|
@@ -565047,7 +565047,7 @@ function toURLEncodedForm(data2, options2) {
|
|
|
565047
565047
|
});
|
|
565048
565048
|
}
|
|
565049
565049
|
|
|
565050
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565050
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
565051
565051
|
function parsePropPath(name2) {
|
|
565052
565052
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name2).map((match3) => {
|
|
565053
565053
|
return match3[0] === "[]" ? "" : match3[1] || match3[0];
|
|
@@ -565100,7 +565100,7 @@ function formDataToJSON(formData) {
|
|
|
565100
565100
|
}
|
|
565101
565101
|
var formDataToJSON_default = formDataToJSON;
|
|
565102
565102
|
|
|
565103
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565103
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/defaults/index.js
|
|
565104
565104
|
function stringifySafely(rawValue, parser4, encoder) {
|
|
565105
565105
|
if (utils_default.isString(rawValue)) {
|
|
565106
565106
|
try {
|
|
@@ -565213,7 +565213,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
565213
565213
|
});
|
|
565214
565214
|
var defaults_default2 = defaults2;
|
|
565215
565215
|
|
|
565216
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565216
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/parseHeaders.js
|
|
565217
565217
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
565218
565218
|
"age",
|
|
565219
565219
|
"authorization",
|
|
@@ -565258,16 +565258,40 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
565258
565258
|
return parsed;
|
|
565259
565259
|
};
|
|
565260
565260
|
|
|
565261
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565261
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/AxiosHeaders.js
|
|
565262
565262
|
var $internals = /* @__PURE__ */ Symbol("internals");
|
|
565263
|
+
var isValidHeaderValue = (value) => !/[\r\n]/.test(value);
|
|
565264
|
+
function assertValidHeaderValue(value, header) {
|
|
565265
|
+
if (value === false || value == null) {
|
|
565266
|
+
return;
|
|
565267
|
+
}
|
|
565268
|
+
if (utils_default.isArray(value)) {
|
|
565269
|
+
value.forEach((v23) => assertValidHeaderValue(v23, header));
|
|
565270
|
+
return;
|
|
565271
|
+
}
|
|
565272
|
+
if (!isValidHeaderValue(String(value))) {
|
|
565273
|
+
throw new Error(`Invalid character in header content ["${header}"]`);
|
|
565274
|
+
}
|
|
565275
|
+
}
|
|
565263
565276
|
function normalizeHeader(header) {
|
|
565264
565277
|
return header && String(header).trim().toLowerCase();
|
|
565265
565278
|
}
|
|
565279
|
+
function stripTrailingCRLF(str3) {
|
|
565280
|
+
let end = str3.length;
|
|
565281
|
+
while (end > 0) {
|
|
565282
|
+
const charCode = str3.charCodeAt(end - 1);
|
|
565283
|
+
if (charCode !== 10 && charCode !== 13) {
|
|
565284
|
+
break;
|
|
565285
|
+
}
|
|
565286
|
+
end -= 1;
|
|
565287
|
+
}
|
|
565288
|
+
return end === str3.length ? str3 : str3.slice(0, end);
|
|
565289
|
+
}
|
|
565266
565290
|
function normalizeValue(value) {
|
|
565267
565291
|
if (value === false || value == null) {
|
|
565268
565292
|
return value;
|
|
565269
565293
|
}
|
|
565270
|
-
return utils_default.isArray(value) ? value.map(normalizeValue) : String(value)
|
|
565294
|
+
return utils_default.isArray(value) ? value.map(normalizeValue) : stripTrailingCRLF(String(value));
|
|
565271
565295
|
}
|
|
565272
565296
|
function parseTokens(str3) {
|
|
565273
565297
|
const tokens = /* @__PURE__ */ Object.create(null);
|
|
@@ -565323,6 +565347,7 @@ var AxiosHeaders = class {
|
|
|
565323
565347
|
}
|
|
565324
565348
|
const key2 = utils_default.findKey(self2, lHeader);
|
|
565325
565349
|
if (!key2 || self2[key2] === void 0 || _rewrite === true || _rewrite === void 0 && self2[key2] !== false) {
|
|
565350
|
+
assertValidHeaderValue(_value, _header);
|
|
565326
565351
|
self2[key2 || _header] = normalizeValue(_value);
|
|
565327
565352
|
}
|
|
565328
565353
|
}
|
|
@@ -565494,7 +565519,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key2) => {
|
|
|
565494
565519
|
utils_default.freezeMethods(AxiosHeaders);
|
|
565495
565520
|
var AxiosHeaders_default = AxiosHeaders;
|
|
565496
565521
|
|
|
565497
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565522
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/transformData.js
|
|
565498
565523
|
function transformData(fns, response) {
|
|
565499
565524
|
const config5 = this || defaults_default2;
|
|
565500
565525
|
const context3 = response || config5;
|
|
@@ -565507,12 +565532,12 @@ function transformData(fns, response) {
|
|
|
565507
565532
|
return data2;
|
|
565508
565533
|
}
|
|
565509
565534
|
|
|
565510
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565535
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/cancel/isCancel.js
|
|
565511
565536
|
function isCancel(value) {
|
|
565512
565537
|
return !!(value && value.__CANCEL__);
|
|
565513
565538
|
}
|
|
565514
565539
|
|
|
565515
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565540
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/cancel/CanceledError.js
|
|
565516
565541
|
var CanceledError = class extends AxiosError_default {
|
|
565517
565542
|
/**
|
|
565518
565543
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
@@ -565531,7 +565556,7 @@ var CanceledError = class extends AxiosError_default {
|
|
|
565531
565556
|
};
|
|
565532
565557
|
var CanceledError_default = CanceledError;
|
|
565533
565558
|
|
|
565534
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565559
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/settle.js
|
|
565535
565560
|
function settle(resolve13, reject, response) {
|
|
565536
565561
|
const validateStatus2 = response.config.validateStatus;
|
|
565537
565562
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -565549,7 +565574,7 @@ function settle(resolve13, reject, response) {
|
|
|
565549
565574
|
}
|
|
565550
565575
|
}
|
|
565551
565576
|
|
|
565552
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565577
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
565553
565578
|
function isAbsoluteURL(url3) {
|
|
565554
565579
|
if (typeof url3 !== "string") {
|
|
565555
565580
|
return false;
|
|
@@ -565557,12 +565582,12 @@ function isAbsoluteURL(url3) {
|
|
|
565557
565582
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url3);
|
|
565558
565583
|
}
|
|
565559
565584
|
|
|
565560
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565585
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/combineURLs.js
|
|
565561
565586
|
function combineURLs(baseURL, relativeURL) {
|
|
565562
565587
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
565563
565588
|
}
|
|
565564
565589
|
|
|
565565
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565590
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/buildFullPath.js
|
|
565566
565591
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
565567
565592
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
565568
565593
|
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
@@ -565638,7 +565663,7 @@ function getEnv(key2) {
|
|
|
565638
565663
|
return process.env[key2.toLowerCase()] || process.env[key2.toUpperCase()] || "";
|
|
565639
565664
|
}
|
|
565640
565665
|
|
|
565641
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565666
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/http.js
|
|
565642
565667
|
var import_http2 = __toESM(require("http"), 1);
|
|
565643
565668
|
var import_https2 = __toESM(require("https"), 1);
|
|
565644
565669
|
var import_http22 = __toESM(require("http2"), 1);
|
|
@@ -565646,16 +565671,16 @@ var import_util12 = __toESM(require("util"), 1);
|
|
|
565646
565671
|
var import_follow_redirects = __toESM(require_follow_redirects(), 1);
|
|
565647
565672
|
var import_zlib2 = __toESM(require("zlib"), 1);
|
|
565648
565673
|
|
|
565649
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565650
|
-
var VERSION17 = "1.
|
|
565674
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/env/data.js
|
|
565675
|
+
var VERSION17 = "1.15.0";
|
|
565651
565676
|
|
|
565652
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565677
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/parseProtocol.js
|
|
565653
565678
|
function parseProtocol(url3) {
|
|
565654
565679
|
const match3 = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url3);
|
|
565655
565680
|
return match3 && match3[1] || "";
|
|
565656
565681
|
}
|
|
565657
565682
|
|
|
565658
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565683
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/fromDataURI.js
|
|
565659
565684
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
565660
565685
|
function fromDataURI(uri, asBlob, options2) {
|
|
565661
565686
|
const _Blob = options2 && options2.Blob || platform_default.classes.Blob;
|
|
@@ -565684,10 +565709,10 @@ function fromDataURI(uri, asBlob, options2) {
|
|
|
565684
565709
|
throw new AxiosError_default("Unsupported protocol " + protocol2, AxiosError_default.ERR_NOT_SUPPORT);
|
|
565685
565710
|
}
|
|
565686
565711
|
|
|
565687
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565712
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/http.js
|
|
565688
565713
|
var import_stream6 = __toESM(require("stream"), 1);
|
|
565689
565714
|
|
|
565690
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565715
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
565691
565716
|
var import_stream3 = __toESM(require("stream"), 1);
|
|
565692
565717
|
var kInternals = /* @__PURE__ */ Symbol("internals");
|
|
565693
565718
|
var AxiosTransformStream = class extends import_stream3.default.Transform {
|
|
@@ -565810,14 +565835,14 @@ var AxiosTransformStream = class extends import_stream3.default.Transform {
|
|
|
565810
565835
|
};
|
|
565811
565836
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
565812
565837
|
|
|
565813
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565838
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/http.js
|
|
565814
565839
|
var import_events = require("events");
|
|
565815
565840
|
|
|
565816
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565841
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/formDataToStream.js
|
|
565817
565842
|
var import_util11 = __toESM(require("util"), 1);
|
|
565818
565843
|
var import_stream4 = require("stream");
|
|
565819
565844
|
|
|
565820
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565845
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/readBlob.js
|
|
565821
565846
|
var { asyncIterator } = Symbol;
|
|
565822
565847
|
var readBlob = async function* (blob) {
|
|
565823
565848
|
if (blob.stream) {
|
|
@@ -565832,7 +565857,7 @@ var readBlob = async function* (blob) {
|
|
|
565832
565857
|
};
|
|
565833
565858
|
var readBlob_default = readBlob;
|
|
565834
565859
|
|
|
565835
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565860
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/formDataToStream.js
|
|
565836
565861
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
565837
565862
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util11.default.TextEncoder();
|
|
565838
565863
|
var CRLF2 = "\r\n";
|
|
@@ -565916,7 +565941,7 @@ var formDataToStream = (form, headersHandler, options2) => {
|
|
|
565916
565941
|
};
|
|
565917
565942
|
var formDataToStream_default = formDataToStream;
|
|
565918
565943
|
|
|
565919
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565944
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
565920
565945
|
var import_stream5 = __toESM(require("stream"), 1);
|
|
565921
565946
|
var ZlibHeaderTransformStream = class extends import_stream5.default.Transform {
|
|
565922
565947
|
__transform(chunk2, encoding, callback) {
|
|
@@ -565938,7 +565963,7 @@ var ZlibHeaderTransformStream = class extends import_stream5.default.Transform {
|
|
|
565938
565963
|
};
|
|
565939
565964
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
565940
565965
|
|
|
565941
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565966
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/callbackify.js
|
|
565942
565967
|
var callbackify = (fn5, reducer2) => {
|
|
565943
565968
|
return utils_default.isAsyncFn(fn5) ? function(...args) {
|
|
565944
565969
|
const cb2 = args.pop();
|
|
@@ -565953,7 +565978,84 @@ var callbackify = (fn5, reducer2) => {
|
|
|
565953
565978
|
};
|
|
565954
565979
|
var callbackify_default = callbackify;
|
|
565955
565980
|
|
|
565956
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
565981
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/shouldBypassProxy.js
|
|
565982
|
+
var DEFAULT_PORTS2 = {
|
|
565983
|
+
http: 80,
|
|
565984
|
+
https: 443,
|
|
565985
|
+
ws: 80,
|
|
565986
|
+
wss: 443,
|
|
565987
|
+
ftp: 21
|
|
565988
|
+
};
|
|
565989
|
+
var parseNoProxyEntry = (entry) => {
|
|
565990
|
+
let entryHost = entry;
|
|
565991
|
+
let entryPort = 0;
|
|
565992
|
+
if (entryHost.charAt(0) === "[") {
|
|
565993
|
+
const bracketIndex = entryHost.indexOf("]");
|
|
565994
|
+
if (bracketIndex !== -1) {
|
|
565995
|
+
const host = entryHost.slice(1, bracketIndex);
|
|
565996
|
+
const rest = entryHost.slice(bracketIndex + 1);
|
|
565997
|
+
if (rest.charAt(0) === ":" && /^\d+$/.test(rest.slice(1))) {
|
|
565998
|
+
entryPort = Number.parseInt(rest.slice(1), 10);
|
|
565999
|
+
}
|
|
566000
|
+
return [host, entryPort];
|
|
566001
|
+
}
|
|
566002
|
+
}
|
|
566003
|
+
const firstColon = entryHost.indexOf(":");
|
|
566004
|
+
const lastColon = entryHost.lastIndexOf(":");
|
|
566005
|
+
if (firstColon !== -1 && firstColon === lastColon && /^\d+$/.test(entryHost.slice(lastColon + 1))) {
|
|
566006
|
+
entryPort = Number.parseInt(entryHost.slice(lastColon + 1), 10);
|
|
566007
|
+
entryHost = entryHost.slice(0, lastColon);
|
|
566008
|
+
}
|
|
566009
|
+
return [entryHost, entryPort];
|
|
566010
|
+
};
|
|
566011
|
+
var normalizeNoProxyHost = (hostname4) => {
|
|
566012
|
+
if (!hostname4) {
|
|
566013
|
+
return hostname4;
|
|
566014
|
+
}
|
|
566015
|
+
if (hostname4.charAt(0) === "[" && hostname4.charAt(hostname4.length - 1) === "]") {
|
|
566016
|
+
hostname4 = hostname4.slice(1, -1);
|
|
566017
|
+
}
|
|
566018
|
+
return hostname4.replace(/\.+$/, "");
|
|
566019
|
+
};
|
|
566020
|
+
function shouldBypassProxy(location2) {
|
|
566021
|
+
let parsed;
|
|
566022
|
+
try {
|
|
566023
|
+
parsed = new URL(location2);
|
|
566024
|
+
} catch (_err) {
|
|
566025
|
+
return false;
|
|
566026
|
+
}
|
|
566027
|
+
const noProxy = (process.env.no_proxy || process.env.NO_PROXY || "").toLowerCase();
|
|
566028
|
+
if (!noProxy) {
|
|
566029
|
+
return false;
|
|
566030
|
+
}
|
|
566031
|
+
if (noProxy === "*") {
|
|
566032
|
+
return true;
|
|
566033
|
+
}
|
|
566034
|
+
const port = Number.parseInt(parsed.port, 10) || DEFAULT_PORTS2[parsed.protocol.split(":", 1)[0]] || 0;
|
|
566035
|
+
const hostname4 = normalizeNoProxyHost(parsed.hostname.toLowerCase());
|
|
566036
|
+
return noProxy.split(/[\s,]+/).some((entry) => {
|
|
566037
|
+
if (!entry) {
|
|
566038
|
+
return false;
|
|
566039
|
+
}
|
|
566040
|
+
let [entryHost, entryPort] = parseNoProxyEntry(entry);
|
|
566041
|
+
entryHost = normalizeNoProxyHost(entryHost);
|
|
566042
|
+
if (!entryHost) {
|
|
566043
|
+
return false;
|
|
566044
|
+
}
|
|
566045
|
+
if (entryPort && entryPort !== port) {
|
|
566046
|
+
return false;
|
|
566047
|
+
}
|
|
566048
|
+
if (entryHost.charAt(0) === "*") {
|
|
566049
|
+
entryHost = entryHost.slice(1);
|
|
566050
|
+
}
|
|
566051
|
+
if (entryHost.charAt(0) === ".") {
|
|
566052
|
+
return hostname4.endsWith(entryHost);
|
|
566053
|
+
}
|
|
566054
|
+
return hostname4 === entryHost;
|
|
566055
|
+
});
|
|
566056
|
+
}
|
|
566057
|
+
|
|
566058
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/speedometer.js
|
|
565957
566059
|
function speedometer(samplesCount, min) {
|
|
565958
566060
|
samplesCount = samplesCount || 10;
|
|
565959
566061
|
const bytes = new Array(samplesCount);
|
|
@@ -565989,7 +566091,7 @@ function speedometer(samplesCount, min) {
|
|
|
565989
566091
|
}
|
|
565990
566092
|
var speedometer_default = speedometer;
|
|
565991
566093
|
|
|
565992
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
566094
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/throttle.js
|
|
565993
566095
|
function throttle(fn5, freq) {
|
|
565994
566096
|
let timestamp2 = 0;
|
|
565995
566097
|
let threshold = 1e3 / freq;
|
|
@@ -566024,7 +566126,7 @@ function throttle(fn5, freq) {
|
|
|
566024
566126
|
}
|
|
566025
566127
|
var throttle_default = throttle;
|
|
566026
566128
|
|
|
566027
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
566129
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
566028
566130
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
566029
566131
|
let bytesNotified = 0;
|
|
566030
566132
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -566062,7 +566164,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
566062
566164
|
};
|
|
566063
566165
|
var asyncDecorator = (fn5) => (...args) => utils_default.asap(() => fn5(...args));
|
|
566064
566166
|
|
|
566065
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
566167
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
|
|
566066
566168
|
function estimateDataURLDecodedBytes(url3) {
|
|
566067
566169
|
if (!url3 || typeof url3 !== "string") return 0;
|
|
566068
566170
|
if (!url3.startsWith("data:")) return 0;
|
|
@@ -566113,7 +566215,7 @@ function estimateDataURLDecodedBytes(url3) {
|
|
|
566113
566215
|
return Buffer.byteLength(body, "utf8");
|
|
566114
566216
|
}
|
|
566115
566217
|
|
|
566116
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
566218
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/http.js
|
|
566117
566219
|
var zlibOptions = {
|
|
566118
566220
|
flush: import_zlib2.default.constants.Z_SYNC_FLUSH,
|
|
566119
566221
|
finishFlush: import_zlib2.default.constants.Z_SYNC_FLUSH
|
|
@@ -566218,7 +566320,9 @@ function setProxy(options2, configProxy, location2) {
|
|
|
566218
566320
|
if (!proxy && proxy !== false) {
|
|
566219
566321
|
const proxyUrl = getProxyForUrl(location2);
|
|
566220
566322
|
if (proxyUrl) {
|
|
566221
|
-
|
|
566323
|
+
if (!shouldBypassProxy(location2)) {
|
|
566324
|
+
proxy = new URL(proxyUrl);
|
|
566325
|
+
}
|
|
566222
566326
|
}
|
|
566223
566327
|
}
|
|
566224
566328
|
if (proxy) {
|
|
@@ -566789,7 +566893,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config5) {
|
|
|
566789
566893
|
});
|
|
566790
566894
|
};
|
|
566791
566895
|
|
|
566792
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
566896
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
566793
566897
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url3) => {
|
|
566794
566898
|
url3 = new URL(url3, platform_default.origin);
|
|
566795
566899
|
return origin2.protocol === url3.protocol && origin2.host === url3.host && (isMSIE || origin2.port === url3.port);
|
|
@@ -566798,7 +566902,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PUR
|
|
|
566798
566902
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
566799
566903
|
) : () => true;
|
|
566800
566904
|
|
|
566801
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
566905
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/cookies.js
|
|
566802
566906
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
566803
566907
|
// Standard browser envs support document.cookie
|
|
566804
566908
|
{
|
|
@@ -566844,7 +566948,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
566844
566948
|
}
|
|
566845
566949
|
);
|
|
566846
566950
|
|
|
566847
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
566951
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/mergeConfig.js
|
|
566848
566952
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing;
|
|
566849
566953
|
function mergeConfig(config1, config22) {
|
|
566850
566954
|
config22 = config22 || {};
|
|
@@ -566925,7 +567029,7 @@ function mergeConfig(config1, config22) {
|
|
|
566925
567029
|
return config5;
|
|
566926
567030
|
}
|
|
566927
567031
|
|
|
566928
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567032
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/resolveConfig.js
|
|
566929
567033
|
var resolveConfig_default = (config5) => {
|
|
566930
567034
|
const newConfig = mergeConfig({}, config5);
|
|
566931
567035
|
let { data: data2, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers: headers2, auth: auth8 } = newConfig;
|
|
@@ -566968,7 +567072,7 @@ var resolveConfig_default = (config5) => {
|
|
|
566968
567072
|
return newConfig;
|
|
566969
567073
|
};
|
|
566970
567074
|
|
|
566971
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567075
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/xhr.js
|
|
566972
567076
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
566973
567077
|
var xhr_default = isXHRAdapterSupported && function(config5) {
|
|
566974
567078
|
return new Promise(function dispatchXhrRequest(resolve13, reject) {
|
|
@@ -567110,7 +567214,7 @@ var xhr_default = isXHRAdapterSupported && function(config5) {
|
|
|
567110
567214
|
});
|
|
567111
567215
|
};
|
|
567112
567216
|
|
|
567113
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567217
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/composeSignals.js
|
|
567114
567218
|
var composeSignals = (signals2, timeout4) => {
|
|
567115
567219
|
const { length } = signals2 = signals2 ? signals2.filter(Boolean) : [];
|
|
567116
567220
|
if (timeout4 || length) {
|
|
@@ -567148,7 +567252,7 @@ var composeSignals = (signals2, timeout4) => {
|
|
|
567148
567252
|
};
|
|
567149
567253
|
var composeSignals_default = composeSignals;
|
|
567150
567254
|
|
|
567151
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567255
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/trackStream.js
|
|
567152
567256
|
var streamChunk = function* (chunk2, chunkSize) {
|
|
567153
567257
|
let len = chunk2.byteLength;
|
|
567154
567258
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -567228,7 +567332,7 @@ var trackStream = (stream5, chunkSize, onProgress, onFinish) => {
|
|
|
567228
567332
|
);
|
|
567229
567333
|
};
|
|
567230
567334
|
|
|
567231
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567335
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/fetch.js
|
|
567232
567336
|
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
567233
567337
|
var { isFunction: isFunction5 } = utils_default;
|
|
567234
567338
|
var globalFetchAPI = (({ Request: Request34, Response: Response36 }) => ({
|
|
@@ -567452,7 +567556,7 @@ var getFetch = (config5) => {
|
|
|
567452
567556
|
};
|
|
567453
567557
|
var adapter = getFetch();
|
|
567454
567558
|
|
|
567455
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567559
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/adapters/adapters.js
|
|
567456
567560
|
var knownAdapters = {
|
|
567457
567561
|
http: http_default,
|
|
567458
567562
|
xhr: xhr_default,
|
|
@@ -567517,7 +567621,7 @@ var adapters_default = {
|
|
|
567517
567621
|
adapters: knownAdapters
|
|
567518
567622
|
};
|
|
567519
567623
|
|
|
567520
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567624
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/dispatchRequest.js
|
|
567521
567625
|
function throwIfCancellationRequested(config5) {
|
|
567522
567626
|
if (config5.cancelToken) {
|
|
567523
567627
|
config5.cancelToken.throwIfRequested();
|
|
@@ -567558,7 +567662,7 @@ function dispatchRequest(config5) {
|
|
|
567558
567662
|
);
|
|
567559
567663
|
}
|
|
567560
567664
|
|
|
567561
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567665
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/validator.js
|
|
567562
567666
|
var validators = {};
|
|
567563
567667
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type8, i11) => {
|
|
567564
567668
|
validators[type8] = function validator(thing) {
|
|
@@ -567625,7 +567729,7 @@ var validator_default = {
|
|
|
567625
567729
|
validators
|
|
567626
567730
|
};
|
|
567627
567731
|
|
|
567628
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567732
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/core/Axios.js
|
|
567629
567733
|
var validators2 = validator_default.validators;
|
|
567630
567734
|
var Axios = class {
|
|
567631
567735
|
constructor(instanceConfig) {
|
|
@@ -567650,12 +567754,23 @@ var Axios = class {
|
|
|
567650
567754
|
if (err instanceof Error) {
|
|
567651
567755
|
let dummy = {};
|
|
567652
567756
|
Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
|
|
567653
|
-
const stack =
|
|
567757
|
+
const stack = (() => {
|
|
567758
|
+
if (!dummy.stack) {
|
|
567759
|
+
return "";
|
|
567760
|
+
}
|
|
567761
|
+
const firstNewlineIndex = dummy.stack.indexOf("\n");
|
|
567762
|
+
return firstNewlineIndex === -1 ? "" : dummy.stack.slice(firstNewlineIndex + 1);
|
|
567763
|
+
})();
|
|
567654
567764
|
try {
|
|
567655
567765
|
if (!err.stack) {
|
|
567656
567766
|
err.stack = stack;
|
|
567657
|
-
} else if (stack
|
|
567658
|
-
|
|
567767
|
+
} else if (stack) {
|
|
567768
|
+
const firstNewlineIndex = stack.indexOf("\n");
|
|
567769
|
+
const secondNewlineIndex = firstNewlineIndex === -1 ? -1 : stack.indexOf("\n", firstNewlineIndex + 1);
|
|
567770
|
+
const stackWithoutTwoTopLines = secondNewlineIndex === -1 ? "" : stack.slice(secondNewlineIndex + 1);
|
|
567771
|
+
if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {
|
|
567772
|
+
err.stack += "\n" + stack;
|
|
567773
|
+
}
|
|
567659
567774
|
}
|
|
567660
567775
|
} catch (e6) {
|
|
567661
567776
|
}
|
|
@@ -567814,7 +567929,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
567814
567929
|
});
|
|
567815
567930
|
var Axios_default = Axios;
|
|
567816
567931
|
|
|
567817
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
567932
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/cancel/CancelToken.js
|
|
567818
567933
|
var CancelToken = class _CancelToken {
|
|
567819
567934
|
constructor(executor) {
|
|
567820
567935
|
if (typeof executor !== "function") {
|
|
@@ -567912,19 +568027,19 @@ var CancelToken = class _CancelToken {
|
|
|
567912
568027
|
};
|
|
567913
568028
|
var CancelToken_default = CancelToken;
|
|
567914
568029
|
|
|
567915
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
568030
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/spread.js
|
|
567916
568031
|
function spread(callback) {
|
|
567917
568032
|
return function wrap10(arr) {
|
|
567918
568033
|
return callback.apply(null, arr);
|
|
567919
568034
|
};
|
|
567920
568035
|
}
|
|
567921
568036
|
|
|
567922
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
568037
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/isAxiosError.js
|
|
567923
568038
|
function isAxiosError(payload) {
|
|
567924
568039
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
567925
568040
|
}
|
|
567926
568041
|
|
|
567927
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
568042
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
567928
568043
|
var HttpStatusCode = {
|
|
567929
568044
|
Continue: 100,
|
|
567930
568045
|
SwitchingProtocols: 101,
|
|
@@ -568001,7 +568116,7 @@ Object.entries(HttpStatusCode).forEach(([key2, value]) => {
|
|
|
568001
568116
|
});
|
|
568002
568117
|
var HttpStatusCode_default = HttpStatusCode;
|
|
568003
568118
|
|
|
568004
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
568119
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/lib/axios.js
|
|
568005
568120
|
function createInstance2(defaultConfig) {
|
|
568006
568121
|
const context3 = new Axios_default(defaultConfig);
|
|
568007
568122
|
const instance = bind2(Axios_default.prototype.request, context3);
|
|
@@ -568034,7 +568149,7 @@ axios3.HttpStatusCode = HttpStatusCode_default;
|
|
|
568034
568149
|
axios3.default = axios3;
|
|
568035
568150
|
var axios_default = axios3;
|
|
568036
568151
|
|
|
568037
|
-
// ../../../node_modules/.pnpm/axios@1.
|
|
568152
|
+
// ../../../node_modules/.pnpm/axios@1.15.0/node_modules/axios/index.js
|
|
568038
568153
|
var {
|
|
568039
568154
|
Axios: Axios2,
|
|
568040
568155
|
AxiosError: AxiosError2,
|
|
@@ -604115,7 +604230,7 @@ var AccessTokenPosthogManager = class {
|
|
|
604115
604230
|
properties: {
|
|
604116
604231
|
...event,
|
|
604117
604232
|
...event.properties,
|
|
604118
|
-
version: "4.65.
|
|
604233
|
+
version: "4.65.2-2-g86685bdab73",
|
|
604119
604234
|
usingAccessToken: true
|
|
604120
604235
|
}
|
|
604121
604236
|
});
|
|
@@ -604166,7 +604281,7 @@ var UserPosthogManager = class {
|
|
|
604166
604281
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
604167
604282
|
event: "CLI",
|
|
604168
604283
|
properties: {
|
|
604169
|
-
version: "4.65.
|
|
604284
|
+
version: "4.65.2-2-g86685bdab73",
|
|
604170
604285
|
...event,
|
|
604171
604286
|
...event.properties,
|
|
604172
604287
|
usingAccessToken: false,
|
|
@@ -754388,9 +754503,9 @@ var V66_TO_V65_MIGRATION = {
|
|
|
754388
754503
|
[GeneratorName.TYPESCRIPT]: "3.61.0-rc.0",
|
|
754389
754504
|
[GeneratorName.TYPESCRIPT_SDK]: "3.61.0-rc.0",
|
|
754390
754505
|
[GeneratorName.TYPESCRIPT_EXPRESS]: "0.20.0-rc.0",
|
|
754391
|
-
[GeneratorName.JAVA]:
|
|
754392
|
-
[GeneratorName.JAVA_MODEL]:
|
|
754393
|
-
[GeneratorName.JAVA_SDK]:
|
|
754506
|
+
[GeneratorName.JAVA]: "4.2.0-rc.0",
|
|
754507
|
+
[GeneratorName.JAVA_MODEL]: "1.9.0-rc.0",
|
|
754508
|
+
[GeneratorName.JAVA_SDK]: "4.2.0-rc.0",
|
|
754394
754509
|
[GeneratorName.JAVA_SPRING]: GeneratorWasNeverUpdatedToConsumeNewIR,
|
|
754395
754510
|
[GeneratorName.OPENAPI_PYTHON_CLIENT]: GeneratorWasNeverUpdatedToConsumeNewIR,
|
|
754396
754511
|
[GeneratorName.OPENAPI]: "0.4.0-rc.0",
|
|
@@ -841147,7 +841262,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
841147
841262
|
var LOGS_FOLDER_NAME = "logs";
|
|
841148
841263
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
841149
841264
|
function getCliSource() {
|
|
841150
|
-
const version7 = "4.65.
|
|
841265
|
+
const version7 = "4.65.2-2-g86685bdab73";
|
|
841151
841266
|
return `cli@${version7}`;
|
|
841152
841267
|
}
|
|
841153
841268
|
var DebugLogger = class {
|
|
@@ -852345,7 +852460,7 @@ var LegacyDocsPublisher = class {
|
|
|
852345
852460
|
previewId,
|
|
852346
852461
|
disableTemplates: void 0,
|
|
852347
852462
|
skipUpload,
|
|
852348
|
-
cliVersion: "4.65.
|
|
852463
|
+
cliVersion: "4.65.2-2-g86685bdab73"
|
|
852349
852464
|
});
|
|
852350
852465
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
852351
852466
|
return { success: false };
|
|
@@ -873516,7 +873631,7 @@ var EndpointSnippetGenerator2 = class extends WithGeneration {
|
|
|
873516
873631
|
throw new Error("Unsupported");
|
|
873517
873632
|
}
|
|
873518
873633
|
buildCodeBlock({ endpoint: endpoint3, snippet: snippet2, options: options2 }) {
|
|
873519
|
-
if (endpoint3.examples && !endpoint3.examples
|
|
873634
|
+
if (endpoint3.examples && is9.DynamicIR.EndpointExample(snippet2) && !endpoint3.examples.find((each2) => each2.id === snippet2.id)) {
|
|
873520
873635
|
throw new Error("Endpoint does not have an example that matches the snippet");
|
|
873521
873636
|
}
|
|
873522
873637
|
const body = this.csharp.codeblock((writer2) => {
|
|
@@ -925934,7 +926049,7 @@ var CliContext = class {
|
|
|
925934
926049
|
if (false) {
|
|
925935
926050
|
this.logger.error("CLI_VERSION is not defined");
|
|
925936
926051
|
}
|
|
925937
|
-
return "4.65.
|
|
926052
|
+
return "4.65.2-2-g86685bdab73";
|
|
925938
926053
|
}
|
|
925939
926054
|
getCliName() {
|
|
925940
926055
|
if (false) {
|
|
@@ -932903,11 +933018,14 @@ async function listDocsPreview({
|
|
|
932903
933018
|
return context3.failAndThrow(
|
|
932904
933019
|
"Unauthorized to list preview deployments. Please run 'fern login' to refresh your credentials, or set the FERN_TOKEN environment variable."
|
|
932905
933020
|
);
|
|
932906
|
-
default:
|
|
933021
|
+
default: {
|
|
933022
|
+
const errorContent = listResponse.error.content != null && typeof listResponse.error.content === "object" && "body" in listResponse.error.content ? listResponse.error.content.body : listResponse.error.content;
|
|
933023
|
+
context3.logger.debug(`Error fetching preview deployments: ${JSON.stringify(errorContent)}`);
|
|
932907
933024
|
return context3.failAndThrow(
|
|
932908
|
-
"Failed to fetch preview deployments. Please
|
|
933025
|
+
"Failed to fetch preview deployments. Please ensure you are logged in with 'fern login' or have FERN_TOKEN set, then try again.",
|
|
932909
933026
|
listResponse.error
|
|
932910
933027
|
);
|
|
933028
|
+
}
|
|
932911
933029
|
}
|
|
932912
933030
|
}
|
|
932913
933031
|
const previewUrlPattern = /-preview-[a-f0-9-]+\.docs\.buildwithfern\.com$/;
|
package/package.json
CHANGED