Comparing version 2.0.1 to 2.1.0
2.1.0 / 2017-01-25 | ||
================== | ||
* deps: use muk-prop instead of muk (#30) | ||
2.0.1 / 2017-01-22 | ||
@@ -3,0 +8,0 @@ ================== |
'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" | ||
} |
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
5
12
24311
463
+ Addedko-sleep@^1.0.2
+ Addedmuk-prop@^0.5.3
+ Addedko-sleep@1.1.4(transitive)
+ Addedms@2.1.3(transitive)
+ Addedmuk-prop@0.5.3(transitive)
+ Addedsemver@5.7.2(transitive)
- Removedco-sleep@~0.0.1
- Removedenable@~3.3.0
- Removedmuk@^0.5.0
- Removedco-sleep@0.0.1(transitive)
- Removedenable@3.3.0(transitive)
- Removedmuk@0.5.3(transitive)
- Removedsemver@4.3.6(transitive)
Updatedsemver@^5.3.0
Updatedthenify@^3.2.1