Comparing version 2.0.0 to 2.0.1
{"name":"rimraf" | ||
,"version":"2.0.0" | ||
,"version":"2.0.1" | ||
,"main":"rimraf.js" | ||
@@ -4,0 +4,0 @@ ,"description":"A deep deletion module for node (like `rm -rf`)" |
@@ -83,3 +83,3 @@ module.exports = rimraf | ||
function writable (s) { | ||
var mode = s.mode && 0777 | ||
var mode = s.mode || 0777 | ||
, uid = myUid() | ||
@@ -121,18 +121,2 @@ , gid = myGid() | ||
function realish (p, cb) { | ||
fs.readlink(p, function (er, r) { | ||
if (er) return cb(er) | ||
return cb(null, path.resolve(path.dirname(p), r)) | ||
}) | ||
} | ||
function clobberFail (p, g, cb) { | ||
var er = new Error("Refusing to delete: "+p+" not in "+g) | ||
, constants = require("constants") | ||
er.errno = constants.EEXIST | ||
er.code = "EEXIST" | ||
er.path = p | ||
return cb(er) | ||
} | ||
function asyncForEach (list, fn, cb) { | ||
@@ -139,0 +123,0 @@ if (!list.length) cb() |
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
6575
9
135