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

@adonisjs/ace

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/ace - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

15

CHANGELOG.md

@@ -0,1 +1,16 @@

<a name="4.0.2"></a>
## [4.0.2](https://github.com/adonisjs/ace/compare/v4.0.1...v4.0.2) (2017-07-17)
### Bug Fixes
* **kernel:** use commander.command over commander.on ([09a25ad](https://github.com/adonisjs/ace/commit/09a25ad))
### Features
* **kernel:** show help when no command is executed ([0e65c76](https://github.com/adonisjs/ace/commit/0e65c76))
<a name="4.0.1"></a>

@@ -2,0 +17,0 @@ ## [4.0.1](https://github.com/adonisjs/ace/compare/v4.0.0...v4.0.1) (2017-07-16)

2

package.json
{
"name": "@adonisjs/ace",
"version": "4.0.1",
"version": "4.0.2",
"description": "Ace is a command line tool for adonisjs framework",

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

@@ -272,2 +272,8 @@ 'use strict'

process.env.NO_ANSI = 'false'
const commandName = process.argv.slice(2)
if (!commandName || !commandName[0]) {
return commander.outputHelp()
}
commander.parse(process.argv)

@@ -331,6 +337,8 @@ }

*/
commander.on('*', function (args) {
console.log(`\n error: \`${args[0]}\` is not a registered command \n`)
process.exit(1)
})
commander
.command('*')
.action(function (command) {
console.log(`\n error: \`${command}\` is not a registered command \n`)
process.exit(1)
})

@@ -337,0 +345,0 @@ /**

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