Socket
Socket
Sign inDemoInstall

rimraf

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rimraf - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{"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()

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc