autoresolve
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -0,1 +1,5 @@ | ||
0.0.3 / 2012-07-17 | ||
------------------ | ||
* Bug fix: error if a relative directory was passed in starting with '.'. | ||
0.0.2 / 2012-07-17 | ||
@@ -2,0 +6,0 @@ ------------------ |
@@ -9,4 +9,5 @@ var fs = require('fs'), | ||
module.exports = function(packagePath) { | ||
if (packagePath.indexOf('.') === 0 || packagePath.indexOf('/') === 0) | ||
if (packagePath.indexOf('/') === 0) { | ||
return packagePath; | ||
} | ||
var DIR = process.cwd(); | ||
@@ -13,0 +14,0 @@ var found = false; |
{ | ||
"name" : "autoresolve", | ||
"version" : "0.0.2", | ||
"version" : "0.0.3", | ||
"description" : "A simple module to auto resolve module paths.", | ||
@@ -5,0 +5,0 @@ "homepage" : [ |
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
4595
50