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

import-modules

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

import-modules - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

7

index.js

@@ -22,8 +22,3 @@ 'use strict';

let files;
try {
files = fs.readdirSync(directory);
} catch (_) {
return {};
}
const files = fs.readdirSync(directory);

@@ -30,0 +25,0 @@ const done = new Set();

2

package.json
{
"name": "import-modules",
"version": "2.1.0",
"version": "3.0.0",
"description": "Import all modules in a directory",

@@ -5,0 +5,0 @@ "license": "MIT",

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