@fern-api/fern-api-dev 5.7.3-1-g21f3674b6c2 → 5.7.3

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 +9 -10
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -50914,14 +50914,13 @@ var init_moveFolder = __esm({
50914
50914
 
50915
50915
  // ../../commons/fs-utils/lib/relative.js
50916
50916
  function relative4(from4, to10) {
50917
- return RelativeFilePath2.of(convertToOsPath(import_path15.default.relative(from4, to10)));
50917
+ return RelativeFilePath2.of(import_path15.default.relative(from4, to10));
50918
50918
  }
50919
50919
  var import_path15;
50920
50920
  var init_relative2 = __esm({
50921
50921
  "../../commons/fs-utils/lib/relative.js"() {
50922
50922
  "use strict";
50923
50923
  import_path15 = __toESM(require("path"), 1);
50924
- init_osPathConverter();
50925
50924
  init_RelativeFilePath2();
50926
50925
  }
50927
50926
  });
@@ -622607,7 +622606,7 @@ var AccessTokenPosthogManager = class {
622607
622606
  properties: {
622608
622607
  ...event,
622609
622608
  ...event.properties,
622610
- version: "5.7.3-1-g21f3674b6c2",
622609
+ version: "5.7.3",
622611
622610
  usingAccessToken: true
622612
622611
  }
622613
622612
  });
@@ -622661,7 +622660,7 @@ var UserPosthogManager = class {
622661
622660
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
622662
622661
  event: "CLI",
622663
622662
  properties: {
622664
- version: "5.7.3-1-g21f3674b6c2",
622663
+ version: "5.7.3",
622665
622664
  ...event,
622666
622665
  ...event.properties,
622667
622666
  usingAccessToken: false,
@@ -803405,7 +803404,7 @@ function resolvePath4(pathToImage, { absolutePathToFernFolder, absolutePathToMar
803405
803404
  throw new Error(`Invalid image path "${pathToImage}". Paths starting with "//" are reserved for external URLs (e.g., //cdn.example.com/image.png). For local files, use "/${pathToImage.slice(2)}" or a relative path instead.`);
803406
803405
  }
803407
803406
  const filepath = resolve6(pathToImage.startsWith("/") ? absolutePathToFernFolder : dirname6(absolutePathToMarkdownFile), RelativeFilePath2.of(pathToImage.replace(/^\//, "")));
803408
- return convertToFernHostAbsoluteFilePath(filepath);
803407
+ return filepath;
803409
803408
  }
803410
803409
  function isExternalUrl(url3) {
803411
803410
  if (/^https?:\/\//.test(url3)) {
@@ -803464,8 +803463,8 @@ function replaceImagePathsAndUrls(markdown, fileIdsMap, markdownFilesToPathName,
803464
803463
  if (image3 == null || isExternalUrl(image3) || isDataUrl(image3)) {
803465
803464
  return void 0;
803466
803465
  }
803467
- if ((0, import_path51.isAbsolute)(image3) || isWindowsAbsolutePath(image3)) {
803468
- const absolutePath = convertToFernHostAbsoluteFilePath(AbsoluteFilePath2.of(image3));
803466
+ if ((0, import_path51.isAbsolute)(image3)) {
803467
+ const absolutePath = AbsoluteFilePath2.of(image3);
803469
803468
  const fileId = fileIdsMap.get(absolutePath);
803470
803469
  if (fileId) {
803471
803470
  return `file:${fileId}`;
@@ -847021,7 +847020,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
847021
847020
  var LOGS_FOLDER_NAME = "logs";
847022
847021
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
847023
847022
  function getCliSource() {
847024
- const version7 = "5.7.3-1-g21f3674b6c2";
847023
+ const version7 = "5.7.3";
847025
847024
  return `cli@${version7}`;
847026
847025
  }
847027
847026
  var DebugLogger = class {
@@ -859576,7 +859575,7 @@ var LegacyDocsPublisher = class {
859576
859575
  previewId,
859577
859576
  disableTemplates: void 0,
859578
859577
  skipUpload,
859579
- cliVersion: "5.7.3-1-g21f3674b6c2",
859578
+ cliVersion: "5.7.3",
859580
859579
  loginCommand: "fern auth login"
859581
859580
  });
859582
859581
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -934001,7 +934000,7 @@ var CliContext = class _CliContext {
934001
934000
  if (false) {
934002
934001
  this.logger.error("CLI_VERSION is not defined");
934003
934002
  }
934004
- return "5.7.3-1-g21f3674b6c2";
934003
+ return "5.7.3";
934005
934004
  }
934006
934005
  getCliName() {
934007
934006
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.7.3-1-g21f3674b6c2",
2
+ "version": "5.7.3",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",