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

enhanced-resolve

Package Overview
Dependencies
Maintainers
1
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 0.5.12 to 0.5.13

4

lib/ModuleAliasPlugin.js

@@ -19,3 +19,3 @@ /*

var aliasName = keys[i];
if(request.request.indexOf(aliasName) === 0) {
if(request.request.indexOf(aliasName + "/") === 0 || request.request === aliasName) {
var aliasValue = aliasMap[aliasName];

@@ -35,3 +35,3 @@ if(request.request.indexOf(aliasValue + "/") !== 0 && request.request != aliasValue) {

}.bind(this);
if(request.request != aliasName) {
if(request.request !== aliasName) {
// Check if aliasValue resolves to a file.

@@ -38,0 +38,0 @@ // If it do so, we do not alias the module as the user

{
"name": "enhanced-resolve",
"version": "0.5.12",
"version": "0.5.13",
"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