New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fast-check

Package Overview
Dependencies
Maintainers
1
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-check - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

8

CHANGELOG.md

@@ -0,1 +1,9 @@

# 1.6.1
_Performance improvements_
## Fixes
- ([PR#207](/pull/207)) Performance improvements done on `pure-rand` side
# 1.6.0

@@ -2,0 +10,0 @@

2

lib/esm/random/generator/Random.js

@@ -33,3 +33,3 @@ var __read = (this && this.__read) || function (o, n) {

Random.prototype.uniformIn = function (rangeMin, rangeMax) {
var _a = __read(prand.uniformIntDistribution(rangeMin, rangeMax)(this.internalRng), 2), v = _a[0], nrng = _a[1];
var _a = __read(prand.uniformIntDistribution(rangeMin, rangeMax, this.internalRng), 2), v = _a[0], nrng = _a[1];
this.internalRng = nrng;

@@ -36,0 +36,0 @@ return v;

@@ -35,3 +35,3 @@ "use strict";

Random.prototype.uniformIn = function (rangeMin, rangeMax) {
var _a = __read(prand.uniformIntDistribution(rangeMin, rangeMax)(this.internalRng), 2), v = _a[0], nrng = _a[1];
var _a = __read(prand.uniformIntDistribution(rangeMin, rangeMax, this.internalRng), 2), v = _a[0], nrng = _a[1];
this.internalRng = nrng;

@@ -38,0 +38,0 @@ return v;

{
"name": "fast-check",
"version": "1.6.0",
"version": "1.6.1",
"description": "Property based testing framework for JavaScript (like QuickCheck)",

@@ -9,2 +9,3 @@ "main": "lib/fast-check.js",

"scripts": {
"perf": "node perf/index.js",
"prebuild": "ts-node prebuild/prebuild.ts",

@@ -41,3 +42,3 @@ "build": "tsc",

"lorem-ipsum": "~1.0.6",
"pure-rand": "^1.3.2"
"pure-rand": "^1.4.0"
},

@@ -48,2 +49,3 @@ "devDependencies": {

"@types/node": "^10.5.2",
"benchmark": "^2.1.4",
"browserify": "^16.2.2",

@@ -50,0 +52,0 @@ "coveralls": "^3.0.2",

Sorry, the diff of this file is too big to display

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