markmap-lib 0.15.9-alpha.14 → 0.15.9-alpha.16
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/browser/index.iife.js +1 -9
- package/dist/browser/index.mjs +1 -9
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -8
- package/dist/index.mjs +1 -8
- package/dist/index.no-plugins.js +1 -8
- package/dist/index.no-plugins.mjs +1 -8
- package/dist/plugins.js +0 -1
- package/dist/plugins.mjs +0 -1
- package/package.json +5 -5
- package/dist/constants.d.ts +0 -2
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
(function(exports, require$$0) {
|
|
2
2
|
"use strict";
|
|
3
|
-
const template = process.env.TEMPLATE || "";
|
|
4
|
-
const baseJsPaths = [
|
|
5
|
-
`d3@${"7.8.5"}/dist/d3.min.js`,
|
|
6
|
-
`markmap-view@${"0.15.9-alpha.14"}/dist/browser/index.js`
|
|
7
|
-
];
|
|
8
3
|
const testPath = "npm2url/dist/index.cjs";
|
|
9
4
|
const defaultProviders = {
|
|
10
5
|
jsdelivr: (path) => `https://cdn.jsdelivr.net/npm/${path}`,
|
|
@@ -20788,7 +20783,6 @@
|
|
|
20788
20783
|
].map((path) => buildJSItem(path));
|
|
20789
20784
|
const styles$1 = [
|
|
20790
20785
|
`@highlightjs/cdn-assets@${"11.8.0"}/styles/default.min.css`
|
|
20791
|
-
// `highlight.js@${process.env.HLJS_VERSION}/styles/default.css`,
|
|
20792
20786
|
].map((path) => buildCSSItem(path));
|
|
20793
20787
|
const config$1 = {
|
|
20794
20788
|
versions: {
|
|
@@ -21258,13 +21252,11 @@
|
|
|
21258
21252
|
}
|
|
21259
21253
|
}
|
|
21260
21254
|
const transformerVersions = {
|
|
21261
|
-
"markmap-lib": "
|
|
21255
|
+
"markmap-lib": "0.15.9-alpha.16+01ebaff",
|
|
21262
21256
|
d3: "7.8.5"
|
|
21263
21257
|
};
|
|
21264
21258
|
exports.Transformer = Transformer;
|
|
21265
|
-
exports.baseJsPaths = baseJsPaths;
|
|
21266
21259
|
exports.builtInPlugins = builtInPlugins;
|
|
21267
|
-
exports.template = template;
|
|
21268
21260
|
exports.transformerVersions = transformerVersions;
|
|
21269
21261
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
21270
21262
|
})(this.markmap = this.markmap || {}, window.katex);
|
package/dist/browser/index.mjs
CHANGED
|
@@ -3,11 +3,6 @@ import { buildTree } from "markmap-html-parser";
|
|
|
3
3
|
import { Remarkable } from "remarkable";
|
|
4
4
|
import yaml from "js-yaml";
|
|
5
5
|
import remarkableKatex from "remarkable-katex";
|
|
6
|
-
const template = process.env.TEMPLATE || "";
|
|
7
|
-
const baseJsPaths = [
|
|
8
|
-
`d3@${"7.8.5"}/dist/d3.min.js`,
|
|
9
|
-
`markmap-view@${"0.15.9-alpha.14"}/dist/browser/index.js`
|
|
10
|
-
];
|
|
11
6
|
function createTransformHooks(transformer) {
|
|
12
7
|
return {
|
|
13
8
|
transformer,
|
|
@@ -144,7 +139,6 @@ const preloadScripts$1 = [
|
|
|
144
139
|
].map((path) => buildJSItem(path));
|
|
145
140
|
const styles$1 = [
|
|
146
141
|
`@highlightjs/cdn-assets@${"11.8.0"}/styles/default.min.css`
|
|
147
|
-
// `highlight.js@${process.env.HLJS_VERSION}/styles/default.css`,
|
|
148
142
|
].map((path) => buildCSSItem(path));
|
|
149
143
|
const config$1 = {
|
|
150
144
|
versions: {
|
|
@@ -484,13 +478,11 @@ class Transformer {
|
|
|
484
478
|
}
|
|
485
479
|
}
|
|
486
480
|
const transformerVersions = {
|
|
487
|
-
"markmap-lib": "
|
|
481
|
+
"markmap-lib": "0.15.9-alpha.16+01ebaff",
|
|
488
482
|
d3: "7.8.5"
|
|
489
483
|
};
|
|
490
484
|
export {
|
|
491
485
|
Transformer,
|
|
492
|
-
baseJsPaths,
|
|
493
486
|
builtInPlugins,
|
|
494
|
-
template,
|
|
495
487
|
transformerVersions
|
|
496
488
|
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -7,11 +7,6 @@ const plugins = require("./plugins.js");
|
|
|
7
7
|
require("js-yaml");
|
|
8
8
|
require("highlight.js");
|
|
9
9
|
require("remarkable-katex");
|
|
10
|
-
const template = process.env.TEMPLATE || "";
|
|
11
|
-
const baseJsPaths = [
|
|
12
|
-
`d3@${"7.8.5"}/dist/d3.min.js`,
|
|
13
|
-
`markmap-view@${"0.15.9-alpha.14"}/dist/browser/index.js`
|
|
14
|
-
];
|
|
15
10
|
function patchJSItem(urlBuilder, item) {
|
|
16
11
|
if (item.type === "script" && item.data.src) {
|
|
17
12
|
return {
|
|
@@ -128,11 +123,9 @@ class Transformer {
|
|
|
128
123
|
}
|
|
129
124
|
}
|
|
130
125
|
const transformerVersions = {
|
|
131
|
-
"markmap-lib": "
|
|
126
|
+
"markmap-lib": "0.15.9-alpha.16+01ebaff",
|
|
132
127
|
d3: "7.8.5"
|
|
133
128
|
};
|
|
134
129
|
exports.Transformer = Transformer;
|
|
135
|
-
exports.baseJsPaths = baseJsPaths;
|
|
136
130
|
exports.builtInPlugins = builtInPlugins;
|
|
137
|
-
exports.template = template;
|
|
138
131
|
exports.transformerVersions = transformerVersions;
|
package/dist/index.mjs
CHANGED
|
@@ -5,11 +5,6 @@ import { plugins, createTransformHooks } from "./plugins.mjs";
|
|
|
5
5
|
import "js-yaml";
|
|
6
6
|
import "highlight.js";
|
|
7
7
|
import "remarkable-katex";
|
|
8
|
-
const template = process.env.TEMPLATE || "";
|
|
9
|
-
const baseJsPaths = [
|
|
10
|
-
`d3@${"7.8.5"}/dist/d3.min.js`,
|
|
11
|
-
`markmap-view@${"0.15.9-alpha.14"}/dist/browser/index.js`
|
|
12
|
-
];
|
|
13
8
|
function patchJSItem(urlBuilder, item) {
|
|
14
9
|
if (item.type === "script" && item.data.src) {
|
|
15
10
|
return {
|
|
@@ -126,13 +121,11 @@ class Transformer {
|
|
|
126
121
|
}
|
|
127
122
|
}
|
|
128
123
|
const transformerVersions = {
|
|
129
|
-
"markmap-lib": "
|
|
124
|
+
"markmap-lib": "0.15.9-alpha.16+01ebaff",
|
|
130
125
|
d3: "7.8.5"
|
|
131
126
|
};
|
|
132
127
|
export {
|
|
133
128
|
Transformer,
|
|
134
|
-
baseJsPaths,
|
|
135
129
|
builtInPlugins,
|
|
136
|
-
template,
|
|
137
130
|
transformerVersions
|
|
138
131
|
};
|
package/dist/index.no-plugins.js
CHANGED
|
@@ -3,11 +3,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const markmapCommon = require("markmap-common");
|
|
4
4
|
const markmapHtmlParser = require("markmap-html-parser");
|
|
5
5
|
const remarkable = require("remarkable");
|
|
6
|
-
const template = process.env.TEMPLATE || "";
|
|
7
|
-
const baseJsPaths = [
|
|
8
|
-
`d3@${"7.8.5"}/dist/d3.min.js`,
|
|
9
|
-
`markmap-view@${"0.15.9-alpha.14"}/dist/browser/index.js`
|
|
10
|
-
];
|
|
11
6
|
function createTransformHooks(transformer) {
|
|
12
7
|
return {
|
|
13
8
|
transformer,
|
|
@@ -134,11 +129,9 @@ class Transformer {
|
|
|
134
129
|
}
|
|
135
130
|
}
|
|
136
131
|
const transformerVersions = {
|
|
137
|
-
"markmap-lib": "
|
|
132
|
+
"markmap-lib": "0.15.9-alpha.16+01ebaff",
|
|
138
133
|
d3: "7.8.5"
|
|
139
134
|
};
|
|
140
135
|
exports.Transformer = Transformer;
|
|
141
|
-
exports.baseJsPaths = baseJsPaths;
|
|
142
136
|
exports.builtInPlugins = builtInPlugins;
|
|
143
|
-
exports.template = template;
|
|
144
137
|
exports.transformerVersions = transformerVersions;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { Hook, UrlBuilder, wrapFunction } from "markmap-common";
|
|
2
2
|
import { buildTree } from "markmap-html-parser";
|
|
3
3
|
import { Remarkable } from "remarkable";
|
|
4
|
-
const template = process.env.TEMPLATE || "";
|
|
5
|
-
const baseJsPaths = [
|
|
6
|
-
`d3@${"7.8.5"}/dist/d3.min.js`,
|
|
7
|
-
`markmap-view@${"0.15.9-alpha.14"}/dist/browser/index.js`
|
|
8
|
-
];
|
|
9
4
|
function createTransformHooks(transformer) {
|
|
10
5
|
return {
|
|
11
6
|
transformer,
|
|
@@ -132,13 +127,11 @@ class Transformer {
|
|
|
132
127
|
}
|
|
133
128
|
}
|
|
134
129
|
const transformerVersions = {
|
|
135
|
-
"markmap-lib": "
|
|
130
|
+
"markmap-lib": "0.15.9-alpha.16+01ebaff",
|
|
136
131
|
d3: "7.8.5"
|
|
137
132
|
};
|
|
138
133
|
export {
|
|
139
134
|
Transformer,
|
|
140
|
-
baseJsPaths,
|
|
141
135
|
builtInPlugins,
|
|
142
|
-
template,
|
|
143
136
|
transformerVersions
|
|
144
137
|
};
|
package/dist/plugins.js
CHANGED
|
@@ -116,7 +116,6 @@ const preloadScripts$1 = [
|
|
|
116
116
|
].map((path) => markmapCommon.buildJSItem(path));
|
|
117
117
|
const styles$1 = [
|
|
118
118
|
`@highlightjs/cdn-assets@${"11.8.0"}/styles/default.min.css`
|
|
119
|
-
// `highlight.js@${process.env.HLJS_VERSION}/styles/default.css`,
|
|
120
119
|
].map((path) => markmapCommon.buildCSSItem(path));
|
|
121
120
|
const config$1 = {
|
|
122
121
|
versions: {
|
package/dist/plugins.mjs
CHANGED
|
@@ -114,7 +114,6 @@ const preloadScripts$1 = [
|
|
|
114
114
|
].map((path) => buildJSItem(path));
|
|
115
115
|
const styles$1 = [
|
|
116
116
|
`@highlightjs/cdn-assets@${"11.8.0"}/styles/default.min.css`
|
|
117
|
-
// `highlight.js@${process.env.HLJS_VERSION}/styles/default.css`,
|
|
118
117
|
].map((path) => buildCSSItem(path));
|
|
119
118
|
const config$1 = {
|
|
120
119
|
versions: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markmap-lib",
|
|
3
|
-
"version": "0.15.9-alpha.
|
|
3
|
+
"version": "0.15.9-alpha.16+01ebaff",
|
|
4
4
|
"description": "Visualize your Markdown as mindmaps with Markmap",
|
|
5
5
|
"author": "Gerald <gera2ld@live.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -59,8 +59,7 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@highlightjs/cdn-assets": "^11.8.0",
|
|
61
61
|
"@types/remarkable": "^2.0.3",
|
|
62
|
-
"markmap-common": "0.15.9-alpha.
|
|
63
|
-
"markmap-view": "0.15.9-alpha.14+fa8173f",
|
|
62
|
+
"markmap-common": "0.15.9-alpha.16+01ebaff",
|
|
64
63
|
"webfontloader": "^1.6.28"
|
|
65
64
|
},
|
|
66
65
|
"dependencies": {
|
|
@@ -68,7 +67,8 @@
|
|
|
68
67
|
"highlight.js": "^11.8.0",
|
|
69
68
|
"js-yaml": "^4.1.0",
|
|
70
69
|
"katex": "^0.16.8",
|
|
71
|
-
"markmap-html-parser": "0.15.9-alpha.
|
|
70
|
+
"markmap-html-parser": "0.15.9-alpha.16+01ebaff",
|
|
71
|
+
"markmap-view": "0.15.9-alpha.16+01ebaff",
|
|
72
72
|
"prismjs": "^1.29.0",
|
|
73
73
|
"remarkable": "^2.0.1",
|
|
74
74
|
"remarkable-katex": "^1.2.1"
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"^(.*\\.svg)\\?raw$": "$1"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "01ebaffc9c373b822b5c78808fff8f009843bd4d"
|
|
94
94
|
}
|
package/dist/constants.d.ts
DELETED