Skip to content

Conversation

nicolo-ribaudo
Copy link
Contributor

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

Copy link

changeset-bot bot commented Aug 26, 2025

🦋 Changeset detected

Latest commit: 36b3b69

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
devalue Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Rich-Harris Rich-Harris merged commit 2896e7b into sveltejs:main Aug 26, 2025
3 checks passed
@Rich-Harris
Copy link
Member

thank you!

@nicolo-ribaudo nicolo-ribaudo deleted the temporal branch August 27, 2025 04:55
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
2 participants