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

fly

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fly - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

27

lib/cli/options.js

@@ -1,14 +0,21 @@

var parse = require('parsec')
var parse = require('minimist')
module.exports = function () {
return parse(
['f', 'file', {default: '.'}],
'list',
'help',
'version',
['_', 'tasks'], // @todo Catch all tasks, only reads first
function (key) {
throw new Error({code: 'UNKNOWN_OPTION', key: key})
return parse(process.argv.slice(2), {
default: {
file: '.'
},
alias: {
v: 'version',
h: 'help',
l: 'list',
f: 'file',
_: 'tasks'
},
unknown: function (key) {
if (key.slice(0, 1) === '-') {
throw new Error({code: 'UNKNOWN_OPTION', key: key})
}
}
)
})
}
{
"name": "fly",
"version": "1.0.2",
"version": "1.1.0",
"description": "Modern Build System",

@@ -38,4 +38,4 @@ "license": "MIT",

"mkdirp": "^0.5.1",
"minimist": "^1.2.0",
"object-assign": "^4.0.1",
"parsec": "^1.3.0",
"prettyjson": "^1.1.2",

@@ -42,0 +42,0 @@ "rimraf": "^2.4.2",

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