New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cmd-args

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmd-args - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

2

dist/validateParsedOptions.js

@@ -25,3 +25,3 @@ "use strict";

}
if (arg == null) {
if (arg == null || arg === '') {
if (option.required) {

@@ -28,0 +28,0 @@ throw new cmd_args_1.ParseError(option.type === 'env'

{
"name": "cmd-args",
"version": "2.0.5",
"version": "2.0.6",
"description": "A simple command-line argument parser for NodeJS command-line tools.",

@@ -5,0 +5,0 @@ "main": "dist/cmd-args.js",

@@ -30,3 +30,3 @@ import { CommandInternal, ParsedOptions } from './types'

if (arg == null) {
if (arg == null || arg === '') {
if (option.required) {

@@ -33,0 +33,0 @@ throw new ParseError(

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