@zodiacs/engine 2.0.0-rc.2 → 2.0.0-rc.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.
Files changed (70) hide show
  1. package/CHANGELOG.md +168 -0
  2. package/LICENSING.md +21 -7
  3. package/NOTICE +19 -9
  4. package/README.md +150 -38
  5. package/dist/{api-C_SVd9BJ.d.ts → api-G8RVGizH.d.ts} +1 -1
  6. package/dist/{ayanamsa-Clgkekhh.d.ts → ayanamsa-C4-pYjzm.d.ts} +2 -2
  7. package/dist/calc.d.ts +4 -4
  8. package/dist/calc.js +13 -9
  9. package/dist/{chunk-WONTOC5W.js → chunk-4RCOOAGI.js} +1 -1
  10. package/dist/{chunk-IXFUYEUF.js → chunk-EEKVS6W7.js} +17 -4
  11. package/dist/{chunk-N4UQLCBN.js → chunk-FXNA2TJM.js} +1 -1
  12. package/dist/{chunk-NX4PHQBL.js → chunk-JY2LU4VC.js} +61 -80
  13. package/dist/{chunk-B5LKF437.js → chunk-M65JXRFN.js} +40 -0
  14. package/dist/{chunk-PNXIA7MI.js → chunk-PU4HNPRX.js} +9 -4
  15. package/dist/{chunk-T6F4FYYS.js → chunk-QLQRN6RY.js} +1 -1
  16. package/dist/{chunk-FVGA776A.js → chunk-XINOD63H.js} +2 -2
  17. package/dist/{chunk-I3L4POY7.js → chunk-XO7MHH32.js} +2 -1
  18. package/dist/core.d.ts +21 -0
  19. package/dist/core.js +2953 -0
  20. package/dist/crossings.d.ts +2 -2
  21. package/dist/de440-pack.d.ts +2 -2
  22. package/dist/de440.d.ts +2 -2
  23. package/dist/{ephemeris-D1lM832F.d.ts → ephemeris-Bnmowcsk.d.ts} +1 -1
  24. package/dist/geo.d.ts +74 -16
  25. package/dist/geo.js +139 -5
  26. package/dist/{houses-icK01yXi.d.ts → houses-CAiYEICK.d.ts} +1 -1
  27. package/dist/houses-extra.d.ts +3 -3
  28. package/dist/index.d.ts +8 -8
  29. package/dist/index.js +6 -6
  30. package/dist/{internal-math-BGX23p4h.d.ts → internal-math-rq6do9IR.d.ts} +2 -2
  31. package/dist/internal-math.d.ts +4 -4
  32. package/dist/internal-math.js +1 -1
  33. package/dist/internal.d.ts +4 -4
  34. package/dist/internal.js +3 -3
  35. package/dist/receipt.d.ts +3 -3
  36. package/dist/receipt.js +65 -26
  37. package/dist/{rulers-CpS9qkvu.d.ts → rulers-CFGiWJza.d.ts} +1 -1
  38. package/dist/sky.d.ts +4 -4
  39. package/dist/sky.js +3 -3
  40. package/dist/techniques.d.ts +4 -4
  41. package/dist/techniques.js +9 -9
  42. package/dist/{time-bands-CZA9AlLg.d.ts → time-bands-BCmfa8FR.d.ts} +5 -4
  43. package/dist/{time-scale-DIFNa0gz.d.ts → time-scale-9vmKQPCn.d.ts} +14 -4
  44. package/dist/time.d.ts +3 -3
  45. package/dist/time.js +2 -2
  46. package/dist/timing.d.ts +5 -5
  47. package/dist/timing.js +6 -6
  48. package/dist/{types-BCnyWBQZ.d.ts → types-CkuiCcsV.d.ts} +7 -4
  49. package/dist/{tzdb-2025c-00-6GVG6RYL.js → tzdb-2026f-00-RAB4YONA.js} +4 -4
  50. package/dist/{tzdb-2025c-01-CEYMG3LE.js → tzdb-2026f-01-SWR7EW5U.js} +4 -4
  51. package/dist/{tzdb-2025c-02-NWQJCVUU.js → tzdb-2026f-02-SOLHCLDL.js} +3 -3
  52. package/dist/{tzdb-2025c-03-PLHP6VH4.js → tzdb-2026f-03-LYLMCVL7.js} +3 -3
  53. package/dist/{tzdb-2025c-04-MEKUJA6M.js → tzdb-2026f-04-XTKMZPKX.js} +4 -4
  54. package/dist/{tzdb-2025c-05-3K5YKZBL.js → tzdb-2026f-05-EOKCMY5O.js} +4 -4
  55. package/dist/{tzdb-2025c-06-L2VV5XJV.js → tzdb-2026f-06-O4LQW2N6.js} +4 -4
  56. package/dist/{tzdb-2025c-07-H3GLGJGY.js → tzdb-2026f-07-2FDJ5OJ7.js} +4 -4
  57. package/dist/{tzdb-2025c-08-DA7QQIGD.js → tzdb-2026f-08-OKEWSMIX.js} +4 -4
  58. package/dist/{tzdb-2025c-09-MTXIO3QL.js → tzdb-2026f-09-5GB7FKLF.js} +4 -4
  59. package/dist/{tzdb-2025c-10-ASL4UW5C.js → tzdb-2026f-10-GXHCIASR.js} +4 -4
  60. package/dist/{tzdb-2025c-11-EQEOANYB.js → tzdb-2026f-11-66EMKXFG.js} +4 -4
  61. package/dist/{tzdb-2025c-12-NKCCXJ5G.js → tzdb-2026f-12-YK3CZCIY.js} +3 -3
  62. package/dist/{tzdb-2025c-13-DYTF3UC7.js → tzdb-2026f-13-UNZD3QIH.js} +4 -4
  63. package/dist/{tzdb-2025c-14-C25H45R5.js → tzdb-2026f-14-4FQNGNZM.js} +4 -4
  64. package/dist/{tzdb-2025c-15-7OYYZWRY.js → tzdb-2026f-15-5TA3B2WI.js} +4 -4
  65. package/dist/vedic.d.ts +4 -4
  66. package/dist/vedic.js +6 -6
  67. package/dist/window.d.ts +2 -2
  68. package/dist/window.js +8 -5
  69. package/dist/{zone-history-0XzMGx9V.d.ts → zone-history-2UYUKA43.d.ts} +26 -9
  70. package/package.json +7 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,173 @@
1
1
  # Engine changelog
2
2
 
3
+ ## 2.0.0-rc.3 (unreleased candidate)
4
+
5
+ The third candidate for **2.0.0**, a major release, on 2.0.0-rc.2 (main at
6
+ `373ceda`, where pull request 112 merged rc.2). It is a draft for the
7
+ owner's review and is not to be published on npm until the owner approves
8
+ it. Checks: `docs/evidence/2.0.0-rc.3-20261117/`.
9
+
10
+ rc.2's archive is carried and its version was never tagged or published;
11
+ these changes reach `dist/`, so by the rule in `artifacts/README.md` the
12
+ package takes a new number and rc.2's archive stays, unchanged. rc.3 is
13
+ rc.2 with six pull requests merged into it, each with a merge commit, in
14
+ this order: 114, 115, 117, 118, 119 and 121. The owner chose this set on
15
+ 17 November 2026 ("Yes, minus Yellowknife"): pull request 118 ships with
16
+ America/Yellowknife held at tzdata 2025c, and pull requests 120 and 122 are
17
+ not in it. Everything rc.1's and rc.2's entries say holds for rc.3 except
18
+ where this entry says otherwise.
19
+
20
+ ### Breaking
21
+
22
+ - **Birth input refuses common near-miss names for a field** (pull
23
+ request 115). Birth input now refuses, with a `RangeError` that names the
24
+ field to use, these common names for a field, in any letter case: `lat`
25
+ (use `latitude`); `lng`, `lon`, `long` (`longitude`); `house`, `houses`,
26
+ `hsys`, `housesystem` (`houseSystem`); `scale`, `time_scale`
27
+ (`timeScale`); `delta_t` (`deltaT`); `time_known`, `unknownTime`
28
+ (`timeKnown`). They were ignored, so `{ utc, lat, lng }` gave a chart with
29
+ no angles and no error. Other unknown keys are still ignored. A call that
30
+ returned a chart before now throws.
31
+
32
+ ### Added
33
+
34
+ - **Julian Day Numbers and local mean time** (pull request 114). Added:
35
+ `julianDayNumber`, `dateOfJulianDayNumber` and `localMeanTimeOffset` in
36
+ `@zodiacs/engine/geo`, the Julian Day Number of a Julian or proleptic
37
+ Gregorian date and its inverse for years -100000 to 100000, and a
38
+ longitude's local mean time in seconds east of Greenwich; the conformance
39
+ suite's 35 calendar vectors and 5 local mean time vectors now pass. The
40
+ `./geo` budget rises to fit them.
41
+ - **`host-zone-data-differs`** (pull request 117, ZOD-283). From 1970 on a
42
+ wall time is read on the device's own time zone data; `resolveLocalToUtc`
43
+ and the birth resolvers now ask that data for its offset at one instant
44
+ inside each nearby span in which tzdata 2021a and 2026f differ (703 spans
45
+ in 77 names, from 1970 to 2029-10-27, and not past it), and where it
46
+ disagrees with 2026f the result, the birth, the chart and a receipt carry
47
+ the new `ChartFlag` value `"host-zone-data-differs"` and `zone.hostCheck`
48
+ gives both offsets; the instant is still the device's, so code that
49
+ switches exhaustively over `ChartFlag` needs a case for it
50
+ (`docs/time.md`, *Host time zone data*;
51
+ `docs/evidence/host-zone-probes-20261117/`). A span is checked from 36
52
+ hours before it begins, inclusive, to 36 hours after it ends, exclusive,
53
+ so an instant exactly 36 hours past the end, or 36 hours or more after
54
+ 2029-10-27T00:00Z, is not checked; `docs/time.md` said "more than" 36
55
+ hours, and now follows the code (the review's note on pull request 117).
56
+ - **`@zodiacs/engine/core`** (pull request 121, ZOD-292). Adds
57
+ `@zodiacs/engine/core`, the root's functions computed on astronomy-engine
58
+ without the DE440 pack: a page that uses `natalChart` from it bundles
59
+ 77,042 to 80,192 bytes instead of 3,416,191 to 3,418,817
60
+ (`docs/evidence/2.0.0-rc.3-20261117/results/bundle-weight/`, measured on
61
+ this candidate's archive; pull request 121 measured 75,937 to 79,084 and
62
+ 3,415,068 to 3,417,703, `docs/evidence/bundle-weight-20261117/`), and its
63
+ positions pass 48 of the 240 L1 position tests where the root's pass 240;
64
+ the root is unchanged. Raises the package's total cap for the entry's
65
+ second copy of the root's code, with the owner's approval of 17 Nov 2026
66
+ (*Sizes and budgets*, below).
67
+
68
+ ### Changed
69
+
70
+ - **UTC after the IERS UT1 table** (pull request 119, ZOD-281). After the
71
+ IERS UT1 table (2027-10-02), UTC is read on the continuous-UTC rule:
72
+ TT = UTC + 69.184 s, UT1 from the ΔT model; time basis `continuous-utc`,
73
+ UT1 − UTC source `model`, new natal conventions sets requiring
74
+ `time-basis-continuous-utc`. Results move for every unpinned UTC instant
75
+ after 2027-10-02 (positions, angles, houses, returns, windows). Records
76
+ with the new sets are refused by 1.1.0 and 2.0.0-rc.2 as
77
+ `unsupported_feature`; `CONTINUOUS_UTC_RELEASE` in `src/receipt.ts`, the
78
+ first engine version a continuous-UTC set is accepted from, is
79
+ `2.0.0-rc.3`, this candidate. On UTC input after the table calc's
80
+ geocentric bounds and `events()`' timing bound no longer widen (on the DE440
81
+ pack the Moon at 2199 is 0.51″ from JPL Horizons, was 28.26″). The last UTC instant
82
+ `natalChart` accepts moves from 3998-09-03T02:01:41.309Z to
83
+ 3998-09-03T05:58:50.816Z, and calc's from 2199-12-31T23:57:53.752Z to
84
+ 2199-12-31T23:58:50.815Z, measured again on this candidate's archive
85
+ (`docs/evidence/2.0.0-rc.3-20261117/results/span-ends.json`). Speeds
86
+ within 6 hours of 2027-10-02 move by up to 3.6e-7 °/day (the
87
+ astronomy-engine node 3.8e-6) against rc.2, and the 146 ms after the table
88
+ on UTC input read the predicted ΔT segment, unflagged
89
+ (`docs/evidence/continuous-utc-20261117/`).
90
+ - **Zone histories from tzdata 2026f** (pull request 118). The zone history
91
+ shipped for wall times before 1970 is now tzdata 2026f, not 2025c, except
92
+ America/Yellowknife, held at tzdata 2025c by the owner's decision because
93
+ no tzdb NEWS entry or other official announcement explains 2026f's change
94
+ to it. Offsets change in 23 zone names: Europe/Dublin and Eire read +0:00,
95
+ not +1:00, from 1925-09-20T02:00Z to 1925-10-04T02:00Z (336 hours); 21
96
+ Brazilian names keep daylight saving one hour longer on 1965-03-31 (24
97
+ hours) and 1966-03-01 (1 hour). EST5EDT, CST6CDT, MST7MDT and PST8PDT name
98
+ 1942 to 1945 summer time EDT, CDT, MDT and PDT and no longer record a
99
+ transition on 1945-08-14; Europe/Uzhgorod and Europe/Zaporozhye follow
100
+ Kyiv's local mean time era and report dataForm main+backzone; Morocco's
101
+ and Western Sahara's 2026-09-20 move to +00 reads as a legal change on
102
+ hosts that know it (`docs/evidence/tzdb-2026f-20261117/`).
103
+ America/Yellowknife's results before 1970 equal rc.2's, but its
104
+ `tzdbVersion` field reads `2026f`, as every zone's does, though its data
105
+ is tzdata 2025c's (`scripts/tzdb-held/`).
106
+
107
+ ### Documentation
108
+
109
+ - README.md: this candidate's paragraph, archive and evidence folder; the
110
+ three new `geo` functions; *Birth settings* on the refused near-miss
111
+ names; *Input flag compatibility*, all twelve `ChartFlag` values, with
112
+ `host-zone-data-differs` among the five caller assertions; the time basis
113
+ after 2027-10-02, the window seam there (TT runs on, UT1 steps about
114
+ 2 ms), the bands and the span's ends; the zone histories on tzdata 2026f
115
+ with America/Yellowknife held, and the host check; *Bundle size in a web
116
+ page*, measured again on this candidate's archive.
117
+ - NOTICE and LICENSING.md: the zone histories are tzdata 2026f's, with
118
+ America/Yellowknife from tzdata 2025c, and the host-probe table compares
119
+ tzdata 2021a with 2026f; each with its archive's SHA-256.
120
+ - `docs/time.md`: the host check's 36-hour window, inclusive at its start and
121
+ exclusive at its end, as above. `docs/calc.md`, `docs/time.md` and
122
+ `src/types.ts` name 2.0.0-rc.3 or 2.0.0 where they said "the release
123
+ after 2.0.0-rc.2" or "the release after 1.1.0".
124
+ - Conformance: this engine's results (`conformance/results/`, `RESULTS.md`)
125
+ were regenerated with the harness on Node 22.22.2 and name 2.0.0-rc.3 and
126
+ tzdb 2026f. Default source: 499 pass, 0 fail, 1 unsupported (the leap
127
+ second instant, which a JavaScript date cannot express); on
128
+ astronomy-engine 307 pass, 192 fail, 1 unsupported, 48 of the 240
129
+ positions passing. No verdict differs from the pull requests' own runs.
130
+ - The offline CLI consumer check (`tools/cli/`) held the carried 1.0.0-rc.2
131
+ archive's verdicts to this engine's astronomy-engine results, which now
132
+ pass the 40 vectors that archive cannot answer. It now reads its own
133
+ pinned baseline, `tools/cli/baselines/engine-1.0.0-rc.2-node-22.22.2.json`,
134
+ the 500 verdicts of that file at `373ceda` (267 pass, 192 fail, 41
135
+ unsupported), as pull request 114 asked the candidate to settle.
136
+
137
+ ### Sizes and budgets
138
+
139
+ - Measured on this candidate's build
140
+ (`docs/evidence/2.0.0-rc.3-20261117/results/package-contents.log`), twelve
141
+ import graphs were over their budgets. Each budget is raised to the
142
+ measurement, rounded up to the next 100 bytes, and no further (old budget,
143
+ rc.2's measurement, this candidate's, new budget):
144
+
145
+ | Entry | Old budget | rc.2 | rc.3 | New budget | Why |
146
+ | --- | ---: | ---: | ---: | ---: | --- |
147
+ | `.` | 151,700 | 151,563 | 154,173 | 154,200 | 115 (565), 117 (26), 119 (1,910), 121 (109) |
148
+ | `./calc` | 204,100 | 203,138 | 205,334 | 205,400 | 119 (2,061), 117 (26), 121 (109) |
149
+ | `./core` | 109,600 | (none) | 110,765 | 110,800 | 121's entry, now with 115, 117 and 119 |
150
+ | `./geo` | 36,500 | 36,178 | 47,715 | 47,800 | 117's probe table and check, 114's functions |
151
+ | `./internal` | 110,900 | 110,362 | 112,381 | 112,400 | 119 (1,910), 121 (109) |
152
+ | `./receipt` | 77,400 | 76,845 | 81,110 | 81,200 | 119's conventions sets (3,926), 117's flag (339) |
153
+ | `./sky` | 138,600 | 137,816 | 139,835 | 139,900 | 119 (1,910), 121 (109) |
154
+ | `./techniques` | 207,300 | 205,247 | 207,561 | 207,600 | 119, 114, 115 and 121; 117 moved the probe table out (−1,393) |
155
+ | `./time` | 42,600 | 42,530 | 44,485 | 44,500 | 119 (1,955) |
156
+ | `./timing` | 171,200 | 170,866 | 173,476 | 173,500 | 119 (1,910), 115 (565), 121 (109), 117 (26) |
157
+ | `./vedic` | 187,100 | 186,598 | 189,208 | 189,300 | 119 (1,910), 115 (565), 121 (109), 117 (26) |
158
+ | `./window` | 151,500 | 150,577 | 152,731 | 152,800 | 119 (2,019), 121 (109), 117 (26) |
159
+
160
+ Every other graph is inside its budget, unchanged; the zone histories are
161
+ 188,964 bytes of their 200,000. The package beside the pack is
162
+ 1,437,512 bytes unpacked in 100 files, over the cap of 1,289,000:
163
+ the second copy of the root's code in `dist/core.js` and its declarations
164
+ (pull request 121), the other five pull requests' code and declarations,
165
+ this entry and the README's, NOTICE's and LICENSING.md's lines. Raised to
166
+ 1,438,000, the measurement rounded up to the next 1,000 bytes; the owner
167
+ approved raising the cap for the core entry on 17 November 2026. The
168
+ entry budgets are for the owner to decide with the candidate
169
+ (`scripts/verify-package-contents.mjs`).
170
+
3
171
  ## 2.0.0-rc.2 (unreleased candidate)
4
172
 
5
173
  The second candidate for **2.0.0**, a major release, on 1.1.0 (main at
package/LICENSING.md CHANGED
@@ -23,7 +23,8 @@ package's ΔT module, exported as `@zodiacs/engine/deltat`, carries 32 values
23
23
  of Table S15 of Stephenson, Morrison & Hohenkerk 2016, which are CC BY 4.0
24
24
  (see *ΔT data* below), with their attribution in `NOTICE`. The build places
25
25
  that module in a shared chunk under `dist/`, which `dist/deltat.js`
26
- re-exports. Both licences apply to the package as distributed. From
26
+ re-exports, and a copy of it in `dist/core.js`, the file of
27
+ `@zodiacs/engine/core`. Both licences apply to the package as distributed. From
27
28
  0.1.1-rc.8, which added those values, to 0.1.1-rc.13, `package.json` declared
28
29
  `MIT` alone; 0.1.1-rc.14 corrected it.
29
30
 
@@ -123,6 +124,8 @@ equator of date, its sidereal time or its observer functions (`ObserverVector`,
123
124
  (`precession_rot`, from J2000.0) line for line, and `src/calc-reduce.ts` its
124
125
  observer on the ellipsoid (`terra`), under the same MIT notice, which `NOTICE`
125
126
  carries, and the nutation is the engine's own (*Nutation* below).
127
+ `dist/core.js`, the file of `@zodiacs/engine/core`, carries its own copy of
128
+ `src/frame.ts`, and so of `precession_rot`.
126
129
 
127
130
  Repository and dependency searches found no Swiss Ephemeris runtime import,
128
131
  package dependency, vendored source, or generated lookup table in this npm
@@ -284,7 +287,8 @@ terms. The build places them in a shared chunk under `dist/` that the
284
287
  ephemeris chunk, `dist/time.js` and `dist/de440.js` import, so the graphs of
285
288
  the root, `./calc`, `./de440`, `./internal`, `./sky`, `./techniques`,
286
289
  `./time`, `./timing`, `./vedic` and `./window` load them, and so does that
287
- of `./de440/pack`, which opens its pack with `./de440`;
290
+ of `./de440/pack`, which opens its pack with `./de440`. `dist/core.js`, the
291
+ file of `@zodiacs/engine/core`, carries its own copy of them.
288
292
  `@zodiacs/engine/de440` sums the same terms in the order the research
289
293
  runtime of zodiacs.org sums them. The model is D. D.
290
294
  McCarthy and B. J. Luzum, "An abridged model of the precession-nutation of
@@ -324,16 +328,26 @@ which are CC BY 4.0. Downstream users who host or redistribute that data are
324
328
  instructed to retain `NOTICE`. The country names in the Gregorian adoption
325
329
  table come from tzdata, not from GeoNames (next section but one).
326
330
 
327
- Its zone histories before 1970 (`dist/tzdb-2025c-*.js`) are compiled by
328
- `scripts/build-tz-shards.mjs` from tzdata 2025c with backzone, which the tz
331
+ Its zone histories before 1970 (`dist/tzdb-2026f-*.js`, from 2.0.0-rc.3;
332
+ `dist/tzdb-2025c-*.js` through 2.0.0-rc.2) are compiled by
333
+ `scripts/build-tz-shards.mjs` from tzdata 2026f with backzone, which the tz
329
334
  project places in the public domain; the script checks the archive's SHA-256.
330
- From 1970 conversion uses the host's `Intl`/ICU data.
335
+ America/Yellowknife's history is compiled from tzdata 2025c's four backzone
336
+ lines that define it, held there by the owner's decision and committed in
337
+ `scripts/tzdb-held/yellowknife-2025c.zi`, whose SHA-256 the script also
338
+ checks; that release is in the public domain too.
339
+ From 1970 conversion uses the host's `Intl`/ICU data, which `./geo` checks
340
+ against a table of the spans in which tzdata 2021a and 2026f give different
341
+ offsets (`src/geo/host-probes-data.ts`), compiled by
342
+ `scripts/build-host-zone-probes.mjs` from those two public-domain releases,
343
+ whose SHA-256 it checks.
331
344
 
332
345
  ## Leap-second and UT1 data
333
346
 
334
347
  `src/time-scale-data.ts` holds the time basis's two IERS tables, which the
335
348
  import graphs of the root entry and of `@zodiacs/engine/time` under `dist/`
336
- carry. `scripts/build-time-scales.mjs`
349
+ carry, and so does `dist/core.js`, the file of `@zodiacs/engine/core`.
350
+ `scripts/build-time-scales.mjs`
337
351
  builds it from inputs committed in `scripts/time-scale-sources/` and checks
338
352
  each one's SHA-256:
339
353
 
@@ -430,7 +444,7 @@ under `dist/` that `dist/geo.js` and `dist/techniques.js` import. Its dates
430
444
  and names come from public-domain sources only:
431
445
 
432
446
  - the `calendars` file of tzdata 2025c (the archive whose SHA-256 the zone
433
- histories pin), which says of itself "This file is in the public domain",
447
+ histories pinned through 2.0.0-rc.2), which says of itself "This file is in the public domain",
434
448
  and whose list quotes H. Grotefend, *Taschenbuch der Zeitrechnung des
435
449
  deutschen Mittelalters und der Neuzeit*, edited by O. Grotefend (Hannover:
436
450
  Hahnsche Buchhandlung, 1941), pp. 26–28;
package/NOTICE CHANGED
@@ -10,7 +10,8 @@ retains the full MIT permission and warranty notice. Source and license metadata
10
10
  https://github.com/cosinekitty/astronomy
11
11
 
12
12
  The package's frame module (src/frame.ts, built into a shared chunk under
13
- dist/ that the ephemeris chunk and dist/time.js import) reproduces
13
+ dist/ that the ephemeris chunk and dist/time.js import, and copied into
14
+ dist/core.js, the file of @zodiacs/engine/core) reproduces
14
15
  astronomy-engine's precession function, precession_rot, and the calc entry's
15
16
  reduction module (src/calc-reduce.ts, built into dist/calc.js) its function
16
17
  for an observer on the Earth's ellipsoid, terra:
@@ -23,9 +24,10 @@ IAU 2000B nutation
23
24
  ------------------
24
25
 
25
26
  The package's nutation module (src/nutation.ts, built into a shared chunk
26
- under dist/ that the ephemeris chunk, dist/time.js and dist/de440.js import)
27
- carries the 77 luni-solar terms, fundamental arguments and fixed planetary
28
- offsets of the IAU 2000B nutation model,
27
+ under dist/ that the ephemeris chunk, dist/time.js and dist/de440.js import,
28
+ and copied into dist/core.js, the file of @zodiacs/engine/core) carries the
29
+ 77 luni-solar terms, fundamental arguments and fixed planetary offsets of the
30
+ IAU 2000B nutation model,
29
31
 
30
32
  D. D. McCarthy and B. J. Luzum 2003, An abridged model of the
31
33
  precession-nutation of the celestial pole. Celestial Mechanics and Dynamical
@@ -175,7 +177,8 @@ exports as @zodiacs/engine/deltat, contains 32 values of Table S15, rounded
175
177
  to 0.01 s, and constants of equations (4.1) and (5.1) from the work below.
176
178
  The build places that module in a shared chunk under dist/, which
177
179
  dist/deltat.js re-exports, so the values are in that chunk rather than in
178
- dist/deltat.js itself.
180
+ dist/deltat.js itself. dist/core.js, the file of @zodiacs/engine/core,
181
+ carries its own copy of the module, and so of the values.
179
182
 
180
183
  Stephenson, F. R., Morrison, L. V. & Hohenkerk, C. Y. 2016, Measurement of
181
184
  the Earth's rotation: 720 BC to AD 2015. Proc. R. Soc. A 472: 20160404.
@@ -212,10 +215,17 @@ Time zone, leap-second and UT1 data
212
215
  -----------------------------------
213
216
 
214
217
  @zodiacs/engine/geo ships zone histories before 1970 compiled from the IANA
215
- Time Zone Database 2025c with its backzone file (tzdata2025c.tar.gz, sha256
216
- 4aa79e4effee53fc4029ffe5f6ebe97937282ebcdf386d5d2da91ce84142f957), which is in
217
- the public domain: https://www.iana.org/time-zones. From 1970 local time
218
- comes from the host runtime's Intl/ICU data.
218
+ Time Zone Database 2026f with its backzone file (tzdata2026f.tar.gz, sha256
219
+ 01b4a91cec5167ed48c11e8ab78f2048cead78ce94b0cafcad0ae8c5a3044d3d), except
220
+ America/Yellowknife, compiled from the four backzone lines of the IANA Time
221
+ Zone Database 2025c that define it (tzdata2025c.tar.gz, sha256
222
+ 4aa79e4effee53fc4029ffe5f6ebe97937282ebcdf386d5d2da91ce84142f957). Both are
223
+ in the public domain: https://www.iana.org/time-zones. From 1970 local time
224
+ comes from the host runtime's Intl/ICU data, which it checks against a table
225
+ of the spans in which the IANA Time Zone Database 2021a (tzdata2021a.tar.gz,
226
+ sha256 39e7d2ba08c68cbaefc8de3227aab0dec2521be8042cf56855f7dc3a9fb14e08) and
227
+ 2026f give different offsets, with 2026f's offsets, compiled from those two
228
+ public-domain releases.
219
229
 
220
230
  The core carries TAI - UTC from the IERS leap-second list, leap-seconds.list,
221
231
  updated 2026-07-06 through IERS Bulletin C 72 and expiring 2027-06-28 (sha256
package/README.md CHANGED
@@ -16,11 +16,20 @@ import-time side effects, and performs no network request from its core
16
16
  entry point. Its one runtime side effect is the ΔT it installs in
17
17
  astronomy-engine (see Time below).
18
18
 
19
- **2.0.0-rc.2**, the second candidate for 2.0.0, a major release
19
+ **2.0.0-rc.3**, the third candidate for 2.0.0, a major release
20
20
  (CHANGELOG.md). It is a draft for the owner's review and is not published to
21
- npm. It replaces 2.0.0-rc.1, a draft never published, whose check of a
22
- supplied chart's or receipt's `polar-angles` could refuse a chart the engine
23
- itself had flagged, from about the year 2936. Over 1.1.0 it refuses a birth given as a calendar date with no time,
21
+ npm. Over 2.0.0-rc.2, a candidate never tagged or published, it refuses
22
+ common near-miss names for a birth field, such as `lat`, `lng`, `houses` and
23
+ `scale`, which were ignored (a breaking change, *Birth settings* below);
24
+ reads UTC after the IERS UT1 table, which ends on 2027-10-02, on the
25
+ continuous-UTC rule, TT = UTC + 69.184 s (*Time*); reads wall times before
26
+ 1970 on tzdata 2026f's zone histories, America/Yellowknife held at tzdata
27
+ 2025c by the owner's decision; flags a wall time where the device's time
28
+ zone data differs from tzdata 2026f (`host-zone-data-differs`); adds Julian
29
+ Day Numbers and local mean time from a longitude to `@zodiacs/engine/geo`;
30
+ and adds `@zodiacs/engine/core`, the root's functions without the DE440
31
+ pack (*Bundle size in a web page*). Over 1.1.0, as 2.0.0-rc.1 and rc.2 did,
32
+ it refuses a birth given as a calendar date with no time,
24
33
  unless `timeKnown` is `false` (the breaking change, *Resolved instant
25
34
  inputs* below); flags a chart whose angles are inside the polar circle
26
35
  (`polar-angles`); flags a local date that a calendar changeover may have
@@ -113,7 +122,7 @@ npm install @zodiacs/engine
113
122
  ```
114
123
 
115
124
  That installs npm's `latest`, 1.1.0, not this candidate:
116
- `artifacts/zodiacs-engine-2.0.0-rc.2.tgz` in the repository, with its
125
+ `artifacts/zodiacs-engine-2.0.0-rc.3.tgz` in the repository, with its
117
126
  SHA-256 receipt, is this candidate's exact archive. 1.0.0, npm's `latest`
118
127
  before 1.1.0, has no `./conventions`, `./time`, `./lite`, `./de440` or DE440
119
128
  pack, computes on astronomy-engine and writes no ids.
@@ -139,7 +148,7 @@ themselves and are not affected.
139
148
 
140
149
  From a source checkout, run `npm ci` and `npm run build`, then
141
150
  `npm pack --ignore-scripts`. Test the packed file in a clean consumer using
142
- `npm run consumer:smoke -- /absolute/path/to/zodiacs-engine-2.0.0-rc.2.tgz`.
151
+ `npm run consumer:smoke -- /absolute/path/to/zodiacs-engine-2.0.0-rc.3.tgz`.
143
152
  The smoke check
144
153
  downloads the artifact's public dependencies and TypeScript 5.9.3; its output
145
154
  records the artifact hash and runtime, and it removes its temporary consumer
@@ -197,13 +206,15 @@ gained a conventions set that names the nutation; rc.15's receipts stay
197
206
  readable. As in rc.15, a chart's instant is read on a time basis: from 1972
198
207
  to 2027-10-02 as UTC, with TT from the leap seconds and UT1 from IERS
199
208
  UT1 − UTC, and otherwise as UT1 with the ΔT model, or on UT1 or TT when
200
- `timeScale` says so (see Time). From 1.1.0-rc.9 the ephemeris is the shipped
209
+ `timeScale` says so (see Time); from 2.0.0-rc.3, a UTC instant after that
210
+ IERS table is read on the continuous-UTC rule instead, TT = UTC + 69.184 s
211
+ with UT1 from the ΔT model. From 1.1.0-rc.9 the ephemeris is the shipped
201
212
  DE440 pack inside its years and astronomy-engine 2.1.19 elsewhere; where this
202
213
  document speaks of the ephemeris's accuracy or of its error limits without
203
214
  naming DE440, it speaks of astronomy-engine, the fallback and the ephemeris
204
215
  of what the pack does not give. See CHANGELOG.md for the release history and
205
- `docs/evidence/2.0.0-rc.2-20261116/` for this candidate's checks
206
- (2.0.0-rc.1's are in `docs/evidence/2.0.0-rc.1-20261116/`, 1.1.0's in `docs/evidence/1.1.0-20261116/`, 1.1.0-rc.13's in `docs/evidence/1.1.0-rc.13-20261115/`, 1.1.0-rc.12's in
216
+ `docs/evidence/2.0.0-rc.3-20261117/` for this candidate's checks
217
+ (2.0.0-rc.2's are in `docs/evidence/2.0.0-rc.2-20261116/`, 2.0.0-rc.1's in `docs/evidence/2.0.0-rc.1-20261116/`, 1.1.0's in `docs/evidence/1.1.0-20261116/`, 1.1.0-rc.13's in `docs/evidence/1.1.0-rc.13-20261115/`, 1.1.0-rc.12's in
207
218
  `docs/evidence/1.1.0-rc.12-20261115/`, 1.1.0-rc.11's and 1.1.0-rc.10's in
208
219
  their own dated folders there, 1.1.0-rc.9's, its superseded draft's, are in
209
220
  `docs/evidence/1.1.0-rc.9-20261114/`)
@@ -215,6 +226,55 @@ their own dated folders there, 1.1.0-rc.9's, its superseded draft's, are in
215
226
  `docs/evidence/1.0.0-rc.1-20261006/`, rc.17's in
216
227
  `docs/evidence/rc17-20261005/`). Site adoption is reviewed separately.
217
228
 
229
+ ## Bundle size in a web page
230
+
231
+ Measured on 17 November 2026 with esbuild 0.28.2, Rollup 4.67.4, Vite 8.3.5
232
+ and webpack 5.112.2, each in production mode and minified, on 2.0.0-rc.3's
233
+ archive; brotli is quality 11 (Node 22.22.2's zlib). The programs and the
234
+ method are in `tools/bundle-weight/` and `docs/evidence/bundle-weight-20261117/`;
235
+ every number here is in
236
+ `docs/evidence/2.0.0-rc.3-20261117/results/bundle-weight/results.json`. Load
237
+ times in a browser were not measured.
238
+
239
+ - **The root entry.** A page that imports `natalChart` from
240
+ `@zodiacs/engine` carries the shipped DE440 pack: 3,416,191 to 3,418,817
241
+ bytes of script under the four bundlers (about 3.42 MB), 2,279,842 to
242
+ 2,281,947 bytes with brotli (about 2.28 MB).
243
+ `setDefaultEphemeris("astronomy-engine")` does not make it smaller: the
244
+ pack stays in the bundle (3,416,351 to 3,418,978 bytes).
245
+ - **`@zodiacs/engine/core`** exports the root's names and computes on
246
+ astronomy-engine, without the pack. The same page is then 77,042 to 80,192
247
+ bytes (about 77 to 80 KB), 28,800 to 30,554 bytes with brotli (about
248
+ 29 to 31 KB). Its positions are less exact: on the conformance suite's 240
249
+ position tests (within 1″ of JPL's DE441), 48 pass, against 240 for the
250
+ root on the pack. Both figures are the root's in `conformance/RESULTS.md`:
251
+ the 48 from its run after `setDefaultEphemeris("astronomy-engine")`, which
252
+ the package's smoke test checks the core entry matches, test for test.
253
+ Every chart from it names astronomy-engine as its ephemeris, as the root's
254
+ does after `setDefaultEphemeris("astronomy-engine")`, and equals that
255
+ chart. The entry
256
+ is a copy of the root's code with its own settings: `setDefaultEphemeris`
257
+ in one entry does not change the other, an aspect policy made by one
258
+ entry's `createAspectPolicy` is refused by the other's, and a page that
259
+ imports both carries both.
260
+ `setDefaultEphemeris("de440")` in it still computes on astronomy-engine and
261
+ flags each result `"de440-unavailable"`; for DE440 positions, import the
262
+ root, or supply a pack through `@zodiacs/engine/de440` and the core entry's
263
+ `withEphemeris`.
264
+ - **Loading the root when it is needed.** To keep DE440 positions and a
265
+ small first script, import the root on demand:
266
+
267
+ ```js
268
+ button.addEventListener("click", async () => {
269
+ const { natalChart } = await import("@zodiacs/engine");
270
+ show(natalChart(birth));
271
+ });
272
+ ```
273
+
274
+ All four bundlers put the pack in a file of its own: the page's first
275
+ script is 745 to 2,534 bytes, and the pack arrives on the click, in one
276
+ file of 3,415,737 to 3,446,051 bytes. The first chart waits for that file.
277
+
218
278
  ## Natal chart in 10 lines
219
279
 
220
280
  ```ts
@@ -307,7 +367,9 @@ for (const aspect of today.aspects) {
307
367
  a sample budget. `@zodiacs/engine/crossings` provides the same solver for a
308
368
  longitude function of your own, without the ephemeris.
309
369
  - `@zodiacs/engine/geo` provides IANA local-time resolution, Julian calendar
310
- dates and a client for a separately hosted, sharded GeoNames index.
370
+ dates, Julian Day Numbers and a longitude's local mean time
371
+ (`julianDayNumber`, `dateOfJulianDayNumber`, `localMeanTimeOffset`, new in
372
+ 2.0.0-rc.3) and a client for a separately hosted, sharded GeoNames index.
311
373
  - `@zodiacs/engine/techniques` provides solar and lunar returns, composite and
312
374
  Davison charts, the void-of-course Moon, aspect patterns, essential
313
375
  dignities and the Moon signs possible over a date (see `docs/techniques.md`).
@@ -366,6 +428,10 @@ for (const aspect of today.aspects) {
366
428
  `@zodiacs/engine/techniques`', with the same results; its sect part
367
429
  (`sectReading`, `orientality` and their constants) is new (see
368
430
  [docs/lite.md](docs/lite.md)).
431
+ - `@zodiacs/engine/core`, new in 2.0.0-rc.3, exports every name the root
432
+ exports and computes on astronomy-engine, without the DE440 pack, for pages
433
+ where script size matters more than the pack's accuracy (see *Bundle size
434
+ in a web page*).
369
435
 
370
436
  ### Uniform calculation API
371
437
 
@@ -411,7 +477,11 @@ bound on its first-order movement, not that movement. On UTC input from
411
477
  (exactly to 2027-06-28, when the shipped list expires; after it the list's
412
478
  last value is carried), so every geocentric, heliocentric and barycentric
413
479
  position's band is 0 there, and the band falls on the angles and cusps,
414
- topocentric positions and each event's UT1 (docs/calc.md, *Bands*).
480
+ topocentric positions and each event's UT1 (docs/calc.md, *Bands*). From
481
+ 2.0.0-rc.3 the same holds on UTC input after 2027-10-02, where TT is
482
+ UTC + 69.184 s on the continuous-UTC rule: a result there is still flagged
483
+ `delta-t-extrapolated`, but only what turns with UT1 widens its bounds (up
484
+ to 2.0.0-rc.2 every result widened there; docs/calc.md, *Bounds*).
415
485
  Root charts and natal envelopes carry none. What this version does not compute
416
486
  comes back as a typed refusal, such as gravitational deflection, or an
417
487
  instant whose UT1 or TT is outside 1800 to 2200: there calc has no
@@ -763,8 +833,9 @@ arcminutes from Swiss's.
763
833
 
764
834
  ### Input flag compatibility
765
835
 
766
- Public birth inputs accept all eleven `ChartFlag` values. Four are caller
767
- assertions: `dst-gap`, `dst-fold`, `lmt` and `calendar-unknown`. The other
836
+ Public birth inputs accept all twelve `ChartFlag` values. Five are caller
837
+ assertions: `dst-gap`, `dst-fold`, `lmt`, `calendar-unknown` and
838
+ `host-zone-data-differs` (from 2.0.0-rc.3). The other
768
839
  seven are derived by the calculation, and a caller may echo each only where
769
840
  the calculation derives it: `no-time`, `polar-fallback`, `polar-angles`,
770
841
  `outside-reference-span`, `delta-t-extrapolated` (see Time) and the two
@@ -774,15 +845,20 @@ Repeated values collapse in first-occurrence order. Unknown strings, sparse
774
845
  slots, accessor slots, non-array iterables and simultaneous `dst-gap`/`dst-fold`
775
846
  claims reject with a `RangeError` that does not include supplied flag values.
776
847
 
777
- `dst-gap`, `dst-fold`, `lmt` and `calendar-unknown` remain caller
778
- assertions: a UTC instant alone cannot verify a historical local-time
779
- resolution. The geo resolver sets `dst-gap` or `dst-fold` for a skipped or
848
+ `dst-gap`, `dst-fold`, `lmt`, `calendar-unknown` and
849
+ `host-zone-data-differs` remain caller assertions: a UTC instant alone
850
+ cannot verify a historical local-time resolution. The geo resolver sets `dst-gap` or `dst-fold` for a skipped or
780
851
  repeated wall time of any cause (the names are kept; its `jump.cause` gives
781
852
  the cause) and `lmt` when a local mean time clock read it; it and the birth
782
853
  resolvers set `calendar-unknown` on a local date, given with no country, that
783
854
  a calendar changeover may have skipped ([docs/time.md](docs/time.md)). A
784
855
  natal receipt refuses `calendar-unknown` on an instant before 1582-10-04 or
785
- from 1918-02-28 (UTC).
856
+ from 1918-02-28 (UTC). The geo resolver and the birth resolvers set
857
+ `host-zone-data-differs` on a wall time from 1970 on that the host's `Intl`
858
+ read where the host's time zone data differs from tzdata 2026f nearby
859
+ ([docs/time.md](docs/time.md), *Host time zone data*); a natal receipt
860
+ refuses it on an instant before 1970-01-01T00:00Z and on a local record whose
861
+ data form names the shipped history.
786
862
  `no-time`, `polar-fallback`, `polar-angles`, `outside-reference-span`,
787
863
  `delta-t-extrapolated`, `de440-unavailable` and `outside-de440-span` may be
788
864
  echoed for compatibility, but must agree with the calculation. Set
@@ -951,7 +1027,9 @@ UT1 run on continuously. The time basis steps at the ΔT model's seam,
951
1027
  1940-12-31T18:00:00Z, where ΔT steps from
952
1028
  24.834 s to 24.820 s; at 1972-01-01, where the leap seconds begin; at each
953
1029
  leap second, where TT and UT1 step by a second; and where the IERS UT1 table
954
- ends, 2027-10-02. Each sample installs its own ΔT, so every position and
1030
+ ends, 2027-10-02. From 2.0.0-rc.3, on UTC input TT runs on there (the
1031
+ continuous-UTC rule, see Time), and the seam is the change of basis, where
1032
+ UT1 steps by about 2 ms ([docs/time.md](docs/time.md)). Each sample installs its own ΔT, so every position and
955
1033
  angle steps there together: the search finds each step inside the window
956
1034
  from the engine's own arithmetic, splits at its millisecond and compares
957
1035
  both sides. Within 1e-8° of the Placidus
@@ -1078,7 +1156,12 @@ Terrestrial Time, and it covers the speed samples ±0.001 day around the
1078
1156
  instant (±0.25 day for the true nodes), so an instant must lie six hours
1079
1157
  inside. On the model ΔT clock every instant from 0001-05-01T00:00Z to
1080
1158
  3998-09-02T00:00Z qualifies; a pinned `deltaT` moves TT and is checked as
1081
- given. astronomy-engine reports any other failure by throwing a string, which
1159
+ given. On UTC input with the engine's ΔT the last instant `natalChart`
1160
+ accepts is 3998-09-03T05:58:50.816Z, and the last calc computes is
1161
+ 2199-12-31T23:58:50.815Z (from 2.0.0-rc.3, on the continuous-UTC rule; up to
1162
+ 2.0.0-rc.2 they were 3998-09-03T02:01:41.309Z and
1163
+ 2199-12-31T23:57:53.752Z), measured to the millisecond on this candidate's
1164
+ build (`docs/evidence/2.0.0-rc.3-20261117/results/span-ends.json`). astronomy-engine reports any other failure by throwing a string, which
1082
1165
  reaches the caller as a `RangeError` whose `cause` is the original value.
1083
1166
 
1084
1167
  Inside the span, results are computed but not verified: accuracy was compared
@@ -1093,7 +1176,15 @@ Birth settings accept only a `houseSystem` from the thirteen above, a boolean
1093
1176
  what lets a birth be given as a calendar date with no time; with the default
1094
1177
  `true` such a date is refused (from 2.0.0). Latitude and longitude
1095
1178
  must be supplied together as finite numbers within `[-90, 90]` and
1096
- `[-180, 180]` respectively.
1179
+ `[-180, 180]` respectively. From 2.0.0-rc.3 a birth refuses these common
1180
+ names for a field, in any letter case, with a `RangeError` that names the
1181
+ field to use: `lat` (`latitude`); `lng`, `lon`, `long` (`longitude`);
1182
+ `house`, `houses`, `hsys`, `housesystem` (`houseSystem`); `scale`,
1183
+ `time_scale` (`timeScale`); `delta_t` (`deltaT`); `time_known`,
1184
+ `unknownTime` (`timeKnown`). Up to 2.0.0-rc.2 they were ignored, so
1185
+ `{ utc, lat, lng }` gave a chart with no angles and no error. Other unknown
1186
+ keys, such as a database row's `id`, `name` or `timezone`, are still
1187
+ ignored.
1097
1188
 
1098
1189
  ## Time
1099
1190
 
@@ -1107,11 +1198,21 @@ planets on Terrestrial Time (TT). `utc` is on UTC unless `timeScale` says
1107
1198
  the EOP 20 C04 series in 1972, then `finals2000A.all` of 2026-09-24,
1108
1199
  observed then predicted. ΔT = TT − UT1 is then reported with
1109
1200
  `model: "iers-utc/1"`.
1110
- - Before 1972 and after that table the instant is read as UT1, and TT = UT1 +
1201
+ - Before 1972 the instant is read as UT1, and TT = UT1 +
1111
1202
  ΔT from the engine's model `zodiacs-deltat/1`: Stephenson, Morrison &
1112
1203
  Hohenkerk 2016 (CC BY 4.0) up to 1941, then USNO and IERS observations,
1113
- Bulletin A's predictions and a damped extrapolation, with a 1-σ band. After
1114
- the table UT1 − UTC is taken as 0 within ±0.9 s.
1204
+ Bulletin A's predictions and a damped extrapolation, with a 1-σ band.
1205
+ - After that table, from 2.0.0-rc.3, UTC is read on the continuous-UTC rule:
1206
+ it runs on with no further leap second, TAI − UTC stays 37 s, so
1207
+ TT = UTC + 69.184 s exactly, and UT1 = TT − ΔT from the model; the chart
1208
+ reports `basis: "continuous-utc"` and UT1 − UTC with `source: "model"`. A
1209
+ UTC birth time after 2027-10-02 therefore gives TT = UTC + 69.184 s, and
1210
+ only UT1 rests on the extrapolated ΔT. Up to 2.0.0-rc.2 the instant was
1211
+ read there as UT1, UT1 − UTC taken as 0 within ±0.9 s, and TT = UT1 + ΔT,
1212
+ so TT − UTC drifted with the model (71.491 s in 2050; docs/time.md). A
1213
+ natal receipt of an after-table UTC birth names a conventions set that
1214
+ requires the feature `time-basis-continuous-utc`, which 1.1.0 and
1215
+ 2.0.0-rc.2 refuse.
1115
1216
  - `deltaT` (seconds) in a birth input pins ΔT; the chart reports
1116
1217
  `model: "pinned"`.
1117
1218
 
@@ -1129,13 +1230,23 @@ engine used: on UTC input from 1972-01-01 to 2027-10-02 without a pinned ΔT,
1129
1230
  TT comes from the leap seconds (exactly to 2027-06-28, when the shipped list
1130
1231
  expires; after it the list's last value is carried, with no band for a leap
1131
1232
  second not yet announced), so its band is 0, and UT1 carries the band of
1132
- UT1 − UTC; with a pin, TT is UT1 plus the pin and takes UT1's band
1233
+ UT1 − UTC; after 2027-10-02, on the continuous-UTC rule (from 2.0.0-rc.3),
1234
+ TT's band is still 0 and UT1 carries the ΔT model's; with a pin, TT is UT1 plus the pin and takes UT1's band
1133
1235
  ([docs/time.md](docs/time.md), *The time bands*).
1134
1236
 
1135
- `@zodiacs/engine/geo` reads wall times before 1970 on the tzdb 2025c history
1136
- with backzone, shipped as 16 lazily imported chunks: `prepareLocalTime(date,
1137
- timeZone)` loads the one a zone needs, and a wall time before 1970 throws until
1138
- it has. From 1970 the host's Intl answers. A `longitude` reads a time in a
1237
+ `@zodiacs/engine/geo` reads wall times before 1970 on the tzdb 2026f history
1238
+ with backzone (2025c's through 2.0.0-rc.2), shipped as 16 lazily imported
1239
+ chunks: `prepareLocalTime(date, timeZone)` loads the one a zone needs, and a
1240
+ wall time before 1970 throws until it has. America/Yellowknife is held at
1241
+ tzdata 2025c's history by the owner's decision, because tzdata 2026f's
1242
+ change to it has no NEWS entry; before 1970 its results equal 2.0.0-rc.2's,
1243
+ but for the `tzdbVersion` they name, "2026f", the package's pinned release,
1244
+ though the zone's data is 2025c's. From 1970 the host's Intl answers, and from
1245
+ 2.0.0-rc.3, near a span in which tzdata 2021a and 2026f give different
1246
+ offsets, the engine asks the host for its offset there and flags the result
1247
+ `host-zone-data-differs` where it differs from 2026f's
1248
+ ([docs/time.md](docs/time.md), *Host time zone data*); the instant stays the
1249
+ host's. A `longitude` reads a time in a
1139
1250
  zone's local mean time era on the birthplace's own mean time; `calendar:
1140
1251
  "julian"` takes an Old Style date, and `country` adds a note from the country's
1141
1252
  Gregorian adoption. A wall time the clock showed twice takes its first pass,
@@ -1185,17 +1296,18 @@ full provenance audit and the explicit Swiss Ephemeris exclusion.
1185
1296
  The package's licence expression is `MIT AND CC-BY-4.0`: the code is MIT
1186
1297
  ([LICENSE](LICENSE)), and the 32 values of Stephenson, Morrison & Hohenkerk's
1187
1298
  Table S15 in the package's ΔT module (`@zodiacs/engine/deltat`, which the build
1188
- places in a shared chunk under `dist/` that `dist/deltat.js` re-exports) are
1189
- CC BY 4.0, attributed in [NOTICE](NOTICE).
1299
+ places in a shared chunk under `dist/` that `dist/deltat.js` re-exports, and
1300
+ copies into `dist/core.js`) are CC BY 4.0, attributed in [NOTICE](NOTICE).
1190
1301
 
1191
1302
  The npm package contains no place database. It carries the DE440 pack
1192
- (2,489,664 bytes), tzdb 2025c's zone
1193
- histories before 1970, the IERS leap-second list, an IERS UT1 − UTC table, a
1194
- table of Gregorian adoption dates from public-domain sources, 22 catalogue
1195
- values for the stars of the Vedic ayanamsas, and the IAU 2000B nutation series
1196
- from NOVAS C 3.1, a US Government work; [NOTICE](NOTICE) records their sources
1197
- and the GeoNames attribution, and downstream users should retain it.
1198
- [LICENSING.md](LICENSING.md) gives the terms of each.
1303
+ (2,489,664 bytes), tzdb 2026f's zone histories before 1970
1304
+ (America/Yellowknife's from tzdb 2025c), a table of where tzdb 2021a's offsets
1305
+ from 1970 differ from 2026f's, the IERS leap-second list, an IERS UT1 − UTC
1306
+ table, a table of Gregorian adoption dates from public-domain sources, 22
1307
+ catalogue values for the stars of the Vedic ayanamsas, and the IAU 2000B
1308
+ nutation series from NOVAS C 3.1, a US Government work; [NOTICE](NOTICE)
1309
+ records their sources and the GeoNames attribution, and downstream users
1310
+ should retain it. [LICENSING.md](LICENSING.md) gives the terms of each.
1199
1311
 
1200
1312
  ## Internal site entry points
1201
1313
 
@@ -1206,7 +1318,7 @@ bundle boundary intact. They are not covered by semantic-versioning guarantees;
1206
1318
  third-party code must use the documented entry points: the root, `/calc`,
1207
1319
  `/geo`, `/houses`, `/sky`, `/techniques`, `/timing`, `/vedic`, `/window`,
1208
1320
  `/receipt`, `/conventions`, `/crossings`, `/deltat`, `/time`, `/lite`,
1209
- `/de440` and `/de440/pack`.
1321
+ `/core`, `/de440` and `/de440/pack`.
1210
1322
 
1211
1323
  ## GeoNames request recovery
1212
1324
 
@@ -1,5 +1,5 @@
1
1
  import { DeltaT } from './deltat.js';
2
- import { E as EphemerisFallback, B as BodyName, e as DateInput, d as Chart, h as BirthInput, i as ChartPoints, M as MoonPhase, c as BodyPosition, S as SynastryResult, T as TransitResult } from './types-BCnyWBQZ.js';
2
+ import { E as EphemerisFallback, B as BodyName, e as DateInput, d as Chart, h as BirthInput, i as ChartPoints, M as MoonPhase, c as BodyPosition, S as SynastryResult, T as TransitResult } from './types-CkuiCcsV.js';
3
3
  import { LongitudeCrossing, CrossingSearchOptions, CrossingSearchResult } from './crossings.js';
4
4
 
5
5
  /** Geometry over full ecliptic positions; no independent ephemeris is implied. */