@fern-api/fern-api-dev 4.68.1-5-gfe3707e9d4d → 4.68.1-6-g8b993ddb73d
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 +25 -10
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -226337,9 +226337,9 @@ var require_bl = __commonJS({
|
|
|
226337
226337
|
}
|
|
226338
226338
|
});
|
|
226339
226339
|
|
|
226340
|
-
// ../../../node_modules/.pnpm/follow-redirects@1.
|
|
226340
|
+
// ../../../node_modules/.pnpm/follow-redirects@1.16.0/node_modules/follow-redirects/debug.js
|
|
226341
226341
|
var require_debug2 = __commonJS({
|
|
226342
|
-
"../../../node_modules/.pnpm/follow-redirects@1.
|
|
226342
|
+
"../../../node_modules/.pnpm/follow-redirects@1.16.0/node_modules/follow-redirects/debug.js"(exports2, module4) {
|
|
226343
226343
|
"use strict";
|
|
226344
226344
|
var debug9;
|
|
226345
226345
|
module4.exports = function() {
|
|
@@ -226358,9 +226358,9 @@ var require_debug2 = __commonJS({
|
|
|
226358
226358
|
}
|
|
226359
226359
|
});
|
|
226360
226360
|
|
|
226361
|
-
// ../../../node_modules/.pnpm/follow-redirects@1.
|
|
226361
|
+
// ../../../node_modules/.pnpm/follow-redirects@1.16.0/node_modules/follow-redirects/index.js
|
|
226362
226362
|
var require_follow_redirects = __commonJS({
|
|
226363
|
-
"../../../node_modules/.pnpm/follow-redirects@1.
|
|
226363
|
+
"../../../node_modules/.pnpm/follow-redirects@1.16.0/node_modules/follow-redirects/index.js"(exports2, module4) {
|
|
226364
226364
|
"use strict";
|
|
226365
226365
|
var url3 = require("url");
|
|
226366
226366
|
var URL4 = url3.URL;
|
|
@@ -226383,6 +226383,11 @@ var require_follow_redirects = __commonJS({
|
|
|
226383
226383
|
} catch (error50) {
|
|
226384
226384
|
useNativeURL = error50.code === "ERR_INVALID_URL";
|
|
226385
226385
|
}
|
|
226386
|
+
var sensitiveHeaders = [
|
|
226387
|
+
"Authorization",
|
|
226388
|
+
"Proxy-Authorization",
|
|
226389
|
+
"Cookie"
|
|
226390
|
+
];
|
|
226386
226391
|
var preservedUrlFields = [
|
|
226387
226392
|
"auth",
|
|
226388
226393
|
"host",
|
|
@@ -226447,6 +226452,7 @@ var require_follow_redirects = __commonJS({
|
|
|
226447
226452
|
self2.emit("error", cause instanceof RedirectionError ? cause : new RedirectionError({ cause }));
|
|
226448
226453
|
}
|
|
226449
226454
|
};
|
|
226455
|
+
this._headerFilter = new RegExp("^(?:" + sensitiveHeaders.concat(options2.sensitiveHeaders).map(escapeRegex2).join("|") + ")$", "i");
|
|
226450
226456
|
this._performRequest();
|
|
226451
226457
|
}
|
|
226452
226458
|
RedirectableRequest.prototype = Object.create(Writable2.prototype);
|
|
@@ -226584,6 +226590,9 @@ var require_follow_redirects = __commonJS({
|
|
|
226584
226590
|
if (!options2.headers) {
|
|
226585
226591
|
options2.headers = {};
|
|
226586
226592
|
}
|
|
226593
|
+
if (!isArray7(options2.sensitiveHeaders)) {
|
|
226594
|
+
options2.sensitiveHeaders = [];
|
|
226595
|
+
}
|
|
226587
226596
|
if (options2.host) {
|
|
226588
226597
|
if (!options2.hostname) {
|
|
226589
226598
|
options2.hostname = options2.host;
|
|
@@ -226689,7 +226698,7 @@ var require_follow_redirects = __commonJS({
|
|
|
226689
226698
|
this._isRedirect = true;
|
|
226690
226699
|
spreadUrlObject(redirectUrl, this._options);
|
|
226691
226700
|
if (redirectUrl.protocol !== currentUrlParts.protocol && redirectUrl.protocol !== "https:" || redirectUrl.host !== currentHost && !isSubdomain(redirectUrl.host, currentHost)) {
|
|
226692
|
-
removeMatchingHeaders(
|
|
226701
|
+
removeMatchingHeaders(this._headerFilter, this._options.headers);
|
|
226693
226702
|
}
|
|
226694
226703
|
if (isFunction10(beforeRedirect)) {
|
|
226695
226704
|
var responseDetails = {
|
|
@@ -226838,6 +226847,9 @@ var require_follow_redirects = __commonJS({
|
|
|
226838
226847
|
var dot = subdomain.length - domain3.length - 1;
|
|
226839
226848
|
return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain3);
|
|
226840
226849
|
}
|
|
226850
|
+
function isArray7(value) {
|
|
226851
|
+
return value instanceof Array;
|
|
226852
|
+
}
|
|
226841
226853
|
function isString6(value) {
|
|
226842
226854
|
return typeof value === "string" || value instanceof String;
|
|
226843
226855
|
}
|
|
@@ -226850,6 +226862,9 @@ var require_follow_redirects = __commonJS({
|
|
|
226850
226862
|
function isURL2(value) {
|
|
226851
226863
|
return URL4 && value instanceof URL4;
|
|
226852
226864
|
}
|
|
226865
|
+
function escapeRegex2(regex5) {
|
|
226866
|
+
return regex5.replace(/[\]\\/()*+?.$]/g, "\\$&");
|
|
226867
|
+
}
|
|
226853
226868
|
module4.exports = wrap10({ http: http13, https: https5 });
|
|
226854
226869
|
module4.exports.wrap = wrap10;
|
|
226855
226870
|
}
|
|
@@ -627624,7 +627639,7 @@ var AccessTokenPosthogManager = class {
|
|
|
627624
627639
|
properties: {
|
|
627625
627640
|
...event,
|
|
627626
627641
|
...event.properties,
|
|
627627
|
-
version: "4.68.1-
|
|
627642
|
+
version: "4.68.1-6-g8b993ddb73d",
|
|
627628
627643
|
usingAccessToken: true
|
|
627629
627644
|
}
|
|
627630
627645
|
});
|
|
@@ -627678,7 +627693,7 @@ var UserPosthogManager = class {
|
|
|
627678
627693
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
627679
627694
|
event: "CLI",
|
|
627680
627695
|
properties: {
|
|
627681
|
-
version: "4.68.1-
|
|
627696
|
+
version: "4.68.1-6-g8b993ddb73d",
|
|
627682
627697
|
...event,
|
|
627683
627698
|
...event.properties,
|
|
627684
627699
|
usingAccessToken: false,
|
|
@@ -843953,7 +843968,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
843953
843968
|
var LOGS_FOLDER_NAME = "logs";
|
|
843954
843969
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
843955
843970
|
function getCliSource() {
|
|
843956
|
-
const version7 = "4.68.1-
|
|
843971
|
+
const version7 = "4.68.1-6-g8b993ddb73d";
|
|
843957
843972
|
return `cli@${version7}`;
|
|
843958
843973
|
}
|
|
843959
843974
|
var DebugLogger = class {
|
|
@@ -855201,7 +855216,7 @@ var LegacyDocsPublisher = class {
|
|
|
855201
855216
|
previewId,
|
|
855202
855217
|
disableTemplates: void 0,
|
|
855203
855218
|
skipUpload,
|
|
855204
|
-
cliVersion: "4.68.1-
|
|
855219
|
+
cliVersion: "4.68.1-6-g8b993ddb73d"
|
|
855205
855220
|
});
|
|
855206
855221
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
855207
855222
|
return { success: false };
|
|
@@ -928941,7 +928956,7 @@ var CliContext = class _CliContext {
|
|
|
928941
928956
|
if (false) {
|
|
928942
928957
|
this.logger.error("CLI_VERSION is not defined");
|
|
928943
928958
|
}
|
|
928944
|
-
return "4.68.1-
|
|
928959
|
+
return "4.68.1-6-g8b993ddb73d";
|
|
928945
928960
|
}
|
|
928946
928961
|
getCliName() {
|
|
928947
928962
|
if (false) {
|
package/package.json
CHANGED