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

mdast-util-toc

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdast-util-toc - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

README.md

6

history.md

@@ -5,2 +5,8 @@ <!--remark setext-->

2.0.1 / 2016-07-23
==================
* fix tight for all heading levels ([#3](https://github.com/barrythepenguin/mdast-util-toc/issues/3))
* bump devDependencies
2.0.0 / 2016-07-23

@@ -7,0 +13,0 @@ ==================

6

lib/insert.js

@@ -61,7 +61,7 @@ /**

insert(node, last);
insert(node, last, tight);
} else if (parent.type === LIST) {
item = listItem();
insert(node, item);
insert(node, item, tight);

@@ -73,3 +73,3 @@ children.push(item);

insert(node, item);
insert(node, item, tight);

@@ -76,0 +76,0 @@ children.push(item);

{
"name": "mdast-util-toc",
"version": "2.0.0",
"version": "2.0.1",
"description": "Generate a Table of Contents (TOC) from a given Markdown file",

@@ -45,11 +45,11 @@ "main": "index.js",

"istanbul": "^0.4.4",
"remark": "^5.0.1",
"remark-cli": "^1.0.0",
"remark": "^6.2.0",
"remark-cli": "^2.1.0",
"remark-comment-config": "^4.0.1",
"remark-github": "^5.1.0",
"remark-lint": "^4.0.2",
"remark-parse": "^1.0.0",
"remark-stringify": "^1.0.0",
"remark-github": "^6.0.0",
"remark-lint": "^5.4.0",
"remark-parse": "^2.2.0",
"remark-stringify": "^2.3.0",
"remark-usage": "^4.0.0",
"remark-validate-links": "^4.0.0",
"remark-validate-links": "^5.0.0",
"tape": "^4.6.0",

@@ -56,0 +56,0 @@ "xo": "^0.16.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