@fern-api/fern-api-dev 4.42.0-4-g1cddb4fd0aa → 4.42.0-42-g2aed1aeb127
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 +8 -8
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -581649,7 +581649,7 @@ var AccessTokenPosthogManager = class {
|
|
|
581649
581649
|
properties: {
|
|
581650
581650
|
...event,
|
|
581651
581651
|
...event.properties,
|
|
581652
|
-
version: "4.42.0-
|
|
581652
|
+
version: "4.42.0-42-g2aed1aeb127",
|
|
581653
581653
|
usingAccessToken: true
|
|
581654
581654
|
}
|
|
581655
581655
|
});
|
|
@@ -581700,7 +581700,7 @@ var UserPosthogManager = class {
|
|
|
581700
581700
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
581701
581701
|
event: "CLI",
|
|
581702
581702
|
properties: {
|
|
581703
|
-
version: "4.42.0-
|
|
581703
|
+
version: "4.42.0-42-g2aed1aeb127",
|
|
581704
581704
|
...event,
|
|
581705
581705
|
...event.properties,
|
|
581706
581706
|
usingAccessToken: false,
|
|
@@ -787803,7 +787803,7 @@ var import_path51 = __toESM(require("path"), 1);
|
|
|
787803
787803
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
787804
787804
|
var LOGS_FOLDER_NAME = "logs";
|
|
787805
787805
|
function getCliSource() {
|
|
787806
|
-
const version8 = "4.42.0-
|
|
787806
|
+
const version8 = "4.42.0-42-g2aed1aeb127";
|
|
787807
787807
|
return `cli@${version8}`;
|
|
787808
787808
|
}
|
|
787809
787809
|
var DebugLogger = class {
|
|
@@ -798618,7 +798618,7 @@ var LegacyDocsPublisher = class {
|
|
|
798618
798618
|
previewId: void 0,
|
|
798619
798619
|
disableTemplates: void 0,
|
|
798620
798620
|
skipUpload,
|
|
798621
|
-
cliVersion: "4.42.0-
|
|
798621
|
+
cliVersion: "4.42.0-42-g2aed1aeb127"
|
|
798622
798622
|
});
|
|
798623
798623
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
798624
798624
|
return { success: false };
|
|
@@ -820399,7 +820399,7 @@ ${content5}`);
|
|
|
820399
820399
|
${this.buffer}` : packageStatement + this.buffer;
|
|
820400
820400
|
}
|
|
820401
820401
|
stringifyImports() {
|
|
820402
|
-
const result = Object.entries(this.imports).filter(([importPath, _16]) => importPath !== this.importPath).map(([importPath, alias2]) => ` ${alias2} "${importPath}"`).join("\n");
|
|
820402
|
+
const result = Object.entries(this.imports).filter(([importPath, _16]) => importPath !== this.importPath).sort(([pathA], [pathB]) => pathA < pathB ? -1 : pathA > pathB ? 1 : 0).map(([importPath, alias2]) => ` ${alias2} "${importPath}"`).join("\n");
|
|
820403
820403
|
return result ? `import (
|
|
820404
820404
|
${result}
|
|
820405
820405
|
)` : "";
|
|
@@ -820916,7 +820916,7 @@ var TypeInstantiation = class _TypeInstantiation extends AstNode2 {
|
|
|
820916
820916
|
}
|
|
820917
820917
|
writeAnyObject({ writer: writer2, value }) {
|
|
820918
820918
|
writer2.write("map[string]any");
|
|
820919
|
-
const entries21 = Object.entries(value);
|
|
820919
|
+
const entries21 = Object.entries(value).sort(([keyA], [keyB]) => keyA < keyB ? -1 : keyA > keyB ? 1 : 0);
|
|
820920
820920
|
if (entries21.length === 0) {
|
|
820921
820921
|
writer2.write("{}");
|
|
820922
820922
|
return;
|
|
@@ -822013,7 +822013,7 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
822013
822013
|
return go_exports.TypeInstantiation.map({
|
|
822014
822014
|
keyType: this.context.dynamicTypeMapper.convert({ typeReference: map16.key }),
|
|
822015
822015
|
valueType: this.context.dynamicTypeMapper.convert({ typeReference: map16.value }),
|
|
822016
|
-
entries: Object.entries(value).map(([key2, value2]) => {
|
|
822016
|
+
entries: Object.entries(value).sort(([keyA], [keyB]) => keyA < keyB ? -1 : keyA > keyB ? 1 : 0).map(([key2, value2]) => {
|
|
822017
822017
|
this.context.errors.scope(key2);
|
|
822018
822018
|
try {
|
|
822019
822019
|
return {
|
|
@@ -871246,7 +871246,7 @@ var CliContext = class {
|
|
|
871246
871246
|
if (false) {
|
|
871247
871247
|
this.logger.error("CLI_VERSION is not defined");
|
|
871248
871248
|
}
|
|
871249
|
-
return "4.42.0-
|
|
871249
|
+
return "4.42.0-42-g2aed1aeb127";
|
|
871250
871250
|
}
|
|
871251
871251
|
getCliName() {
|
|
871252
871252
|
if (false) {
|
package/package.json
CHANGED