This release changes the way we import type-only files internally in fast-check. While it should not have any visible impact on our clients we preferred to make it a minor.
Continue reading to explore the detailed updates it brings.
This release changes the way we import type-only files internally in fast-check. While it should not have any visible impact on our clients we preferred to make it a minor.
Continue reading to explore the detailed updates it brings.
On the 28th of September 2023, a critical security vulnerability affecting all versions of Zod was reported under the identifier CVE-2023-4316. Zod is known as "TypeScript-first schema validation with static type inference".
This post proposes an approach to anticipate and prevent such vulnerabilities. by leveraging fast-check and its ecosystem.
Prototype pollution is among the most frequent sources of Common Vulnerabilities and Exposures - aka CVE - in the JavaScript ecosystem. As a result, detecting them early has always been a key challenge for fast-check.
In this post, you will learn what they are and how you can find them easily using fast-check.
This release introduces some new opt-in options on date
, dictionary
and record
. They open ways to detect new classes of bugs.
Continue reading to explore the detailed updates it brings.
As library authors and maintainers of fast-check, hiding the complexity of the build systems and making it as easy as possible for users to utilize our libraries has always been one of our priorities. From Node to the browser, including Deno, we always wanted our users not to struggle too much into using fast-check wherever they want.
The rise of ES Modules was both a relief and a pain. It relieved us of the need to consider multiple delivery targets: Asynchronous Module Definition (AMD), CommonJS (CJS), Universal Module Definition (UMD) and others. Instead there is one to rule them all: ES Modules. But, as the ecosystem was and is still late, we were not able to switch in a snap to an ES Modules world and had to keep CJS.
In this article, we will explore how we publish fast-check to support both CommonJS and ES Modules seamlessly.
This release introduces performance optimizations for float
, double
and ulid
, along with the ability to define ranges with excluded boundaries for float
and double
.
Continue reading to explore the detailed updates it brings.
This release comes with a new arbitrary called ulid
. This arbitrary is responsible to generate ULID strings
Continue reading to explore the detailed updates it brings.
This release comes with a new arbitrary called stringMatching
. This arbitrary is responsible to generate strings matching the provided regex. It should ease the creation of new arbitraries dealing with strings by providing an easy way to build them.
Continue reading to explore the detailed updates it brings.
In this release, our primary focus has been to enhance the race condition detection mechanisms, making them stronger and more effective. Additionally, we did significant updates of the documentation, ensuring it provides comprehensive and up-to-date information.
Continue reading to explore the detailed updates it brings.
The story of fast-check's documentation: from markdown files accessible in the repository to a proper website available at fast-check.dev.