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

proxyquire

Package Overview
Dependencies
Maintainers
1
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.3.2 to 1.4.0

2

lib/proxyquire.js

@@ -15,3 +15,3 @@ 'use strict';

Object.keys(original).forEach(function (key) {
if (typeof mdl[key] === 'undefined') mdl[key] = original[key];
if (!(key in mdl)) mdl[key] = original[key];
});

@@ -18,0 +18,0 @@ }

{
"name": "proxyquire",
"version": "1.3.2",
"version": "1.4.0",
"description": "Proxies nodejs require in order to allow overriding dependencies during testing.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -69,4 +69,4 @@ /*jshint asi:true*/

beforeEach(function () {
barber.bar = undefined;
barber.rab = undefined;
delete barber.bar;
delete barber.rab;
})

@@ -73,0 +73,0 @@

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