Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/random

Package Overview
Dependencies
Maintainers
1
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/random - npm Package Compare versions

Comparing version 3.6.39 to 3.7.0

weighted-probability.d.ts

8

CHANGELOG.md
# Change Log
- **Last updated**: 2024-03-13T14:04:31Z
- **Last updated**: 2024-03-21T16:11:49Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -12,2 +12,8 @@

## [3.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/random@3.7.0) (2024-03-21)
#### 🚀 Features
- add weightedProbability() ([393dcaa](https://github.com/thi-ng/umbrella/commit/393dcaa))
### [3.6.13](https://github.com/thi-ng/umbrella/tree/@thi.ng/random@3.6.13) (2023-11-09)

@@ -14,0 +20,0 @@

@@ -18,2 +18,3 @@ export * from "./api.js";

export * from "./uuid.js";
export * from "./weighted-probability.js";
export * from "./weighted-random.js";

@@ -20,0 +21,0 @@ export * from "./xorshift128.js";

@@ -18,2 +18,3 @@ export * from "./api.js";

export * from "./uuid.js";
export * from "./weighted-probability.js";
export * from "./weighted-random.js";

@@ -20,0 +21,0 @@ export * from "./xorshift128.js";

7

package.json
{
"name": "@thi.ng/random",
"version": "3.6.39",
"version": "3.7.0",
"description": "Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation",

@@ -138,2 +138,5 @@ "type": "module",

},
"./weighted-probability": {
"default": "./weighted-probability.js"
},
"./weighted-random": {

@@ -161,3 +164,3 @@ "default": "./weighted-random.js"

},
"gitHead": "4b3d4ab6ce373ca817ad780f679572169a9ed733\n"
"gitHead": "da965520b2f3f8c259a791e8e8864308be2ba0be\n"
}

@@ -101,3 +101,3 @@ <!-- This file is generated - DO NOT EDIT! -->

Package sizes (brotli'd, pre-treeshake): ESM: 1.99 KB
Package sizes (brotli'd, pre-treeshake): ESM: 2.02 KB

@@ -104,0 +104,0 @@ ## Dependencies

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc