Socket
Socket
Sign inDemoInstall

enhanced-resolve

Package Overview
Dependencies
2
Maintainers
4
Versions
127
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.14.1 to 5.15.0

5

lib/ResolverFactory.js

@@ -53,3 +53,4 @@ /*

/** @typedef {{[k: string]: string|string[] }} ExtensionAliasOptions */
/** @typedef {{apply: function(Resolver): void} | function(this: Resolver, Resolver): void} Plugin */
/** @typedef {false | 0 | "" | null | undefined} Falsy */
/** @typedef {{apply: function(Resolver): void} | (function(this: Resolver, Resolver): void) | Falsy} Plugin */

@@ -661,3 +662,3 @@ /**

(plugin).call(resolver, resolver);
} else {
} else if (plugin) {
plugin.apply(resolver);

@@ -664,0 +665,0 @@ }

{
"name": "enhanced-resolve",
"version": "5.14.1",
"version": "5.15.0",
"author": "Tobias Koppers @sokra",

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

"pretest": "yarn lint",
"spelling": "cspell \"**/*.*\"",
"spelling": "cspell \"**\"",
"test:only": "jest",

@@ -66,2 +66,3 @@ "test:watch": "yarn test:only -- --watch",

"lint-staged": {
"*": "cspell --no-must-find-files",
"*.js": "eslint --cache"

@@ -68,0 +69,0 @@ },

@@ -284,2 +284,7 @@ /*

type Plugin =
| undefined
| null
| false
| ""
| 0
| { apply: (arg0: Resolver) => void }

@@ -286,0 +291,0 @@ | ((this: Resolver, arg1: Resolver) => void);

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