enhanced-resolve
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "enhanced-resolve", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -19,3 +19,3 @@ "description": "Offers a async require.resolve function. It's highly configurable.", | ||
"engines": { | ||
"node": ">=0.8" | ||
"node": ">=0.6" | ||
}, | ||
@@ -22,0 +22,0 @@ "main": "lib/resolve.js", |
@@ -5,4 +5,6 @@ # enhanced-resolve | ||
[![Build Status](https://secure.travis-ci.org/webpack/enhanced-resolve.png?branch=master)](http://travis-ci.org/webpack/enhanced-resolve) | ||
More documentation coming soon... | ||
*It is used in [webpack](/webpack/webpack)* |
@@ -9,4 +9,4 @@ var resolve = require("../lib/resolve"); | ||
[__dirname, "../", "as directory"], | ||
[path.join(__dirname, "..", "..", ".."), "enhanced-resolve", "as module"], | ||
[path.join(__dirname, "..", "..", ".."), "enhanced-resolve/lib/resolve", "in module"] | ||
[path.join(__dirname, "..", ".."), "./enhanced-resolve", "as module"], | ||
[path.join(__dirname, "..", ".."), "./enhanced-resolve/lib/resolve", "in module"] | ||
]; | ||
@@ -16,3 +16,3 @@ pathsToIt.forEach(function(pathToIt) { | ||
resolve(pathToIt[0], pathToIt[1], function(err, filename) { | ||
if(err) throw err; | ||
if(err) return done(err); | ||
should.exist(filename); | ||
@@ -19,0 +19,0 @@ filename.should.be.a("string"); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18157
25
516
9