directory-import
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -18,4 +18,5 @@ "use strict"; | ||
options.callerFilePath = | ||
new Error('functional-error').stack.split('\n')[4]?.match(/\((.+):\d+:\d+\)/)?.[1] || | ||
options.callerFilePath; | ||
new Error('functional-error').stack | ||
.split('\n')[4] | ||
?.match(/at (?:file:\/\/)?(?:Object\.<anonymous>\s\()?([^:]+):\d+:\d+/)?.[1] || options.callerFilePath; | ||
options.callerDirectoryPath = options.callerFilePath.split('/').slice(0, -1).join('/'); | ||
@@ -22,0 +23,0 @@ options.targetDirectoryPath = options.callerDirectoryPath; |
{ | ||
"name": "directory-import", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"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", |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
36499
396
0