Socket
Socket
Sign inDemoInstall

enhanced-resolve

Package Overview
Dependencies
2
Maintainers
2
Versions
128
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.9.1 to 5.9.2

7

lib/AliasPlugin.js

@@ -44,3 +44,8 @@ /*

innerRequest === item.name ||
(!item.onlyModule && innerRequest.startsWith(item.name + "/"))
(!item.onlyModule &&
innerRequest.startsWith(
request.request
? `${item.name}/`
: resolver.join(item.name, "_").slice(0, -1)
))
) {

@@ -47,0 +52,0 @@ const remainingRequest = innerRequest.substr(item.name.length);

2

package.json
{
"name": "enhanced-resolve",
"version": "5.9.1",
"version": "5.9.2",
"author": "Tobias Koppers @sokra",

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

@@ -90,2 +90,3 @@ # enhanced-resolve

| extensions | [".js", ".json", ".node"] | A list of extensions which should be tried for files |
| fallback | [] | Same as `alias`, but only used if default resolving fails |
| fileSystem | | The file system which should be used |

@@ -92,0 +93,0 @@ | fullySpecified | false | Request passed to resolve is already fully specified and extensions or main files are not resolved for it (they are still resolved for internal requests) |

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