mdast-util-toc
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -50,2 +50,3 @@ 'use strict' | ||
var id = child.data && child.data.hProperties && child.data.hProperties.id | ||
var slug = slugs.slug(id || value) | ||
@@ -77,3 +78,3 @@ if (!parents(parent)) { | ||
children: child.children, | ||
id: slugs.slug(id || value) | ||
id: slug | ||
}) | ||
@@ -80,0 +81,0 @@ } |
{ | ||
"name": "mdast-util-toc", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Generate a Table of Contents (TOC) from a given Markdown file", | ||
@@ -40,3 +40,3 @@ "license": "MIT", | ||
"dtslint": "^2.0.0", | ||
"nyc": "^14.0.0", | ||
"nyc": "^15.0.0", | ||
"prettier": "^1.0.0", | ||
@@ -43,0 +43,0 @@ "remark": "^11.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18028
283