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

@oclif/core

Package Overview
Dependencies
Maintainers
2
Versions
418
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/core - npm Package Compare versions

Comparing version 3.21.0 to 3.21.1

2

lib/parser/parse.js

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

for (const token of tokens) {
if (args[token.arg])
if (args[token.arg] !== undefined)
continue;

@@ -231,0 +231,0 @@ argv.push(token.input);

@@ -37,3 +37,4 @@ "use strict";

}
if (arg.required && !parse.output.args[name] && parse.output.args[name] !== 0) {
// Only add if it's required and undefined. Allow falsy values like empty strings and 0.
if (arg.required && parse.output.args[name] === undefined) {
missingRequiredArgs.push(arg);

@@ -40,0 +41,0 @@ }

{
"name": "@oclif/core",
"description": "base library for oclif CLIs",
"version": "3.21.0",
"version": "3.21.1",
"author": "Salesforce",

@@ -67,3 +67,3 @@ "bugs": "https://github.com/oclif/core/issues",

"eslint": "^8.57.0",
"eslint-config-oclif": "^5.0.2",
"eslint-config-oclif": "^5.0.4",
"eslint-config-oclif-typescript": "^3.0.48",

@@ -70,0 +70,0 @@ "eslint-config-prettier": "^9.1.0",

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