Comparing version 1.0.0 to 1.0.1
@@ -200,8 +200,10 @@ "use strict"; | ||
var parseOptions = exports.parseOptions = function(markdown) { | ||
if (!markdown) { return {}; } | ||
var optionMarkdown = getSections('OPTIONS', 2, markdown)[0] | ||
, flagMarkdownSections = getSections('-.*', 3, optionMarkdown); | ||
var optionMarkdown = getSections('OPTIONS', 2, markdown)[0]; | ||
if (!optionMarkdown) { return {}; } | ||
var flagMarkdownSections = getSections('-.*', 3, optionMarkdown); | ||
return flagMarkdownSections.reduce(function(value, current) { | ||
@@ -208,0 +210,0 @@ return extend(value, parseFlagSection(current)); |
{ | ||
"name": "main", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "main.js", | ||
@@ -5,0 +5,0 @@ "description": "Document based option parsing.", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27909
738
0