Socket
Socket
Sign inDemoInstall

mm

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mm - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

7

History.md
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 @@ ==================

2

index.js

@@ -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": "*"

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