resolve
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -13,2 +13,7 @@ var core = require('./core'); | ||
if (!opts) opts = {}; | ||
if (typeof x !== 'string') { | ||
return process.nextTick(function () { | ||
cb(new Error('path must be a string')); | ||
}); | ||
} | ||
@@ -15,0 +20,0 @@ var isFile = opts.isFile || function (file, cb) { |
{ | ||
"name" : "resolve", | ||
"description" : "resolve like require.resolve() on behalf of files asynchronously and synchronously", | ||
"version" : "0.7.2", | ||
"version" : "0.7.3", | ||
"repository" : { | ||
@@ -6,0 +6,0 @@ "type" : "git", |
38923
55
1032