@fern-api/fern-api-dev 4.63.0-7-g24fbe5d8426 → 4.63.1-1-g1933b2aa412
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 +30 -26
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -48230,7 +48230,7 @@ var require_polyfills = __commonJS({
|
|
|
48230
48230
|
}
|
|
48231
48231
|
if (platform3 === "win32") {
|
|
48232
48232
|
fs28.rename = typeof fs28.rename !== "function" ? fs28.rename : (function(fs$rename) {
|
|
48233
|
-
function
|
|
48233
|
+
function rename7(from4, to8, cb2) {
|
|
48234
48234
|
var start2 = Date.now();
|
|
48235
48235
|
var backoff = 0;
|
|
48236
48236
|
fs$rename(from4, to8, function CB(er19) {
|
|
@@ -48250,8 +48250,8 @@ var require_polyfills = __commonJS({
|
|
|
48250
48250
|
if (cb2) cb2(er19);
|
|
48251
48251
|
});
|
|
48252
48252
|
}
|
|
48253
|
-
if (Object.setPrototypeOf) Object.setPrototypeOf(
|
|
48254
|
-
return
|
|
48253
|
+
if (Object.setPrototypeOf) Object.setPrototypeOf(rename7, fs$rename);
|
|
48254
|
+
return rename7;
|
|
48255
48255
|
})(fs28.rename);
|
|
48256
48256
|
}
|
|
48257
48257
|
fs28.read = typeof fs28.read !== "function" ? fs28.read : (function(fs$read) {
|
|
@@ -48710,8 +48710,8 @@ var require_graceful_fs = __commonJS({
|
|
|
48710
48710
|
}
|
|
48711
48711
|
var fs$copyFile = fs29.copyFile;
|
|
48712
48712
|
if (fs$copyFile)
|
|
48713
|
-
fs29.copyFile =
|
|
48714
|
-
function
|
|
48713
|
+
fs29.copyFile = copyFile5;
|
|
48714
|
+
function copyFile5(src, dest, flags2, cb2) {
|
|
48715
48715
|
if (typeof flags2 === "function") {
|
|
48716
48716
|
cb2 = flags2;
|
|
48717
48717
|
flags2 = 0;
|
|
@@ -306276,7 +306276,7 @@ var require_polyfills2 = __commonJS({
|
|
|
306276
306276
|
}
|
|
306277
306277
|
if (platform3 === "win32") {
|
|
306278
306278
|
fs28.rename = typeof fs28.rename !== "function" ? fs28.rename : (function(fs$rename) {
|
|
306279
|
-
function
|
|
306279
|
+
function rename7(from4, to8, cb2) {
|
|
306280
306280
|
var start2 = Date.now();
|
|
306281
306281
|
var backoff = 0;
|
|
306282
306282
|
fs$rename(from4, to8, function CB(er19) {
|
|
@@ -306296,8 +306296,8 @@ var require_polyfills2 = __commonJS({
|
|
|
306296
306296
|
if (cb2) cb2(er19);
|
|
306297
306297
|
});
|
|
306298
306298
|
}
|
|
306299
|
-
if (Object.setPrototypeOf) Object.setPrototypeOf(
|
|
306300
|
-
return
|
|
306299
|
+
if (Object.setPrototypeOf) Object.setPrototypeOf(rename7, fs$rename);
|
|
306300
|
+
return rename7;
|
|
306301
306301
|
})(fs28.rename);
|
|
306302
306302
|
}
|
|
306303
306303
|
fs28.read = typeof fs28.read !== "function" ? fs28.read : (function(fs$read) {
|
|
@@ -306756,8 +306756,8 @@ var require_graceful_fs2 = __commonJS({
|
|
|
306756
306756
|
}
|
|
306757
306757
|
var fs$copyFile = fs29.copyFile;
|
|
306758
306758
|
if (fs$copyFile)
|
|
306759
|
-
fs29.copyFile =
|
|
306760
|
-
function
|
|
306759
|
+
fs29.copyFile = copyFile5;
|
|
306760
|
+
function copyFile5(src, dest, flags2, cb2) {
|
|
306761
306761
|
if (typeof flags2 === "function") {
|
|
306762
306762
|
cb2 = flags2;
|
|
306763
306763
|
flags2 = 0;
|
|
@@ -366942,16 +366942,16 @@ var require_copy = __commonJS({
|
|
|
366942
366942
|
throw new Error(`Unknown file: ${src}`);
|
|
366943
366943
|
}
|
|
366944
366944
|
async function onFile(srcStat, destStat, src, dest, opts) {
|
|
366945
|
-
if (!destStat) return
|
|
366945
|
+
if (!destStat) return copyFile5(srcStat, src, dest, opts);
|
|
366946
366946
|
if (opts.overwrite) {
|
|
366947
366947
|
await fs28.unlink(dest);
|
|
366948
|
-
return
|
|
366948
|
+
return copyFile5(srcStat, src, dest, opts);
|
|
366949
366949
|
}
|
|
366950
366950
|
if (opts.errorOnExist) {
|
|
366951
366951
|
throw new Error(`'${dest}' already exists`);
|
|
366952
366952
|
}
|
|
366953
366953
|
}
|
|
366954
|
-
async function
|
|
366954
|
+
async function copyFile5(srcStat, src, dest, opts) {
|
|
366955
366955
|
await fs28.copyFile(src, dest);
|
|
366956
366956
|
if (opts.preserveTimestamps) {
|
|
366957
366957
|
if (fileIsNotWritable(srcStat.mode)) {
|
|
@@ -367059,18 +367059,18 @@ var require_copy_sync = __commonJS({
|
|
|
367059
367059
|
throw new Error(`Unknown file: ${src}`);
|
|
367060
367060
|
}
|
|
367061
367061
|
function onFile(srcStat, destStat, src, dest, opts) {
|
|
367062
|
-
if (!destStat) return
|
|
367062
|
+
if (!destStat) return copyFile5(srcStat, src, dest, opts);
|
|
367063
367063
|
return mayCopyFile(srcStat, src, dest, opts);
|
|
367064
367064
|
}
|
|
367065
367065
|
function mayCopyFile(srcStat, src, dest, opts) {
|
|
367066
367066
|
if (opts.overwrite) {
|
|
367067
367067
|
fs28.unlinkSync(dest);
|
|
367068
|
-
return
|
|
367068
|
+
return copyFile5(srcStat, src, dest, opts);
|
|
367069
367069
|
} else if (opts.errorOnExist) {
|
|
367070
367070
|
throw new Error(`'${dest}' already exists`);
|
|
367071
367071
|
}
|
|
367072
367072
|
}
|
|
367073
|
-
function
|
|
367073
|
+
function copyFile5(srcStat, src, dest, opts) {
|
|
367074
367074
|
fs28.copyFileSync(src, dest);
|
|
367075
367075
|
if (opts.preserveTimestamps) handleTimestamps(srcStat.mode, src, dest);
|
|
367076
367076
|
return setDestMode(dest, srcStat.mode);
|
|
@@ -367813,15 +367813,15 @@ var require_move_sync = __commonJS({
|
|
|
367813
367813
|
return parsedPath.root === parent;
|
|
367814
367814
|
}
|
|
367815
367815
|
function doRename(src, dest, overwrite, isChangingCase) {
|
|
367816
|
-
if (isChangingCase) return
|
|
367816
|
+
if (isChangingCase) return rename7(src, dest, overwrite);
|
|
367817
367817
|
if (overwrite) {
|
|
367818
367818
|
removeSync(dest);
|
|
367819
|
-
return
|
|
367819
|
+
return rename7(src, dest, overwrite);
|
|
367820
367820
|
}
|
|
367821
367821
|
if (fs28.existsSync(dest)) throw new Error("dest already exists.");
|
|
367822
|
-
return
|
|
367822
|
+
return rename7(src, dest, overwrite);
|
|
367823
367823
|
}
|
|
367824
|
-
function
|
|
367824
|
+
function rename7(src, dest, overwrite) {
|
|
367825
367825
|
try {
|
|
367826
367826
|
fs28.renameSync(src, dest);
|
|
367827
367827
|
} catch (err) {
|
|
@@ -593681,7 +593681,8 @@ var ProtobufOpenAPIGenerator = class {
|
|
|
593681
593681
|
}
|
|
593682
593682
|
const outputPath = join2(preparedDir.cwd, RelativeFilePath2.of(PROTOBUF_GENERATOR_OUTPUT_FILEPATH2));
|
|
593683
593683
|
const uniqueOutput = AbsoluteFilePath2.of((await import_tmp_promise7.default.file({ postfix: ".yaml" })).path);
|
|
593684
|
-
await (0, import_promises35.
|
|
593684
|
+
await (0, import_promises35.copyFile)(outputPath, uniqueOutput);
|
|
593685
|
+
await (0, import_promises35.unlink)(outputPath);
|
|
593685
593686
|
return { absoluteFilepath: uniqueOutput };
|
|
593686
593687
|
}
|
|
593687
593688
|
async generateLocal({ absoluteFilepathToProtobufRoot, absoluteFilepathToProtobufTarget, relativeFilepathToProtobufRoot, deps, existingBufLockContents }) {
|
|
@@ -603120,7 +603121,7 @@ var AccessTokenPosthogManager = class {
|
|
|
603120
603121
|
properties: {
|
|
603121
603122
|
...event,
|
|
603122
603123
|
...event.properties,
|
|
603123
|
-
version: "4.63.
|
|
603124
|
+
version: "4.63.1-1-g1933b2aa412",
|
|
603124
603125
|
usingAccessToken: true
|
|
603125
603126
|
}
|
|
603126
603127
|
});
|
|
@@ -603171,7 +603172,7 @@ var UserPosthogManager = class {
|
|
|
603171
603172
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
603172
603173
|
event: "CLI",
|
|
603173
603174
|
properties: {
|
|
603174
|
-
version: "4.63.
|
|
603175
|
+
version: "4.63.1-1-g1933b2aa412",
|
|
603175
603176
|
...event,
|
|
603176
603177
|
...event.properties,
|
|
603177
603178
|
usingAccessToken: false,
|
|
@@ -839764,7 +839765,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
839764
839765
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
839765
839766
|
var LOGS_FOLDER_NAME = "logs";
|
|
839766
839767
|
function getCliSource() {
|
|
839767
|
-
const version7 = "4.63.
|
|
839768
|
+
const version7 = "4.63.1-1-g1933b2aa412";
|
|
839768
839769
|
return `cli@${version7}`;
|
|
839769
839770
|
}
|
|
839770
839771
|
var DebugLogger = class {
|
|
@@ -850671,6 +850672,9 @@ async function generateLanguageSpecificDynamicIRs({ workspace, organization, con
|
|
|
850671
850672
|
if (generatorInvocation.language === "php" && generatorInvocation.config && typeof generatorInvocation.config === "object" && "packageName" in generatorInvocation.config) {
|
|
850672
850673
|
packageName = generatorInvocation.config.packageName ?? "";
|
|
850673
850674
|
}
|
|
850675
|
+
if (generatorInvocation.language === "go" && packageName) {
|
|
850676
|
+
packageName = normalizeGoPackageForLookup(packageName);
|
|
850677
|
+
}
|
|
850674
850678
|
if (!generatorInvocation.language) {
|
|
850675
850679
|
continue;
|
|
850676
850680
|
}
|
|
@@ -850912,7 +850916,7 @@ var LegacyDocsPublisher = class {
|
|
|
850912
850916
|
previewId,
|
|
850913
850917
|
disableTemplates: void 0,
|
|
850914
850918
|
skipUpload,
|
|
850915
|
-
cliVersion: "4.63.
|
|
850919
|
+
cliVersion: "4.63.1-1-g1933b2aa412"
|
|
850916
850920
|
});
|
|
850917
850921
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
850918
850922
|
return { success: false };
|
|
@@ -924258,7 +924262,7 @@ var CliContext = class {
|
|
|
924258
924262
|
if (false) {
|
|
924259
924263
|
this.logger.error("CLI_VERSION is not defined");
|
|
924260
924264
|
}
|
|
924261
|
-
return "4.63.
|
|
924265
|
+
return "4.63.1-1-g1933b2aa412";
|
|
924262
924266
|
}
|
|
924263
924267
|
getCliName() {
|
|
924264
924268
|
if (false) {
|
package/package.json
CHANGED