dubzzz / fast-check

Property based testing framework for JavaScript (like QuickCheck) written in TypeScript
https://fast-check.dev/
MIT License
4.29k stars 178 forks source link

⚡️ Drop unneeded `BigInt` check in `mixedCase` #5211

Closed dubzzz closed 1 month ago

dubzzz commented 1 month ago

Description

While not being really expensive to compute it's yet another check and dropping it could be useful if we want to go faster. Indeed with BigInt being a thing in Node since 10.5.0, we probably don't want to pay for checking it all the time.

We will probably have to bump our minimal requirement to 10.5.0+ for the version 4 of fast-check so that we can expect it to always be a thing no matter the runtime being used as long as it fits our requirements.

ChecklistDon't delete this checklist and make sure you do the following before opening the PR

Advanced

codesandbox-ci[bot] commented 1 month ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f21fbf1d00df2121d881d944bf49030d3cbdea88:

Sandbox Source
@fast-check/examples Configuration
github-actions[bot] commented 1 month ago

👋 A preview of the new documentation is available at: http://66bb0d9b7cf6acd4c376ec5f--dubzzz-fast-check.netlify.app