markdown-toc
Advanced tools
Comparing version 0.12.12 to 0.12.13
@@ -22,4 +22,4 @@ 'use strict'; | ||
var regex = options.regex || /(?:<!-- toc(?:\s*stop)? -->)/g; | ||
var open = options.open || '<!-- toc -->\n\n'; | ||
var close = options.close || '<!-- tocstop -->'; | ||
var open = typeof options.open === 'string' ? options.open : '<!-- toc -->\n\n'; | ||
var close = typeof options.close === 'string' ? options.close : '<!-- tocstop -->'; | ||
var obj; | ||
@@ -26,0 +26,0 @@ |
{ | ||
"name": "markdown-toc", | ||
"description": "Generate a markdown TOC (table of contents) with Remarkable.", | ||
"version": "0.12.12", | ||
"version": "0.12.13", | ||
"homepage": "https://github.com/jonschlinkert/markdown-toc", | ||
@@ -15,3 +15,5 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"index.js", | ||
"lib" | ||
"lib", | ||
"LICENSE", | ||
"README.md" | ||
], | ||
@@ -96,3 +98,4 @@ "main": "index.js", | ||
"remarkable", | ||
"verb" | ||
"verb", | ||
"verb-readme-generator" | ||
], | ||
@@ -99,0 +102,0 @@ "lint": { |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
13116
6
1
0