temporal-polyfill-lite 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +3 -4
- package/dist/calendars/index.js +1 -1
- package/dist/calendars/shim.js +1 -1
- package/dist/calendars/{src-CIbGWA87.js → src-BU-7y4gA.js} +734 -727
- package/dist/index.js +1 -1
- package/dist/shim.js +1 -1
- package/dist/{src-Cpu9wF28.js → src-sQY-gZ2P.js} +698 -691
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## 0.4.3 (2026-09-02)
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Correctly handle time zone aliases in `Temporal.ZonedDateTime.prototype.equals` on JavaScriptCore-based environments (such as Safari and Bun), provided that a native `Temporal` implementation is available ([#43](https://github.com/fabon-f/temporal-polyfill-lite/pull/43)).
|
|
13
|
+
|
|
14
|
+
## 0.4.2 (2026-06-29)
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Keep the original input in the error message for duration parsing. The input string was accidentally converted to lower case in the message before. ([#39](https://github.com/fabon-f/temporal-polyfill-lite/pull/39))
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- Make `Intl.DurationFormat` spec-compliant ([#41](https://github.com/fabon-f/temporal-polyfill-lite/pull/41))
|
|
23
|
+
|
|
8
24
|
## 0.4.1 (2026-06-21)
|
|
9
25
|
|
|
10
26
|
### Changed
|
package/README.md
CHANGED
|
@@ -52,9 +52,7 @@ setSystemTimeZoneIdCacheTtl(1000);
|
|
|
52
52
|
|
|
53
53
|
## Browser support
|
|
54
54
|
|
|
55
|
-
The polyfill works in browsers after September 2020 by default (e.g. Safari 14).
|
|
56
|
-
|
|
57
|
-
This polyfill doesn't internally rely on `bigint`, thus you can support older browsers by transpiling and injecting polyfills (e.g. it relies on `globalThis` which is baseline since January 2020). However, if you use APIs accepting or returning `bigint`, `bigint` support is required.
|
|
55
|
+
The polyfill works in browsers after September 2020 by default (e.g. Safari 14). See [`docs/legacy.md`](docs/legacy.md) if you want broader support.
|
|
58
56
|
|
|
59
57
|
## TypeScript configuration
|
|
60
58
|
|
|
@@ -68,4 +66,5 @@ It supports the latest spec with few intentional deviations (see `tests/expected
|
|
|
68
66
|
|
|
69
67
|
## Docs
|
|
70
68
|
|
|
71
|
-
- `docs/
|
|
69
|
+
- [`docs/legacy.md`](docs/legacy.md): information about support for legacy browsers
|
|
70
|
+
- [`docs/restrictions.md`](docs/restrictions.md): caveats and restrictions of this polyfill
|
package/dist/calendars/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as a, r as s, t as r } from "./src-
|
|
1
|
+
import { i as a, r as s, t as r } from "./src-BU-7y4gA.js";
|
|
2
2
|
export { s as Intl, r as Temporal, a as toTemporalInstant };
|
package/dist/calendars/shim.js
CHANGED
|
@@ -4,5 +4,5 @@ function install(s) {
|
|
|
4
4
|
function setSystemTimeZoneIdCacheTtl(t) {
|
|
5
5
|
s(t);
|
|
6
6
|
}
|
|
7
|
-
import { a as t, i as a, n as s, r as e, t as l } from "./src-
|
|
7
|
+
import { a as t, i as a, n as s, r as e, t as l } from "./src-BU-7y4gA.js";
|
|
8
8
|
export { install, setSystemTimeZoneIdCacheTtl };
|