Socket
Socket
Sign inDemoInstall

doctoc

Package Overview
Dependencies
15
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.0 to 0.9.0

2

lib/transform.js

@@ -140,3 +140,3 @@ 'use strict';

var toc =
'**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*'
'**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*'
+ '\n\n'

@@ -143,0 +143,0 @@ + linkedHeaders

@@ -5,3 +5,3 @@ {

"description": "Generates TOC for markdown files of local git repo.",
"version": "0.8.0",
"version": "0.9.0",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -10,3 +10,3 @@ # DocToc [![build status](https://secure.travis-ci.org/thlorenz/doctoc.png)](http://travis-ci.org/thlorenz/doctoc)

<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*

@@ -13,0 +13,0 @@ - [Installation](#installation)

@@ -13,3 +13,3 @@ 'use strict';

headers.toc.split('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*',
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*',
'',

@@ -39,3 +39,3 @@ '- [Installation](#installation)',

headers.toc.split('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*',
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*',
'',

@@ -42,0 +42,0 @@ '- [Installation](#installation)',

@@ -47,3 +47,3 @@ 'use strict';

].join('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n'
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n'
, '- [My Module](#my-module)\n'

@@ -67,3 +67,3 @@ , ' - [API](#api)\n'

].join('\r\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n'
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n'
, '- [My Module using \\r\\n line endings](#my-module-using-\\r\\n-line-endings)\n'

@@ -84,3 +84,3 @@ , ' - [API](#api)\n'

].join('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n'
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n'
, '- [My Module](#my-module)\n'

@@ -96,3 +96,3 @@ , ' - [API](#api)\n\n\n'

].join('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n'
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n'
, '- [My Module](#my-module)\n'

@@ -115,3 +115,3 @@ , ' - [API](#api)\n\n\n'

].join('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n'
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n'
, '- [Title should be included](#title-should-be-included)\n'

@@ -127,3 +127,3 @@ , '- [Title should also be included](#title-should-also-be-included)\n\n\n'

].join('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n'
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n'
, '- [Repeating A Title](#repeating-a-title)\n'

@@ -139,3 +139,3 @@ , '- [Repeating A Title](#repeating-a-title-1)\n\n\n'

].join('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n',
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n',
'- [Header](#header)\n\n\n',

@@ -151,3 +151,3 @@ ].join('')

].join('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n'
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n'
, '- [Different Kinds](#different-kinds)\n'

@@ -164,3 +164,3 @@ , '- [In the Right Order](#in-the-right-order)\n\n\n'

].join('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n'
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n'
, '- [Different Kinds 2](#different-kinds-2)\n'

@@ -179,3 +179,3 @@ , '- [In the Right Order 2](#in-the-right-order-2)\n\n\n'

, '<!-- DON\'T EDIT THIS SECTION INSTEAD RE-RUN doctoc TO UPDATE -->'
, '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*'
, '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*'
, ''

@@ -196,3 +196,3 @@ , '- [OldHeader](#oldheader)'

res.toc.split('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*',
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*',
'',

@@ -208,3 +208,3 @@ '- [Header](#header)',

'<!-- DON\'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->',
'**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*',
'**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*',
'',

@@ -226,3 +226,3 @@ '- [Header](#header)',

'<!-- DON\'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->',
'**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*',
'**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*',
'',

@@ -251,3 +251,3 @@ '- [Header](#header)',

].join('\n')
, [ '**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n'
, [ '**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n'
, '- [My Module](#markdown-header-my-module)\n'

@@ -254,0 +254,0 @@ , ' - [API](#markdown-header-api)\n'

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc