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

@zkochan/rimraf

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zkochan/rimraf - npm Package Compare versions

Comparing version 2.1.3 to 3.0.0

7

index.js

@@ -1,9 +0,6 @@

const rimraf = require('rimraf')
const { promisify } = require('util')
const { rimraf } = require('rimraf')
const rimrafP = promisify(rimraf)
module.exports = async (p) => {
try {
await rimrafP(p)
await rimraf(p)
} catch (err) {

@@ -10,0 +7,0 @@ if (err.code === 'ENOTDIR' || err.code === 'ENOENT') return

{
"name": "@zkochan/rimraf",
"version": "2.1.3",
"version": "3.0.0",
"description": "rm -rf for Node. Similar to rimraf but returns a promise",

@@ -12,3 +12,3 @@ "main": "index.js",

"engines": {
"node": ">=12.10"
"node": ">=18.12"
},

@@ -27,3 +27,3 @@ "repository": "https://github.com/zkochan/packages/tree/main/rimraf",

"dependencies": {
"rimraf": "^3.0.2"
"rimraf": "^5.0.7"
},

@@ -30,0 +30,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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