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.9.1 to 1.9.2

lib/ts3.2/check/arbitrary/ArrayArbitrary.d.ts

9

CHANGELOG.md

@@ -0,1 +1,10 @@

# 1.9.2
_Adapt typings for older versions of TypeScript_
## Fixes
- ([PR#282](https://github.com/dubzzz/fast-check/pull/282)) Bug: Cannot find name 'bigint'
- ([PR#282](https://github.com/dubzzz/fast-check/pull/282)) Declare umd build in package.json
# 1.9.1

@@ -2,0 +11,0 @@

15

package.json
{
"name": "fast-check",
"version": "1.9.1",
"version": "1.9.2",
"description": "Property based testing framework for JavaScript (like QuickCheck)",
"browser": "lib/bundle.js",
"main": "lib/fast-check.js",
"module": "lib/esm/fast-check.js",
"types": "lib/fast-check.d.ts",
"types": "lib/types/fast-check.d.ts",
"typesVersions": {
">=3.2": {
"*": [
"lib/ts3.2/fast-check.d.ts"
]
}
},
"scripts": {

@@ -13,2 +21,3 @@ "perf": "node perf/benchmark.js",

"build": "tsc",
"build:publish-types": "tsc -p tsconfig.publish.types.json && node ./buildTypes.js",
"build:publish-cjs": "tsc -p tsconfig.publish.json",

@@ -43,3 +52,3 @@ "build:publish-esm": "tsc -p tsconfig.publish.json --module es2015 --moduleResolution node --outDir lib/esm",

"lorem-ipsum": "~1.0.6",
"pure-rand": "^1.6.0"
"pure-rand": "^1.6.2"
},

@@ -46,0 +55,0 @@ "devDependencies": {

@@ -131,13 +131,1 @@ <h3 align="center">

```
## TypeScript compatibility
### Cannot find name 'bigint'
There are 4 different ways to get rid of this compiler error:
- Move to TypeScript >=3.2
- Skip lib checks by adding `"skipLibCheck": true` in your `tsconfig.json`
- Import a polyfill for type bigint: see https://www.npmjs.com/package/bigint-as-any-ts
- Add the `declare global { type bigint = any; }` before importing fast-check
More details: https://github.com/dubzzz/fast-check/issues/277

1

tsconfig.publish.json
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": false,
"sourceMap": false
}
}

Sorry, the diff of this file is not supported yet

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