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

@bonniernews/md2html

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bonniernews/md2html - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

9

dist/index.js

@@ -48,2 +48,11 @@ "use strict";

if (nstate === LIST && lookahead !== 45) {
while (state.length) {
markup += "</" + state.pop() + ">";
}
nstate = undefined;
continue;
}
if (!nstate || (nstate & FLOWCONTENT) === FLOWCONTENT) continue;

@@ -50,0 +59,0 @@ markup += "</" + state.pop() + ">" + String.fromCharCode(charcode);

@@ -34,2 +34,10 @@ export function render(markdown) {

if (nstate === LIST && lookahead !== 45) {
while (state.length) {
markup += "</" + state.pop() + ">";
}
nstate = undefined;
continue;
}
if (!nstate || (nstate & FLOWCONTENT) === FLOWCONTENT) continue;

@@ -144,2 +152,3 @@

} else {
if (!nstate) {

@@ -146,0 +155,0 @@ nstate = PHRASINGCONTENT;

2

package.json
{
"name": "@bonniernews/md2html",
"version": "0.0.1",
"version": "0.0.2",
"description": "Zero dependency markdown to html converter",

@@ -5,0 +5,0 @@ "module": "index.js",

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