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

@libj/cli

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libj/cli - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/parseCliArgParams.d.ts
import { LooseObject } from './common/types';
export declare type CliArgParams<O = LooseObject> = [] | [string] | [string, string] | [string, O] | [string, string, O];
export declare type CliArgParams<O = LooseObject> = [] | [string] | [O] | [string, string] | [string, O] | [string, string, O];
interface Defaults<O = LooseObject> {

@@ -4,0 +4,0 @@ arg: string;

@@ -8,5 +8,8 @@ "use strict";

var arg = defaults.arg, description = defaults.description, opts = defaults.opts || {};
if (params.length === 1) {
if (params.length === 1 && isType_1.isStr(params[0])) {
arg = params[0];
}
else if (params.length === 1 && isType_1.isObj(params[0])) {
opts = params[0];
}
else if (params.length === 2 && isType_1.isStr(params[1])) {

@@ -13,0 +16,0 @@ (_a = params, arg = _a[0], description = _a[1]);

@@ -6,3 +6,3 @@ {

"name": "@libj/cli",
"version": "0.0.1",
"version": "0.0.2",
"description": "Cli toolbox",

@@ -29,3 +29,3 @@ "author": "Sergey Poskachey <seregynp@gmail.com>",

],
"gitHead": "81f6263a52240d9bd9bdd84a04a89892816768e8"
"gitHead": "63a12cd189e99a79ea5f41c13667f6e4110db442"
}

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