Socket
Socket
Sign inDemoInstall

markdown-toc

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-toc - npm Package Compare versions

Comparing version 0.12.12 to 0.12.13

4

lib/insert.js

@@ -22,4 +22,4 @@ 'use strict';

var regex = options.regex || /(?:<!-- toc(?:\s*stop)? -->)/g;
var open = options.open || '<!-- toc -->\n\n';
var close = options.close || '<!-- tocstop -->';
var open = typeof options.open === 'string' ? options.open : '<!-- toc -->\n\n';
var close = typeof options.close === 'string' ? options.close : '<!-- tocstop -->';
var obj;

@@ -26,0 +26,0 @@

{
"name": "markdown-toc",
"description": "Generate a markdown TOC (table of contents) with Remarkable.",
"version": "0.12.12",
"version": "0.12.13",
"homepage": "https://github.com/jonschlinkert/markdown-toc",

@@ -15,3 +15,5 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"index.js",
"lib"
"lib",
"LICENSE",
"README.md"
],

@@ -96,3 +98,4 @@ "main": "index.js",

"remarkable",
"verb"
"verb",
"verb-readme-generator"
],

@@ -99,0 +102,0 @@ "lint": {

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