New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

require-inject

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

require-inject - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

index.js

@@ -24,2 +24,4 @@ 'use strict'

var requireInject = function (toLoad, mocks, withEmptyCache) {
mocks = mocks || {}
// Copy the existing cache

@@ -26,0 +28,0 @@ var originalCache = {}

7

package.json
{
"name": "require-inject",
"version": "1.4.0",
"version": "1.4.1",
"description": "A simple mock injector compatible needing no instrumentation in the libraries being tested",

@@ -29,3 +29,6 @@ "main": "index.js",

"caller": "^1.0.1"
}
},
"files": [
"index.js"
]
}
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