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.4.0 to 2.4.1

15

bin.js

@@ -21,3 +21,3 @@ #!/usr/bin/env node

var log = help ? console.log : console.error
log('Usage: rimraf <path>')
log('Usage: rimraf <path> [<path> ...]')
log('')

@@ -30,6 +30,13 @@ log(' Deletes all files and folders at "path" recursively.')

process.exit(help ? 0 : 1)
} else {
args.forEach(function(arg) {
rimraf.sync(arg)
} else
go(0)
function go (n) {
if (n >= args.length)
return
rimraf(args[n], function (er) {
if (er)
throw er
go(n+1)
})
}
{
"name": "rimraf",
"version": "2.4.0",
"version": "2.4.1",
"main": "rimraf.js",

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

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