Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

proxyquire

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxyquire - npm Package Compare versions

Comparing version 1.7.11 to 1.8.0

2

lib/proxyquire.js

@@ -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

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