New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

directory-import

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directory-import - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "directory-import",
"version": "1.0.0",
"version": "1.0.1",
"description": "Module sync or async import(requires) all modules from the folder you specify.",

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

@@ -26,3 +26,3 @@ ##### Module sync or async import(requires) all modules from the folder you specify.

// Simple loading of all modules inside the directory and in all its subdirectories
importDir(`./someDir`, sync);
importDir(`./someDir`, 'sync');

@@ -29,0 +29,0 @@ // EX 2

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