@mintlify/cli 4.0.1468 → 4.0.1469
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/bin/vendor/converter.js +2 -1
- package/package.json +3 -3
package/bin/vendor/converter.js
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "4.0.1469",
|
|
4
4
|
"description": "The Mintlify CLI",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"keytar": "7.9.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@mintlify/editor": "0.0.
|
|
89
|
+
"@mintlify/editor": "0.0.355",
|
|
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": "
|
|
108
|
+
"gitHead": "38d9ac8a4f2425cb701131ef72de78da3ecc8677"
|
|
109
109
|
}
|