@fern-api/fern-api-dev 3.60.2-1-g4e59243ad4c → 3.60.2
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 +20 -22
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1413296,7 +1413296,7 @@ var range = (a10, b18, str3) => {
|
|
|
1413296
1413296
|
return result;
|
|
1413297
1413297
|
};
|
|
1413298
1413298
|
|
|
1413299
|
-
// ../../../node_modules/.pnpm/@isaacs+brace-expansion@5.0.
|
|
1413299
|
+
// ../../../node_modules/.pnpm/@isaacs+brace-expansion@5.0.0/node_modules/@isaacs/brace-expansion/dist/esm/index.js
|
|
1413300
1413300
|
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
1413301
1413301
|
var escOpen = "\0OPEN" + Math.random() + "\0";
|
|
1413302
1413302
|
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
@@ -1413312,7 +1413312,6 @@ var openPattern = /\\{/g;
|
|
|
1413312
1413312
|
var closePattern = /\\}/g;
|
|
1413313
1413313
|
var commaPattern = /\\,/g;
|
|
1413314
1413314
|
var periodPattern = /\\./g;
|
|
1413315
|
-
var EXPANSION_MAX = 1e5;
|
|
1413316
1413315
|
function numeric(str3) {
|
|
1413317
1413316
|
return !isNaN(str3) ? parseInt(str3, 10) : str3.charCodeAt(0);
|
|
1413318
1413317
|
}
|
|
@@ -1413343,15 +1413342,14 @@ function parseCommaParts(str3) {
|
|
|
1413343
1413342
|
parts.push.apply(parts, p9);
|
|
1413344
1413343
|
return parts;
|
|
1413345
1413344
|
}
|
|
1413346
|
-
function expand(str3
|
|
1413345
|
+
function expand(str3) {
|
|
1413347
1413346
|
if (!str3) {
|
|
1413348
1413347
|
return [];
|
|
1413349
1413348
|
}
|
|
1413350
|
-
const { max = EXPANSION_MAX } = options2;
|
|
1413351
1413349
|
if (str3.slice(0, 2) === "{}") {
|
|
1413352
1413350
|
str3 = "\\{\\}" + str3.slice(2);
|
|
1413353
1413351
|
}
|
|
1413354
|
-
return expand_(escapeBraces(str3),
|
|
1413352
|
+
return expand_(escapeBraces(str3), true).map(unescapeBraces);
|
|
1413355
1413353
|
}
|
|
1413356
1413354
|
function embrace(str3) {
|
|
1413357
1413355
|
return "{" + str3 + "}";
|
|
@@ -1413365,15 +1413363,15 @@ function lte(i11, y23) {
|
|
|
1413365
1413363
|
function gte(i11, y23) {
|
|
1413366
1413364
|
return i11 >= y23;
|
|
1413367
1413365
|
}
|
|
1413368
|
-
function expand_(str3,
|
|
1413366
|
+
function expand_(str3, isTop) {
|
|
1413369
1413367
|
const expansions = [];
|
|
1413370
1413368
|
const m10 = balanced("{", "}", str3);
|
|
1413371
1413369
|
if (!m10)
|
|
1413372
1413370
|
return [str3];
|
|
1413373
1413371
|
const pre = m10.pre;
|
|
1413374
|
-
const post = m10.post.length ? expand_(m10.post,
|
|
1413372
|
+
const post = m10.post.length ? expand_(m10.post, false) : [""];
|
|
1413375
1413373
|
if (/\$$/.test(m10.pre)) {
|
|
1413376
|
-
for (let k18 = 0; k18 < post.length
|
|
1413374
|
+
for (let k18 = 0; k18 < post.length; k18++) {
|
|
1413377
1413375
|
const expansion = pre + "{" + m10.body + "}" + post[k18];
|
|
1413378
1413376
|
expansions.push(expansion);
|
|
1413379
1413377
|
}
|
|
@@ -1413385,7 +1413383,7 @@ function expand_(str3, max, isTop) {
|
|
|
1413385
1413383
|
if (!isSequence && !isOptions) {
|
|
1413386
1413384
|
if (m10.post.match(/,(?!,).*\}/)) {
|
|
1413387
1413385
|
str3 = m10.pre + "{" + m10.body + escClose + m10.post;
|
|
1413388
|
-
return expand_(str3
|
|
1413386
|
+
return expand_(str3);
|
|
1413389
1413387
|
}
|
|
1413390
1413388
|
return [str3];
|
|
1413391
1413389
|
}
|
|
@@ -1413395,7 +1413393,7 @@ function expand_(str3, max, isTop) {
|
|
|
1413395
1413393
|
} else {
|
|
1413396
1413394
|
n6 = parseCommaParts(m10.body);
|
|
1413397
1413395
|
if (n6.length === 1 && n6[0] !== void 0) {
|
|
1413398
|
-
n6 = expand_(n6[0],
|
|
1413396
|
+
n6 = expand_(n6[0], false).map(embrace);
|
|
1413399
1413397
|
if (n6.length === 1) {
|
|
1413400
1413398
|
return post.map((p9) => m10.pre + n6[0] + p9);
|
|
1413401
1413399
|
}
|
|
@@ -1413441,11 +1413439,11 @@ function expand_(str3, max, isTop) {
|
|
|
1413441
1413439
|
} else {
|
|
1413442
1413440
|
N12 = [];
|
|
1413443
1413441
|
for (let j15 = 0; j15 < n6.length; j15++) {
|
|
1413444
|
-
N12.push.apply(N12, expand_(n6[j15],
|
|
1413442
|
+
N12.push.apply(N12, expand_(n6[j15], false));
|
|
1413445
1413443
|
}
|
|
1413446
1413444
|
}
|
|
1413447
1413445
|
for (let j15 = 0; j15 < N12.length; j15++) {
|
|
1413448
|
-
for (let k18 = 0; k18 < post.length
|
|
1413446
|
+
for (let k18 = 0; k18 < post.length; k18++) {
|
|
1413449
1413447
|
const expansion = pre + N12[j15] + post[k18];
|
|
1413450
1413448
|
if (!isTop || isSequence || expansion) {
|
|
1413451
1413449
|
expansions.push(expansion);
|
|
@@ -1413456,7 +1413454,7 @@ function expand_(str3, max, isTop) {
|
|
|
1413456
1413454
|
return expansions;
|
|
1413457
1413455
|
}
|
|
1413458
1413456
|
|
|
1413459
|
-
// ../../../node_modules/.pnpm/minimatch@10.1.
|
|
1413457
|
+
// ../../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
|
1413460
1413458
|
var MAX_PATTERN_LENGTH = 1024 * 64;
|
|
1413461
1413459
|
var assertValidPattern = (pattern) => {
|
|
1413462
1413460
|
if (typeof pattern !== "string") {
|
|
@@ -1413467,7 +1413465,7 @@ var assertValidPattern = (pattern) => {
|
|
|
1413467
1413465
|
}
|
|
1413468
1413466
|
};
|
|
1413469
1413467
|
|
|
1413470
|
-
// ../../../node_modules/.pnpm/minimatch@10.1.
|
|
1413468
|
+
// ../../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/brace-expressions.js
|
|
1413471
1413469
|
var posixClasses = {
|
|
1413472
1413470
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
|
|
1413473
1413471
|
"[:alpha:]": ["\\p{L}\\p{Nl}", true],
|
|
@@ -1413576,7 +1413574,7 @@ var parseClass = (glob2, position4) => {
|
|
|
1413576
1413574
|
return [comb, uflag, endPos - pos2, true];
|
|
1413577
1413575
|
};
|
|
1413578
1413576
|
|
|
1413579
|
-
// ../../../node_modules/.pnpm/minimatch@10.1.
|
|
1413577
|
+
// ../../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/unescape.js
|
|
1413580
1413578
|
var unescape2 = (s9, { windowsPathsNoEscape = false, magicalBraces = true } = {}) => {
|
|
1413581
1413579
|
if (magicalBraces) {
|
|
1413582
1413580
|
return windowsPathsNoEscape ? s9.replace(/\[([^\/\\])\]/g, "$1") : s9.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
@@ -1413584,7 +1413582,7 @@ var unescape2 = (s9, { windowsPathsNoEscape = false, magicalBraces = true } = {}
|
|
|
1413584
1413582
|
return windowsPathsNoEscape ? s9.replace(/\[([^\/\\{}])\]/g, "$1") : s9.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
|
|
1413585
1413583
|
};
|
|
1413586
1413584
|
|
|
1413587
|
-
// ../../../node_modules/.pnpm/minimatch@10.1.
|
|
1413585
|
+
// ../../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/ast.js
|
|
1413588
1413586
|
var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
1413589
1413587
|
var isExtglobType = (c16) => types.has(c16);
|
|
1413590
1413588
|
var startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
@@ -1414060,7 +1414058,7 @@ var AST = class _AST {
|
|
|
1414060
1414058
|
}
|
|
1414061
1414059
|
};
|
|
1414062
1414060
|
|
|
1414063
|
-
// ../../../node_modules/.pnpm/minimatch@10.1.
|
|
1414061
|
+
// ../../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/escape.js
|
|
1414064
1414062
|
var escape3 = (s9, { windowsPathsNoEscape = false, magicalBraces = false } = {}) => {
|
|
1414065
1414063
|
if (magicalBraces) {
|
|
1414066
1414064
|
return windowsPathsNoEscape ? s9.replace(/[?*()[\]{}]/g, "[$&]") : s9.replace(/[?*()[\]\\{}]/g, "\\$&");
|
|
@@ -1414068,7 +1414066,7 @@ var escape3 = (s9, { windowsPathsNoEscape = false, magicalBraces = false } = {})
|
|
|
1414068
1414066
|
return windowsPathsNoEscape ? s9.replace(/[?*()[\]]/g, "[$&]") : s9.replace(/[?*()[\]\\]/g, "\\$&");
|
|
1414069
1414067
|
};
|
|
1414070
1414068
|
|
|
1414071
|
-
// ../../../node_modules/.pnpm/minimatch@10.1.
|
|
1414069
|
+
// ../../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/index.js
|
|
1414072
1414070
|
var minimatch = (p9, pattern, options2 = {}) => {
|
|
1414073
1414071
|
assertValidPattern(pattern);
|
|
1414074
1414072
|
if (!options2.nocomment && pattern.charAt(0) === "#") {
|
|
@@ -1678894,7 +1678892,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1678894
1678892
|
properties: {
|
|
1678895
1678893
|
...event,
|
|
1678896
1678894
|
...event.properties,
|
|
1678897
|
-
version: "3.60.2
|
|
1678895
|
+
version: "3.60.2",
|
|
1678898
1678896
|
usingAccessToken: true
|
|
1678899
1678897
|
}
|
|
1678900
1678898
|
});
|
|
@@ -1678944,7 +1678942,7 @@ var UserPosthogManager = class {
|
|
|
1678944
1678942
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1678945
1678943
|
event: "CLI",
|
|
1678946
1678944
|
properties: {
|
|
1678947
|
-
version: "3.60.2
|
|
1678945
|
+
version: "3.60.2",
|
|
1678948
1678946
|
...event,
|
|
1678949
1678947
|
...event.properties,
|
|
1678950
1678948
|
usingAccessToken: false,
|
|
@@ -1710866,7 +1710864,7 @@ var CliContext = class {
|
|
|
1710866
1710864
|
if (false) {
|
|
1710867
1710865
|
this.logger.error("CLI_VERSION is not defined");
|
|
1710868
1710866
|
}
|
|
1710869
|
-
return "3.60.2
|
|
1710867
|
+
return "3.60.2";
|
|
1710870
1710868
|
}
|
|
1710871
1710869
|
getCliName() {
|
|
1710872
1710870
|
if (false) {
|
|
@@ -1713980,7 +1713978,7 @@ var import_path56 = __toESM(require("path"), 1);
|
|
|
1713980
1713978
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1713981
1713979
|
var LOGS_FOLDER_NAME = "logs";
|
|
1713982
1713980
|
function getCliSource() {
|
|
1713983
|
-
const version7 = "3.60.2
|
|
1713981
|
+
const version7 = "3.60.2";
|
|
1713984
1713982
|
return `cli@${version7}`;
|
|
1713985
1713983
|
}
|
|
1713986
1713984
|
var DebugLogger = class {
|
package/package.json
CHANGED