this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove random-int

+5 -20
+1 -1
changelog.md
··· 9 9 10 10 ### Changed 11 11 12 - - Updated and removed dependencies 12 + - Removed all dependencies 13 13 14 14 ## [5.0.2](https://github.com/patrik-csak/BB26/compare/v5.0.1...v5.0.2) – 2026-01-21 15 15
-15
package-lock.json
··· 8 8 "name": "bb26", 9 9 "version": "5.0.2", 10 10 "license": "MIT", 11 - "dependencies": { 12 - "random-int": "^3.0.0" 13 - }, 14 11 "devDependencies": { 15 12 "@ava/typescript": "^6.0.0", 16 13 "@sindresorhus/tsconfig": "^8.1.0", ··· 7094 7091 } 7095 7092 ], 7096 7093 "license": "MIT" 7097 - }, 7098 - "node_modules/random-int": { 7099 - "version": "3.1.0", 7100 - "resolved": "https://registry.npmjs.org/random-int/-/random-int-3.1.0.tgz", 7101 - "integrity": "sha512-h8CRz8cpvzj0hC/iH/1Gapgcl2TQ6xtnCpyOI5WvWfXf/yrDx2DOU+tD9rX23j36IF11xg1KqB9W11Z18JPMdw==", 7102 - "license": "MIT", 7103 - "engines": { 7104 - "node": ">=12" 7105 - }, 7106 - "funding": { 7107 - "url": "https://github.com/sponsors/sindresorhus" 7108 - } 7109 7094 }, 7110 7095 "node_modules/react-is": { 7111 7096 "version": "16.13.1",
-3
package.json
··· 42 42 "types:check": "tsc --noEmit", 43 43 "unused:check": "knip" 44 44 }, 45 - "dependencies": { 46 - "random-int": "^3.0.0" 47 - }, 48 45 "devDependencies": { 49 46 "@ava/typescript": "^6.0.0", 50 47 "@sindresorhus/tsconfig": "^8.1.0",
+4 -1
source/random.ts
··· 1 - import randomInteger from 'random-int'; 2 1 import toBb26 from './to-bb26.js'; 3 2 import toDecimal from './to-decimal.js'; 3 + 4 + function randomInteger(minimum: number, maximum: number): number { 5 + return Math.floor(Math.random() * (maximum - minimum + 1) + minimum); 6 + } 4 7 5 8 export default function random(upper: string): string; 6 9 export default function random(lower: string, upper: string): string;