Skip to content

Commit

Permalink
Merge pull request #80 from ndaidong/4.0.1
Browse files Browse the repository at this point in the history
v4.0.1-rc2
  • Loading branch information
ndaidong authored Jun 23, 2024
2 parents a68cc01 + 20727a4 commit 46636c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ndaidong/txtgen",
"version": "4.0.1-rc1",
"version": "4.0.1-rc2",
"description": "Util for generating random sentences, paragraphs and articles in English",
"homepage": "https://github.com/ndaidong/txtgen",
"repository": {
Expand Down
2 changes: 0 additions & 2 deletions utils/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import { adjectives, nouns, vowels } from "./sample.ts";

const crypto = globalThis.crypto;

export const randint = (min: number = 0, max: number = 1e6): number => {
const byteArray = new Uint8Array(1);
crypto.getRandomValues(byteArray);
Expand Down

0 comments on commit 46636c5

Please sign in to comment.