markmap-cli 0.15.5-alpha.0 → 0.15.5-alpha.1
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/dist/index.js +3 -3
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! markmap-cli v0.15.5-alpha.
|
|
1
|
+
/*! markmap-cli v0.15.5-alpha.1+013bf59 | MIT License */
|
|
2
2
|
import { readFile, writeFile } from 'fs/promises';
|
|
3
3
|
import { fileURLToPath } from 'url';
|
|
4
4
|
import { Command } from 'commander';
|
|
@@ -32,7 +32,7 @@ function _extends() {
|
|
|
32
32
|
return _extends.apply(this, arguments);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
const TOOLBAR_VERSION = "0.15.5-alpha.
|
|
35
|
+
const TOOLBAR_VERSION = "0.15.5-alpha.1";
|
|
36
36
|
const TOOLBAR_CSS = `markmap-toolbar@${TOOLBAR_VERSION}/dist/style.css`;
|
|
37
37
|
const TOOLBAR_JS = `markmap-toolbar@${TOOLBAR_VERSION}/dist/index.js`;
|
|
38
38
|
const renderToolbar = () => {
|
|
@@ -223,7 +223,7 @@ function startServer(paddingBottom) {
|
|
|
223
223
|
if (lines && lines[0] <= lineWithoutFrontmatter && lineWithoutFrontmatter < lines[1]) {
|
|
224
224
|
best = node;
|
|
225
225
|
}
|
|
226
|
-
(_node$children = node.children) == null
|
|
226
|
+
(_node$children = node.children) == null || _node$children.forEach(dfs);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markmap-cli",
|
|
3
|
-
"version": "0.15.5-alpha.
|
|
3
|
+
"version": "0.15.5-alpha.1+013bf59",
|
|
4
4
|
"description": "Create markmaps from CLI",
|
|
5
5
|
"author": "Gerald <gera2ld@live.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"highlight.js": "^11.8.0",
|
|
51
51
|
"katex": "^0.16.8",
|
|
52
52
|
"koa": "^2.14.2",
|
|
53
|
-
"markmap-common": "0.15.
|
|
54
|
-
"markmap-lib": "0.15.
|
|
55
|
-
"markmap-toolbar": "0.15.5-alpha.
|
|
56
|
-
"markmap-view": "0.15.
|
|
53
|
+
"markmap-common": "0.15.5-alpha.1+013bf59",
|
|
54
|
+
"markmap-lib": "0.15.5-alpha.1+013bf59",
|
|
55
|
+
"markmap-toolbar": "0.15.5-alpha.1+013bf59",
|
|
56
|
+
"markmap-view": "0.15.5-alpha.1+013bf59",
|
|
57
57
|
"open": "^9.1.0",
|
|
58
58
|
"pkg-dir": "^7.0.0",
|
|
59
59
|
"prismjs": "^1.29.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"update-notifier": "^6.0.2",
|
|
62
62
|
"webfontloader": "^1.6.28"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "013bf59b71f2253dc54249c4a5a3097bf686494f"
|
|
65
65
|
}
|