directory-import
Advanced tools
@@ -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", |
36103
0.02%