markmap-lib
Advanced tools
Comparing version 0.14.5-alpha.13 to 0.14.5-alpha.15
@@ -1,2 +0,2 @@ | ||
/*! markmap-lib v0.14.5-alpha.13+50ca560 | MIT License */ | ||
/*! markmap-lib v0.14.5-alpha.15+1fe26c8 | MIT License */ | ||
'use strict'; | ||
@@ -13,7 +13,7 @@ | ||
const template = "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>Markmap</title>\n<style>\n* {\n margin: 0;\n padding: 0;\n}\n#mindmap {\n display: block;\n width: 100vw;\n height: 100vh;\n}\n</style>\n<!--CSS-->\n</head>\n<body>\n<svg id=\"mindmap\"></svg>\n<!--JS-->\n</body>\n</html>\n"; | ||
const baseJsPaths = [`d3@${"6.2.0"}`, `markmap-view@${"0.14.5-alpha.13+50ca560"}`]; | ||
const baseJsPaths = [`d3@${"6.2.0"}/dist/d3.min.js`, `markmap-view@${"0.14.5-alpha.15+1fe26c8"}/dist/browser/index.js`]; | ||
function fillTemplate(root, assets, extra) { | ||
var _extra, _extra$baseJs; | ||
extra = _extends({}, extra); | ||
(_extra$baseJs = (_extra = extra).baseJs) != null ? _extra$baseJs : _extra.baseJs = baseJsPaths.map(markmapCommon.buildJSItem); | ||
(_extra$baseJs = (_extra = extra).baseJs) != null ? _extra$baseJs : _extra.baseJs = baseJsPaths.map(path => markmapCommon.buildJSItem(path)); | ||
const { | ||
@@ -52,6 +52,6 @@ scripts, | ||
function getConfig$1() { | ||
const preloadScripts = [`katex@${"0.16.0"}/dist/katex.min.js`].map(markmapCommon.buildJSItem); | ||
const preloadScripts = [`katex@${"0.16.0"}/dist/katex.min.js`].map(path => markmapCommon.buildJSItem(path)); | ||
const webfontloader = markmapCommon.buildJSItem(`webfontloader@${"1.6.28"}/webfontloader.js`); | ||
webfontloader.data.defer = true; | ||
const styles = [`katex@${"0.16.0"}/dist/katex.min.css`].map(markmapCommon.buildCSSItem); | ||
const styles = [`katex@${"0.16.0"}/dist/katex.min.css`].map(path => markmapCommon.buildCSSItem(path)); | ||
return { | ||
@@ -133,4 +133,4 @@ versions: { | ||
function getConfig() { | ||
const preloadScripts = [`prismjs@${"1.28.0"}/components/prism-core.min.js`, `prismjs@${"1.28.0"}/plugins/autoloader/prism-autoloader.min.js`].map(markmapCommon.buildJSItem); | ||
const styles = [`prismjs@${"1.28.0"}/themes/prism.css`].map(markmapCommon.buildCSSItem); | ||
const preloadScripts = [`prismjs@${"1.28.0"}/components/prism-core.min.js`, `prismjs@${"1.28.0"}/plugins/autoloader/prism-autoloader.min.js`].map(path => markmapCommon.buildJSItem(path)); | ||
const styles = [`prismjs@${"1.28.0"}/themes/prism.css`].map(path => markmapCommon.buildCSSItem(path)); | ||
return { | ||
@@ -464,3 +464,3 @@ versions: { | ||
const transformerVersions = { | ||
'markmap-lib': '0.14.5-alpha.13+50ca560', | ||
'markmap-lib': '0.14.5-alpha.15+1fe26c8', | ||
d3: "6.2.0" | ||
@@ -467,0 +467,0 @@ }; |
{ | ||
"name": "markmap-lib", | ||
"version": "0.14.5-alpha.13+50ca560", | ||
"version": "0.14.5-alpha.15+1fe26c8", | ||
"description": "Visualize your Markdown as mindmaps with Markmap", | ||
@@ -50,4 +50,4 @@ "author": "Gerald <gera2ld@live.com>", | ||
"@types/remarkable": "^2.0.3", | ||
"markmap-common": "0.14.5-alpha.13+50ca560", | ||
"markmap-view": "0.14.5-alpha.13+50ca560", | ||
"markmap-common": "0.14.5-alpha.15+1fe26c8", | ||
"markmap-view": "0.14.5-alpha.15+1fe26c8", | ||
"webfontloader": "^1.6.28" | ||
@@ -66,3 +66,3 @@ }, | ||
}, | ||
"gitHead": "50ca5603019498f93dba6485c96d0a5630b221e5" | ||
"gitHead": "1fe26c8234296e2188e466c7b9dbf3b7e171857d" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
648939