Socket
Socket
Sign inDemoInstall

mm

Package Overview
Dependencies
Maintainers
2
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 1.0.1 to 1.1.0

coverage/coverage.json

5

History.md
1.1.0 / 2015-05-08
==================
* feat: support promise
1.0.1 / 2014-10-30

@@ -3,0 +8,0 @@ ==================

1

index.js
module.exports = require('./lib/mm');
var enable = require('enable');

@@ -4,0 +3,0 @@ if (enable.generator) {

@@ -23,3 +23,3 @@ /**!

var semver = require('semver');
var thunkify = require('thunkify-wrap');
var thenify = require('thenify').withCallback;

@@ -74,3 +74,3 @@ var mock = module.exports = function mock(obj, key, method) {

timeout = timeout || 0;
mock(mod, method, thunkify(function () {
mock(mod, method, thenify(function () {
var callback = getCallback(arguments);

@@ -100,3 +100,3 @@ setTimeout(function () {

}
mock(mod, method, thunkify(function () {
mock(mod, method, thenify(function () {
var callback = getCallback(arguments);

@@ -103,0 +103,0 @@ setTimeout(function () {

{
"name": "mm",
"version": "1.0.1",
"version": "1.1.0",
"description": "mock mate, mock http request, fs access and so on.",

@@ -19,13 +19,13 @@ "main": "index.js",

"co-sleep": "~0.0.1",
"enable": "~1.0.2",
"enable": "~3.3.0",
"is-type-of": "~0.3.1",
"muk": "~0.3.1",
"semver": "~4.1.0",
"thunkify-wrap": "~1.0.3"
"muk": "~0.3.2",
"semver": "~4.3.4",
"thenify": "~3.1.0"
},
"devDependencies": {
"autod": "*",
"autod": "~2.0.1",
"blanket": "*",
"chunkstream": "~0.0.1",
"co": "~3.1.0",
"co": "~4.5.4",
"co-mocha": "*",

@@ -35,2 +35,3 @@ "co-urllib": "~0.2.3",

"coveralls": "*",
"istanbul-harmony": "~0.3.12",
"mocha": "*",

@@ -40,4 +41,5 @@ "mocha-lcov-reporter": "*",

"pedding": "~1.0.0",
"should": "~4.1.0",
"should": "~6.0.1",
"should-http": "*",
"thunkify-wrap": "~1.0.4",
"travis-cov": "*"

@@ -44,0 +46,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