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.16 to 0.2.17

22

lib/namp.js

@@ -99,4 +99,4 @@ /**

jsignoreEnd = /\n\s*\/\*\s+endcontent\s+\*\/\s*\n/;
codeCounter = 0;
/**

@@ -789,3 +789,3 @@ * Block Lexer

pretag += 'class="demo" ';
pretag += 'id="code-' + ++codeCounter + '">';
pretag += 'id="code-' + ++metadata.codeCounter + '">';

@@ -795,3 +795,3 @@ if (blocks.length > 0) {

+ (token.lang
? ' class="hiddenstartcontent language-'
? ' class="originalcontent hidden language-'
+ token.lang

@@ -801,6 +801,6 @@ + '"'

+ '>'
+ blocks[0]
+ blocks.join("\n")
+ '</code>\n<code'
+ (token.lang
? ' class="content language-'
? ' class="snippetcontent language-'
+ token.lang

@@ -811,10 +811,2 @@ + '"'

+ blocks[1]
+ '</code>\n<code'
+ (token.lang
? ' class="hiddenendcontent language-'
+ token.lang
+ '"'
: '')
+ '>'
+ blocks[2]
+ '</code></pre>\n';

@@ -943,3 +935,3 @@ }

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

@@ -953,2 +945,4 @@ while (next()) {

delete metadata.codeCounter;
return [out, metadata];

@@ -955,0 +949,0 @@ }

{
"name" : "namp",
"version" : "0.2.16",
"version" : "0.2.17",
"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" ],

Sorry, the diff of this file is not supported yet

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