proxyquire
Advanced tools
Comparing version 1.7.11 to 1.8.0
@@ -45,3 +45,3 @@ 'use strict'; | ||
.forEach(function (key) { | ||
if (is.Function(proto[key])) fn[key] = proto[key].bind(self); | ||
if (is.Function(proto[key])) fn[key] = self[key].bind(self); | ||
}); | ||
@@ -48,0 +48,0 @@ |
{ | ||
"name": "proxyquire", | ||
"version": "1.7.11", | ||
"version": "1.8.0", | ||
"description": "Proxies nodejs require in order to allow overriding dependencies during testing.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,3 +5,3 @@ # proxyquire [![Build Status](https://secure.travis-ci.org/thlorenz/proxyquire.svg)](http://travis-ci.org/thlorenz/proxyquire) | ||
Proxies nodejs's require in order to make overriding dependencies during testing easy while staying **totally unobstrusive**. | ||
Proxies nodejs's require in order to make overriding dependencies during testing easy while staying **totally unobtrusive**. | ||
@@ -8,0 +8,0 @@ If you want to stub dependencies for your client side modules, try |
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
561548
61857