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

Migrate to modern js #393

Merged
merged 7 commits into from
Oct 9, 2024
Merged

Migrate to modern js #393

merged 7 commits into from
Oct 9, 2024

Conversation

marcbachmann
Copy link
Collaborator

@marcbachmann marcbachmann commented Aug 6, 2024

Changelog

  • ♻️ Migrate internal handler to an object
  • 🎁 Migrate handlers and history to a flat array. That way one only needs to check the history array to see all requests. The verbs on the array are still exposed, so there's no downside.
  • ♻️ Migrate to ES2022
  • ♻️ Migrate to Class
  • ♻️ Migrate to async/await
  • 🎁 Add MockResponse types

@marcbachmann marcbachmann marked this pull request as ready for review August 16, 2024 16:22
@marcbachmann marcbachmann merged commit 533d3d9 into master Oct 9, 2024
13 checks passed
@marcbachmann marcbachmann deleted the modern-js branch October 9, 2024 15:28
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.

2 participants