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

down-parse

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

down-parse - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

dist/dev.js

2

package.json
{
"name": "down-parse",
"version": "2.1.6",
"version": "2.1.7",
"description": "markdown parser",

@@ -5,0 +5,0 @@ "main": "dist/main.js",

@@ -75,5 +75,5 @@ import { ctx } from "./plugin";

const nexts = lines.slice(i + 1);
const end = nexts.findIndex(e => e.startsWith('```'));
const end = nexts.findIndex(e => e === '```');
i = i + nexts.length + 1;
i = i + end + 1;

@@ -87,2 +87,4 @@ ret = { type: '</>', params: langTexts, code: nexts.slice(0, end).join('\n') };

console.log(ret);
tokens.push(ctx.applyParses(ret, lineOne));

@@ -105,15 +107,1 @@ }

}
// const r = parse([
// `# he he he`,
// "``` js",
// "a",
// "b",
// "c",
// "```",
// "``` asd",
// "12",
// "outter"
// ].join('\n'));
// console.log(r);
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