Comparing version 0.6.2 to 0.6.3
@@ -88,2 +88,5 @@ var core = require('./core'); | ||
if (pkg.main) { | ||
if (pkg.main === '.' || pkg.main === './'){ | ||
pkg.main = 'index' | ||
} | ||
loadAsFile(path.resolve(x, pkg.main), pkg, function (err, m, pkg) { | ||
@@ -90,0 +93,0 @@ if (err) return cb(err); |
{ | ||
"name" : "resolve", | ||
"description" : "resolve like require.resolve() on behalf of files asynchronously and synchronously", | ||
"version" : "0.6.2", | ||
"version" : "0.6.3", | ||
"repository" : { | ||
@@ -6,0 +6,0 @@ "type" : "git", |
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
35336
918