Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,2 @@ | ||
/* eslint-disable class-methods-use-this */ | ||
'use strict'; | ||
@@ -194,5 +195,5 @@ | ||
_exit(msg, code) { | ||
return process.once('exit', function() { | ||
return process.once('exit', function(exitCode) { | ||
msg && console[code === 0 ? 'log' : 'error'](msg); | ||
process.exit(code || 0); | ||
process.exit(code || exitCode || 0); | ||
}); | ||
@@ -199,0 +200,0 @@ } |
@@ -0,1 +1,2 @@ | ||
/* eslint-disable class-methods-use-this */ | ||
'use strict'; | ||
@@ -2,0 +3,0 @@ |
@@ -65,3 +65,3 @@ 'use strict'; | ||
if(err) return defer.reject(err); | ||
d = d.replace(/{{cmd}}/g, path.basename(name)).replace(/^\#\!.*?\n/, ''); | ||
d = d.replace(/{{cmd}}/g, path.basename(name)).replace(/^#!.*?\n/, ''); | ||
@@ -68,0 +68,0 @@ process.stdout.on('error', onError); |
{ | ||
"name": "coa", | ||
"description": "Command-Option-Argument: Yet another parser for command line options.", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"homepage": "http://github.com/veged/coa", | ||
@@ -32,4 +32,4 @@ "author": "Sergey Berezhnoy <veged@ya.ru> (http://github.com/veged)", | ||
"coveralls": "^2.11.16", | ||
"eslint": "^3.15.0", | ||
"eslint-config-pedant": "^0.8.0", | ||
"eslint": "^4.15.0", | ||
"eslint-config-pedant": "^1.0.0", | ||
"mocha": "~1.21.4", | ||
@@ -36,0 +36,0 @@ "nyc": "^10.1.2" |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
70597
987
0