Comparing version 3.0.0 to 3.0.1
3.0.1 / 2020-03-01 | ||
================== | ||
**fixes** | ||
* [[`6ca26e4`](http://github.com/node-modules/mm/commit/6ca26e4a600e365885f5056be3cd084408e5d7ea)] - fix: fix this binding (#48) (Yiyu He <<dead_horse@qq.com>>) | ||
3.0.0 / 2020-03-01 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -37,3 +37,3 @@ 'use strict'; | ||
spy.called++; | ||
return await fn(...args); | ||
return await fn.call(this, ...args); | ||
}; | ||
@@ -50,3 +50,3 @@ return spy; | ||
spy.called++; | ||
return yield fn(...args); | ||
return yield fn.call(this, ...args); | ||
}; | ||
@@ -62,3 +62,3 @@ return spy; | ||
spy.called++; | ||
return fn(...args); | ||
return fn.call(this, ...args); | ||
}; | ||
@@ -65,0 +65,0 @@ return spy; |
{ | ||
"name": "mm", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "mock mate, mock http request, fs access and so on.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
34145
19387