@zkochan/rimraf
Advanced tools
Comparing version 2.1.3 to 3.0.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2707
22
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedrimraf@5.0.10(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedrimraf@^5.0.7