Socket
Socket
Sign inDemoInstall

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.16.1 to 5.17.0

8

lib/util/entrypoints.js

@@ -467,3 +467,2 @@ /*

const [mapping, conditions, j] = lookup[lookup.length - 1];
const last = conditions.length - 1;

@@ -473,8 +472,3 @@ for (let i = j; i < conditions.length; i++) {

// assert default. Could be last only
if (i !== last) {
if (condition === "default") {
throw new Error("Default condition should be last one");
}
} else if (condition === "default") {
if (condition === "default") {
const innerMapping = mapping[condition];

@@ -481,0 +475,0 @@ // is nested

2

package.json
{
"name": "enhanced-resolve",
"version": "5.16.1",
"version": "5.17.0",
"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