@code-coaching/random
Advanced tools
+4
-3
| #!/usr/bin/env node | ||
| import checkNode from "cli-check-node"; | ||
| import { readFile } from "fs/promises"; | ||
@@ -6,6 +7,6 @@ import { randomID, randomUUID } from "../index.js"; | ||
| const pkg = JSON.parse( | ||
| await readFile(new URL("../package.json", import.meta.url)) | ||
| ); | ||
| checkNode('14.12.0'); | ||
| const pkg = JSON.parse(await readFile(new URL("../package.json", import.meta.url))); | ||
| switch (cli.input[0]) { | ||
@@ -12,0 +13,0 @@ case "version": |
+2
-1
| { | ||
| "name": "@code-coaching/random", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "description": "This package provides functions to generate random stuff (strings, numbers, uuid). It can be used as a dependency for other packages. It can be used as a CLI tool.", | ||
@@ -14,4 +14,5 @@ "type": "module", | ||
| "chalk": "^5.0.0", | ||
| "cli-check-node": "^1.3.4", | ||
| "meow": "^10.1.2" | ||
| } | ||
| } |
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
3528
2.65%3
50%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added