New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@code-coaching/random

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-coaching/random - npm Package Compare versions

Comparing version
1.0.2
to
1.0.3
+4
-3
cli/index.js
#!/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":

{
"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"
}
}