Comparing version 0.0.4 to 0.0.5
0.0.5 / 2012-07-10 | ||
================== | ||
* fix `require.exists()` for sub-requires | ||
0.0.4 / 2012-06-28 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -91,3 +91,3 @@ | ||
require.relative = function(parent) { | ||
return function(p){ | ||
function fn(p){ | ||
if ('.' != p[0]) return require(p, parent); | ||
@@ -106,3 +106,7 @@ | ||
return require(path.join('/'), parent); | ||
}; | ||
} | ||
fn.exists = require.exists; | ||
return fn; | ||
}; |
{ | ||
"name": "cloud", | ||
"description": "Components", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "commander": "0.6.1", |
25296
901