@mintlify/cli 4.0.1468 → 4.0.1470

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.
@@ -11654,8 +11654,9 @@ function pmToMdx(doc, options = {}) {
11654
11654
  return serializeDoc(doc, options, null).mdx;
11655
11655
  }
11656
11656
  function serializeDoc(doc, options, sourceMap) {
11657
+ var _a;
11657
11658
  const { frontmatter } = options, serializerOptions = __rest2(options, ["frontmatter"]);
11658
- const state = new SerializerState(Object.assign(Object.assign({}, serializerOptions), { hasReferenceDefinitions: hasReferenceDefinitions(doc) }));
11659
+ const state = new SerializerState(Object.assign(Object.assign({}, serializerOptions), { hasReferenceDefinitions: (_a = serializerOptions.hasReferenceDefinitions) !== null && _a !== void 0 ? _a : hasReferenceDefinitions(doc) }));
11659
11660
  state.sourceMap = sourceMap;
11660
11661
  if (frontmatter && Object.keys(frontmatter).length > 0) {
11661
11662
  const entries = Object.entries(filterFrontmatterRecord(frontmatter));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/cli",
3
- "version": "4.0.1468",
3
+ "version": "4.0.1470",
4
4
  "description": "The Mintlify CLI",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -45,11 +45,11 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@inquirer/prompts": "7.9.0",
48
- "@mintlify/common": "1.0.1125",
49
- "@mintlify/link-rot": "3.0.1327",
48
+ "@mintlify/common": "1.0.1126",
49
+ "@mintlify/link-rot": "3.0.1328",
50
50
  "@mintlify/models": "0.0.351",
51
- "@mintlify/prebuild": "1.0.1279",
52
- "@mintlify/previewing": "4.0.1351",
51
+ "@mintlify/prebuild": "1.0.1280",
52
+ "@mintlify/previewing": "4.0.1352",
53
53
  "@mintlify/validation": "0.1.844",
54
54
  "adm-zip": "0.6.0",
55
55
  "chalk": "5.2.0",
@@ -86,7 +86,7 @@
86
86
  "keytar": "7.9.0"
87
87
  },
88
88
  "devDependencies": {
89
- "@mintlify/editor": "0.0.354",
89
+ "@mintlify/editor": "0.0.356",
90
90
  "@mintlify/ts-config": "2.0.2",
91
91
  "@tsconfig/recommended": "1.0.2",
92
92
  "@types/detect-port": "1.3.2",
@@ -105,5 +105,5 @@
105
105
  "vitest": "2.1.9",
106
106
  "vitest-mock-process": "1.0.4"
107
107
  },
108
- "gitHead": "8baca715ce0789cc49c2d73efad90254b89411ff"
108
+ "gitHead": "02f3e1bda7c98b50e733297182f240de4cbc14c8"
109
109
  }