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 4.2.0 to 4.3.0

lib/RootPlugin.js

7

lib/ResolverFactory.js

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

const AppendPlugin = require("./AppendPlugin");
const RootPlugin = require("./RootPlugin");
const RestrictionsPlugin = require("./RestrictionsPlugin");

@@ -82,2 +83,5 @@ const ResultPlugin = require("./ResultPlugin");

// A list of root paths
const roots = options.roots || [];
const restrictions = options.restrictions || [];

@@ -222,2 +226,5 @@

plugins.push(new ModuleKindPlugin("after-described-resolve", "raw-module"));
roots.forEach(root => {
plugins.push(new RootPlugin("after-described-resolve", root, "relative"));
});
plugins.push(new JoinRequestPlugin("after-described-resolve", "relative"));

@@ -224,0 +231,0 @@

2

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