markmap-cli 0.18.12 → 0.18.13
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/assets/{markmap-view@0.18.12 → markmap-view@0.18.13}/dist/browser/index.js +1 -1
- package/dist/{common-2tfv4U5E.js → common-XW-khrY8.js} +1 -1
- package/dist/fetch-assets.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
- /package/dist/assets/{markmap-toolbar@0.18.12 → markmap-toolbar@0.18.13}/dist/index.js +0 -0
- /package/dist/assets/{markmap-toolbar@0.18.12 → markmap-toolbar@0.18.13}/dist/style.css +0 -0
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
const value = options[key];
|
|
396
396
|
if (typeof value === "number") derivedOptions[key] = value;
|
|
397
397
|
});
|
|
398
|
-
const booleanKeys = ["zoom", "pan"];
|
|
398
|
+
const booleanKeys = ["autoFit", "zoom", "pan"];
|
|
399
399
|
booleanKeys.forEach((key) => {
|
|
400
400
|
const value = options[key];
|
|
401
401
|
if (value != null) derivedOptions[key] = !!value;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { buildJSItem, buildCSSItem } from "markmap-common";
|
|
2
2
|
import { dirname } from "path";
|
|
3
3
|
import { fileURLToPath } from "url";
|
|
4
|
-
const TOOLBAR_VERSION = "0.18.
|
|
4
|
+
const TOOLBAR_VERSION = "0.18.13";
|
|
5
5
|
const TOOLBAR_CSS = `markmap-toolbar@${TOOLBAR_VERSION}/dist/style.css`;
|
|
6
6
|
const TOOLBAR_JS = `markmap-toolbar@${TOOLBAR_VERSION}/dist/index.js`;
|
|
7
7
|
const distDir = dirname(fileURLToPath(import.meta.url));
|
package/dist/fetch-assets.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Transformer } from "markmap-lib";
|
|
|
5
5
|
import { baseJsPaths } from "markmap-render";
|
|
6
6
|
import { resolve, dirname } from "path";
|
|
7
7
|
import { pipeline } from "stream/promises";
|
|
8
|
-
import { l as localProvider, A as ASSETS_PREFIX, t as toolbarAssets, c as config, a as createStreamBody } from "./common-
|
|
8
|
+
import { l as localProvider, A as ASSETS_PREFIX, t as toolbarAssets, c as config, a as createStreamBody } from "./common-XW-khrY8.js";
|
|
9
9
|
const providerName = "local-hook";
|
|
10
10
|
async function fetchAssets({
|
|
11
11
|
assetsDir = config.assetsDir,
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as markmapLib from "markmap-lib";
|
|
|
5
5
|
import { fillTemplate, baseJsPaths } from "markmap-render";
|
|
6
6
|
import open from "open";
|
|
7
7
|
import { join, resolve } from "path";
|
|
8
|
-
import { l as localProvider, t as toolbarAssets, c as config, A as ASSETS_PREFIX, a as createStreamBody } from "./common-
|
|
8
|
+
import { l as localProvider, t as toolbarAssets, c as config, A as ASSETS_PREFIX, a as createStreamBody } from "./common-XW-khrY8.js";
|
|
9
9
|
import { serve } from "@hono/node-server";
|
|
10
10
|
import { watch } from "chokidar";
|
|
11
11
|
import { createHash } from "crypto";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markmap-cli",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.13",
|
|
4
4
|
"description": "Create markmaps from CLI",
|
|
5
5
|
"author": "Gerald <gera2ld@live.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"commander": "^12.1.0",
|
|
51
51
|
"hono": "^4.6.13",
|
|
52
52
|
"markmap-common": "0.18.9",
|
|
53
|
-
"markmap-lib": "0.18.
|
|
54
|
-
"markmap-render": "0.18.
|
|
55
|
-
"markmap-toolbar": "0.18.
|
|
53
|
+
"markmap-lib": "0.18.13",
|
|
54
|
+
"markmap-render": "0.18.13",
|
|
55
|
+
"markmap-toolbar": "0.18.13",
|
|
56
56
|
"open": "^10.1.0",
|
|
57
57
|
"portfinder": "^1.0.32",
|
|
58
58
|
"read-package-up": "^11.0.0",
|
|
59
59
|
"update-notifier": "^7.3.1"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "8068aa34ef4af915baf8a63794fe3c7db4534c7c"
|
|
62
62
|
}
|
|
File without changes
|
|
File without changes
|