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

@kokojs/cli

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kokojs/cli - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

lib/commands.js

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

}
service.commands.forEach(({ name, action, options, description = '' }) => {
service.commands.forEach(({ name, action, options, alias, description = '' }) => {
if (isExisted(name)) {

@@ -35,3 +35,4 @@ return;

.action((...args) => {
service.commandOptions = args[0].opts();
const cmdObj = args[args.length - 1];
service.commandOptions = cmdObj.opts();
action(...args);

@@ -41,2 +42,5 @@ })

.description(description);
if (alias) {
command.alias(alias);
}
if (options) {

@@ -43,0 +47,0 @@ Object.keys(options).forEach((name) => {

{
"name": "@kokojs/cli",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "files": [

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