Socket
Socket
Sign inDemoInstall

require-in-the-middle

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

require-in-the-middle - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

test/node_modules/circular/foo.js

7

index.js

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

// Ugly hack to make sure we don't process modules that haven't been
// completely evaluated yet. This happens for circular dependencies.
if (exports !== null &&
typeof exports === 'object' &&
!Array.isArray(exports) &&
Object.keys(exports).length === 0) return exports
var filename = Module._resolveFilename(request, parent)

@@ -26,0 +33,0 @@ var core = filename.indexOf(path.sep) === -1

8

package.json
{
"name": "require-in-the-middle",
"version": "2.1.0",
"version": "2.1.1",
"description": "Module to hook into the Node.js require function",

@@ -18,3 +18,3 @@ "main": "index.js",

"scripts": {
"test": "standard && tape test.js"
"test": "standard && tape test/test.js"
},

@@ -44,5 +44,5 @@ "repository": {

"coordinates": [
55.6665607,
12.5801843
37.42921750000001,
-122.1225455
]
}

Sorry, the diff of this file is not supported yet

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