Closed dubzzz closed 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 e36dfd222f81d45df15ab33a0bc5837531263188:
Sandbox | Source |
---|---|
@fast-check/examples | Configuration |
👋 A preview of the new documentation is available at: http://66a427f176df8d7a5a5a270b--dubzzz-fast-check.netlify.app
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.80%. Comparing base (
231ffae
) to head (e36dfd2
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description first opened as #4590
⚠️ Minor breaking change
The build chain of
@fast-check/jest
has been CommonJS-based since day 1. With ESM moving forward in the ecosystem, it's time to move ourselves to the new standard and adapt our build chains to ESM.Unfortunately it may have some subtle impacts on our users as our package will not be a CJS one offering a ESM fallback anymore. I will rather be the opposite: an ESM package with a fallback to CJS. It implies that we moved ESM related files closer to the root of the package (we could have kept them in esm/) and moved the CJS ones further in the file structure (we had to move them).
Another subtle impact is that it would impose our users to run at least Node ≥12.17.0. But it was already a need for this package due to its dependencies.
As such we consider it as a breaking change.
Checklist — Don't delete this checklist and make sure you do the following before opening the PR
yarn bump
and flag the impacts properlyAdvanced