directory-import
Advanced tools
Comparing version 3.0.11 to 3.0.12
@@ -19,3 +19,3 @@ "use strict"; | ||
.split('\n')[4] | ||
?.match(/\(([^)]+)\)/)?.[1]; | ||
?.match(/at file:\/\/(.+):\d+|at .+ \((.+):\d+:\d+\)/)?.slice(1).find(Boolean); | ||
options.callerDirectoryPath = options.callerFilePath.split('/').slice(0, -1).join('/'); | ||
@@ -22,0 +22,0 @@ options.targetDirectoryPath = options.callerDirectoryPath; |
{ | ||
"name": "directory-import", | ||
"version": "3.0.11", | ||
"version": "3.0.12", | ||
"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", |
35036