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

clean-dir

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clean-dir - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

index.js

@@ -16,3 +16,7 @@ 'use strict';

function (files, cb) {
trash(files.map(function (file) { return pathJoin(dir, file); }), cb);
if (files.length === 0) {
cb();
} else {
trash(files.map(function (file) { return pathJoin(dir, file); }), cb);
}
}

@@ -19,0 +23,0 @@ ], callback);

2

package.json
{
"name": "clean-dir",
"version": "1.0.2",
"version": "1.0.3",
"description": "Command line util to safely clean a directory",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/ruyadorno/clean-dir",

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