Socket
Socket
Sign inDemoInstall

import2

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

import2 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1-dev.20221009

index.mjs

4

index.js
"use strict"
module.exports = (path) => import(path);
module.exports = function (path) {
return import(path);
};
{
"name": "import2",
"version": "1.0.0",
"version": "1.0.1-dev.20221009",
"description": "Dynamic import function who can avoid transpiling to require function",
"typings": "./index.d.ts",
"main": "index.js",
"typings": "./index.d.ts",
"module": "index.mjs",
"esnext": "index.mjs",
"repository": {

@@ -8,0 +10,0 @@ "type": "git",

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