Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enhanced-resolve

Package Overview
Dependencies
Maintainers
4
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enhanced-resolve - npm Package Compare versions

Comparing version 5.0.0-beta.0 to 5.0.0-beta.1

7

lib/AliasPlugin.js

@@ -33,2 +33,9 @@ /*

const resolveWithAlias = (alias, callback) => {
if (alias === false) {
const ignoreObj = {
...request,
path: false
};
return callback(null, ignoreObj);
}
if (

@@ -35,0 +42,0 @@ innerRequest !== alias &&

2

lib/ResolverFactory.js

@@ -143,3 +143,3 @@ /*

}
if (typeof obj === "string" || Array.isArray(obj)) {
if (typeof obj === "string" || Array.isArray(obj) || obj === false) {
obj = {

@@ -146,0 +146,0 @@ alias: obj

{
"name": "enhanced-resolve",
"version": "5.0.0-beta.0",
"version": "5.0.0-beta.1",
"author": "Tobias Koppers @sokra",

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

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