Socket
Socket
Sign inDemoInstall

enhanced-resolve

Package Overview
Dependencies
2
Maintainers
2
Versions
127
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.11.0 to 5.12.0

2

lib/DirectoryExistsPlugin.js

@@ -35,3 +35,3 @@ /*

if (!directory) return callback();
fs.stat(directory, { throwIfNoEntry: false }, (err, stat) => {
fs.stat(directory, (err, stat) => {
if (err || !stat) {

@@ -38,0 +38,0 @@ if (resolveContext.missingDependencies)

@@ -33,3 +33,3 @@ /*

if (!file) return callback();
fs.stat(file, { throwIfNoEntry: false }, (err, stat) => {
fs.stat(file, (err, stat) => {
if (err || !stat) {

@@ -36,0 +36,0 @@ if (resolveContext.missingDependencies)

@@ -49,3 +49,3 @@ /*

(addr, callback) => {
fs.stat(addr, { throwIfNoEntry: false }, (err, stat) => {
fs.stat(addr, (err, stat) => {
if (!err && stat && stat.isDirectory()) {

@@ -52,0 +52,0 @@ const obj = {

@@ -54,4 +54,4 @@ /*

* @property {(function(string, FileSystemCallback<Buffer | string>): void) & function(string, object, FileSystemCallback<Buffer | string>): void} readlink
* @property {(function(string, FileSystemCallback<FileSystemStats>): void) & function(string, object, FileSystemCallback<FileSystemStats>): void=} lstat
* @property {(function(string, FileSystemCallback<FileSystemStats>): void) & function(string, object, FileSystemCallback<FileSystemStats>): void} stat
* @property {(function(string, FileSystemCallback<FileSystemStats>): void) & function(string, object, FileSystemCallback<Buffer | string>): void=} lstat
* @property {(function(string, FileSystemCallback<FileSystemStats>): void) & function(string, object, FileSystemCallback<Buffer | string>): void} stat
*/

@@ -58,0 +58,0 @@

{
"name": "enhanced-resolve",
"version": "5.11.0",
"version": "5.12.0",
"author": "Tobias Koppers @sokra",

@@ -16,3 +16,3 @@ "description": "Offers a async require.resolve function. It's highly configurable.",

"dependencies": {
"graceful-fs": "^4.2.9",
"graceful-fs": "^4.2.4",
"tapable": "^2.2.0"

@@ -19,0 +19,0 @@ },

@@ -35,3 +35,3 @@ /*

arg1: object,
arg2: FileSystemCallback<FileSystemStats>
arg2: FileSystemCallback<string | Buffer>
): void;

@@ -45,3 +45,3 @@ };

arg1: object,
arg2: FileSystemCallback<FileSystemStats>
arg2: FileSystemCallback<string | Buffer>
): void;

@@ -140,3 +140,3 @@ };

arg1: object,
arg2: FileSystemCallback<FileSystemStats>
arg2: FileSystemCallback<string | Buffer>
): void;

@@ -149,3 +149,3 @@ };

arg1: object,
arg2: FileSystemCallback<FileSystemStats>
arg2: FileSystemCallback<string | Buffer>
): void;

@@ -152,0 +152,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc