@fern-api/fern-api-dev 4.100.1 → 4.100.2-19-g37a40c1bdd7
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 +17 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -620916,7 +620916,7 @@ var AccessTokenPosthogManager = class {
|
|
|
620916
620916
|
properties: {
|
|
620917
620917
|
...event,
|
|
620918
620918
|
...event.properties,
|
|
620919
|
-
version: "4.100.
|
|
620919
|
+
version: "4.100.2-19-g37a40c1bdd7",
|
|
620920
620920
|
usingAccessToken: true
|
|
620921
620921
|
}
|
|
620922
620922
|
});
|
|
@@ -620970,7 +620970,7 @@ var UserPosthogManager = class {
|
|
|
620970
620970
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
620971
620971
|
event: "CLI",
|
|
620972
620972
|
properties: {
|
|
620973
|
-
version: "4.100.
|
|
620973
|
+
version: "4.100.2-19-g37a40c1bdd7",
|
|
620974
620974
|
...event,
|
|
620975
620975
|
...event.properties,
|
|
620976
620976
|
usingAccessToken: false,
|
|
@@ -832192,7 +832192,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
832192
832192
|
var LOGS_FOLDER_NAME = "logs";
|
|
832193
832193
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
832194
832194
|
function getCliSource() {
|
|
832195
|
-
const version7 = "4.100.
|
|
832195
|
+
const version7 = "4.100.2-19-g37a40c1bdd7";
|
|
832196
832196
|
return `cli@${version7}`;
|
|
832197
832197
|
}
|
|
832198
832198
|
var DebugLogger = class {
|
|
@@ -834061,7 +834061,12 @@ ${err.stack}`);
|
|
|
834061
834061
|
if (availableLocales == null || availableLocales.length === 0) {
|
|
834062
834062
|
return void 0;
|
|
834063
834063
|
}
|
|
834064
|
-
|
|
834064
|
+
let pathname = urlPath;
|
|
834065
|
+
try {
|
|
834066
|
+
pathname = new URL(urlPath).pathname;
|
|
834067
|
+
} catch {
|
|
834068
|
+
}
|
|
834069
|
+
const pathParts = pathname.split("/").filter((p14) => p14.length > 0);
|
|
834065
834070
|
if (pathParts.length > 0) {
|
|
834066
834071
|
const firstPart = pathParts[0];
|
|
834067
834072
|
if (firstPart != null && availableLocales.includes(firstPart) && firstPart !== defaultLocale) {
|
|
@@ -834551,7 +834556,12 @@ ${err.stack}`);
|
|
|
834551
834556
|
if (availableLocales == null || availableLocales.length === 0) {
|
|
834552
834557
|
return void 0;
|
|
834553
834558
|
}
|
|
834554
|
-
|
|
834559
|
+
let pathname = urlPath;
|
|
834560
|
+
try {
|
|
834561
|
+
pathname = new URL(urlPath).pathname;
|
|
834562
|
+
} catch {
|
|
834563
|
+
}
|
|
834564
|
+
const pathParts = pathname.split("/").filter((p14) => p14.length > 0);
|
|
834555
834565
|
if (pathParts.length > 0) {
|
|
834556
834566
|
const firstPart = pathParts[0];
|
|
834557
834567
|
if (firstPart != null && availableLocales.includes(firstPart) && firstPart !== defaultLocale) {
|
|
@@ -844520,7 +844530,7 @@ var LegacyDocsPublisher = class {
|
|
|
844520
844530
|
previewId,
|
|
844521
844531
|
disableTemplates: void 0,
|
|
844522
844532
|
skipUpload,
|
|
844523
|
-
cliVersion: "4.100.
|
|
844533
|
+
cliVersion: "4.100.2-19-g37a40c1bdd7",
|
|
844524
844534
|
loginCommand: "fern auth login"
|
|
844525
844535
|
});
|
|
844526
844536
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -918611,7 +918621,7 @@ var CliContext = class _CliContext {
|
|
|
918611
918621
|
if (false) {
|
|
918612
918622
|
this.logger.error("CLI_VERSION is not defined");
|
|
918613
918623
|
}
|
|
918614
|
-
return "4.100.
|
|
918624
|
+
return "4.100.2-19-g37a40c1bdd7";
|
|
918615
918625
|
}
|
|
918616
918626
|
getCliName() {
|
|
918617
918627
|
if (false) {
|
package/package.json
CHANGED