@thi.ng/random
Advanced tools
Comparing version 3.7.5 to 3.8.0
# Change Log | ||
- **Last updated**: 2024-04-23T07:02:18Z | ||
- **Last updated**: 2024-05-08T18:24:32Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,9 @@ | ||
## [3.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/random@3.8.0) (2024-05-08) | ||
#### 🚀 Features | ||
- add rdom-klist example project, update readmes ([cd458ac](https://github.com/thi-ng/umbrella/commit/cd458ac)) | ||
- add rdom-klist example project, update readmes ([531437f](https://github.com/thi-ng/umbrella/commit/531437f)) | ||
## [3.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/random@3.7.0) (2024-03-21) | ||
@@ -14,0 +21,0 @@ |
@@ -5,4 +5,3 @@ import { SYSTEM } from "../system.js"; | ||
let m = n; | ||
while (m-- > 0) | ||
sum += rnd.norm(scale); | ||
while (m-- > 0) sum += rnd.norm(scale); | ||
return sum / n + offset; | ||
@@ -9,0 +8,0 @@ }; |
{ | ||
"name": "@thi.ng/random", | ||
"version": "3.7.5", | ||
"version": "3.8.0", | ||
"description": "Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation", | ||
@@ -39,12 +39,12 @@ "type": "module", | ||
"dependencies": { | ||
"@thi.ng/api": "^8.11.1", | ||
"@thi.ng/checks": "^3.6.3", | ||
"@thi.ng/errors": "^2.5.6", | ||
"@thi.ng/hex": "^2.3.45" | ||
"@thi.ng/api": "^8.11.2", | ||
"@thi.ng/checks": "^3.6.4", | ||
"@thi.ng/errors": "^2.5.7", | ||
"@thi.ng/hex": "^2.3.46" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.43.0", | ||
"esbuild": "^0.20.2", | ||
"typedoc": "^0.25.12", | ||
"typescript": "^5.4.3" | ||
"@microsoft/api-extractor": "^7.43.2", | ||
"esbuild": "^0.21.1", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -164,3 +164,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "5dd66c18a3862a3af69a5b2f49563f7cbdd960c2\n" | ||
"gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n" | ||
} |
@@ -136,2 +136,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/procedural-text.jpg" width="240"/> | Procedural stochastic text generation via custom DSL, parse grammar & AST transformation | [Demo](https://demo.thi.ng/umbrella/procedural-text/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/procedural-text) | | ||
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-klist.png" width="240"/> | Basic usage of thi.ng/rdom keyed list component wrapper | [Demo](https://demo.thi.ng/umbrella/rdom-klist/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-klist) | | ||
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/render-audio.png" width="240"/> | Generative audio synth offline renderer and WAV file export | [Demo](https://demo.thi.ng/umbrella/render-audio/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/render-audio) | | ||
@@ -138,0 +139,0 @@ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/shader-ast-evo.jpg" width="240"/> | Evolutionary shader generation using genetic programming | [Demo](https://demo.thi.ng/umbrella/shader-ast-evo/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/shader-ast-evo) | |
@@ -11,4 +11,3 @@ import { assert } from "@thi.ng/errors/assert"; | ||
} while (existing.includes(i) && --trials > 0); | ||
if (trials <= 0) | ||
break; | ||
if (trials <= 0) break; | ||
existing.push(i); | ||
@@ -15,0 +14,0 @@ n++; |
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
74094
191
1101
Updated@thi.ng/api@^8.11.2
Updated@thi.ng/checks@^3.6.4
Updated@thi.ng/errors@^2.5.7
Updated@thi.ng/hex@^2.3.46