Socket
Socket
Sign inDemoInstall

mm

Package Overview
Dependencies
Maintainers
3
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 2.0.1 to 2.1.0

5

History.md
2.1.0 / 2017-01-25
==================
* deps: use muk-prop instead of muk (#30)
2.0.1 / 2017-01-22

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

7

index.js
'use strict';
module.exports = require('./lib/mm');
const enable = require('enable');
if (enable.generator) {
/* yup, ES6 */
require('./lib/es6');
}
require('./lib/es6');

@@ -1,17 +0,5 @@

/**!
* Copyright(c) fengmk2 and other contributors.
* MIT Licensed
*
* Authors:
* fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com)
*/
'use strict';
/**
* Module dependencies.
*/
const is = require('is-type-of');
const sleep = require('co-sleep');
const sleep = require('ko-sleep');
const mm = require('./mm');

@@ -18,0 +6,0 @@

@@ -1,17 +0,5 @@

/**!
* Copyright(c) node-modules and other contributors.
* MIT Licensed
*
* Authors:
* fengmk2 <fengmk2@gmail.com> (http://fengmk2.com)
*/
'use strict';
/**
* Module dependencies.
*/
const EventEmitter = require('events');
const muk = require('muk');
const muk = require('muk-prop');
const http = require('http');

@@ -23,3 +11,2 @@ const https = require('https');

const mock = module.exports = function mock() {

@@ -26,0 +13,0 @@ return muk.apply(null, arguments);

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

@@ -11,30 +11,27 @@ "main": "index.js",

"scripts": {
"test": "npm run lint && mocha -R spec -t 5000 -r should-http -r thunk-mocha test/*.test.js",
"test-cov": "npm run lint && istanbul cover node_modules/.bin/_mocha -- -t 5000 -r should-http -r thunk-mocha test/*.test.js",
"test": "npm run lint && egg-bin test",
"ci": "npm run lint && egg-bin cov",
"lint": "eslint --fix lib test index.js",
"autod": "autod -w --prefix '~'"
"autod": "autod -w --prefix '^'"
},
"dependencies": {
"co-sleep": "~0.0.1",
"enable": "~3.3.0",
"is-type-of": "^1.0.0",
"muk": "^0.5.0",
"semver": "~4.3.4",
"thenify": "^3.1.0"
"ko-sleep": "^1.0.2",
"muk-prop": "^0.5.3",
"semver": "^5.3.0",
"thenify": "^3.2.1"
},
"devDependencies": {
"autod": "2",
"chunkstream": "*",
"co": "4",
"thunk-mocha": "1",
"chunkstream": "^0.0.1",
"co": "^4.6.0",
"egg-bin": "^2.0.1",
"egg-ci": "^1.1.0",
"eslint": "3",
"eslint-config-egg": "3",
"eslint": "3",
"istanbul": "0",
"mocha": "beta",
"mocha-lcov-reporter": "*",
"node-patch": "*",
"pedding": "1",
"should": "6",
"should-http": "*",
"thunkify-wrap": "1"
"pedding": "^1.1.0",
"should": "^11.1.2",
"thunkify-wrap": "^1.0.4",
"urllib": "^2.19.0"
},

@@ -53,6 +50,9 @@ "homepage": "http://github.com/node-modules/mm",

"engines": {
"node": ">=4"
"node": ">=4.0.0"
},
"ci": {
"version": "4, 6, 7"
},
"author": "fengmk2 <fengmk2@gmail.com> (http://fengmk2.com)",
"license": "MIT"
}
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