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

del

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

del - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

16

index.js

@@ -77,3 +77,5 @@ 'use strict';

const mapper = async (file, fileIndex) => {
let deletedCount = 0;
const mapper = async file => {
file = path.resolve(cwd, file);

@@ -89,6 +91,8 @@

deletedCount += 1;
onProgress({
totalCount: files.length,
deletedCount: fileIndex,
percent: fileIndex / files.length
deletedCount,
percent: deletedCount / files.length
});

@@ -101,8 +105,2 @@

onProgress({
totalCount: files.length,
deletedCount: files.length,
percent: 1
});
removedFiles.sort((a, b) => a.localeCompare(b));

@@ -109,0 +107,0 @@

{
"name": "del",
"version": "6.1.0",
"version": "6.1.1",
"description": "Delete files and directories",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -130,4 +130,4 @@ # del

{
totalFiles: number,
deletedFiles: number,
totalCount: number,
deletedCount: number,
percent: number

@@ -134,0 +134,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