@fern-api/fern-api-dev 4.63.0 → 4.63.1-2-g7eec44a362b

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.
Files changed (2) hide show
  1. package/cli.cjs +115 -45
  2. 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 rename8(from4, to8, cb2) {
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(rename8, fs$rename);
48254
- return rename8;
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 = copyFile4;
48714
- function copyFile4(src, dest, flags2, cb2) {
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 rename8(from4, to8, cb2) {
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(rename8, fs$rename);
306300
- return rename8;
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 = copyFile4;
306760
- function copyFile4(src, dest, flags2, cb2) {
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;
@@ -359558,12 +359558,12 @@ var require_cjs6 = __commonJS({
359558
359558
  target.push(buffer);
359559
359559
  };
359560
359560
  }
359561
- var import_child_process11;
359561
+ var import_child_process12;
359562
359562
  var GitExecutorChain2;
359563
359563
  var init_git_executor_chain2 = __esm3({
359564
359564
  "src/lib/runners/git-executor-chain.ts"() {
359565
359565
  "use strict";
359566
- import_child_process11 = require("child_process");
359566
+ import_child_process12 = require("child_process");
359567
359567
  init_git_error2();
359568
359568
  init_task2();
359569
359569
  init_utils9();
@@ -359713,7 +359713,7 @@ var require_cjs6 = __commonJS({
359713
359713
  rejection = reason || rejection;
359714
359714
  }
359715
359715
  });
359716
- const spawned = (0, import_child_process11.spawn)(command3, args, spawnOptions);
359716
+ const spawned = (0, import_child_process12.spawn)(command3, args, spawnOptions);
359717
359717
  spawned.stdout.on(
359718
359718
  "data",
359719
359719
  onDataReceived2(stdOut, "stdOut", logger4, outputLogger.step("stdOut"))
@@ -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 copyFile4(srcStat, src, dest, opts);
366945
+ if (!destStat) return copyFile5(srcStat, src, dest, opts);
366946
366946
  if (opts.overwrite) {
366947
366947
  await fs28.unlink(dest);
366948
- return copyFile4(srcStat, src, dest, opts);
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 copyFile4(srcStat, src, dest, opts) {
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 copyFile4(srcStat, src, dest, opts);
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 copyFile4(srcStat, src, dest, opts);
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 copyFile4(srcStat, src, dest, opts) {
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 rename8(src, dest, overwrite);
367816
+ if (isChangingCase) return rename7(src, dest, overwrite);
367817
367817
  if (overwrite) {
367818
367818
  removeSync(dest);
367819
- return rename8(src, dest, overwrite);
367819
+ return rename7(src, dest, overwrite);
367820
367820
  }
367821
367821
  if (fs28.existsSync(dest)) throw new Error("dest already exists.");
367822
- return rename8(src, dest, overwrite);
367822
+ return rename7(src, dest, overwrite);
367823
367823
  }
367824
- function rename8(src, dest, overwrite) {
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.rename)(outputPath, uniqueOutput);
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.0",
603124
+ version: "4.63.1-2-g7eec44a362b",
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.0",
603175
+ version: "4.63.1-2-g7eec44a362b",
603175
603176
  ...event,
603176
603177
  ...event.properties,
603177
603178
  usingAccessToken: false,
@@ -838081,6 +838082,7 @@ async function getPorts(options2) {
838081
838082
  init_lib4();
838082
838083
  init_js();
838083
838084
  init_lib6();
838085
+ var import_child_process6 = require("child_process");
838084
838086
  var import_cors = __toESM(require_lib14(), 1);
838085
838087
  var import_express2 = __toESM(require_express3(), 1);
838086
838088
  var import_fs25 = __toESM(require("fs"), 1);
@@ -839763,7 +839765,7 @@ var import_path54 = __toESM(require("path"), 1);
839763
839765
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
839764
839766
  var LOGS_FOLDER_NAME = "logs";
839765
839767
  function getCliSource() {
839766
- const version7 = "4.63.0";
839768
+ const version7 = "4.63.1-2-g7eec44a362b";
839767
839769
  return `cli@${version7}`;
839768
839770
  }
839769
839771
  var DebugLogger = class {
@@ -840953,6 +840955,33 @@ function cleanFernDocsCacheSync(bundleRoot, context3) {
840953
840955
  context3.logger.debug(`Failed to clean Fern Docs cache: ${err}`);
840954
840956
  }
840955
840957
  }
840958
+ function killProcessesOnPort(targetPort, context3) {
840959
+ context3.logger.debug(`Killing any leftover processes on port ${targetPort}`);
840960
+ const isWindows = process.platform === "win32";
840961
+ const command3 = isWindows ? `netstat -ano | findstr :${targetPort} | findstr LISTENING` : `lsof -ti tcp:${targetPort}`;
840962
+ try {
840963
+ const output2 = (0, import_child_process6.execSync)(command3, { encoding: "utf-8", timeout: 5e3 });
840964
+ let pids;
840965
+ if (isWindows) {
840966
+ pids = output2.trim().split("\n").map((line) => line.trim().split(/\s+/).pop() ?? "").filter((pid) => pid.length > 0 && pid !== String(process.pid));
840967
+ pids = [...new Set(pids)];
840968
+ } else {
840969
+ pids = output2.trim().split("\n").map((pid) => pid.trim()).filter((pid) => pid.length > 0 && pid !== String(process.pid));
840970
+ }
840971
+ for (const pid of pids) {
840972
+ try {
840973
+ context3.logger.debug(`Killing leftover process ${pid} on port ${targetPort}`);
840974
+ if (isWindows) {
840975
+ (0, import_child_process6.execSync)(`taskkill /F /PID ${pid}`, { timeout: 5e3 });
840976
+ } else {
840977
+ process.kill(Number(pid), "SIGKILL");
840978
+ }
840979
+ } catch {
840980
+ }
840981
+ }
840982
+ } catch {
840983
+ }
840984
+ }
840956
840985
  async function runAppPreviewServer({ initialProject, reloadProject, validateProject, context: context3, port, bundlePath, backendPort, forceDownload }) {
840957
840986
  if (forceDownload) {
840958
840987
  const appPreviewFolder = getPathToPreviewFolder({ app: true });
@@ -841234,6 +841263,7 @@ ${err.stack}`);
841234
841263
  NODE_OPTIONS: "--max-old-space-size=8096 --enable-source-maps"
841235
841264
  };
841236
841265
  let serverProcess = null;
841266
+ let actualPort = port;
841237
841267
  const startNextJsServer = () => {
841238
841268
  return new Promise((resolve13) => {
841239
841269
  serverProcess = runExeca(context3.logger, "node", [serverPath], {
@@ -841243,6 +841273,10 @@ ${err.stack}`);
841243
841273
  const checkReady = (data2) => {
841244
841274
  const output2 = data2.toString();
841245
841275
  context3.logger.debug(`[Next.js] ${output2}`);
841276
+ const portMatch = output2.match(/localhost:(\d+)/);
841277
+ if (portMatch != null) {
841278
+ actualPort = Number(portMatch[1]);
841279
+ }
841246
841280
  if (output2.includes("Ready in") || output2.includes("\u2713 Ready")) {
841247
841281
  resolve13();
841248
841282
  }
@@ -841343,6 +841377,7 @@ ${err.stack}`);
841343
841377
  context3.logger.error(`Failed to kill server process: ${err}`);
841344
841378
  }
841345
841379
  }
841380
+ killProcessesOnPort(actualPort, context3);
841346
841381
  cleanFernDocsCacheSync(bundleRoot, context3);
841347
841382
  context3.logger.debug("Cleaning up WebSocket connections...");
841348
841383
  for (const [ws8, metadata] of connections) {
@@ -850637,6 +850672,9 @@ async function generateLanguageSpecificDynamicIRs({ workspace, organization, con
850637
850672
  if (generatorInvocation.language === "php" && generatorInvocation.config && typeof generatorInvocation.config === "object" && "packageName" in generatorInvocation.config) {
850638
850673
  packageName = generatorInvocation.config.packageName ?? "";
850639
850674
  }
850675
+ if (generatorInvocation.language === "go" && packageName) {
850676
+ packageName = normalizeGoPackageForLookup(packageName);
850677
+ }
850640
850678
  if (!generatorInvocation.language) {
850641
850679
  continue;
850642
850680
  }
@@ -850878,7 +850916,7 @@ var LegacyDocsPublisher = class {
850878
850916
  previewId,
850879
850917
  disableTemplates: void 0,
850880
850918
  skipUpload,
850881
- cliVersion: "4.63.0"
850919
+ cliVersion: "4.63.1-2-g7eec44a362b"
850882
850920
  });
850883
850921
  if (taskContext.getResult() === TaskResult.Failure) {
850884
850922
  return { success: false };
@@ -851956,7 +851994,7 @@ components:
851956
851994
  // ../cli-v2/lib/init/Wizard.js
851957
851995
  init_lib4();
851958
851996
  init_lib6();
851959
- var import_child_process6 = require("child_process");
851997
+ var import_child_process7 = require("child_process");
851960
851998
  var import_path58 = __toESM(require("path"), 1);
851961
851999
 
851962
852000
  // ../cli-v2/lib/ui/withSpinner.js
@@ -852598,7 +852636,7 @@ var Wizard = class {
852598
852636
  */
852599
852637
  openMacOsFinderDialog() {
852600
852638
  try {
852601
- const result = (0, import_child_process6.execSync)(`osascript -e 'POSIX path of (choose file with prompt "Select your API spec:" of type {"json", "yml", "yaml"})'`, { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] });
852639
+ const result = (0, import_child_process7.execSync)(`osascript -e 'POSIX path of (choose file with prompt "Select your API spec:" of type {"json", "yml", "yaml"})'`, { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] });
852602
852640
  return result.trim();
852603
852641
  } catch {
852604
852642
  return void 0;
@@ -852764,7 +852802,7 @@ function addCreateCommand(cli) {
852764
852802
  }
852765
852803
 
852766
852804
  // ../cli-v2/lib/commands/org/list/command.js
852767
- var import_child_process7 = require("child_process");
852805
+ var import_child_process8 = require("child_process");
852768
852806
  var ListCommand = class {
852769
852807
  async handle(context3) {
852770
852808
  const token = await context3.getTokenOrPrompt();
@@ -852875,7 +852913,7 @@ var ListCommand = class {
852875
852913
  getPager() {
852876
852914
  const defaultPager = process.platform === "win32" ? "more" : "less";
852877
852915
  const pagerCmd = process.env.PAGER ?? defaultPager;
852878
- return (0, import_child_process7.spawn)(pagerCmd, {
852916
+ return (0, import_child_process8.spawn)(pagerCmd, {
852879
852917
  stdio: ["pipe", "inherit", "inherit"],
852880
852918
  env: {
852881
852919
  ...process.env,
@@ -877689,9 +877727,10 @@ var DynamicTypeLiteralMapper = class {
877689
877727
  }
877690
877728
  }
877691
877729
  convertObject({ object_, value, as: as8, inUndiscriminatedUnion }) {
877730
+ const valueRecord = this.context.getRecord(value) ?? {};
877692
877731
  const properties7 = this.context.associateByWireValue({
877693
877732
  parameters: object_.properties,
877694
- values: this.context.getRecord(value) ?? {}
877733
+ values: valueRecord
877695
877734
  });
877696
877735
  const existingWireValues = new Set(properties7.map((p10) => p10.name.wireValue));
877697
877736
  for (const param of object_.properties) {
@@ -877710,8 +877749,10 @@ var DynamicTypeLiteralMapper = class {
877710
877749
  }
877711
877750
  }
877712
877751
  const paramOrderMap = /* @__PURE__ */ new Map();
877752
+ const declaredWireValues = /* @__PURE__ */ new Set();
877713
877753
  object_.properties.forEach((param, index3) => {
877714
877754
  paramOrderMap.set(param.name.wireValue, index3);
877755
+ declaredWireValues.add(param.name.wireValue);
877715
877756
  });
877716
877757
  properties7.sort((a10, b19) => (paramOrderMap.get(a10.name.wireValue) ?? 0) - (paramOrderMap.get(b19.name.wireValue) ?? 0));
877717
877758
  const filteredProperties = as8 === "request" ? properties7.filter((property23) => !this.context.isDirectLiteral(property23.typeReference)) : properties7;
@@ -877739,6 +877780,17 @@ var DynamicTypeLiteralMapper = class {
877739
877780
  this.context.errors.unscope();
877740
877781
  }
877741
877782
  }
877783
+ for (const [key2, val] of Object.entries(valueRecord)) {
877784
+ if (!declaredWireValues.has(key2) && val !== void 0) {
877785
+ const rawValue = this.convertToRawJavaLiteral(val);
877786
+ if (rawValue != null) {
877787
+ builderParameters.push({
877788
+ name: "additionalProperty",
877789
+ value: java_exports.TypeLiteral.raw(`"${this.escapeJavaString(key2)}", ${rawValue}`)
877790
+ });
877791
+ }
877792
+ }
877793
+ }
877742
877794
  return java_exports.TypeLiteral.builder({
877743
877795
  classReference: this.context.getJavaClassReferenceFromDeclaration({
877744
877796
  declaration: object_.declaration
@@ -877746,6 +877798,24 @@ var DynamicTypeLiteralMapper = class {
877746
877798
  parameters: builderParameters
877747
877799
  });
877748
877800
  }
877801
+ convertToRawJavaLiteral(value) {
877802
+ if (typeof value === "string") {
877803
+ return `"${this.escapeJavaString(value)}"`;
877804
+ }
877805
+ if (typeof value === "number") {
877806
+ return value.toString();
877807
+ }
877808
+ if (typeof value === "boolean") {
877809
+ return value.toString();
877810
+ }
877811
+ if (value === null) {
877812
+ return "null";
877813
+ }
877814
+ return null;
877815
+ }
877816
+ escapeJavaString(s11) {
877817
+ return s11.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\n/g, "\\n").replace(/\t/g, "\\t").replace(/\r/g, "\\r");
877818
+ }
877749
877819
  getDefaultValueForTypeReference(typeReference2) {
877750
877820
  switch (typeReference2.type) {
877751
877821
  case "primitive":
@@ -884892,7 +884962,7 @@ var DynamicTypeLiteralMapper3 = class {
884892
884962
  const errorsBefore = this.context.errors.size();
884893
884963
  try {
884894
884964
  const instantiation = this.convert({ typeReference: typeReference2, value });
884895
- if (python_exports2.TypeInstantiation.isNop(instantiation)) {
884965
+ if (python_exports2.TypeInstantiation.isNop(instantiation) || this.context.errors.size() > errorsBefore) {
884896
884966
  this.context.errors.truncate(errorsBefore);
884897
884967
  continue;
884898
884968
  }
@@ -889294,10 +889364,10 @@ function generateDefaultCrateName(organization, apiName) {
889294
889364
  }
889295
889365
 
889296
889366
  // ../../../generators/rust/base/lib/formatter/RustFormatter.js
889297
- var import_child_process8 = require("child_process");
889367
+ var import_child_process9 = require("child_process");
889298
889368
  function formatRustSnippet(code5, logger4) {
889299
889369
  try {
889300
- const result = (0, import_child_process8.spawnSync)("rustfmt", ["--edition=2021"], {
889370
+ const result = (0, import_child_process9.spawnSync)("rustfmt", ["--edition=2021"], {
889301
889371
  input: code5,
889302
889372
  encoding: "utf8",
889303
889373
  timeout: 5e3
@@ -889316,7 +889386,7 @@ function formatRustSnippet(code5, logger4) {
889316
889386
  }
889317
889387
  async function formatRustSnippetAsync(code5, logger4) {
889318
889388
  return new Promise((resolve13) => {
889319
- const rustfmt = (0, import_child_process8.spawn)("rustfmt", ["--edition=2021"], {
889389
+ const rustfmt = (0, import_child_process9.spawn)("rustfmt", ["--edition=2021"], {
889320
889390
  stdio: "pipe"
889321
889391
  });
889322
889392
  rustfmt.stdin.write(code5);
@@ -902802,11 +902872,11 @@ generators:
902802
902872
  await fs18.mkdir(absolutePathToLocalOutput, { recursive: true });
902803
902873
  interactiveTaskContext.logger.debug(`Self-hosted GitHub mode: cloning ${selfhostedGithubConfig.uri} to ${absolutePathToLocalOutput}`);
902804
902874
  try {
902805
- const { execSync: execSync5 } = await import("child_process");
902806
- const gitPath = execSync5("which git 2>/dev/null || echo 'not found'", {
902875
+ const { execSync: execSync6 } = await import("child_process");
902876
+ const gitPath = execSync6("which git 2>/dev/null || echo 'not found'", {
902807
902877
  encoding: "utf-8"
902808
902878
  }).trim();
902809
- const gitVersion = execSync5("git --version 2>/dev/null || echo 'unknown'", {
902879
+ const gitVersion = execSync6("git --version 2>/dev/null || echo 'unknown'", {
902810
902880
  encoding: "utf-8"
902811
902881
  }).trim();
902812
902882
  interactiveTaskContext.logger.debug(`Git environment: path=${gitPath}, version=${gitVersion}, PATH=${process.env.PATH ?? "unset"}`);
@@ -924224,7 +924294,7 @@ var CliContext = class {
924224
924294
  if (false) {
924225
924295
  this.logger.error("CLI_VERSION is not defined");
924226
924296
  }
924227
- return "4.63.0";
924297
+ return "4.63.1-2-g7eec44a362b";
924228
924298
  }
924229
924299
  getCliName() {
924230
924300
  if (false) {
@@ -935761,9 +935831,9 @@ function getAIEnhancerConfig2() {
935761
935831
  // src/commands/sdk-diff/sdkDiffCommand.ts
935762
935832
  init_lib4();
935763
935833
  init_lib6();
935764
- var import_child_process9 = require("child_process");
935834
+ var import_child_process10 = require("child_process");
935765
935835
  var import_util70 = require("util");
935766
- var execAsync = (0, import_util70.promisify)(import_child_process9.exec);
935836
+ var execAsync = (0, import_util70.promisify)(import_child_process10.exec);
935767
935837
  async function getClientRegistry(context3, project) {
935768
935838
  const workspace = project.apiWorkspaces[0];
935769
935839
  if (workspace == null) {
@@ -935943,10 +936013,10 @@ function computePreviewVersion({ previewId }) {
935943
936013
  }
935944
936014
 
935945
936015
  // src/commands/sdk-preview/getPreviewId.ts
935946
- var import_child_process10 = require("child_process");
936016
+ var import_child_process11 = require("child_process");
935947
936017
  var import_crypto12 = require("crypto");
935948
936018
  var import_util71 = require("util");
935949
- var execAsync2 = (0, import_util71.promisify)(import_child_process10.exec);
936019
+ var execAsync2 = (0, import_util71.promisify)(import_child_process11.exec);
935950
936020
  var MAX_PREVIEW_ID_LENGTH = 40;
935951
936021
  async function getPreviewId() {
935952
936022
  try {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.63.0",
2
+ "version": "4.63.1-2-g7eec44a362b",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",