Socket
Socket
Sign inDemoInstall

enhanced-resolve

Package Overview
Dependencies
Maintainers
1
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 0.2.8 to 0.2.9

8

lib/resolve.js

@@ -71,3 +71,5 @@ /*

var line = options.loaders[i];
if(line.test.test(resource)) {
var test = line.test;
if(typeof test == "string") test = new RegExp(test);
if(test.test(resource)) {
Array.prototype.push.apply(identifiers, line.loader.split(/!/g));

@@ -117,3 +119,5 @@ break;

return callback(new Error("File \"" + intermediateResult + "\" is blocked by postprocessors: " + err));
postprocessors.shift()(result, next);
var postprocessor = postprocessors.shift();
if(typeof postprocessor == "string") postprocessor = require(postprocessor);
postprocessor(result, next);
})(null, intermediateResult);

@@ -120,0 +124,0 @@ }

{
"name": "enhanced-resolve",
"version": "0.2.8",
"version": "0.2.9",
"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