Socket
Socket
Sign inDemoInstall

enhanced-resolve

Package Overview
Dependencies
2
Maintainers
4
Versions
128
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc