Update dependency fast-check to v2 #324
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.21.0
->2.11.0
Release Notes
dubzzz/fast-check
v2.11.0
Compare Source
Add support for Symbol properties and ability to mark keys as required in
fc.record
[Code][Diff]
Features
Symbol.for
fc.stringify
fc.stringify
Fixes
v2.10.0
Compare Source
Increase performances of generic operations of arbitraries: map, filter, chain
[Code][Diff]
Features
Fixes
v2.9.0
Compare Source
Add arbitraries for typed arrays
[Code][Diff]
Features
fc.object
andfc.anything
Fixes
v2.8.0
Compare Source
New opt-in implementation for fc.float and fc.double
[Code][Diff]
Features
fc.float
fc.double
Fixes
fc.__version
andfc.__commitHash
isValidArbitrary
seed
to callbacks ofisValidArbitrary
isStrictlySmallerValue
forfloatNext
isStrictlySmallerValue
forfloatNext
(2)fc.float(Next)
v2.7.0
Compare Source
Better bias for integers and any derived arbitraries
[Code][Diff]
Features
fc.__commitHash
)Fixes
fc.date
might be wrongly appliedv2.6.1
Compare Source
Wrongly typed
fc.record
[Code][Diff]
Fixes
fc.record
v2.6.0
Compare Source
Towards a uniform way to constrain arbitraries - step 3: number arbitraries
[Code][Diff]
Features
v2.5.1
Compare Source
Wrongly typed
fc.record
[Code][Diff]
Fixes
fc.record
v2.5.0
Compare Source
Towards a uniform way to constrain arbitraries - step 2: remaining arbitraries except number related ones
[Code][Diff]
Features
Fixes
v2.4.1
Compare Source
Wrongly typed
fc.record
[Code][Diff]
Fixes
fc.record
v2.4.0
Compare Source
Towards a uniform way to constrain arbitraries - step 1: array-like arbitraries
[Code][Diff]
Features
Fixes
v2.3.1
Compare Source
Wrongly typed
fc.record
[Code][Diff]
Fixes
fc.record
v2.3.0
Compare Source
Add global beforeEach and afterEach hooks
[Code][Diff]
Features
Fixes
v2.2.2
Compare Source
Wrongly typed
fc.record
[Code][Diff]
Fixes
fc.record
v2.2.1
Compare Source
Fix infinite loop in
fc.date
when passing a NaN date[Code][Diff]
Fixes
fc.date()
HostArbitrary.ts
v2.2.0
Compare Source
Export missing typings and various cleaning around the tsdoc
[Code][Diff]
Features
Fixes
asyncReporter
@testing-library/dom
directly inexamples/
ReplayPath.ts
hash.ts
v2.1.0
Compare Source
Better reported errors for
func
,compareFunc
andcompareBooleanFunc
[Code][Diff]
Features
function
onfunc
andcompareFunc
hash
functionhash
without using node specific APIsFixes
!
operator inObjectArbitrary
Array.prototype.find
pika.dev
toskypack.dev
fc.option
v2.0.0
Compare Source
Hybrid and full support for both ES Modules and CommonJS
[Code][Diff]
This new major of fast-check is:
type:module
Breaking changes
fc.constantFrom
with_deleted_keys
onfc.record
pure-rand
package to use its hybrid buildObjectConstraints
by an typeYou may refer to our migration guide in case of issue: https://github.com/dubzzz/fast-check/blob/master/MIGRATION_1.X_TO_2.X.md
Fixes
v1.26.0
Compare Source
New arbitrary to generate falsy values
[Code][Diff]
Features
withBigInt
flag forfc.falsy
withBigInt
flag forfc.anything
Fixes
@param
for ts-docsv1.25.1
Compare Source
Scheduler was not putting the metadata into the generated report
[Code][Diff]
Fixes
v1.25.0
Compare Source
Add ability to customize reported errors
[Code][Diff]
Features
RunDetails
fc.defaultReportMessage
fc.object
andfc.dictionnary
RunDetails
Fixes
"private": true
on package.json used for testsv1.24.2
Compare Source
Fix
constantFrom
not compatible with older versions of node[Code][Diff]
Fixes
constantFrom
not compatible with old browsersv1.24.1
Compare Source
Fixes a code issue detected in
fc.object()
when usingwithNullPrototype
[Code][Diff]
Fixes
fc.object()
when usingwithNullPrototype
v1.24.0
Compare Source
Model based testing and race condition detection
[Code][Diff]
Features
Fixes
v1.23.0
Compare Source
Better typings for
filter
andoneof
plus support for null prototypes[Code][Diff]
Features
{}
fromObject.create(null)
Fixes
v1.22.2
Compare Source
Remove unused files from the final bundle
[Code][Diff]
Fixes
v1.22.1
Compare Source
Fix broken bundle
[Code][Diff]
v1.22.0
Compare Source
Better random values and ability to shrink very large data-structures
[Code][Diff]
Features
fc.__version
)Fixes
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.