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.2 to 5.0.0-beta.3

10

lib/PnpPlugin.js

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

let resolution;
let apiResolution;
try {

@@ -31,2 +32,7 @@ resolution = this.pnpApi.resolveToUnqualified(req, issuer, {

});
if (resolveContext.fileDependencies) {
apiResolution = this.pnpApi.resolveToUnqualified("pnpapi", issuer, {
considerBuiltins: false
});
}
} catch (error) {

@@ -38,2 +44,6 @@ return callback(error);

if (apiResolution) {
resolveContext.fileDependencies.add(apiResolution);
}
const obj = {

@@ -40,0 +50,0 @@ ...request,

2

package.json
{
"name": "enhanced-resolve",
"version": "5.0.0-beta.2",
"version": "5.0.0-beta.3",
"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