effects-as-data-generate
Advanced tools
Comparing version 2.2.3 to 2.3.0
20
index.js
@@ -6,16 +6,10 @@ const program = require('commander'); | ||
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('init').action(function() { | ||
fxns.init().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); | ||
}); | ||
program.version('0.0.1').command('fn').action(function(fn) { | ||
const fnName = typeof fn === 'string' ? fn : null; | ||
fxns.newFn(fnName).then(printResult).catch(printFailure); | ||
}); | ||
@@ -22,0 +16,0 @@ function printResult(result) { |
{ | ||
"name": "effects-as-data-generate", | ||
"version": "2.2.3", | ||
"version": "2.3.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected potential malware
Supply chain riskAI has identified this package as malware. This is a strong signal that the package may be malicious.
Found 1 instance in 1 package
0
11199
270