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

import-in-the-middle

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.3.1 to 1.3.2

test/runtest.bat

6

index.js

@@ -54,3 +54,7 @@ // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2.0 License.

} else {
name = name.replace(/^file:\/\//, '')
if (name.startsWith('file://')) {
try {
name = fileURLToPath(name)
} catch (e) {}
}
const details = parse(name)

@@ -57,0 +61,0 @@ if (details) {

4

package.json
{
"name": "import-in-the-middle",
"version": "1.3.1",
"version": "1.3.2",
"description": "Intercept imports in Node.js",

@@ -8,3 +8,5 @@ "main": "index.js",

"test": "c8 --check-coverage --lines 90 imhotap --runner test/runtest --files test/{hook,low-level,other}/*",
"test-win": "c8 --check-coverage --lines 90 imhotap --runner test\\runtest.bat --files test/{hook,low-level,other}/*",
"test:ts": "c8 imhotap --runner test/runtest --files test/typescript/*.test.mts",
"test-win:ts": "c8 imhotap --runner test\\runtest.bat --files test/typescript/*.test.mts",
"coverage": "c8 --reporter html imhotap --runner test/runtest --files test/{hook,low-level,other}/* && echo '\nNow open coverage/index.html\n'"

@@ -11,0 +13,0 @@ },

Sorry, the diff of this file is not supported yet

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