Skip to main content

One post tagged with "bundle-size"

View All Tags

What's new in fast-check 4.6.0?

· 9 min read
Nicolas Dubien
fast-check maintainer

Until now, stringMatching had no built-in way to cap the length of the produced strings except applying a manual post-filter on the generated values. This release adds a maxLength constraint to ensure that values stay within bounds by construct without relying on excessive and costly filtering.

Our published bundle is also lighter by 17% as it went from 1618 kB to 1344 kB.

Continue reading to explore the detailed updates it brings.