@js-temporal/polyfill
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -9,2 +9,8 @@ if (module.parent && module.parent.id === 'internal/preload') { | ||
globalThis.Temporal = { ...Temporal }; | ||
Object.defineProperty(globalThis.Temporal, Symbol.toStringTag, { | ||
value: 'Temporal', | ||
writable: false, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
Object.assign(globalThis.Intl, Intl); | ||
@@ -11,0 +17,0 @@ Object.defineProperty(Date.prototype, 'toTemporalInstant', { |
{ | ||
"name": "@js-temporal/polyfill", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Polyfill for Temporal", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
@@ -18,7 +18,8 @@ # Temporal Polyfill | ||
* [x] Release initial pre-alpha to NPM at [@js-temporal/polyfill](https://www.npmjs.com/package/@js-temporal/polyfill) | ||
* [ ] Sync the code in this repo with the handful of polyfill changes that have recently been made in the [tc39/proposal-temporal](https://github.com/tc39/proposal-temporal) repo | ||
* [ ] Release alpha version to NPM | ||
* [ ] Deprecate all other earlier Temporal polyfills | ||
* [x] Sync the code in this repo with the handful of polyfill changes that have recently been made in the [tc39/proposal-temporal](https://github.com/tc39/proposal-temporal) repo | ||
* [x] Release alpha version to NPM | ||
* [x] Deprecate all other earlier Temporal polyfills | ||
* [x] Optimize slow operations by reducing calls to Intl.DateTimeFormat constructor (see #7, #8, #10, #12) | ||
* [ ] Convert to TypeScript for better maintainability | ||
* [ ] (Maybe) Optimize performance of slow operations, notably non-ISO calendar calculations | ||
* [ ] (maybe) Optimize performance of other slow operations | ||
* [ ] Release production version to NPM | ||
@@ -25,0 +26,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
3912373
38961
75
3