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

markdown-it-directive

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it-directive - npm Package Compare versions

Comparing version 1.0.1 to 1.0.3

6

index.js

@@ -286,3 +286,4 @@ 'use strict';

// avoids "escape melaleuca" like `[\[\\[\\]\]]`. Clever design.
handler(state, content, dests, attrs, contentStart, contentEnd, state.pos, pos);
const isValidContent = handler(state, content, dests, attrs, contentStart, contentEnd, state.pos, pos);
if (isValidContent === false) return false;
}

@@ -378,3 +379,3 @@

if (!silent) {
handler(
const isValidContent = handler(
state, content, contentTitle, inlineContent, dests, attrs,

@@ -386,2 +387,3 @@ startLine + 1, nextLine - 1,

);
if (isValidContent === false) return false;
}

@@ -388,0 +390,0 @@

{
"name": "markdown-it-directive",
"version": "1.0.1",
"version": "1.0.3",
"description": "Directive extension for markdown-it markdown parser.",

@@ -28,4 +28,4 @@ "main": "index.js",

"dependencies": {
"markdown-it": "^10.0.0"
"markdown-it": "^11.0.0"
}
}

@@ -0,0 +0,0 @@ # markdown-it-directive

@@ -0,0 +0,0 @@ # markdown-it-directive

@@ -0,0 +0,0 @@ 'use strict';

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