Comparing version 0.1.0 to 0.1.1
@@ -0,1 +1,5 @@ | ||
0.1.1 / 2012-06-15 | ||
================== | ||
* Fixed bug in `remove()`/`delete()` that wouldn't execute the function if a callback wasn't passed. | ||
0.1.0 / 2012-05-31 | ||
@@ -2,0 +6,0 @@ ================== |
@@ -0,1 +1,2 @@ | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -2,0 +3,0 @@ var BUF_LENGTH, copy, copyFile, copyFileSync, fs, ncp, _buff; |
@@ -0,1 +1,2 @@ | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -12,3 +13,5 @@ var copy, fs, fse, key, mkdir, path, remove, val; | ||
val = fs[key]; | ||
if (typeof val === 'function') fse[key] = val; | ||
if (typeof val === 'function') { | ||
fse[key] = val; | ||
} | ||
} | ||
@@ -38,5 +41,9 @@ | ||
if (!(fs.exists != null)) fs.exists = path.exists; | ||
if (!(fs.exists != null)) { | ||
fs.exists = path.exists; | ||
} | ||
if (!(fs.existsSync != null)) fs.existsSync = path.existsSync; | ||
if (!(fs.existsSync != null)) { | ||
fs.existsSync = path.existsSync; | ||
} | ||
@@ -43,0 +50,0 @@ module.exports = fs; |
@@ -0,1 +1,2 @@ | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -2,0 +3,0 @@ var mkdirp; |
@@ -0,1 +1,2 @@ | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -13,3 +14,7 @@ var fs, rimraf, rmrf, rmrfSync; | ||
rmrf = function(dir, cb) { | ||
return rimraf(dir, cb); | ||
if (cb != null) { | ||
return rimraf(dir, cb); | ||
} else { | ||
return rimraf(dir, (function() {})); | ||
} | ||
}; | ||
@@ -26,2 +31,3 @@ | ||
module.exports.rmrfSync = rmrfSync; | ||
@@ -28,0 +34,0 @@ |
{ | ||
"name" : "fs-extra", | ||
"version" : "0.1.0", | ||
"version" : "0.1.1", | ||
"description" : "fs-extra contains methods that aren't included in the vanilla Node.js fs package.", | ||
@@ -5,0 +5,0 @@ "homepage" : [ |
@@ -129,4 +129,9 @@ Node.js: fs-extra | ||
}); | ||
``` | ||
### exists() / existsSync() | ||
These methods are actually from `path`. But in Node v0.8 they are moved from `path` to `fs`. So you might as well start future proofing your code now. | ||
## License | ||
@@ -133,0 +138,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
19231
103
144