@vltpkg/rollback-remove
Advanced tools
+2
-2
| { | ||
| "name": "@vltpkg/rollback-remove", | ||
| "description": "Mark paths as removed, then remove them or roll back", | ||
| "version": "0.0.0-3", | ||
| "version": "0.0.0-4", | ||
| "repository": { | ||
@@ -23,3 +23,3 @@ "type": "git", | ||
| "rimraf": "^6.0.1", | ||
| "@vltpkg/error-cause": "0.0.0-3" | ||
| "@vltpkg/error-cause": "0.0.0-4" | ||
| }, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
+5
-4
@@ -5,9 +5,10 @@  | ||
| A utility for removing stuff, in such a way that the removal can be rolled back on failure, or confirmed and executed in a detached background process. | ||
| A utility for removing stuff, in such a way that the removal can be | ||
| rolled back on failure, or confirmed and executed in a detached | ||
| background process. | ||
| ## Usage | ||
| The best way to use this is to _not_ catch errors, but detect | ||
| failure in a `finally` block and either confirm or roll back | ||
| appropriately. | ||
| The best way to use this is to _not_ catch errors, but detect failure | ||
| in a `finally` block and either confirm or roll back appropriately. | ||
@@ -14,0 +15,0 @@ ```js |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
29
3.57%+ Added
- Removed
Updated