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 3.2.0 to 3.2.1

5

dist/src/prepare-private-options.js

@@ -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;

2

package.json
{
"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",

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