temporal_js_polyfill 0.0.2
temporal_js_polyfill: ^0.0.2 copied to clipboard
Loads the TC39 Temporal polyfill for Dart web apps that need to support browsers without native Temporal. Injects temporal-polyfill into the page and resolves once the global Temporal object is availa [...]
0.0.2 #
Published as a standalone package on pub.dev alongside the rest of the suite.
0.0.1 #
Initial release:
loadTemporalPolyfill()— injects the TC39 Temporal polyfill into the page and resolves once the globalTemporalobject is available- No-op stub on non-web (native / VM) platforms so the same
main.dartcompiles on every target temporalIsSupported— constant indicating whether the current platform has native Temporal support