Skip to content

Add support for Temporal objects #98

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicolo-ribaudo
Copy link

Fixes #97

Temporal is already shipping unflagged in Firefox, it's being actively implemented in Chrome and WebKit, and it's supported in Deno behind a CLI flag. There are also already polyfills for it.

This PR adds support for Temporal, by:

  • throwing a "Temporal is not defined" error when trying to deserialize a serialized temporal value in an environment without Temporal support
  • using the polyfills to run the tests in Node.js

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.

Support Temporal
1 participant