Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ› Resist to poisoning of top-level types #3165

Merged
merged 5 commits into from
Sep 11, 2022
Merged

πŸ› Resist to poisoning of top-level types #3165

merged 5 commits into from
Sep 11, 2022

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Sep 8, 2022

Users can easily break the runtime by overriding things like Number, String and many others. In 3.1.x, fast-check tries to do its best not to fail too early in such case and to report errors correctly even if everything around is fully broken.

Category:

  • ✨ Introduce new features
  • πŸ“ Add or update documentation
  • βœ… Add or update tests
  • πŸ› Fix a bug
  • 🏷️ Add or update types
  • ⚑️ Improve performance
  • Other(s): ...

Potential impacts:

  • Generated values
  • Shrink values
  • Performance
  • Typings
  • Other(s): ...

Users can easily break the runtime by overriding things like `Number`, `String` and many others. In 3.1.x, fast-check tries to do its best not to fail too early in such case and to report errors correctly even if everything around is fully broken.
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 8, 2022

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 443b918:

Sandbox Source
Vanilla Configuration
@fast-check/examples Configuration

@dubzzz dubzzz merged commit e621f64 into main Sep 11, 2022
@dubzzz dubzzz deleted the pois-root-type branch September 11, 2022 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant