Comparing version 0.1.3 to 0.1.4
0.1.4 / 2013-05-21 | ||
================== | ||
* use blanket instead of jscover | ||
* fixed spawn test fail on node 0.6 | ||
* support emtpy error | ||
0.1.3 / 2013-05-05 | ||
@@ -3,0 +10,0 @@ ================== |
@@ -1,1 +0,1 @@ | ||
module.exports = process.env.MM_COV ? require('./lib-cov/mm') : require('./lib/mm'); | ||
module.exports = require('./lib/mm'); |
@@ -48,2 +48,6 @@ /*! | ||
exports.error = function (mod, method, error, timeout) { | ||
if (!error) { | ||
error = new Error('mm mock error'); | ||
error.name = 'MockError'; | ||
} | ||
if (typeof error === 'string') { | ||
@@ -326,2 +330,3 @@ error = new Error(error); | ||
evt.emit('close', code); | ||
evt.emit('exit', code); | ||
}, timeout); | ||
@@ -328,0 +333,0 @@ }; |
{ | ||
"name": "mm", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "mock mate, mock http request, fs access and so on.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "make test" | ||
"test": "make test-all", | ||
"blanket": { | ||
"pattern": "//^((?!(node_modules|test)).)*$/", | ||
"data-cover-flags": { | ||
"debug": false | ||
} | ||
}, | ||
"travis-cov": { | ||
"threshold": 100 | ||
} | ||
}, | ||
@@ -14,3 +23,5 @@ "dependencies": { | ||
"should": "*", | ||
"jscover": "*", | ||
"travis-cov": "*", | ||
"node-patch": "*", | ||
"blanket": "*", | ||
"pedding": "*", | ||
@@ -17,0 +28,0 @@ "mocha": "*" |
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
16260
307
0
6
1