Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

markmap-cli

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markmap-cli - npm Package Compare versions

Comparing version 0.15.9-alpha.6 to 0.15.9-alpha.11

6

dist/index.js

@@ -19,3 +19,3 @@ import { readFile, stat, mkdir, writeFile } from "fs/promises";

import { finished } from "stream/promises";
const TOOLBAR_VERSION = "0.15.9-alpha.6";
const TOOLBAR_VERSION = "0.15.8";
const TOOLBAR_CSS = `markmap-toolbar@${TOOLBAR_VERSION}/dist/style.css`;

@@ -287,5 +287,3 @@ const TOOLBAR_JS = `markmap-toolbar@${TOOLBAR_VERSION}/dist/index.js`;

var _a, _b, _c;
const lines = ((_b = (_a = node.payload) == null ? void 0 : _a.lines) == null ? void 0 : _b.split(",")) || [];
const start = +lines[0];
const end = +lines[1];
const [start, end] = ((_b = (_a = node.payload) == null ? void 0 : _a.lines) == null ? void 0 : _b.split(",").map((s) => +s)) || [];
if (start >= 0 && start <= lineWithoutFrontmatter && lineWithoutFrontmatter < end) {

@@ -292,0 +290,0 @@ best = node;

{
"name": "markmap-cli",
"version": "0.15.9-alpha.6+ccc1c15",
"version": "0.15.9-alpha.11+d60da2f",
"description": "Create markmaps from CLI",

@@ -31,2 +31,3 @@ "author": "Gerald <gera2ld@live.com>",

"build:js": "vite build",
"build": "run-s clean build:*",
"postinstall": "node -e \"import('./dist/index.js').then(({ fetchAssets }) => fetchAssets()).catch(() => {})\""

@@ -51,5 +52,5 @@ },

"hono": "^3.11.8",
"markmap-common": "0.15.9-alpha.6+ccc1c15",
"markmap-lib": "0.15.9-alpha.6+ccc1c15",
"markmap-toolbar": "0.15.9-alpha.6+ccc1c15",
"markmap-common": "0.15.9-alpha.11+d60da2f",
"markmap-lib": "0.15.9-alpha.11+d60da2f",
"markmap-toolbar": "0.15.9-alpha.11+d60da2f",
"open": "^10.0.0",

@@ -60,3 +61,3 @@ "pkg-dir": "^8.0.0",

},
"gitHead": "ccc1c157905c0a8aedbadcb579a79d7114b45b0b"
"gitHead": "d60da2fb13a85edec875ef002f1be414a0c00abe"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc