russian-roulette
Advanced tools
Comparing version 3.0.0 to 3.1.0
#! /usr/bin/env node | ||
import { promisify } from "node:util"; | ||
import rimraf from "rimraf"; | ||
import { removeEverythingInCurrentFolder } from "../src/remove-everything-in-current-folder.js"; | ||
const rimrafAsync = promisify(rimraf); | ||
const random = Math.floor(Math.random() * 7); | ||
if (random === 0) { | ||
await rimrafAsync("*"); | ||
await removeEverythingInCurrentFolder(); | ||
console.log("*BANG*"); | ||
@@ -12,0 +9,0 @@ } else { |
@@ -6,3 +6,3 @@ { | ||
"name": "russian-roulette", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Russian roulette on your command line", | ||
@@ -26,6 +26,3 @@ "repository": { | ||
"type": "module", | ||
"homepage": "https://github.com/peterjuras/russian-roulette#readme", | ||
"dependencies": { | ||
"rimraf": "^3.0.0" | ||
} | ||
"homepage": "https://github.com/peterjuras/russian-roulette#readme" | ||
} |
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
2511
0
5
15
- Removedrimraf@^3.0.0
- Removedbalanced-match@1.0.2(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)