Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.2.5 to 2.2.6

2

package.json
{
"name": "rimraf",
"version": "2.2.5",
"version": "2.2.6",
"main": "rimraf.js",

@@ -5,0 +5,0 @@ "description": "A deep deletion module for node (like `rm -rf`)",

@@ -113,3 +113,3 @@ module.exports = rimraf

fs.rmdir(p, function (er) {
if (er && (er.code === "ENOTEMPTY" || er.code === "EEXIST"))
if (er && (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM"))
rmkids(p, cb)

@@ -169,3 +169,3 @@ else if (er && er.code === "ENOTDIR")

throw originalEr
if (er.code === "ENOTEMPTY" || er.code === "EEXIST")
if (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM")
rmkidsSync(p)

@@ -172,0 +172,0 @@ }

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