Socket
Socket
Sign inDemoInstall

main

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

main - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

optparser.js

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

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