markmap-cli
Advanced tools
Comparing version 0.15.8-alpha.0 to 0.15.8
@@ -19,3 +19,3 @@ import { readFile, stat, mkdir, writeFile } from "fs/promises"; | ||
import { finished } from "stream/promises"; | ||
const TOOLBAR_VERSION = "0.15.6"; | ||
const TOOLBAR_VERSION = "0.15.8"; | ||
const TOOLBAR_CSS = `markmap-toolbar@${TOOLBAR_VERSION}/dist/style.css`; | ||
@@ -314,3 +314,3 @@ const TOOLBAR_JS = `markmap-toolbar@${TOOLBAR_VERSION}/dist/index.js`; | ||
await ((_a = provider[cmd]) == null ? void 0 : _a.call(provider, ...args)); | ||
return c.status(204); | ||
return c.body(null, 204); | ||
}); | ||
@@ -326,3 +326,3 @@ const assetsDir = await assetsDirPromise; | ||
} catch { | ||
return c.status(404); | ||
return c.body("File not found", 404); | ||
} | ||
@@ -491,7 +491,4 @@ const stream = createReadStream(realpath); | ||
await writeFile(output, html, "utf8"); | ||
if (options.open) { | ||
console.log("open", output); | ||
const p = await open(output); | ||
console.log(p.exitCode); | ||
} | ||
if (options.open) | ||
open(output); | ||
} | ||
@@ -498,0 +495,0 @@ async function main() { |
@@ -20,3 +20,3 @@ /// <reference types="node" /> | ||
offline: boolean; | ||
/** A port for the devServer to listen. */ | ||
/** Port number for the devServer to listen. */ | ||
port?: number; | ||
@@ -23,0 +23,0 @@ } |
{ | ||
"name": "markmap-cli", | ||
"version": "0.15.8-alpha.0+a192279", | ||
"version": "0.15.8", | ||
"description": "Create markmaps from CLI", | ||
@@ -51,4 +51,4 @@ "author": "Gerald <gera2ld@live.com>", | ||
"markmap-common": "0.15.6", | ||
"markmap-lib": "0.15.7", | ||
"markmap-toolbar": "0.15.6", | ||
"markmap-lib": "0.15.8", | ||
"markmap-toolbar": "0.15.8", | ||
"open": "^10.0.0", | ||
@@ -59,3 +59,3 @@ "pkg-dir": "^8.0.0", | ||
}, | ||
"gitHead": "a1922793282449a9ebe2991a6e376e83de778a55" | ||
"gitHead": "d5a29ab4064a5496f879de04d730d7192461d3c5" | ||
} |
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
3
21739
598
+ Addedmarkmap-lib@0.15.8(transitive)
+ Addedmarkmap-toolbar@0.15.8(transitive)
- Removedmarkmap-lib@0.15.7(transitive)
- Removedmarkmap-toolbar@0.15.6(transitive)
Updatedmarkmap-lib@0.15.8
Updatedmarkmap-toolbar@0.15.8