temporal-polyfill-lite 0.1.0 → 0.2.0
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 +7 -0
- package/dist/global.js +2 -1
- package/dist/index.js +2 -1
- package/dist/shim.js +8 -1
- package/dist/src-B4BFsXUK.js +4269 -0
- package/package.json +1 -1
- package/dist/src-DiSpQS2Z.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ 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.2.0 (2026-01-30)
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **BREAKING**: Reflect a normative change which disallows adding weeks, days, and time units to `PlainYearMonth` ([#1](https://github.com/fabon-f/temporal-polyfill-lite/pull/1))
|
|
13
|
+
- Stop mangling of function names in the production build for better stack traces ([14a367e](https://github.com/fabon-f/temporal-polyfill-lite/commit/14a367e7392b06324bf1844316be4a0b43e6a531))
|
|
14
|
+
|
|
8
15
|
## 0.1.0 (2026-01-25)
|
|
9
16
|
|
|
10
17
|
### Added
|
package/dist/global.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{install as s}from"./shim.js";
|
|
1
|
+
import { install as s } from "./shim.js";
|
|
2
|
+
s(!0);
|
package/dist/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{n as a,r as s,t as r}from"./src-
|
|
1
|
+
import { n as a, r as s, t as r } from "./src-B4BFsXUK.js";
|
|
2
|
+
export { a as Intl, r as Temporal, s as toTemporalInstant };
|
package/dist/shim.js
CHANGED
|
@@ -1 +1,8 @@
|
|
|
1
|
-
import{i as a,n as
|
|
1
|
+
import { i as a, n as l, r as t, t as o } from "./src-B4BFsXUK.js";
|
|
2
|
+
function install(s) {
|
|
3
|
+
(s || "object" != typeof globalThis.Temporal) &&
|
|
4
|
+
(a(globalThis, "Temporal", o),
|
|
5
|
+
a(globalThis, "Intl", l),
|
|
6
|
+
a(Date.prototype, "toTemporalInstant", t));
|
|
7
|
+
}
|
|
8
|
+
export { install };
|