Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.5.13 to 0.5.14

0

lib/CachedInputFileSystem.js

@@ -0,0 +0,0 @@ /*

4

lib/DirectoryDescriptionFilePlugin.js

@@ -37,3 +37,3 @@ /*

}
if(current) {
if(typeof current === "string") {
mainModules.push(current);

@@ -44,3 +44,3 @@ continue;

var field = fields[i];
if(content[field]) {
if(typeof content[field] === "string") {
mainModules.push(content[field]);

@@ -47,0 +47,0 @@ continue;

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -152,18 +152,20 @@ /*

for(var i = 0; i < array.length; i++) {
var itCb = function(i) {
if(i >= currentPos) return; // ignore
var args = Array.prototype.slice.call(arguments, 1);
done.push(i);
if(args.length > 0) {
currentPos = i + 1;
done = done.filter(function(item) {
return item <= i;
});
currentResult = args;
}
if(done.length == currentPos) {
callback.apply(null, currentResult);
currentPos = 0;
}
}.bind(this, i);
var itCb = (function(i) {
return function() {
if(i >= currentPos) return; // ignore
var args = Array.prototype.slice.call(arguments);
done.push(i);
if(args.length > 0) {
currentPos = i + 1;
done = done.filter(function(item) {
return item <= i;
});
currentResult = args;
}
if(done.length == currentPos) {
callback.apply(null, currentResult);
currentPos = 0;
}
};
}(i));
iterator(array[i], itCb);

@@ -170,0 +172,0 @@ if(currentPos == 0) break;

@@ -0,0 +0,0 @@ /*

{
"name": "enhanced-resolve",
"version": "0.5.13",
"version": "0.5.14",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "Offers a async require.resolve function. It's highly configurable.",

@@ -0,0 +0,0 @@ # enhanced-resolve

@@ -0,0 +0,0 @@ var Resolver = require("../lib/Resolver");

@@ -0,0 +0,0 @@ var CachedInputFileSystem = require("../lib/CachedInputFileSystem");

module.exports = function a() {
return "This is a";
};
module.exports = function b() {
return "This is b";
};

@@ -0,0 +0,0 @@ module.exports = function b() {

@@ -0,0 +0,0 @@ var complex1 = require("./lib/complex1");

@@ -0,0 +0,0 @@ var a = require("./a");

@@ -0,0 +0,0 @@ var a = require("./a");

@@ -0,0 +0,0 @@ var a = require("./a");

module.exports = function a() {
return "This is m1/a";
};
module.exports = function a() {
return "This is m1/b";
};
module.exports = function() {
"module.exports = 'This is m2-loader/b';";
}
module.exports = "This is m2/b";

@@ -0,0 +0,0 @@ var MemoryInputFileSystem = require("../lib/MemoryInputFileSystem");

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ var resolve = require("../");

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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