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

capitano

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capitano - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

build/parameter.js

@@ -19,2 +19,5 @@ var Parameter, REGEX_MULTIWORD, REGEX_OPTIONAL, REGEX_REQUIRED, REGEX_VARIADIC, parse, _;

function Parameter(parameter) {
if (_.isNumber(parameter)) {
parameter = String(parameter);
}
if ((parameter == null) || !_.isString(parameter)) {

@@ -21,0 +24,0 @@ throw new Error("Missing or invalid parameter: " + parameter);

2

package.json
{
"name": "capitano",
"version": "1.0.3",
"version": "1.0.4",
"description": "Powerful, non opitionated command line parser for serious applications",

@@ -5,0 +5,0 @@ "main": "build/capitano.js",

@@ -326,2 +326,6 @@ Capitano

### 1.0.4
- Fix issue when instantiating Parameter instances with a number directly.
### 1.0.3

@@ -328,0 +332,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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