next
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -7,3 +7,4 @@ // Require first named module in tree (traversing up) | ||
, errorMsg = require('./is-module-not-found-error') | ||
, trim = require('./path/trim') | ||
, normalize = require('./path/normalize') | ||
, separator = require('./path/separator') | ||
@@ -14,4 +15,4 @@ , dirname = path.dirname; | ||
var m; | ||
path = trim(path); | ||
root = root ? trim(root) : '/'; | ||
path = normalize(path); | ||
root = root ? normalize(root) : separator; | ||
while (true) { | ||
@@ -18,0 +19,0 @@ m = requireSilent(path + '/' + name); |
{ | ||
"name": "next", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "Node.js extensions", | ||
@@ -5,0 +5,0 @@ "keywords": ["node", "nodejs", "node.js", "extensions", "addons", "extras"], |
Sorry, the diff of this file is not supported yet
28283
847