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

@anycli/command

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anycli/command - npm Package Compare versions

Comparing version 0.2.23 to 0.2.24

8

CHANGELOG.md

@@ -0,1 +1,9 @@

<a name="0.2.24"></a>
## [0.2.24](https://github.com/anycli/command/compare/46c5dda5c4895381b561c222000feb4e3484f33a...v0.2.24) (2018-02-01)
### Bug Fixes
* add help values to cache ([2484d1e](https://github.com/anycli/command/commit/2484d1e))
<a name="0.2.23"></a>

@@ -2,0 +10,0 @@ ## [0.2.23](https://github.com/anycli/command/compare/43478c808804359269d3afcc6d7a07fb128c9272...v0.2.23) (2018-02-01)

12

lib/cache.js

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

aliases: c.aliases || [],
// help: c.help,
flags: _.mapValues(c.flags, (flag, name) => {
flags: _.mapValues(c.flags || {}, (flag, name) => {
if (flag.type === 'boolean') {

@@ -35,11 +34,14 @@ return {

helpValue: flag.helpValue,
options: flag.options,
default: _.isFunction(flag.default) ? flag.default() : flag.default,
};
}),
args: c.args.map(a => ({
args: c.args ? c.args.map(a => ({
name: a.name,
description: a.description,
required: a.required,
// default: a.default && a.default(),
options: a.options,
default: _.isFunction(a.default) ? a.default() : a.default,
hidden: a.hidden,
})),
})) : {},
load: async () => c,

@@ -46,0 +48,0 @@ };

{
"name": "@anycli/command",
"description": "anycli base command",
"version": "0.2.23",
"version": "0.2.24",
"author": "Jeff Dickey @jdxcode",
"bugs": "https://github.com/anycli/command/issues",
"dependencies": {
"@anycli/parser": "^3.0.2",
"@anycli/parser": "^3.0.3",
"cli-ux": "^3.3.10",

@@ -15,3 +15,3 @@ "debug": "^3.1.0",

"devDependencies": {
"@anycli/config": "^0.2.6",
"@anycli/config": "^0.2.8",
"@anycli/tslint": "^0.2.1",

@@ -18,0 +18,0 @@ "@commitlint/cli": "^6.0.5",

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