@fern-api/fern-api-dev 5.28.2 → 5.28.3
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 +51 -41
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -11036,9 +11036,9 @@ var require_commonjs = __commonJS({
|
|
|
11036
11036
|
}
|
|
11037
11037
|
});
|
|
11038
11038
|
|
|
11039
|
-
// ../../../node_modules/.pnpm/brace-expansion@5.0.
|
|
11039
|
+
// ../../../node_modules/.pnpm/brace-expansion@5.0.6/node_modules/brace-expansion/dist/commonjs/index.js
|
|
11040
11040
|
var require_commonjs2 = __commonJS({
|
|
11041
|
-
"../../../node_modules/.pnpm/brace-expansion@5.0.
|
|
11041
|
+
"../../../node_modules/.pnpm/brace-expansion@5.0.6/node_modules/brace-expansion/dist/commonjs/index.js"(exports2) {
|
|
11042
11042
|
"use strict";
|
|
11043
11043
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11044
11044
|
exports2.EXPANSION_MAX = void 0;
|
|
@@ -11162,7 +11162,7 @@ var require_commonjs2 = __commonJS({
|
|
|
11162
11162
|
}
|
|
11163
11163
|
const pad3 = n19.some(isPadded2);
|
|
11164
11164
|
N4 = [];
|
|
11165
|
-
for (let i9 = x5; test2(i9, y7); i9 += incr) {
|
|
11165
|
+
for (let i9 = x5; test2(i9, y7) && N4.length < max; i9 += incr) {
|
|
11166
11166
|
let c6;
|
|
11167
11167
|
if (isAlphaSequence) {
|
|
11168
11168
|
c6 = String.fromCharCode(i9);
|
|
@@ -45171,7 +45171,7 @@ var init_esm9 = __esm({
|
|
|
45171
45171
|
}
|
|
45172
45172
|
});
|
|
45173
45173
|
|
|
45174
|
-
// ../../../node_modules/.pnpm/brace-expansion@5.0.
|
|
45174
|
+
// ../../../node_modules/.pnpm/brace-expansion@5.0.6/node_modules/brace-expansion/dist/esm/index.js
|
|
45175
45175
|
function numeric(str3) {
|
|
45176
45176
|
return !isNaN(str3) ? parseInt(str3, 10) : str3.charCodeAt(0);
|
|
45177
45177
|
}
|
|
@@ -45274,7 +45274,7 @@ function expand_(str3, max, isTop) {
|
|
|
45274
45274
|
}
|
|
45275
45275
|
const pad3 = n19.some(isPadded);
|
|
45276
45276
|
N4 = [];
|
|
45277
|
-
for (let i9 = x5; test2(i9, y7); i9 += incr) {
|
|
45277
|
+
for (let i9 = x5; test2(i9, y7) && N4.length < max; i9 += incr) {
|
|
45278
45278
|
let c6;
|
|
45279
45279
|
if (isAlphaSequence) {
|
|
45280
45280
|
c6 = String.fromCharCode(i9);
|
|
@@ -45316,7 +45316,7 @@ function expand_(str3, max, isTop) {
|
|
|
45316
45316
|
}
|
|
45317
45317
|
var escSlash, escOpen, escClose, escComma, escPeriod, escSlashPattern, escOpenPattern, escClosePattern, escCommaPattern, escPeriodPattern, slashPattern, openPattern, closePattern, commaPattern, periodPattern, EXPANSION_MAX;
|
|
45318
45318
|
var init_esm10 = __esm({
|
|
45319
|
-
"../../../node_modules/.pnpm/brace-expansion@5.0.
|
|
45319
|
+
"../../../node_modules/.pnpm/brace-expansion@5.0.6/node_modules/brace-expansion/dist/esm/index.js"() {
|
|
45320
45320
|
"use strict";
|
|
45321
45321
|
init_esm9();
|
|
45322
45322
|
escSlash = "\0SLASH" + Math.random() + "\0";
|
|
@@ -332299,9 +332299,9 @@ var require_express3 = __commonJS({
|
|
|
332299
332299
|
}
|
|
332300
332300
|
});
|
|
332301
332301
|
|
|
332302
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
332302
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/constants.js
|
|
332303
332303
|
var require_constants2 = __commonJS({
|
|
332304
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
332304
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/constants.js"(exports2, module4) {
|
|
332305
332305
|
"use strict";
|
|
332306
332306
|
var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
|
|
332307
332307
|
var hasBlob = typeof Blob !== "undefined";
|
|
@@ -332322,9 +332322,9 @@ var require_constants2 = __commonJS({
|
|
|
332322
332322
|
}
|
|
332323
332323
|
});
|
|
332324
332324
|
|
|
332325
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
332325
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/buffer-util.js
|
|
332326
332326
|
var require_buffer_util = __commonJS({
|
|
332327
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
332327
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/buffer-util.js"(exports2, module4) {
|
|
332328
332328
|
"use strict";
|
|
332329
332329
|
var { EMPTY_BUFFER } = require_constants2();
|
|
332330
332330
|
var FastBuffer = Buffer[Symbol.species];
|
|
@@ -332397,9 +332397,9 @@ var require_buffer_util = __commonJS({
|
|
|
332397
332397
|
}
|
|
332398
332398
|
});
|
|
332399
332399
|
|
|
332400
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
332400
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/limiter.js
|
|
332401
332401
|
var require_limiter2 = __commonJS({
|
|
332402
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
332402
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/limiter.js"(exports2, module4) {
|
|
332403
332403
|
"use strict";
|
|
332404
332404
|
var kDone = /* @__PURE__ */ Symbol("kDone");
|
|
332405
332405
|
var kRun = /* @__PURE__ */ Symbol("kRun");
|
|
@@ -332447,9 +332447,9 @@ var require_limiter2 = __commonJS({
|
|
|
332447
332447
|
}
|
|
332448
332448
|
});
|
|
332449
332449
|
|
|
332450
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
332450
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/permessage-deflate.js
|
|
332451
332451
|
var require_permessage_deflate = __commonJS({
|
|
332452
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
332452
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/permessage-deflate.js"(exports2, module4) {
|
|
332453
332453
|
"use strict";
|
|
332454
332454
|
var zlib4 = require("zlib");
|
|
332455
332455
|
var bufferUtil = require_buffer_util();
|
|
@@ -332830,9 +332830,9 @@ var require_permessage_deflate = __commonJS({
|
|
|
332830
332830
|
}
|
|
332831
332831
|
});
|
|
332832
332832
|
|
|
332833
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
332833
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/validation.js
|
|
332834
332834
|
var require_validation4 = __commonJS({
|
|
332835
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
332835
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/validation.js"(exports2, module4) {
|
|
332836
332836
|
"use strict";
|
|
332837
332837
|
var { isUtf8 } = require("buffer");
|
|
332838
332838
|
var { hasBlob } = require_constants2();
|
|
@@ -333031,9 +333031,9 @@ var require_validation4 = __commonJS({
|
|
|
333031
333031
|
}
|
|
333032
333032
|
});
|
|
333033
333033
|
|
|
333034
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
333034
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/receiver.js
|
|
333035
333035
|
var require_receiver = __commonJS({
|
|
333036
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
333036
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/receiver.js"(exports2, module4) {
|
|
333037
333037
|
"use strict";
|
|
333038
333038
|
var { Writable: Writable2 } = require("stream");
|
|
333039
333039
|
var PerMessageDeflate2 = require_permessage_deflate();
|
|
@@ -333623,12 +333623,15 @@ var require_receiver = __commonJS({
|
|
|
333623
333623
|
}
|
|
333624
333624
|
});
|
|
333625
333625
|
|
|
333626
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
333626
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/sender.js
|
|
333627
333627
|
var require_sender = __commonJS({
|
|
333628
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
333628
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/sender.js"(exports2, module4) {
|
|
333629
333629
|
"use strict";
|
|
333630
333630
|
var { Duplex } = require("stream");
|
|
333631
333631
|
var { randomFillSync } = require("crypto");
|
|
333632
|
+
var {
|
|
333633
|
+
types: { isUint8Array: isUint8Array3 }
|
|
333634
|
+
} = require("util");
|
|
333632
333635
|
var PerMessageDeflate2 = require_permessage_deflate();
|
|
333633
333636
|
var { EMPTY_BUFFER, kWebSocket, NOOP: NOOP3 } = require_constants2();
|
|
333634
333637
|
var { isBlob: isBlob5, isValidStatusCode } = require_validation4();
|
|
@@ -333782,8 +333785,10 @@ var require_sender = __commonJS({
|
|
|
333782
333785
|
buf.writeUInt16BE(code5, 0);
|
|
333783
333786
|
if (typeof data2 === "string") {
|
|
333784
333787
|
buf.write(data2, 2);
|
|
333785
|
-
} else {
|
|
333788
|
+
} else if (isUint8Array3(data2)) {
|
|
333786
333789
|
buf.set(data2, 2);
|
|
333790
|
+
} else {
|
|
333791
|
+
throw new TypeError("Second argument must be a string or a Uint8Array");
|
|
333787
333792
|
}
|
|
333788
333793
|
}
|
|
333789
333794
|
const options2 = {
|
|
@@ -334111,9 +334116,9 @@ var require_sender = __commonJS({
|
|
|
334111
334116
|
}
|
|
334112
334117
|
});
|
|
334113
334118
|
|
|
334114
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
334119
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/event-target.js
|
|
334115
334120
|
var require_event_target = __commonJS({
|
|
334116
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
334121
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/event-target.js"(exports2, module4) {
|
|
334117
334122
|
"use strict";
|
|
334118
334123
|
var { kForOnEventAttribute, kListener } = require_constants2();
|
|
334119
334124
|
var kCode = /* @__PURE__ */ Symbol("kCode");
|
|
@@ -334340,9 +334345,9 @@ var require_event_target = __commonJS({
|
|
|
334340
334345
|
}
|
|
334341
334346
|
});
|
|
334342
334347
|
|
|
334343
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
334348
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/extension.js
|
|
334344
334349
|
var require_extension = __commonJS({
|
|
334345
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
334350
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/extension.js"(exports2, module4) {
|
|
334346
334351
|
"use strict";
|
|
334347
334352
|
var { tokenChars } = require_validation4();
|
|
334348
334353
|
function push3(dest, name2, elem) {
|
|
@@ -334493,9 +334498,9 @@ var require_extension = __commonJS({
|
|
|
334493
334498
|
}
|
|
334494
334499
|
});
|
|
334495
334500
|
|
|
334496
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
334501
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/websocket.js
|
|
334497
334502
|
var require_websocket = __commonJS({
|
|
334498
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
334503
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/websocket.js"(exports2, module4) {
|
|
334499
334504
|
"use strict";
|
|
334500
334505
|
var EventEmitter9 = require("events");
|
|
334501
334506
|
var https5 = require("https");
|
|
@@ -335379,9 +335384,9 @@ var require_websocket = __commonJS({
|
|
|
335379
335384
|
}
|
|
335380
335385
|
});
|
|
335381
335386
|
|
|
335382
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
335387
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/stream.js
|
|
335383
335388
|
var require_stream3 = __commonJS({
|
|
335384
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
335389
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/stream.js"(exports2, module4) {
|
|
335385
335390
|
"use strict";
|
|
335386
335391
|
var WebSocket3 = require_websocket();
|
|
335387
335392
|
var { Duplex } = require("stream");
|
|
@@ -335477,9 +335482,9 @@ var require_stream3 = __commonJS({
|
|
|
335477
335482
|
}
|
|
335478
335483
|
});
|
|
335479
335484
|
|
|
335480
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
335485
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/subprotocol.js
|
|
335481
335486
|
var require_subprotocol = __commonJS({
|
|
335482
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
335487
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/subprotocol.js"(exports2, module4) {
|
|
335483
335488
|
"use strict";
|
|
335484
335489
|
var { tokenChars } = require_validation4();
|
|
335485
335490
|
function parse19(header) {
|
|
@@ -335522,9 +335527,9 @@ var require_subprotocol = __commonJS({
|
|
|
335522
335527
|
}
|
|
335523
335528
|
});
|
|
335524
335529
|
|
|
335525
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
335530
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/websocket-server.js
|
|
335526
335531
|
var require_websocket_server = __commonJS({
|
|
335527
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
335532
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/lib/websocket-server.js"(exports2, module4) {
|
|
335528
335533
|
"use strict";
|
|
335529
335534
|
var EventEmitter9 = require("events");
|
|
335530
335535
|
var http13 = require("http");
|
|
@@ -335915,10 +335920,10 @@ var require_websocket_server = __commonJS({
|
|
|
335915
335920
|
}
|
|
335916
335921
|
});
|
|
335917
335922
|
|
|
335918
|
-
// ../../../node_modules/.pnpm/ws@8.20.
|
|
335923
|
+
// ../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/wrapper.mjs
|
|
335919
335924
|
var import_stream16, import_extension, import_permessage_deflate, import_receiver, import_sender, import_subprotocol, import_websocket, import_websocket_server, wrapper_default;
|
|
335920
335925
|
var init_wrapper = __esm({
|
|
335921
|
-
"../../../node_modules/.pnpm/ws@8.20.
|
|
335926
|
+
"../../../node_modules/.pnpm/ws@8.20.1/node_modules/ws/wrapper.mjs"() {
|
|
335922
335927
|
"use strict";
|
|
335923
335928
|
import_stream16 = __toESM(require_stream3(), 1);
|
|
335924
335929
|
import_extension = __toESM(require_extension(), 1);
|
|
@@ -667950,7 +667955,7 @@ var AccessTokenPosthogManager = class {
|
|
|
667950
667955
|
properties: {
|
|
667951
667956
|
...event,
|
|
667952
667957
|
...event.properties,
|
|
667953
|
-
version: "5.28.
|
|
667958
|
+
version: "5.28.3",
|
|
667954
667959
|
usingAccessToken: true,
|
|
667955
667960
|
...getRunIdProperties()
|
|
667956
667961
|
}
|
|
@@ -668014,7 +668019,7 @@ var UserPosthogManager = class {
|
|
|
668014
668019
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
668015
668020
|
event: "CLI",
|
|
668016
668021
|
properties: {
|
|
668017
|
-
version: "5.28.
|
|
668022
|
+
version: "5.28.3",
|
|
668018
668023
|
...event,
|
|
668019
668024
|
...event.properties,
|
|
668020
668025
|
usingAccessToken: false,
|
|
@@ -670813,6 +670818,8 @@ var Cache = class _Cache {
|
|
|
670813
670818
|
docsPreview;
|
|
670814
670819
|
/** Directory for downloaded generator migration packages. */
|
|
670815
670820
|
migrations;
|
|
670821
|
+
/** Directory for downloaded tool binaries (buf, protoc-gen-openapi). Shared with CLI v1. */
|
|
670822
|
+
bin;
|
|
670816
670823
|
constructor({ logger: logger4 } = {}) {
|
|
670817
670824
|
this.absoluteFilePath = _Cache.resolveAbsoluteFilePathStatic();
|
|
670818
670825
|
this.ir = new IrCache({
|
|
@@ -670827,6 +670834,9 @@ var Cache = class _Cache {
|
|
|
670827
670834
|
this.migrations = {
|
|
670828
670835
|
absoluteFilePath: join8(this.getVersionedPath(), RelativeFilePath2.of("migrations"))
|
|
670829
670836
|
};
|
|
670837
|
+
this.bin = {
|
|
670838
|
+
absoluteFilePath: join8(this.absoluteFilePath, RelativeFilePath2.of("bin"))
|
|
670839
|
+
};
|
|
670830
670840
|
}
|
|
670831
670841
|
/**
|
|
670832
670842
|
* Get the versioned cache directory path.
|
|
@@ -859705,7 +859715,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
859705
859715
|
var LOGS_FOLDER_NAME = "logs";
|
|
859706
859716
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
859707
859717
|
function getCliSource() {
|
|
859708
|
-
const version7 = "5.28.
|
|
859718
|
+
const version7 = "5.28.3";
|
|
859709
859719
|
return `cli@${version7}`;
|
|
859710
859720
|
}
|
|
859711
859721
|
var DebugLogger = class {
|
|
@@ -873714,7 +873724,7 @@ var LegacyDocsPublisher = class {
|
|
|
873714
873724
|
previewId,
|
|
873715
873725
|
disableTemplates: void 0,
|
|
873716
873726
|
skipUpload,
|
|
873717
|
-
cliVersion: "5.28.
|
|
873727
|
+
cliVersion: "5.28.3",
|
|
873718
873728
|
loginCommand: "fern auth login"
|
|
873719
873729
|
});
|
|
873720
873730
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -948119,7 +948129,7 @@ function getAutomationContextFromEnv() {
|
|
|
948119
948129
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
948120
948130
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
948121
948131
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
948122
|
-
cli_version: "5.28.
|
|
948132
|
+
cli_version: "5.28.3"
|
|
948123
948133
|
};
|
|
948124
948134
|
}
|
|
948125
948135
|
function isAutomationMode() {
|
|
@@ -948945,7 +948955,7 @@ var CliContext = class _CliContext {
|
|
|
948945
948955
|
if (false) {
|
|
948946
948956
|
this.logger.error("CLI_VERSION is not defined");
|
|
948947
948957
|
}
|
|
948948
|
-
return "5.28.
|
|
948958
|
+
return "5.28.3";
|
|
948949
948959
|
}
|
|
948950
948960
|
getCliName() {
|
|
948951
948961
|
if (false) {
|
package/package.json
CHANGED