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.4.2 to 1.5.0

6

hook.js

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

if (context.importAssertions && context.importAssertions.type === 'json') {
// Node.js v21 renames importAssertions to importAttributes
if (
(context.importAssertions && context.importAssertions.type === 'json') ||
(context.importAttributes && context.importAttributes.type === 'json')
) {
return url

@@ -106,0 +110,0 @@ }

2

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

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

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