Socket
Socket
Sign inDemoInstall

effects-as-data-generate

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

effects-as-data-generate - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

22

index.js

@@ -6,10 +6,16 @@ const program = require('commander');

program.version('0.0.1').command('init').action(function() {
fxns.init().then(printResult).catch(printFailure);
});
program
.version('0.0.1')
.command('init', 'initialize an effects-as-data project')
.action(function() {
fxns.init().then(printResult).catch(printFailure);
});
program.version('0.0.1').command('fn').action(function(fn) {
const fnName = typeof fn === 'string' ? fn : null;
fxns.newFn(fnName).then(printResult).catch(printFailure);
});
program
.version('0.0.1')
.command('fn', 'create new effects-as-data function')
.action(function(fn) {
const fnName = typeof fn === 'string' ? fn : null;
fxns.newFn(fnName).then(printResult).catch(printFailure);
});

@@ -34,1 +40,3 @@ function printResult(result) {

program.parse(process.argv);
if (!process.argv.length) program.outputHelpInformation();
{
"name": "effects-as-data-generate",
"version": "2.2.2",
"version": "2.2.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc