You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

directory-import

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directory-import - npm Package Compare versions

Comparing version

to
3.1.0

@@ -9,3 +9,3 @@ "use strict";

const directory_reader_sync_1 = __importDefault(require("./directory-reader-sync"));
const VALID_IMPORT_EXTENSIONS = new Set(['.js', '.ts', '.json']);
const VALID_IMPORT_EXTENSIONS = new Set(['.js', '.mjs', '.ts', '.json']);
const handlers = { async: asyncHandler, sync: syncHandler };

@@ -12,0 +12,0 @@ /**

{
"name": "directory-import",
"version": "3.0.15",
"version": "3.1.0",
"description": "Module will allow you to synchronously or asynchronously import (requires) all modules from the folder you specify",

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