Comparing version 3.3.1 to 3.3.2
3.3.2 / 2017-05-22 | ||
================== | ||
* deps: upgrade dependencies (#56) | ||
* test: use assert instead of should (#54) | ||
3.3.1 / 2017-05-10 | ||
@@ -3,0 +9,0 @@ ================== |
10
index.js
@@ -27,4 +27,4 @@ 'use strict'; | ||
cmd: modulePath, | ||
args: args, | ||
opt: opt, | ||
args, | ||
opt, | ||
}); | ||
@@ -43,6 +43,6 @@ }; | ||
method: 'spawn', | ||
cmd: cmd, | ||
args: args, | ||
opt: opt, | ||
cmd, | ||
args, | ||
opt, | ||
}); | ||
}; |
@@ -9,3 +9,3 @@ 'use strict'; | ||
expected.forEach(function(rule) { | ||
let isOpposite = rule.isOpposite; | ||
const isOpposite = rule.isOpposite; | ||
rule = rule.value; | ||
@@ -12,0 +12,0 @@ |
@@ -120,3 +120,3 @@ 'use strict'; | ||
// Only accept these type below for assertion | ||
var acceptType = ['stdout', 'stderr', 'code', 'error']; | ||
var acceptType = [ 'stdout', 'stderr', 'code', 'error' ]; | ||
@@ -123,0 +123,0 @@ Coffee.prototype.expect = function(type, value) { |
@@ -7,7 +7,7 @@ 'use strict'; | ||
if (process.env.coffee_inject_istanbul === 'false') { | ||
return [modulePath, args, opt]; | ||
return [ modulePath, args, opt ]; | ||
} | ||
if (!process.env.istanbul_bin_path) { | ||
console.warn('istanbul bin is not found'); | ||
return [modulePath, args, opt]; | ||
return [ modulePath, args, opt ]; | ||
} | ||
@@ -30,3 +30,3 @@ | ||
} | ||
return [istanbulBin, istanbulArgs, opt]; | ||
return [ istanbulBin, istanbulArgs, opt ]; | ||
}; |
{ | ||
"name": "coffee", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "Test command line on nodejs", | ||
"main": "index.js", | ||
"dependencies": { | ||
"debug": "~2.2.0", | ||
"childprocess": "~2.0.0" | ||
"childprocess": "^2.0.2", | ||
"debug": "^2.6.8" | ||
}, | ||
"devDependencies": { | ||
"autod": "2", | ||
"eslint": "2", | ||
"eslint-config-egg": "^2.0.0", | ||
"autod": "^2.8.0", | ||
"egg-ci": "^1.6.0", | ||
"eslint": "^3.19.0", | ||
"eslint-config-egg": "^4.1.0", | ||
"istanbul": "0", | ||
"mm": "^1.3.5", | ||
"mm": "^2.1.0", | ||
"mocha": "2", | ||
"should": "6", | ||
"spy": "^0.1.3" | ||
"spy": "^1.0.0" | ||
}, | ||
@@ -35,2 +35,8 @@ "repository": { | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">= 4.0.0" | ||
}, | ||
"ci": { | ||
"version": "4, 6, 7" | ||
}, | ||
"scripts": { | ||
@@ -40,4 +46,5 @@ "lint": "eslint index.js lib test", | ||
"cover": "rm -rf coverage && istanbul cover --report none --print none node_modules/mocha/bin/_mocha -- -R spec -t 80000", | ||
"cov": "npm run clean && npm run lint && npm run cover && istanbul report --root coverage text-summary json lcov", | ||
"autod": "autod -e test/fixtures -f ~ -w", | ||
"cov": "npm run cover && istanbul report --root coverage text-summary json lcov", | ||
"ci": "npm run lint && npm run cov", | ||
"autod": "autod", | ||
"clean": "rm -rf coverage" | ||
@@ -44,0 +51,0 @@ }, |
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
17548
+ Addeddebug@2.6.9(transitive)
+ Addedms@2.0.0(transitive)
- Removeddebug@2.2.0(transitive)
- Removedms@0.7.1(transitive)
Updatedchildprocess@^2.0.2
Updateddebug@^2.6.8