fast-check
Advanced tools
Comparing version 1.9.1 to 1.9.2
@@ -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 @@ |
{ | ||
"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 |
{ | ||
"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
295
924216
19167
131
Updatedpure-rand@^1.6.2