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

namp

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

namp - npm Package Compare versions

Comparing version 0.2.22 to 0.2.23

11

lib/namp.js

@@ -746,9 +746,8 @@ /**

token.text = hljs.highlightAuto(token.text).value;
// intentionally skip 'no-highlight'
// intentionally skip 'no-highlight'
++metadata.codeCounter;
if (token.demo !== undefined)
return '<div id="codecontent-' + metadata.codeCounter + '" class="demo language-' + token.lang + '">' + token.text + '</div>';
return '<div class="demo language-' + token.lang + '">' + token.text + '</div>';
var pretag = '<pre id="codecontent-' + metadata.codeCounter + '">';
var pretag = '<pre>';

@@ -875,3 +874,3 @@ return pretag + '<code'

var out = '';
var metadata = { codeCounter: 0 };
var metadata = {};

@@ -884,4 +883,2 @@ while (next()) {

token = null;
delete metadata.codeCounter;

@@ -888,0 +885,0 @@ return [out, metadata];

{
"name" : "namp",
"version" : "0.2.22",
"version" : "0.2.23",
"description" : "Markdown parser for Node, with Maruku, GFM, and PHP Extras support, plus more. Based on marked.",

@@ -5,0 +5,0 @@ "keywords" : [ "markdown", "maruku", "gfm", "text processing", "ast" ],

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