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

mdast-util-toc

Package Overview
Dependencies
Maintainers
2
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 5.0.0 to 5.0.1

3

lib/search.js

@@ -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",

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