diff --git a/lib/fs-wrapper.js b/lib/fs-wrapper.js index 96f5659ad..04851313c 100644 --- a/lib/fs-wrapper.js +++ b/lib/fs-wrapper.js @@ -4,7 +4,6 @@ */ const fs = require('graceful-fs'); const fsp = fs.promises; -const {rimraf} = require('rimraf'); /** * Read a JSON file. @@ -90,7 +89,7 @@ module.exports = { readdir: fsp.readdir, - remove: rimraf, + remove: fsp.rm, stat: fsp.stat }; diff --git a/package-lock.json b/package-lock.json index b2f24919a..18379a50a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,6 @@ "ora": "^5.4.0", "path-key": "^3.1.1", "prompts": "^2.2.1", - "rimraf": "^5.0.0", "strip-ansi": "^6.0.0", "terminal-link": "^2.1.1", "tinyglobby": "^0.2.10", @@ -9120,20 +9119,6 @@ "node": ">=0.10.0" } }, - "node_modules/rimraf": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", - "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", - "dependencies": { - "glob": "^10.3.7" - }, - "bin": { - "rimraf": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -17544,14 +17529,6 @@ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true }, - "rimraf": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", - "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", - "requires": { - "glob": "^10.3.7" - } - }, "run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", diff --git a/package.json b/package.json index 95098ca05..12f1d5c67 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,6 @@ "ora": "^5.4.0", "path-key": "^3.1.1", "prompts": "^2.2.1", - "rimraf": "^5.0.0", "strip-ansi": "^6.0.0", "terminal-link": "^2.1.1", "tinyglobby": "^0.2.10",