Socket
Socket
Sign inDemoInstall

markdown-toc

Package Overview
Dependencies
Maintainers
1
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.11.6 to 0.11.7

4

index.js

@@ -9,5 +9,5 @@ 'use strict';

var repeat = require('repeat-string');
var extend = require('extend-shallow');
var mdlink = require('markdown-link');
var pick = require('object.pick');
var merge = require('mixin-deep');

@@ -50,3 +50,3 @@ /**

function generate(options) {
var opts = extend({firsth1: true, maxdepth: 6}, options);
var opts = merge({firsth1: true, maxdepth: 6}, options);
var stripFirst = opts.firsth1 === false;

@@ -53,0 +53,0 @@

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

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

"concat-stream": "^1.5.0",
"extend-shallow": "^2.0.1",
"gray-matter": "^2.0.1",

@@ -35,2 +34,3 @@ "lazy-cache": "^0.2.3",

"minimist": "^1.2.0",
"mixin-deep": "^1.1.3",
"object.pick": "^1.1.1",

@@ -37,0 +37,0 @@ "remarkable": "^1.6.0",

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