@zodiacs/engine 2.0.0-rc.3 → 2.0.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 +351 -0
- package/LICENSING.md +38 -13
- package/NOTICE +13 -5
- package/README.md +62 -35
- package/dist/calc.js +3 -3
- package/dist/{chunk-XINOD63H.js → chunk-PSZAKTDL.js} +1 -1
- package/dist/{chunk-QLQRN6RY.js → chunk-SCBK24HR.js} +1 -1
- package/dist/{chunk-PU4HNPRX.js → chunk-X5ANRWDK.js} +10 -4
- package/dist/{chunk-FXNA2TJM.js → chunk-ZL74QHBE.js} +1 -1
- package/dist/{chunk-EEKVS6W7.js → chunk-ZPHWUFTZ.js} +5 -2
- package/dist/core.js +11 -4
- package/dist/esm-only.cjs +3 -0
- package/dist/geo.js +1 -1
- package/dist/index.js +4 -4
- package/dist/internal-math.js +1 -1
- package/dist/internal.js +2 -2
- package/dist/receipt.js +1 -1
- package/dist/sky.js +2 -2
- package/dist/techniques.js +3 -3
- package/dist/timing.js +4 -4
- package/dist/vedic.js +4 -4
- package/dist/window.js +2 -2
- package/package.json +43 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,356 @@
|
|
|
1
1
|
# Engine changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0 (cut 2026-11-21)
|
|
4
|
+
|
|
5
|
+
A major release: 2.0.0-rc.6 with the version changed, cut on 2026-11-21.
|
|
6
|
+
Checks: `docs/evidence/2.0.0-20261121/`. Callers moving from 1.1.0 should
|
|
7
|
+
read `docs/migrating-to-2.md` (held by `src/migration-2.0.test.ts`).
|
|
8
|
+
|
|
9
|
+
- **No code or value changes from 2.0.0-rc.6.** The only change under `src/`
|
|
10
|
+
is the version string (`ENGINE_VERSION`, the two tests and the fixture that
|
|
11
|
+
hold it), and `dist/` is 2.0.0-rc.6's but for that string
|
|
12
|
+
(`docs/evidence/2.0.0-20261121/results/dist-vs-rc6.txt`, 95 files).
|
|
13
|
+
- **What 2.0.0 is over 1.1.0.** The entries below, 2.0.0-rc.1 to 2.0.0-rc.6,
|
|
14
|
+
are its history:
|
|
15
|
+
- **Input refusals (breaking):** a birth given as a calendar date with no
|
|
16
|
+
time is refused unless `timeKnown` is `false` (2.0.0-rc.1); common
|
|
17
|
+
near-miss birth keys such as `lat`, `lng`, `houses` and `scale` are
|
|
18
|
+
refused instead of ignored (2.0.0-rc.3).
|
|
19
|
+
- **UTC after 2027-10-02:** unpinned UTC input after the shipped IERS UT1
|
|
20
|
+
table uses the continuous-UTC rule, `TT = UTC + 69.184 s`, with
|
|
21
|
+
`TimeScale.basis: "continuous-utc"` and `ut1MinusUtc.source: "model"`
|
|
22
|
+
(2.0.0-rc.3).
|
|
23
|
+
- **Zone histories before 1970:** updated from tzdata 2025c to tzdata 2026f
|
|
24
|
+
with `America/Yellowknife` held at 2025c by the owner's decision
|
|
25
|
+
(2.0.0-rc.3).
|
|
26
|
+
- **Flags:** three new `ChartFlag` values (`polar-angles` and
|
|
27
|
+
`calendar-unknown` in 2.0.0-rc.1; `host-zone-data-differs` in 2.0.0-rc.3,
|
|
28
|
+
with tzdata 2025c added beside 2021a as a host-probe baseline in
|
|
29
|
+
2.0.0-rc.6 across 705 spans in 77 names), plus `flags` on `positions()`
|
|
30
|
+
rows (2.0.0-rc.1).
|
|
31
|
+
- **New entry and geo helpers:** `@zodiacs/engine/core` (the root API
|
|
32
|
+
without the DE440 pack, 2.0.0-rc.3), and `julianDayNumber`,
|
|
33
|
+
`dateOfJulianDayNumber` and `localMeanTimeOffset` in `@zodiacs/engine/geo`
|
|
34
|
+
(2.0.0-rc.3).
|
|
35
|
+
- **Errors:** `require()` of any entry point throws `ERR_ZODIACS_ESM_ONLY`
|
|
36
|
+
(2.0.0-rc.4), and an unknown body name throws `RangeError` on every
|
|
37
|
+
source including root crossing searches (2.0.0-rc.4, 2.0.0-rc.5).
|
|
38
|
+
- **Nothing deprecated is removed.** All seven `@deprecated` names remain:
|
|
39
|
+
`docs/versioning.md` requires twelve months after the deprecating release,
|
|
40
|
+
and 1.0.0 is from 2026-10-11.
|
|
41
|
+
- **Records.** 2.0.0 reads every natal record written by 0.1.1-rc.7 through
|
|
42
|
+
2.0.0-rc.6 (`docs/evidence/records-2.0.0-20261120/`). 1.1.0 refuses
|
|
43
|
+
2.0.0's continuous-UTC records as `unsupported_feature`; 2.0.0-rc.3 and
|
|
44
|
+
2.0.0-rc.6 read 2.0.0's envelopes
|
|
45
|
+
(`docs/evidence/2.0.0-20261121/results/earlier-readers.json`).
|
|
46
|
+
- **Conformance.** Measured on this build with Node 22.22.2 against suite
|
|
47
|
+
0.3.0 (640 vectors; `conformance/RESULTS.md`,
|
|
48
|
+
`conformance/results/zodiacs-engine.json`,
|
|
49
|
+
`conformance/results/zodiacs-engine-astronomy-engine.json`): default DE440
|
|
50
|
+
source **569 pass, 0 fail, 71 unsupported, 0 error** (L1 240/240, L2
|
|
51
|
+
150/150, L3 109/110 with 1 unsupported, L4 70/140 with 70 unsupported);
|
|
52
|
+
`astronomy-engine` 2.1.19 fallback **341 pass, 228 fail, 71 unsupported, 0
|
|
53
|
+
error** (L1 48 pass / 192 fail, L2 150/150, L3 109/110 with 1 unsupported,
|
|
54
|
+
L4 34 pass / 36 fail / 70 unsupported). Every verdict equals 2.0.0-rc.6's.
|
|
55
|
+
The 71 unsupported vectors are 1 leap-second instant in L3, 30 stations in
|
|
56
|
+
L4 and 40 lunations in L4 (the engine has no public station or lunation
|
|
57
|
+
search API).
|
|
58
|
+
- **Runtimes.** Measured on this build across six runtimes on Linux x64
|
|
59
|
+
(`docs/evidence/runtime-conformance-2.0.0-20261121/`, suite 0.3.0): all 569
|
|
60
|
+
supported verdicts on both root and `@zodiacs/engine/core` agree with Node
|
|
61
|
+
22.22.2 in Bun 1.4.4, Deno 2.9.6, Chromium 156.0.8078.4, Firefox 157.0 and
|
|
62
|
+
WebKit 27.2 (verdict counts equal 2.0.0-rc.6's). Outputs are not
|
|
63
|
+
bit-identical in every runtime (root: 458 of 569 identical to Node in Bun,
|
|
64
|
+
Deno, Chromium and WebKit, 569 of 569 in Firefox; core: 468 in Bun and
|
|
65
|
+
WebKit, 485 in Deno and Chromium, 540 in Firefox), and synthetic receipt
|
|
66
|
+
digests differ from Node's where outputs differ.
|
|
67
|
+
- **Licence.** Ships with the four open licence questions noted (IERS EOP 20
|
|
68
|
+
C04, CDS commercial use, Reid and Brunthaler, and ESA's non-commercial
|
|
69
|
+
Hipparcos terms as a fourth), per the owner's decision of 2026-11-20 11:16
|
|
70
|
+
Asia/Bangkok (`LICENSING.md`, `NOTICE`). No VSOP2013 series is shipped
|
|
71
|
+
(`docs/evidence/2.0.0-20261121/results/vsop2013-check.log`).
|
|
72
|
+
- **Sizes and cap.** Measured on this build
|
|
73
|
+
(`docs/evidence/2.0.0-20261121/results/package-contents.log`): all 20
|
|
74
|
+
entry-point import graphs remain inside their 2.0.0-rc.6 budgets (no entry
|
|
75
|
+
budget is raised). The package beside the DE440 pack is 1,462,688 bytes
|
|
76
|
+
unpacked in 101 files; `TOTAL_CAP` is raised from 1,459,000 to 1,463,000
|
|
77
|
+
(rounded up to the next 1,000 bytes), approved under the owner's delegation
|
|
78
|
+
of 2026-11-21 15:06 Asia/Bangkok (`scripts/verify-package-contents.mjs`).
|
|
79
|
+
|
|
80
|
+
## 2.0.0-rc.6 (candidate, cut 2026-11-21)
|
|
81
|
+
|
|
82
|
+
The sixth candidate for **2.0.0**, a major release, on 2.0.0-rc.5 (main at
|
|
83
|
+
`ed8be41`, after pull request 140), merging pull request 128 (`f8a7e7e`) with
|
|
84
|
+
a merge commit. A candidate is published only by the owner;
|
|
85
|
+
`artifacts/README.md` in the repository records what happened to it. Callers
|
|
86
|
+
moving from 1.1.0 should read `docs/migrating-to-2.md`. Everything earlier
|
|
87
|
+
2.0.0 candidate entries say holds for rc.6 except where this entry says
|
|
88
|
+
otherwise.
|
|
89
|
+
|
|
90
|
+
### Fixed
|
|
91
|
+
|
|
92
|
+
- **Host time zone probe table (pull request 128, ZOD-340).** Adds IANA
|
|
93
|
+
tzdata 2025c (SHA-256
|
|
94
|
+
`4aa79e4effee53fc4029ffe5f6ebe97937282ebcdf386d5d2da91ce84142f957`) as a
|
|
95
|
+
second baseline beside tzdata 2021a when comparing against tzdata 2026f.
|
|
96
|
+
The compiled probe table in `src/geo/host-probes-data.ts` now holds 705
|
|
97
|
+
spans across 77 zone names (up from 703 spans in 77 names, +9 bytes in
|
|
98
|
+
`dist/geo.js`), adding the 1979-05-25T20:30Z to 1979-05-26T20:30Z span for
|
|
99
|
+
`Asia/Tehran` and its link `Iran`, where tzdata 2025c gives UTC+03:30 and
|
|
100
|
+
both 2021a and 2026f give UTC+04:30. A host on tzdata 2025c (including Node
|
|
101
|
+
22.22.2, ICU 78.2) is now flagged `host-zone-data-differs` at 1979-05-26
|
|
102
|
+
12:00 in both names instead of passing unchecked. Held by
|
|
103
|
+
`src/geo/host-zone-check.test.ts` and
|
|
104
|
+
`docs/evidence/host-zone-probes-20261118/`.
|
|
105
|
+
|
|
106
|
+
### Documentation
|
|
107
|
+
|
|
108
|
+
- `LICENSING.md` and `NOTICE` (ZOD-341, pull requests 138 and 139): name
|
|
109
|
+
tzdata 2021a, 2025c and 2026f with their SHA-256 digests as the probe
|
|
110
|
+
table's sources; credit ESA (`Credit: ESA`) for the Hipparcos observations
|
|
111
|
+
behind VizieR I/311; and record the owner's 2026-11-20 11:16 Asia/Bangkok
|
|
112
|
+
decision to ship 2.0.0 with the four open licence questions noted (IERS EOP
|
|
113
|
+
20 C04, CDS commercial use, Reid and Brunthaler, and ESA's non-commercial
|
|
114
|
+
Hipparcos terms as a fourth).
|
|
115
|
+
- `README.md`: updates the public entry-point count to eighteen (with
|
|
116
|
+
`@zodiacs/engine/core`), updates the Node 20 line from "a 1.x minor release"
|
|
117
|
+
to "a 2.x minor release", updates the host-probe descriptions to name both
|
|
118
|
+
tzdata 2021a and 2025c, points callers moving from 1.1.0 to
|
|
119
|
+
`docs/migrating-to-2.md`, and adds a summary of six-runtime conformance.
|
|
120
|
+
The span ends were measured again on this build (`span-ends.mjs`:
|
|
121
|
+
`natalChart` last UTC 3998-09-03T05:58:50.816Z, `calc` last UTC
|
|
122
|
+
2199-12-31T23:58:50.815Z). Bundle sizes remain 2.0.0-rc.3's and say so.
|
|
123
|
+
- Unpacked repository documentation updated before this cut (not packed):
|
|
124
|
+
`docs/migrating-to-2.md` with per-break tests in `src/migration-2.0.test.ts`
|
|
125
|
+
(ZOD-338, pull request 133), `docs/versioning.md`, `SECURITY.md`,
|
|
126
|
+
`artifacts/README.md` and `tools/cli/README.md` for 2.x (ZOD-342, pull
|
|
127
|
+
request 137), records-across-the-major evidence in
|
|
128
|
+
`docs/evidence/records-2.0.0-20261120/` (ZOD-337, pull request 132), and
|
|
129
|
+
draft v1.1.0 release notes and tag commands in `docs/releases/` (ZOD-343
|
|
130
|
+
Part A, pull request 135).
|
|
131
|
+
|
|
132
|
+
### Conformance
|
|
133
|
+
|
|
134
|
+
- Regenerated on this build with Node 22.22.2 against conformance suite 0.3.0
|
|
135
|
+
(640 vectors; `conformance/RESULTS.md`,
|
|
136
|
+
`conformance/results/zodiacs-engine.json`,
|
|
137
|
+
`conformance/results/zodiacs-engine-astronomy-engine.json`):
|
|
138
|
+
- Default source (shipped DE440 pack): **569 pass, 0 fail, 71 unsupported,
|
|
139
|
+
0 error** (L1 240/240, L2 150/150, L3 109/110 with 1 unsupported, L4
|
|
140
|
+
70/140 with 70 unsupported). Every verdict matches `main`.
|
|
141
|
+
- Fallback source (`astronomy-engine` 2.1.19): **341 pass, 228 fail, 71
|
|
142
|
+
unsupported, 0 error** (L1 48 pass / 192 fail, L2 150/150, L3 109/110
|
|
143
|
+
with 1 unsupported, L4 34 pass / 36 fail / 70 unsupported). Every verdict
|
|
144
|
+
matches `main`.
|
|
145
|
+
- The 71 unsupported vectors are 1 leap-second instant in L3 (not
|
|
146
|
+
expressible as a JavaScript Date), 30 station vectors in L4 and 40
|
|
147
|
+
lunation vectors in L4: the engine has no public station or lunation
|
|
148
|
+
search API.
|
|
149
|
+
|
|
150
|
+
### Runtimes
|
|
151
|
+
|
|
152
|
+
- Measured on this candidate's build across six runtimes on Linux x64
|
|
153
|
+
(`docs/evidence/runtime-conformance-20261121/`, suite 0.3.0): all 569
|
|
154
|
+
supported verdicts on both root and `@zodiacs/engine/core` agreed with Node
|
|
155
|
+
22.22.2 in Bun 1.4.4, Deno 2.9.6, Chromium 156.0.8078.4, Firefox 157.0 and
|
|
156
|
+
WebKit 27.2 (71 unsupported: 1 leap second, 30 stations, 40 lunations).
|
|
157
|
+
Outputs are not bit-identical in every runtime (root: 458 of 569 identical
|
|
158
|
+
to Node in Bun, Deno, Chromium and WebKit, 569 of 569 in Firefox; core: 468
|
|
159
|
+
in Bun and WebKit, 485 in Deno and Chromium, 540 in Firefox), and synthetic
|
|
160
|
+
receipt digests differ from Node's where outputs differ.
|
|
161
|
+
|
|
162
|
+
### Corrections
|
|
163
|
+
|
|
164
|
+
Carried from `docs/changelog-corrections.md` (item 18; items 15 to 17 were
|
|
165
|
+
carried into 2.0.0-rc.4's `### Corrections`). The 2.0.0-rc.3 entry is left as
|
|
166
|
+
written.
|
|
167
|
+
|
|
168
|
+
- 2.0.0-rc.3, `CHANGELOG.md` lines 44 to 45 ("each nearby span in which
|
|
169
|
+
tzdata 2021a and 2026f differ (703 spans in 77 names)") and lines 118 to
|
|
170
|
+
119 ("the host-probe table compares tzdata 2021a with 2026f"): pull request
|
|
171
|
+
128 adds tzdata 2025c beside 2021a (705 spans in 77 names), flagging a
|
|
172
|
+
2025c host at `Asia/Tehran` and `Iran` on 1979-05-26
|
|
173
|
+
(`docs/evidence/host-zone-probes-20261118/README.md`). `README.md`,
|
|
174
|
+
`NOTICE` and `LICENSING.md` are updated in this candidate.
|
|
175
|
+
|
|
176
|
+
### Sizes and budgets
|
|
177
|
+
|
|
178
|
+
- Measured on this candidate's build
|
|
179
|
+
(`docs/evidence/2.0.0-rc.6-20261121/results/package-contents.log`): all 20
|
|
180
|
+
entry-point import graphs remain inside their 2.0.0-rc.5 budgets (`./geo`
|
|
181
|
+
grew by 9 bytes, from 47,715 to 47,724 of 47,800, for pull request 128's
|
|
182
|
+
Tehran probe). The package beside the DE440 pack is 1,458,962 bytes
|
|
183
|
+
unpacked in 101 files, over the 2.0.0-rc.5 cap of 1,450,000 because of this
|
|
184
|
+
entry, the README updates, `LICENSING.md`, `NOTICE` and the 9-byte probe
|
|
185
|
+
addition. Cap raised to 1,459,000 (the measurement rounded up to the next
|
|
186
|
+
1,000 bytes), for the owner to decide with this candidate
|
|
187
|
+
(`scripts/verify-package-contents.mjs`).
|
|
188
|
+
|
|
189
|
+
## 2.0.0-rc.5 (unreleased candidate)
|
|
190
|
+
|
|
191
|
+
The fifth candidate for **2.0.0**, a major release, on 2.0.0-rc.4 (pull
|
|
192
|
+
request 140, after the rc.4 source commit `4c2bd2c` and the unknown-body
|
|
193
|
+
crossing fix `11960941d`). It is not to be published on npm until the
|
|
194
|
+
owner approves it.
|
|
195
|
+
|
|
196
|
+
rc.4's archive is carried; the crossing fix reaches `dist/`, so by the
|
|
197
|
+
rule in `artifacts/README.md` the package takes a new number and rc.4's
|
|
198
|
+
archive stays, unchanged. The owner approved this candidate on 21 November
|
|
199
|
+
2026. Everything rc.4's entry says holds for rc.5 except where this entry
|
|
200
|
+
says otherwise.
|
|
201
|
+
|
|
202
|
+
### Changed
|
|
203
|
+
|
|
204
|
+
- `searchLongitudeCrossings` and `findLongitudeCrossings` refuse a name
|
|
205
|
+
that is not a body with `RangeError("Unknown body: <name>")` before
|
|
206
|
+
they search, by calling `assertKnownBody` (exported from
|
|
207
|
+
`src/ephemeris.ts`, the check `longitudeOn` and `speedAt` already run).
|
|
208
|
+
Up to rc.4, the wrappers refused the name only when the solver asked a
|
|
209
|
+
longitude, so a zero-length window returned an empty result and a
|
|
210
|
+
search over its sample budget returned the refusal. A known body on
|
|
211
|
+
those same windows is unchanged: a zero-length window is complete and
|
|
212
|
+
empty, and a search over its sample budget is refused for
|
|
213
|
+
`sample-budget`. The DE440 entry's own unknown-body stays a
|
|
214
|
+
`De440Error`. Held by `src/ephemeris-unknown-body.test.ts`. The source
|
|
215
|
+
commit of the fix is `11960941d`.
|
|
216
|
+
|
|
217
|
+
### Documentation
|
|
218
|
+
|
|
219
|
+
- README.md: this candidate's paragraph, archive and install path. The
|
|
220
|
+
span's ends and the README's bundle sizes were not measured again;
|
|
221
|
+
they remain rc.4's and rc.3's respectively, and say so.
|
|
222
|
+
|
|
223
|
+
### Sizes and budgets
|
|
224
|
+
|
|
225
|
+
- Measured on this candidate's build, seven import graphs were over their
|
|
226
|
+
budgets, each by the crossing-search body check (`assertKnownBody` in
|
|
227
|
+
the root wrappers, and its export). Each budget is raised to the
|
|
228
|
+
measurement, rounded up to the next 100 bytes, and no further (old
|
|
229
|
+
budget, rc.4's measurement, this candidate's, new budget):
|
|
230
|
+
|
|
231
|
+
| Entry | Old budget | rc.4 | rc.5 | New budget | Why |
|
|
232
|
+
| --- | ---: | ---: | ---: | ---: | --- |
|
|
233
|
+
| `.` | 154,400 | 154,316 | 154,422 | 154,500 | the crossing-search body check (106) |
|
|
234
|
+
| `./calc` | 205,500 | 205,477 | 205,514 | 205,600 | the crossing-search body check (37) |
|
|
235
|
+
| `./sky` | 140,000 | 139,978 | 140,015 | 140,100 | the crossing-search body check (37) |
|
|
236
|
+
| `./techniques` | 207,800 | 207,704 | 207,810 | 207,900 | the crossing-search body check (106) |
|
|
237
|
+
| `./timing` | 173,700 | 173,619 | 173,725 | 173,800 | the crossing-search body check (106) |
|
|
238
|
+
| `./vedic` | 189,400 | 189,351 | 189,457 | 189,500 | the crossing-search body check (106) |
|
|
239
|
+
| `./window` | 152,900 | 152,874 | 152,911 | 153,000 | the crossing-search body check (37) |
|
|
240
|
+
|
|
241
|
+
Every other graph is inside its budget, unchanged (`./internal`
|
|
242
|
+
112,561 of 112,600; `./core` 110,976 of 111,000). The package beside
|
|
243
|
+
the pack is 1,449,915 bytes unpacked in 101 files, over the cap of
|
|
244
|
+
1,446,200: the body check, this entry and the README's lines. Raised
|
|
245
|
+
to 1,450,000, the measurement rounded up to the next 100 bytes. The
|
|
246
|
+
budgets and the cap are for the owner to decide with the candidate
|
|
247
|
+
(`scripts/verify-package-contents.mjs`).
|
|
248
|
+
|
|
249
|
+
## 2.0.0-rc.4 (unreleased candidate)
|
|
250
|
+
|
|
251
|
+
The fourth candidate for **2.0.0**, a major release, on 2.0.0-rc.3 (main at
|
|
252
|
+
`900455f`, after pull request 139), with three fixes. It is not to be
|
|
253
|
+
published on npm until the owner approves it. Checks:
|
|
254
|
+
`docs/evidence/2.0.0-rc.4-20261120/`.
|
|
255
|
+
|
|
256
|
+
rc.3's archive is carried, and npm has carried rc.3 under `next` since
|
|
257
|
+
2026-11-17 (not tagged); these fixes reach `dist/` and the packed README, so
|
|
258
|
+
by the rule in `artifacts/README.md` the package takes a new number and
|
|
259
|
+
rc.3's archive stays, unchanged. The owner approved the fixes and this
|
|
260
|
+
candidate on 20 November 2026. Everything rc.1's, rc.2's and rc.3's entries
|
|
261
|
+
say holds for rc.4 except where this entry says otherwise.
|
|
262
|
+
|
|
263
|
+
### Changed
|
|
264
|
+
|
|
265
|
+
- `require()` of `@zodiacs/engine` or of any of its entry points throws an
|
|
266
|
+
`Error` with code `ERR_ZODIACS_ESM_ONLY`, whose message says to use
|
|
267
|
+
`import`, or `await import("@zodiacs/engine")` from CommonJS. Up to rc.3
|
|
268
|
+
Node threw its own `ERR_PACKAGE_PATH_NOT_EXPORTED` ("No "exports" main
|
|
269
|
+
defined"). Each of the 20 entries in `exports` gains a `"require"`
|
|
270
|
+
condition, after `"import"`, that points at `dist/esm-only.cjs`, a file
|
|
271
|
+
that throws that error and does nothing else; `files` packs it. There is
|
|
272
|
+
still no CommonJS build and no `"default"` condition. A tool that resolves
|
|
273
|
+
with the `require` condition (Jest in CommonJS mode, a bundler compiling
|
|
274
|
+
`require()` calls) now gets this error in place of Node's: both fail, and
|
|
275
|
+
this one says what to do. Held by `scripts/esm-only.test.mjs`, the export
|
|
276
|
+
smoke test and the packed-consumer check, which requires every entry point
|
|
277
|
+
from CommonJS and loads the package with `import()` from CommonJS.
|
|
278
|
+
- A name that is not a body is a `RangeError` on the default source. The
|
|
279
|
+
root refuses it with `RangeError("Unknown body: <name>")` before any
|
|
280
|
+
source is asked, in `searchLongitudeCrossings` and
|
|
281
|
+
`findLongitudeCrossings`, and in `./internal`'s `bodyLongitude`,
|
|
282
|
+
`longitudeSpeed` and their `...Detailed` forms, whether the source is the
|
|
283
|
+
shipped DE440 pack, astronomy-engine or a caller's pack given with
|
|
284
|
+
`withEphemeris`. Up to rc.3, on the default source, the DE440 reader's
|
|
285
|
+
`De440Error` (code `unknown-body`) reached the caller, which a caller that
|
|
286
|
+
catches only `RangeError` did not catch; nothing was computed either way.
|
|
287
|
+
`@zodiacs/engine/de440`'s own source keeps `De440Error` for a body it does
|
|
288
|
+
not place. Held by `src/ephemeris-unknown-body.test.ts`; the adversarial
|
|
289
|
+
case BAD-56 now expects `RangeError`.
|
|
290
|
+
|
|
291
|
+
### Documentation
|
|
292
|
+
|
|
293
|
+
- README.md: the *Configurable aspects* and *Declinations and parallels*
|
|
294
|
+
examples import `natalChart` and build their own chart, so they run as
|
|
295
|
+
pasted; `src/readme-snippets.test.ts` runs both. The install notes say
|
|
296
|
+
what `require()` does. This candidate's paragraph, archive and evidence
|
|
297
|
+
folder. The span's ends were measured again on this build with
|
|
298
|
+
`docs/evidence/continuous-utc-20261117/span-ends.mjs` and are the same to
|
|
299
|
+
the millisecond as on rc.3 (natalChart's last UTC
|
|
300
|
+
3998-09-03T05:58:50.816Z, calc's 2199-12-31T23:58:50.815Z;
|
|
301
|
+
`docs/evidence/2.0.0-rc.4-20261120/results/span-ends.json`).
|
|
302
|
+
- The README's bundle sizes are rc.3's, measured on rc.3's archive, and say
|
|
303
|
+
so; they were not measured again for this candidate.
|
|
304
|
+
|
|
305
|
+
### Corrections
|
|
306
|
+
|
|
307
|
+
Carried from `docs/changelog-corrections.md` (items 15 to 17). The entries
|
|
308
|
+
they correct are left as written.
|
|
309
|
+
|
|
310
|
+
- 2.0.0-rc.3, the heading "unreleased candidate" and "It is a draft for the
|
|
311
|
+
owner's review": rc.3 was published to npm on 2026-11-17 under `next`,
|
|
312
|
+
with 1.1.0 still under `latest`; it has no git tag and no GitHub release
|
|
313
|
+
(`docs/evidence/changelog-corrections-20261118/records.md`). True when
|
|
314
|
+
written. The rest of that sentence, "and is not to be published on npm
|
|
315
|
+
until the owner approves it", stands. The README's rc.3 paragraph said
|
|
316
|
+
the same ("is a draft for the owner's review and is not published to
|
|
317
|
+
npm"); this candidate's paragraph replaces it.
|
|
318
|
+
- 2.0.0-rc.3, pull request 121 (`@zodiacs/engine/core`): "the root is
|
|
319
|
+
unchanged". The root's results, names and types are unchanged; its import
|
|
320
|
+
graph grew by 109 bytes because the shared ephemeris chunk grew by that
|
|
321
|
+
amount, as the same entry's size table says for `.`, `./calc`,
|
|
322
|
+
`./internal`, `./sky`, `./timing`, `./vedic` and `./window`.
|
|
323
|
+
|
|
324
|
+
### Sizes and budgets
|
|
325
|
+
|
|
326
|
+
- Measured on this candidate's build
|
|
327
|
+
(`docs/evidence/2.0.0-rc.4-20261120/results/package-contents.log`), nine
|
|
328
|
+
import graphs were over their budgets, each by the 143 bytes the body
|
|
329
|
+
check adds to every graph that holds `src/ephemeris.ts`; the root had 27
|
|
330
|
+
bytes to spare. Each budget is raised to the measurement, rounded up to
|
|
331
|
+
the next 100 bytes, and no further (old budget, rc.3's measurement, this
|
|
332
|
+
candidate's, new budget):
|
|
333
|
+
|
|
334
|
+
| Entry | Old budget | rc.3 | rc.4 | New budget | Why |
|
|
335
|
+
| --- | ---: | ---: | ---: | ---: | --- |
|
|
336
|
+
| `.` | 154,200 | 154,173 | 154,316 | 154,400 | the body check (143) |
|
|
337
|
+
| `./calc` | 205,400 | 205,334 | 205,477 | 205,500 | the body check (143) |
|
|
338
|
+
| `./core` | 110,800 | 110,765 | 110,908 | 111,000 | the body check (143) |
|
|
339
|
+
| `./internal` | 112,400 | 112,381 | 112,524 | 112,600 | the body check (143) |
|
|
340
|
+
| `./sky` | 139,900 | 139,835 | 139,978 | 140,000 | the body check (143) |
|
|
341
|
+
| `./techniques` | 207,600 | 207,561 | 207,704 | 207,800 | the body check (143) |
|
|
342
|
+
| `./timing` | 173,500 | 173,476 | 173,619 | 173,700 | the body check (143) |
|
|
343
|
+
| `./vedic` | 189,300 | 189,208 | 189,351 | 189,400 | the body check (143) |
|
|
344
|
+
| `./window` | 152,800 | 152,731 | 152,874 | 152,900 | the body check (143) |
|
|
345
|
+
|
|
346
|
+
Every other graph is inside its budget, unchanged. The package beside the
|
|
347
|
+
pack is 1,446,177 bytes unpacked in 101 files, over the cap of 1,438,000:
|
|
348
|
+
the body check, `dist/esm-only.cjs`, the 20 `"require"` conditions in
|
|
349
|
+
`package.json`, this entry and the README's lines. Raised to 1,446,200,
|
|
350
|
+
the measurement rounded up to the next 100 bytes. The budgets and the cap
|
|
351
|
+
are for the owner to decide with the candidate
|
|
352
|
+
(`scripts/verify-package-contents.mjs`).
|
|
353
|
+
|
|
3
354
|
## 2.0.0-rc.3 (unreleased candidate)
|
|
4
355
|
|
|
5
356
|
The third candidate for **2.0.0**, a major release, on 2.0.0-rc.2 (main at
|
package/LICENSING.md
CHANGED
|
@@ -8,15 +8,20 @@ NAIF's rules permit redistributing its kernels unmodified but do not speak of
|
|
|
8
8
|
data refitted from one, so shipping the pack rests on the owner's reading and
|
|
9
9
|
not on a statement of JPL's or NAIF's. On 2026-11-16 the owner answered, in
|
|
10
10
|
writing, the question "Do you accept shipping the NASA DE440 data in 1.1.0?"
|
|
11
|
-
with "Yes. I delegate these decisions to you." (*DE440 pack*).
|
|
12
|
-
questions are left open for the owner
|
|
13
|
-
|
|
14
|
-
repository carries
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
with "Yes. I delegate these decisions to you." (*DE440 pack*). Four
|
|
12
|
+
questions are left open for the owner. As they were at 1.1.0, the terms for
|
|
13
|
+
IERS EOP 20 C04 redistribution remain unconfirmed for both the 367 rows the
|
|
14
|
+
repository carries and the values the package derives from them (*IERS
|
|
15
|
+
data*), the CDS's terms leave commercial use of the 20 star values it
|
|
16
|
+
supplies unresolved, and no terms were read for the two values from Reid
|
|
17
|
+
and Brunthaler. The fourth question is whether ESA's non-commercial
|
|
18
|
+
terms reach the 15 values from the Hipparcos new reduction through VizieR
|
|
19
|
+
(*Timing and Vedic values*). On 2026-11-20 at 10:37 Asia/Bangkok, the owner
|
|
20
|
+
answered "Re-accept the licence questions and add Hipparcos as a 4th."
|
|
21
|
+
The decision record gives the superseding answer at 11:16 Asia/Bangkok:
|
|
22
|
+
"ship 2.0.0 with the open licence questions NOTED, not settled and NOT
|
|
23
|
+
recorded as re-accepted: IERS, CDS, Reid and Brunthaler, plus ESA's
|
|
24
|
+
non-commercial Hipparcos terms noted as a fourth."
|
|
20
25
|
|
|
21
26
|
SPDX licence expression: `MIT AND CC-BY-4.0`. The code is MIT (`LICENSE`). The
|
|
22
27
|
package's ΔT module, exported as `@zodiacs/engine/deltat`, carries 32 values
|
|
@@ -337,10 +342,17 @@ lines that define it, held there by the owner's decision and committed in
|
|
|
337
342
|
`scripts/tzdb-held/yellowknife-2025c.zi`, whose SHA-256 the script also
|
|
338
343
|
checks; that release is in the public domain too.
|
|
339
344
|
From 1970 conversion uses the host's `Intl`/ICU data, which `./geo` checks
|
|
340
|
-
against a table of the spans in which tzdata 2021a
|
|
341
|
-
|
|
342
|
-
`scripts/build-host-zone-probes.mjs`
|
|
343
|
-
|
|
345
|
+
against a table of the spans in which tzdata 2021a or 2025c gives a different
|
|
346
|
+
offset from 2026f (`src/geo/host-probes-data.ts`).
|
|
347
|
+
`scripts/build-host-zone-probes.mjs` compiles the table from these
|
|
348
|
+
public-domain releases and checks their SHA-256 digests:
|
|
349
|
+
|
|
350
|
+
- `tzdata2021a.tar.gz` (SHA-256
|
|
351
|
+
`39e7d2ba08c68cbaefc8de3227aab0dec2521be8042cf56855f7dc3a9fb14e08`)
|
|
352
|
+
- `tzdata2025c.tar.gz` (SHA-256
|
|
353
|
+
`4aa79e4effee53fc4029ffe5f6ebe97937282ebcdf386d5d2da91ce84142f957`)
|
|
354
|
+
- `tzdata2026f.tar.gz` (SHA-256
|
|
355
|
+
`01b4a91cec5167ed48c11e8ab78f2048cead78ce94b0cafcad0ae8c5a3044d3d`)
|
|
344
356
|
|
|
345
357
|
## Leap-second and UT1 data
|
|
346
358
|
|
|
@@ -501,6 +513,19 @@ for them were read. The attribution in `NOTICE` meets the CDS citation terms;
|
|
|
501
513
|
whether a commercial use needs more than attribution is not settled by these
|
|
502
514
|
sources.
|
|
503
515
|
|
|
516
|
+
ESA distributes its 1997 Hipparcos and Tycho Catalogues under CC BY-NC 3.0
|
|
517
|
+
IGO. The package takes its Hipparcos values from F. van Leeuwen's 2007 new
|
|
518
|
+
reduction (VizieR I/311). ESA hosts a copy of that VizieR catalogue in its
|
|
519
|
+
legacy archive and distributes data hosted in its Space Science Archives
|
|
520
|
+
under CC BY-NC 3.0 IGO. Those archive terms call for authorisation before
|
|
521
|
+
commercial use and give the Hipparcos credit line as "Credit: ESA".
|
|
522
|
+
Whether those terms reach the 15 individual values obtained through VizieR
|
|
523
|
+
is open. `NOTICE` credits ESA as the origin of the mission data.
|
|
524
|
+
ESA pages read 2026-11-20:
|
|
525
|
+
<https://www.cosmos.esa.int/web/hipparcos/catalogues>,
|
|
526
|
+
<https://www.cosmos.esa.int/web/hipparcos/hipparcos-2> and
|
|
527
|
+
<https://www.cosmos.esa.int/web/esdc/terms-and-conditions#TC1>.
|
|
528
|
+
|
|
504
529
|
## Calculation entry values
|
|
505
530
|
|
|
506
531
|
`@zodiacs/engine/calc` (`dist/calc.js` and the chunks it imports) carries the
|
package/NOTICE
CHANGED
|
@@ -222,10 +222,16 @@ Zone Database 2025c that define it (tzdata2025c.tar.gz, sha256
|
|
|
222
222
|
4aa79e4effee53fc4029ffe5f6ebe97937282ebcdf386d5d2da91ce84142f957). Both are
|
|
223
223
|
in the public domain: https://www.iana.org/time-zones. From 1970 local time
|
|
224
224
|
comes from the host runtime's Intl/ICU data, which it checks against a table
|
|
225
|
-
of the spans in which
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
of the spans in which tzdata 2021a or 2025c gives a different offset from
|
|
226
|
+
2026f. The table gives 2026f's offsets and is compiled from these
|
|
227
|
+
public-domain IANA Time Zone Database releases:
|
|
228
|
+
|
|
229
|
+
tzdata2021a.tar.gz (SHA-256
|
|
230
|
+
39e7d2ba08c68cbaefc8de3227aab0dec2521be8042cf56855f7dc3a9fb14e08)
|
|
231
|
+
tzdata2025c.tar.gz (SHA-256
|
|
232
|
+
4aa79e4effee53fc4029ffe5f6ebe97937282ebcdf386d5d2da91ce84142f957)
|
|
233
|
+
tzdata2026f.tar.gz (SHA-256
|
|
234
|
+
01b4a91cec5167ed48c11e8ab78f2048cead78ce94b0cafcad0ae8c5a3044d3d)
|
|
229
235
|
|
|
230
236
|
The core carries TAI - UTC from the IERS leap-second list, leap-seconds.list,
|
|
231
237
|
updated 2026-07-06 through IERS Bulletin C 72 and expiring 2027-06-28 (sha256
|
|
@@ -280,7 +286,9 @@ Astronomical Observatory, France:
|
|
|
280
286
|
|
|
281
287
|
F. van Leeuwen 2007, A&A 474, 653 (VizieR I/311, Hipparcos, the New
|
|
282
288
|
Reduction): the positions, proper motions and parallaxes of Spica,
|
|
283
|
-
zeta Psc A and delta Cnc.
|
|
289
|
+
zeta Psc A and delta Cnc. The European Space Agency's Hipparcos mission
|
|
290
|
+
supplied the underlying observations.
|
|
291
|
+
Credit: ESA
|
|
284
292
|
G. A. Gontcharov 2006, Astronomy Letters 32, 759 (VizieR III/252, Pulkovo
|
|
285
293
|
radial velocities): the radial velocity of zeta Psc A.
|
|
286
294
|
B. Famaey et al. 2005, A&A 430, 165 (VizieR J/A+A/430/165,
|
package/README.md
CHANGED
|
@@ -16,26 +16,29 @@ 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
|
|
20
|
-
(CHANGELOG.md).
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
**2.0.0**, a major release: 2.0.0-rc.6 with the version changed
|
|
20
|
+
(CHANGELOG.md). Callers moving from 1.1.0 should read
|
|
21
|
+
[docs/migrating-to-2.md](docs/migrating-to-2.md). Over 1.1.0 (through
|
|
22
|
+
candidates 2.0.0-rc.1 to 2.0.0-rc.6), it refuses a birth given as a calendar
|
|
23
|
+
date with no time unless `timeKnown` is `false` (*Resolved instant inputs*
|
|
24
|
+
below); refuses common near-miss names for a birth field, such as `lat`,
|
|
25
|
+
`lng`, `houses` and `scale`, which were ignored (*Birth settings* below);
|
|
24
26
|
reads UTC after the IERS UT1 table, which ends on 2027-10-02, on the
|
|
25
27
|
continuous-UTC rule, TT = UTC + 69.184 s (*Time*); reads wall times before
|
|
26
28
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
2025c by the owner's decision; flags a wall time where the device's time zone
|
|
30
|
+
data differs from tzdata 2026f (`host-zone-data-differs`, probing both
|
|
31
|
+
tzdata 2021a and 2025c baselines across 705 spans in 77 names), flags a chart
|
|
32
|
+
whose angles are inside the polar circle (`polar-angles`), flags a local date
|
|
33
|
+
that a calendar changeover may have skipped when given with no country
|
|
34
|
+
(`calendar-unknown`, [docs/time.md](docs/time.md)), and gives each
|
|
35
|
+
`positions()` row the flags `natalChart()` gives at the same instant; adds
|
|
36
|
+
`@zodiacs/engine/core`, the root's functions without the DE440 pack (*Bundle
|
|
37
|
+
size in a web page*), and adds Julian Day Numbers and local mean time from a
|
|
38
|
+
longitude to `@zodiacs/engine/geo`; throws `ERR_ZODIACS_ESM_ONLY` on
|
|
39
|
+
`require()` of any entry point; and throws `RangeError` for an unknown body
|
|
40
|
+
name on every source including root crossing searches. Nothing deprecated is
|
|
41
|
+
removed.
|
|
39
42
|
|
|
40
43
|
**1.1.0**, the release before it, a minor release: 1.1.0-rc.13 with the
|
|
41
44
|
version changed (CHANGELOG.md). It ships a sealed
|
|
@@ -102,8 +105,9 @@ later pass (`fold: "later"` in `@zodiacs/engine/geo`; see
|
|
|
102
105
|
1.1.0-rc.3 added
|
|
103
106
|
`@zodiacs/engine/de440`, positions from JPL's DE440 through a pack the caller
|
|
104
107
|
supplies, which the root's `withEphemeris` puts in place of the default
|
|
105
|
-
source; with `@zodiacs/engine/de440/pack`
|
|
106
|
-
points (see
|
|
108
|
+
source; with `@zodiacs/engine/de440/pack` and 2.0.0-rc.3's
|
|
109
|
+
`@zodiacs/engine/core` there are eighteen public entry points (see
|
|
110
|
+
[docs/de440.md](docs/de440.md)). Over
|
|
107
111
|
1.0.0, natal receipts name their conventions as ids of the Zodiacs
|
|
108
112
|
conventions registry, which a new entry, `@zodiacs/engine/conventions`,
|
|
109
113
|
gives (from 1.1.0-rc.1; see *Draft natal receipts*). 1.1.0-rc.2 added two
|
|
@@ -121,9 +125,9 @@ Install it from npm:
|
|
|
121
125
|
npm install @zodiacs/engine
|
|
122
126
|
```
|
|
123
127
|
|
|
124
|
-
|
|
125
|
-
`artifacts/
|
|
126
|
-
|
|
128
|
+
`artifacts/zodiacs-engine-2.0.0.tgz` in the repository, with its SHA-256
|
|
129
|
+
receipt, is this release's exact archive (`artifacts/README.md` records its
|
|
130
|
+
publication status). 1.1.0 is the previous release; 1.0.0, npm's `latest`
|
|
127
131
|
before 1.1.0, has no `./conventions`, `./time`, `./lite`, `./de440` or DE440
|
|
128
132
|
pack, computes on astronomy-engine and writes no ids.
|
|
129
133
|
|
|
@@ -137,7 +141,7 @@ until 1.0.0, reads 0.1.1-rc.16's too.
|
|
|
137
141
|
The package runs in browsers through a bundler, and in Node.js 20.19.0 or a
|
|
138
142
|
later 20.x, or 22.7.0 or later (`"engines": { "node": "^20.19.0 || >=22.7.0" }`).
|
|
139
143
|
Node.js 20 reached its end of life on 2026-04-30: the package is still tested
|
|
140
|
-
there, but a
|
|
144
|
+
there, but a 2.x minor release may drop it (docs/versioning.md, *Runtimes*).
|
|
141
145
|
Its dependency, astronomy-engine 2.1.19, ships ES modules in a package that does
|
|
142
146
|
not declare `"type": "module"`. Earlier Node versions load that file as
|
|
143
147
|
CommonJS, so a plain Node import of this package fails there with "Named export
|
|
@@ -146,14 +150,31 @@ loads it with a harmless `MODULE_TYPELESS_PACKAGE_JSON` warning, which 22.22.2
|
|
|
146
150
|
no longer prints. Bundlers resolve the dependency's `import` condition
|
|
147
151
|
themselves and are not affected.
|
|
148
152
|
|
|
153
|
+
In the six-runtime conformance check on 2.0.0
|
|
154
|
+
(`docs/evidence/runtime-conformance-2.0.0-20261121/`, suite 0.3.0), all 569
|
|
155
|
+
supported verdicts on both the root and `@zodiacs/engine/core` agreed with
|
|
156
|
+
Node 22.22.2 in Bun 1.4.4, Deno 2.9.6, Chromium 156.0.8078.4, Firefox 157.0
|
|
157
|
+
and WebKit 27.2 (with 71 unsupported vectors: 1 leap-second instant, 30
|
|
158
|
+
stations and 40 lunations). Outputs are not identical to the last bit across
|
|
159
|
+
all runtimes (on the root, 458 of 569 were bit-identical to Node in Bun, Deno,
|
|
160
|
+
Chromium and WebKit, and 569 of 569 in Firefox; on core, 468 in Bun and
|
|
161
|
+
WebKit, 485 in Deno and Chromium, and 540 in Firefox), and synthetic receipt
|
|
162
|
+
digests differ from Node's where outputs differ.
|
|
163
|
+
|
|
164
|
+
The package is ES modules only and has no CommonJS build. `require()` of
|
|
165
|
+
`@zodiacs/engine` or of any of its entry points throws an `Error` with code
|
|
166
|
+
`ERR_ZODIACS_ESM_ONLY` whose message says to use `import`; from CommonJS,
|
|
167
|
+
load it with `await import("@zodiacs/engine")`.
|
|
168
|
+
|
|
149
169
|
From a source checkout, run `npm ci` and `npm run build`, then
|
|
150
170
|
`npm pack --ignore-scripts`. Test the packed file in a clean consumer using
|
|
151
|
-
`npm run consumer:smoke -- /absolute/path/to/zodiacs-engine-2.0.0
|
|
171
|
+
`npm run consumer:smoke -- /absolute/path/to/zodiacs-engine-2.0.0.tgz`.
|
|
152
172
|
The smoke check
|
|
153
173
|
downloads the artifact's public dependencies and TypeScript 5.9.3; its output
|
|
154
174
|
records the artifact hash and runtime, and it removes its temporary consumer
|
|
155
175
|
directory, which must have no `node_modules` above it (set `TMPDIR` if
|
|
156
|
-
needed). A
|
|
176
|
+
needed). A carried archive is published only by the owner via the Release
|
|
177
|
+
workflow.
|
|
157
178
|
|
|
158
179
|
`artifacts/archives.json` records every carried archive: its digest, size, file
|
|
159
180
|
count and the commit it was packed from. On the history it is given, CI checks
|
|
@@ -213,8 +234,8 @@ DE440 pack inside its years and astronomy-engine 2.1.19 elsewhere; where this
|
|
|
213
234
|
document speaks of the ephemeris's accuracy or of its error limits without
|
|
214
235
|
naming DE440, it speaks of astronomy-engine, the fallback and the ephemeris
|
|
215
236
|
of what the pack does not give. See CHANGELOG.md for the release history and
|
|
216
|
-
`docs/evidence/2.0.0-rc.
|
|
217
|
-
(2.0.0-rc.
|
|
237
|
+
`docs/evidence/2.0.0-rc.4-20261120/` for 2.0.0-rc.4's checks (this candidate's package, archive-binding and packed-consumer gates run in CI)
|
|
238
|
+
(2.0.0-rc.3's are in `docs/evidence/2.0.0-rc.3-20261117/`, 2.0.0-rc.2's 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
|
|
218
239
|
`docs/evidence/1.1.0-rc.12-20261115/`, 1.1.0-rc.11's and 1.1.0-rc.10's in
|
|
219
240
|
their own dated folders there, 1.1.0-rc.9's, its superseded draft's, are in
|
|
220
241
|
`docs/evidence/1.1.0-rc.9-20261114/`)
|
|
@@ -568,8 +589,9 @@ unrounded result. See `docs/evidence/rc12-20260928/sources.md`.
|
|
|
568
589
|
### Configurable aspects
|
|
569
590
|
|
|
570
591
|
```ts
|
|
571
|
-
import { createAspectPolicy, findConfiguredAspects } from "@zodiacs/engine";
|
|
592
|
+
import { createAspectPolicy, findConfiguredAspects, natalChart } from "@zodiacs/engine";
|
|
572
593
|
|
|
594
|
+
const chart = natalChart({ utc: "1990-06-15T12:30:00Z" });
|
|
573
595
|
const policy = createAspectPolicy({
|
|
574
596
|
aspects: [
|
|
575
597
|
{ type: "conjunction", orb: 8, luminaryOrb: 10 },
|
|
@@ -647,8 +669,9 @@ boundary decisions can differ from the configured API's at roundoff scale.
|
|
|
647
669
|
### Declinations and parallels
|
|
648
670
|
|
|
649
671
|
```ts
|
|
650
|
-
import { chartDeclinations, findDeclinationAspects } from "@zodiacs/engine";
|
|
672
|
+
import { chartDeclinations, findDeclinationAspects, natalChart } from "@zodiacs/engine";
|
|
651
673
|
|
|
674
|
+
const chart = natalChart({ utc: "1990-06-15T12:30:00Z" });
|
|
652
675
|
const equatorial = chartDeclinations(chart);
|
|
653
676
|
console.log(equatorial.utc, equatorial.deltaT, equatorial.trueObliquity);
|
|
654
677
|
console.log(equatorial.rows); // lon, lat, ra, dec, outOfBounds, boundMarginArcsec
|
|
@@ -1160,8 +1183,10 @@ given. On UTC input with the engine's ΔT the last instant `natalChart`
|
|
|
1160
1183
|
accepts is 3998-09-03T05:58:50.816Z, and the last calc computes is
|
|
1161
1184
|
2199-12-31T23:58:50.815Z (from 2.0.0-rc.3, on the continuous-UTC rule; up to
|
|
1162
1185
|
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
|
|
1164
|
-
build (`docs/evidence/2.0.0-rc.
|
|
1186
|
+
2199-12-31T23:57:53.752Z), measured to the millisecond on 2.0.0-rc.4's
|
|
1187
|
+
build (`docs/evidence/2.0.0-rc.4-20261120/results/span-ends.json`; the same
|
|
1188
|
+
on 2.0.0-rc.3's, `docs/evidence/2.0.0-rc.3-20261117/results/span-ends.json`);
|
|
1189
|
+
they were not measured again for this candidate. astronomy-engine reports any other failure by throwing a string, which
|
|
1165
1190
|
reaches the caller as a `RangeError` whose `cause` is the original value.
|
|
1166
1191
|
|
|
1167
1192
|
Inside the span, results are computed but not verified: accuracy was compared
|
|
@@ -1242,8 +1267,9 @@ tzdata 2025c's history by the owner's decision, because tzdata 2026f's
|
|
|
1242
1267
|
change to it has no NEWS entry; before 1970 its results equal 2.0.0-rc.2's,
|
|
1243
1268
|
but for the `tzdbVersion` they name, "2026f", the package's pinned release,
|
|
1244
1269
|
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
|
|
1246
|
-
|
|
1270
|
+
2.0.0-rc.3 (with 2025c added in 2.0.0-rc.6), near a span in which tzdata 2021a
|
|
1271
|
+
or 2025c gives a different offset from 2026f, the engine asks the host for its
|
|
1272
|
+
offset there and flags the result
|
|
1247
1273
|
`host-zone-data-differs` where it differs from 2026f's
|
|
1248
1274
|
([docs/time.md](docs/time.md), *Host time zone data*); the instant stays the
|
|
1249
1275
|
host's. A `longitude` reads a time in a
|
|
@@ -1301,8 +1327,9 @@ copies into `dist/core.js`) are CC BY 4.0, attributed in [NOTICE](NOTICE).
|
|
|
1301
1327
|
|
|
1302
1328
|
The npm package contains no place database. It carries the DE440 pack
|
|
1303
1329
|
(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
|
|
1305
|
-
from 1970 differ from 2026f's, the IERS leap-second list, an
|
|
1330
|
+
(America/Yellowknife's from tzdb 2025c), a table of where tzdb 2021a's and
|
|
1331
|
+
2025c's offsets from 1970 differ from 2026f's, the IERS leap-second list, an
|
|
1332
|
+
IERS UT1 − UTC
|
|
1306
1333
|
table, a table of Gregorian adoption dates from public-domain sources, 22
|
|
1307
1334
|
catalogue values for the stars of the Vedic ayanamsas, and the IAU 2000B
|
|
1308
1335
|
nutation series from NOVAS C 3.1, a US Government work; [NOTICE](NOTICE)
|
package/dist/calc.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
userAyanamsa,
|
|
8
8
|
wholeSignCusps,
|
|
9
9
|
wrap360
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PSZAKTDL.js";
|
|
11
11
|
import {
|
|
12
12
|
eclipticRows,
|
|
13
13
|
equatorRows
|
|
@@ -26,14 +26,14 @@ import {
|
|
|
26
26
|
meanNodeLongitude,
|
|
27
27
|
onChartClock,
|
|
28
28
|
refuseUnderSource
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-X5ANRWDK.js";
|
|
30
30
|
import {
|
|
31
31
|
dateFrom
|
|
32
32
|
} from "./chunk-CPALRSPC.js";
|
|
33
33
|
import {
|
|
34
34
|
ENGINE_VERSION,
|
|
35
35
|
EPHEMERIS
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SCBK24HR.js";
|
|
37
37
|
import {
|
|
38
38
|
eclipticFrame,
|
|
39
39
|
eclipticOfDate,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ENGINE_VERSION,
|
|
3
3
|
EPHEMERIS,
|
|
4
4
|
findAspects
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SCBK24HR.js";
|
|
6
6
|
import {
|
|
7
7
|
eclipticFrame,
|
|
8
8
|
eclipticOfDate,
|
|
@@ -559,7 +559,13 @@ function longitudeAt(body, ms, clock) {
|
|
|
559
559
|
const basis = basisAt(ms, clock);
|
|
560
560
|
return longitudeOn(body, basis, sourceAt(basis.ttDays));
|
|
561
561
|
}
|
|
562
|
+
function assertKnownBody(body) {
|
|
563
|
+
if (body !== "Moon" && body !== "North Node" && body !== "South Node" && !PLANETS.some((p) => p.name === body)) {
|
|
564
|
+
throw new RangeError(`Unknown body: ${String(body)}`);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
562
567
|
function longitudeOn(body, basis, from, behind) {
|
|
568
|
+
assertKnownBody(body);
|
|
563
569
|
if (from) return sourceLongitude(from, body, basis.ttDays, behind);
|
|
564
570
|
const time = timeOf(basis);
|
|
565
571
|
if (body === "Moon") return moonOfDate(time).lon;
|
|
@@ -567,9 +573,7 @@ function longitudeOn(body, basis, from, behind) {
|
|
|
567
573
|
if (body === "South Node") {
|
|
568
574
|
return normalizeLongitude(trueNodeLongitude(time) + 180);
|
|
569
575
|
}
|
|
570
|
-
|
|
571
|
-
if (!planet) throw new RangeError(`Unknown body: ${body}`);
|
|
572
|
-
return planetOfDate(planet.body, time).lon;
|
|
576
|
+
return planetOfDate(PLANETS.find((p) => p.name === body).body, time).lon;
|
|
573
577
|
}
|
|
574
578
|
function bodyLongitude(body, date) {
|
|
575
579
|
return evaluated(() => longitudeAt(body, date.getTime(), UTC_CLOCK));
|
|
@@ -589,6 +593,7 @@ function centralDifference(longitudeOf, ms, clock, stepDays) {
|
|
|
589
593
|
return difference / elapsedDays(before, after, 2 * stepDays);
|
|
590
594
|
}
|
|
591
595
|
function speedAt(body, ms, clock, from = sourceAt(basisAt(ms, clock).ttDays), behind) {
|
|
596
|
+
assertKnownBody(body);
|
|
592
597
|
const node = body === "North Node" || body === "South Node";
|
|
593
598
|
const stepDays = node ? NODE_SPEED_STEP_DAYS : SPEED_STEP_DAYS;
|
|
594
599
|
const side = from && !node && behind === void 0 ? from.place(body, basisAt(ms, clock).ttDays).behindDisc : behind;
|
|
@@ -839,6 +844,7 @@ export {
|
|
|
839
844
|
refuseUnderSource,
|
|
840
845
|
gastHours,
|
|
841
846
|
onChartClock,
|
|
847
|
+
assertKnownBody,
|
|
842
848
|
bodyLongitude,
|
|
843
849
|
SPEED_STEP_DAYS,
|
|
844
850
|
longitudeSpeed,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SPEED_STEP_DAYS,
|
|
3
|
+
assertKnownBody,
|
|
3
4
|
bodyLongitude,
|
|
4
5
|
computeBodies,
|
|
5
6
|
computeChart,
|
|
@@ -9,7 +10,7 @@ import {
|
|
|
9
10
|
ephemerisAt,
|
|
10
11
|
longitudeSpeed,
|
|
11
12
|
notingFallbacks
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-X5ANRWDK.js";
|
|
13
14
|
import {
|
|
14
15
|
dateFrom
|
|
15
16
|
} from "./chunk-CPALRSPC.js";
|
|
@@ -17,7 +18,7 @@ import {
|
|
|
17
18
|
ASPECT_BODY_SET,
|
|
18
19
|
EPHEMERIS,
|
|
19
20
|
matchAspect
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SCBK24HR.js";
|
|
21
22
|
import {
|
|
22
23
|
TIME_SCALE_NAMES,
|
|
23
24
|
outsideReferenceSpan,
|
|
@@ -55,9 +56,11 @@ function validMilliseconds(date, label) {
|
|
|
55
56
|
return milliseconds;
|
|
56
57
|
}
|
|
57
58
|
function findLongitudeCrossings(body, targetLongitude, from, to, stepDays = 5) {
|
|
59
|
+
assertKnownBody(body);
|
|
58
60
|
return findLongitudeCrossingsWith(bodyLongitude, body, targetLongitude, windowEnd(from, "start"), windowEnd(to, "end"), stepDays);
|
|
59
61
|
}
|
|
60
62
|
function searchLongitudeCrossings(body, targetLongitude, from, to, options) {
|
|
63
|
+
assertKnownBody(body);
|
|
61
64
|
const { value, fallbacks } = notingFallbacks(
|
|
62
65
|
() => searchLongitudeCrossingsWith(bodyLongitude, body, targetLongitude, windowEnd(from, "start"), windowEnd(to, "end"), options)
|
|
63
66
|
);
|
package/dist/core.js
CHANGED
|
@@ -1534,7 +1534,7 @@ function elapsedDays(before, after, days) {
|
|
|
1534
1534
|
}
|
|
1535
1535
|
|
|
1536
1536
|
// src/types.ts
|
|
1537
|
-
var ENGINE_VERSION = "2.0.0
|
|
1537
|
+
var ENGINE_VERSION = "2.0.0";
|
|
1538
1538
|
var EPHEMERIS = /* @__PURE__ */ Object.freeze({ name: "astronomy-engine", version: "2.1.19" });
|
|
1539
1539
|
|
|
1540
1540
|
// src/ephemeris.ts
|
|
@@ -1708,7 +1708,13 @@ function longitudeAt(body, ms, clock) {
|
|
|
1708
1708
|
const basis = basisAt(ms, clock);
|
|
1709
1709
|
return longitudeOn(body, basis, sourceAt(basis.ttDays));
|
|
1710
1710
|
}
|
|
1711
|
+
function assertKnownBody(body) {
|
|
1712
|
+
if (body !== "Moon" && body !== "North Node" && body !== "South Node" && !PLANETS.some((p) => p.name === body)) {
|
|
1713
|
+
throw new RangeError(`Unknown body: ${String(body)}`);
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1711
1716
|
function longitudeOn(body, basis, from, behind) {
|
|
1717
|
+
assertKnownBody(body);
|
|
1712
1718
|
if (from) return sourceLongitude(from, body, basis.ttDays, behind);
|
|
1713
1719
|
const time = timeOf(basis);
|
|
1714
1720
|
if (body === "Moon") return moonOfDate(time).lon;
|
|
@@ -1716,9 +1722,7 @@ function longitudeOn(body, basis, from, behind) {
|
|
|
1716
1722
|
if (body === "South Node") {
|
|
1717
1723
|
return normalizeLongitude(trueNodeLongitude(time) + 180);
|
|
1718
1724
|
}
|
|
1719
|
-
|
|
1720
|
-
if (!planet) throw new RangeError(`Unknown body: ${body}`);
|
|
1721
|
-
return planetOfDate(planet.body, time).lon;
|
|
1725
|
+
return planetOfDate(PLANETS.find((p) => p.name === body).body, time).lon;
|
|
1722
1726
|
}
|
|
1723
1727
|
function bodyLongitude(body, date) {
|
|
1724
1728
|
return evaluated(() => longitudeAt(body, date.getTime(), UTC_CLOCK));
|
|
@@ -1738,6 +1742,7 @@ function centralDifference(longitudeOf, ms, clock, stepDays) {
|
|
|
1738
1742
|
return difference / elapsedDays(before, after, 2 * stepDays);
|
|
1739
1743
|
}
|
|
1740
1744
|
function speedAt(body, ms, clock, from = sourceAt(basisAt(ms, clock).ttDays), behind) {
|
|
1745
|
+
assertKnownBody(body);
|
|
1741
1746
|
const node = body === "North Node" || body === "South Node";
|
|
1742
1747
|
const stepDays = node ? NODE_SPEED_STEP_DAYS : SPEED_STEP_DAYS;
|
|
1743
1748
|
const side = from && !node && behind === void 0 ? from.place(body, basisAt(ms, clock).ttDays).behindDisc : behind;
|
|
@@ -2227,9 +2232,11 @@ function validMilliseconds(date, label) {
|
|
|
2227
2232
|
return milliseconds;
|
|
2228
2233
|
}
|
|
2229
2234
|
function findLongitudeCrossings(body, targetLongitude, from, to, stepDays = 5) {
|
|
2235
|
+
assertKnownBody(body);
|
|
2230
2236
|
return findLongitudeCrossingsWith(bodyLongitude, body, targetLongitude, windowEnd(from, "start"), windowEnd(to, "end"), stepDays);
|
|
2231
2237
|
}
|
|
2232
2238
|
function searchLongitudeCrossings(body, targetLongitude, from, to, options) {
|
|
2239
|
+
assertKnownBody(body);
|
|
2233
2240
|
const { value, fallbacks } = notingFallbacks(
|
|
2234
2241
|
() => searchLongitudeCrossingsWith(bodyLongitude, body, targetLongitude, windowEnd(from, "start"), windowEnd(to, "end"), options)
|
|
2235
2242
|
);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @zodiacs/engine is ES modules only; package.json sends require() of each entry point here.
|
|
3
|
+
throw Object.assign(new Error('@zodiacs/engine is ESM-only: require() cannot load it or any of its entry points. Use import { natalChart } from "@zodiacs/engine", or from CommonJS await import("@zodiacs/engine").'), { code: "ERR_ZODIACS_ESM_ONLY" });
|
package/dist/geo.js
CHANGED
|
@@ -168,7 +168,7 @@ function createGeoNamesClient(options) {
|
|
|
168
168
|
// src/geo/host-probes-data.ts
|
|
169
169
|
var HOST_PROBES_TZDB = "2026f";
|
|
170
170
|
var HOST_PROBES_UNTIL = 18877536e5;
|
|
171
|
-
var HOST_PROBES = "8i4hw:0,7ji4c,bo,0,8fno,0,0,94cvo,bo,0,0,8c;1myovc,9iyn3w:gp2so,5m6c,50,5m9o,5tyc,50,5eho,5tyc,50,5eho,5tyc,50,5m9o,5m6c,50,5m9o,5m6c,50,5m9o,5m6c,50;5w7i17,1g6nwqf:hsov0,43to,-bo,7cec,3w1o,-bo,7cec,3w1o,-bo;9e4lpj:0,23xc0,1o,5m80,7to,1o,5eec,1o,0,13jac,1o,1o,5m6c,1o,0,5m6c,1o,1o,5m6c,1o,0,5m6c,1o,1o,5m6c,1o,0,5m6c,1o,1o,5tyc,1o,0,5m6c,1o,1o,5m6c,1o,0,26uw0,5m80,1o,0,5m80,3c,0,5m80,1o,0,5m80,3c,0,5m80,1o,0,5m80,3c,0,5u00,1o;asrkyp:g159o,69p1,dc,4yqz,69p1,dc,4vjz,0,dc;b5re23,uyfsdo:hsooc,43s0,-6o;ce8zcd,pz5m04,1rhzabd,1ybd2zs:3k8o,5m6c,-bo,5m9o,5tyc,-bo,5m9o,5m6c,-bo,5m9o,5m6c,-bo,25to,92mc,-bo,3o9o,7k6c,-bo;cyn8qr:gjgj0,4r5o,50,6hac,4r5o,50,6hac,4r5o,50,6p2c,4jdo,50,6p2c,4jdo,50,6p2c,4r5o,50,6hac,4r5o,50,6hac,0,50;dcc607,m9wqor:2kzs0,1o,0,5m6c,1o,1o,5m6c,1o,0,b8ec,7to,0,b0mc,1o,1o,5m6c,1o,0,5m6c,1o,1o,5m6c,1o,0,5m6c,3c,1o,5m4o,1o,0,5m6c,1o,1o,5tyc,1o,0,5m6c,1o,1o,5m6c,1o,0;dmmcsr,1lsj5zo:0,dc,-bo,goa1o,6hac,-bo,4yxo,69ic,-bo,4yxo,69ic,-bo,4yxo,69ic,-bo,4yxo,6hac,-bo,4r5o,6hac,-bo,4r5o,0,-bo;f09xr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,b8ec,1o,-8c,b8ec,1o,-8c,bg6c,1o,-8c,b8ec,1o,-8c,6ksec,43to,-8c,7cec,3w1o,-8c,7cec,3w1o,-8c;114oapw:3r0a0,3fc,-a0,9lic,x8o,-a0,cmnx0,6hac,-a0,4yxo,69ic,-a0,4yxo,69ic,-a0,4yxo,69ic,-a0,4yxo,6hac,-a0,4r5o,6hac,-a0,4r5o,0,-a0;119linm:haj90,61to,-50,56mc,61to,-50,5eec,5u1o,-50,5eec,5u1o,-50,5eec,61to,-50;12vs1n5,1ja8aay:g884o,140,3c,4jc0,140,3c,6o00,1o,50,4jac,12zc,3c,5m4o,1o,50,4r2c,nfc,3c,5two,1o,50,4r2c,fnc,3c,61oo,1o,50,4r2c,3c,3c,6h8o,1o,50,4r2c,3c,3c,6p0o,1o,50,4jac,3c,3c,6p0o,1o,50,4jac,3c,3c,6p0o,1o,50;14jvnzr:6f1oo,2t5o,50,b8co,50,50,5m4o,3c,3c,5m30,50,50,5m4o,3c,3c,5m30,50,50,5m4o,3c,3c,5m30,50,50,5m80,1o,50,5m6c,1o,3c,5tyc,1o,50;152flc4,1xhonwb:ghsuo,7s0,-a0;158751h,16xs7vh:hsoro,43to,-8c,7cec,3w1o,-8c,7cec,3w1o,-8c;1719z1x:g8pjc,1y00,k0,9ag0,1y00,k0,9ag0,1y00,k0,9ag0,1y00,k0,9ag0,25s0,k0,92o0,25s0,k0,9ag0,1y00,k0,9ag0,1y00,k0;17r60tt:0,q8ro,-8c,5m6c,5m9o,-8c,5m6c,5m9o,-8c,5m6c,5m9o,-8c,5m6c,5m9o,-8c,5tyc,5eho,-8c,5tyc,5m9o,-8c,5m6c,5m9o,-8c,5m6c,5m80,-8c,0,1o,-8c,0,5m4o,-6o,1o,5m80,-8c,0,1o,-8c,0,5m4o,-6o,1o,5m80,-8c,0,1o,-8c,0,5two,-6o,1o,5eg0,-8c,0,1o,-8c,0,5two,-6o,1o,5m80,-8c,0,1o,-8c,0,5m4o,-6o,1o,5m80,-8c,0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cec,3w1o,-a0;1e6mg61:gjr1c,3w00,-a0,0,1o,-8c,0,7cco,-8c,1o,3w00,-a0,0,1o,-8c,0,7cco,-8c,1o,3w00,-a0,0,1o,-8c,0,7cco,-8c,1o,3w00,-a0,0,1o,-8c,0,7cco,-8c,1o,43s0,-a0,0,1o,-8c,0,7cco,-8c,1o,3w00,-a0,0,1o,-8c,0,7cco,-8c,1o,3w00,-a0,0,1o,-8c,0,0,-8c;1fu3e1j:1qvi9,140,-69,4ttqr,dzdo,-50;1k1j3ly:6zrkc,140,-6o,8n2c,1q80,-8c;1ln5rj6:3k3o,5m6c,-6o,5m9o,5tyc,-6o,5m9o,5m6c,-6o,5m9o,5m6c,-6o;1m8wjwn,1o82kr6:hsotc,43to,-a0,7cec,3w1o,-a0,7cec,3w1o,-a0;1oekpsn:29jk0,5m80,0,5u00,5m80,0,5m80,5m9o,0,5m6c,5m9o,0,5m80,5m80,0,5m80,7qc,0,5eg0,1o,0,5m6c,3c,1o,5m4o,1o,0,5m6c,1o,1o,5tyc,1o,0,5m6c,1o,1o,5m6c,1o,0,5m6c,1o,1o;1qpkgrs:29kao,5hqc,f0,5l5o,5nac,dc,3nhdo,24mc,f0;1tajtnw:q8wo,5m6c,-bo,5m9o,5m6c,-bo,5m9o,5m6c,-bo,5m9o,5m6c,-bo,5m9o,5tyc,-bo,5eho,5tyc,-bo,5m9o,5m6c,-bo,5m9o,5m4o,-a0,epyw0,43to,-a0,7cec,3w1o,-a0,7cec,3w1o,-a0;1vtbk8m:0,2qmj6,-ic;1y6qmtw:6ypgo,3c,3c,5m30,50,50,5m4o,3c,3c,5m30,50,50,5m4o,3c,3c,5m1c,50,6o,5m4o,3c,50,5m30,50,6o";
|
|
172
172
|
|
|
173
173
|
// src/geo/timezone.ts
|
|
174
174
|
var hostAnswers = /* @__PURE__ */ new WeakMap();
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
PROGRESSION_DAYS_PER_YEAR,
|
|
3
3
|
progressedBodies,
|
|
4
4
|
progressedInstant
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZL74QHBE.js";
|
|
6
6
|
import {
|
|
7
7
|
chartDeclinations,
|
|
8
8
|
chartPoints,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
summarizePair,
|
|
20
20
|
synastry,
|
|
21
21
|
transits
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZPHWUFTZ.js";
|
|
23
23
|
import {
|
|
24
24
|
DECLINATION_ORB,
|
|
25
25
|
DECLINATION_ORB_LUMINARY,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
setDefaultEphemeris,
|
|
52
52
|
signOf,
|
|
53
53
|
withEphemeris
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-X5ANRWDK.js";
|
|
55
55
|
import "./chunk-CPALRSPC.js";
|
|
56
56
|
import {
|
|
57
57
|
ASPECTS,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
findAspects,
|
|
65
65
|
matchAspect,
|
|
66
66
|
separation
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-SCBK24HR.js";
|
|
68
68
|
import "./chunk-EEW7746S.js";
|
|
69
69
|
import {
|
|
70
70
|
DELTA_T_IERS_MODEL,
|
package/dist/internal-math.js
CHANGED
package/dist/internal.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
ephemerisOver,
|
|
6
6
|
fallbacksAt,
|
|
7
7
|
longitudeSpeed
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-X5ANRWDK.js";
|
|
9
|
+
import "./chunk-SCBK24HR.js";
|
|
10
10
|
import "./chunk-EEW7746S.js";
|
|
11
11
|
import "./chunk-M65JXRFN.js";
|
|
12
12
|
import "./chunk-UXY4RU57.js";
|
package/dist/receipt.js
CHANGED
package/dist/sky.js
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
gastHours,
|
|
10
10
|
onChartClock,
|
|
11
11
|
refuseUnderSource
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-X5ANRWDK.js";
|
|
13
13
|
import {
|
|
14
14
|
dateFrom
|
|
15
15
|
} from "./chunk-CPALRSPC.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-SCBK24HR.js";
|
|
17
17
|
import "./chunk-EEW7746S.js";
|
|
18
18
|
import {
|
|
19
19
|
outsideReferenceSpan
|
package/dist/techniques.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
natalChart,
|
|
3
3
|
resolvedChart,
|
|
4
4
|
utcOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZPHWUFTZ.js";
|
|
6
6
|
import {
|
|
7
7
|
readOptions
|
|
8
8
|
} from "./chunk-47ERTK5X.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ephemerisOver,
|
|
12
12
|
fallbacksAt,
|
|
13
13
|
midpoint
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-X5ANRWDK.js";
|
|
15
15
|
import {
|
|
16
16
|
dateFrom
|
|
17
17
|
} from "./chunk-CPALRSPC.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
ASPECTS,
|
|
20
20
|
ASPECT_BODY_SET,
|
|
21
21
|
matchAspect
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SCBK24HR.js";
|
|
23
23
|
import "./chunk-EEW7746S.js";
|
|
24
24
|
import {
|
|
25
25
|
outsideReferenceSpan
|
package/dist/timing.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
PROGRESSION_DAYS_PER_YEAR,
|
|
3
3
|
progressedBodies,
|
|
4
4
|
progressedInstant
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZL74QHBE.js";
|
|
6
6
|
import {
|
|
7
7
|
CHALDEAN_ORDER,
|
|
8
8
|
TRADITIONAL_RULERS
|
|
@@ -14,18 +14,18 @@ import {
|
|
|
14
14
|
resolvedChart,
|
|
15
15
|
searchLongitudeCrossings,
|
|
16
16
|
utcOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZPHWUFTZ.js";
|
|
18
18
|
import {
|
|
19
19
|
readOptions
|
|
20
20
|
} from "./chunk-47ERTK5X.js";
|
|
21
21
|
import {
|
|
22
22
|
bodyLongitude,
|
|
23
23
|
fallbacksAt
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-X5ANRWDK.js";
|
|
25
25
|
import {
|
|
26
26
|
dateFrom
|
|
27
27
|
} from "./chunk-CPALRSPC.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-SCBK24HR.js";
|
|
29
29
|
import "./chunk-EEW7746S.js";
|
|
30
30
|
import {
|
|
31
31
|
outsideReferenceSpan
|
package/dist/vedic.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolvedChart
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZPHWUFTZ.js";
|
|
4
4
|
import {
|
|
5
5
|
AYANAMSAS,
|
|
6
6
|
NAKSHATRA_TICKS,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ticksOf,
|
|
19
19
|
userAyanamsa,
|
|
20
20
|
wrap360
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PSZAKTDL.js";
|
|
22
22
|
import {
|
|
23
23
|
readOptions
|
|
24
24
|
} from "./chunk-47ERTK5X.js";
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
meanNodeLongitude,
|
|
28
28
|
onChartClock,
|
|
29
29
|
refuseUnderSource
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-X5ANRWDK.js";
|
|
31
31
|
import {
|
|
32
32
|
dateFrom
|
|
33
33
|
} from "./chunk-CPALRSPC.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-SCBK24HR.js";
|
|
35
35
|
import {
|
|
36
36
|
eclipticOfDate
|
|
37
37
|
} from "./chunk-EEW7746S.js";
|
package/dist/window.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
gastHours,
|
|
5
5
|
onChartClock,
|
|
6
6
|
refuseUnderSource
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X5ANRWDK.js";
|
|
8
8
|
import {
|
|
9
9
|
dateFrom
|
|
10
10
|
} from "./chunk-CPALRSPC.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
ENGINE_VERSION,
|
|
15
15
|
matchAspect,
|
|
16
16
|
separation
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SCBK24HR.js";
|
|
18
18
|
import "./chunk-EEW7746S.js";
|
|
19
19
|
import {
|
|
20
20
|
REFERENCE_SPAN,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zodiacs/engine",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Browser-first astrology calculations used by Zodiacs.org: tropical charts; one calculation API with bounds and receipts in ./calc; birth-time windows in ./window; returns, relationship charts, the void-of-course Moon, patterns and dignities in ./techniques; house positions and cusp speeds in ./houses; rise, set, transit and planetary hours in ./sky; Hellenistic timing techniques and planetary returns in ./timing; the time basis and the frame of date, without the ephemeris, in ./time; declination parallels, sect, composite midpoints and dignities, without the ephemeris, in ./lite; positions from JPL's DE440 by default, from a pack it ships (./de440/pack), or from a caller's pack in ./de440; the root's functions on astronomy-engine, without the DE440 pack, in ./core; and the sidereal zodiac and Jyotish techniques in ./vedic.",
|
|
5
5
|
"license": "MIT AND CC-BY-4.0",
|
|
6
6
|
"keywords": [
|
|
@@ -27,88 +27,109 @@
|
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
29
|
"types": "./dist/index.d.ts",
|
|
30
|
-
"import": "./dist/index.js"
|
|
30
|
+
"import": "./dist/index.js",
|
|
31
|
+
"require": "./dist/esm-only.cjs"
|
|
31
32
|
},
|
|
32
33
|
"./calc": {
|
|
33
34
|
"types": "./dist/calc.d.ts",
|
|
34
|
-
"import": "./dist/calc.js"
|
|
35
|
+
"import": "./dist/calc.js",
|
|
36
|
+
"require": "./dist/esm-only.cjs"
|
|
35
37
|
},
|
|
36
38
|
"./conventions": {
|
|
37
39
|
"types": "./dist/conventions.d.ts",
|
|
38
|
-
"import": "./dist/conventions.js"
|
|
40
|
+
"import": "./dist/conventions.js",
|
|
41
|
+
"require": "./dist/esm-only.cjs"
|
|
39
42
|
},
|
|
40
43
|
"./core": {
|
|
41
44
|
"types": "./dist/core.d.ts",
|
|
42
|
-
"import": "./dist/core.js"
|
|
45
|
+
"import": "./dist/core.js",
|
|
46
|
+
"require": "./dist/esm-only.cjs"
|
|
43
47
|
},
|
|
44
48
|
"./crossings": {
|
|
45
49
|
"types": "./dist/crossings.d.ts",
|
|
46
|
-
"import": "./dist/crossings.js"
|
|
50
|
+
"import": "./dist/crossings.js",
|
|
51
|
+
"require": "./dist/esm-only.cjs"
|
|
47
52
|
},
|
|
48
53
|
"./deltat": {
|
|
49
54
|
"types": "./dist/deltat.d.ts",
|
|
50
|
-
"import": "./dist/deltat.js"
|
|
55
|
+
"import": "./dist/deltat.js",
|
|
56
|
+
"require": "./dist/esm-only.cjs"
|
|
51
57
|
},
|
|
52
58
|
"./geo": {
|
|
53
59
|
"types": "./dist/geo.d.ts",
|
|
54
|
-
"import": "./dist/geo.js"
|
|
60
|
+
"import": "./dist/geo.js",
|
|
61
|
+
"require": "./dist/esm-only.cjs"
|
|
55
62
|
},
|
|
56
63
|
"./houses": {
|
|
57
64
|
"types": "./dist/houses-extra.d.ts",
|
|
58
|
-
"import": "./dist/houses-extra.js"
|
|
65
|
+
"import": "./dist/houses-extra.js",
|
|
66
|
+
"require": "./dist/esm-only.cjs"
|
|
59
67
|
},
|
|
60
68
|
"./internal": {
|
|
61
69
|
"types": "./dist/internal.d.ts",
|
|
62
|
-
"import": "./dist/internal.js"
|
|
70
|
+
"import": "./dist/internal.js",
|
|
71
|
+
"require": "./dist/esm-only.cjs"
|
|
63
72
|
},
|
|
64
73
|
"./internal/math": {
|
|
65
74
|
"types": "./dist/internal-math.d.ts",
|
|
66
|
-
"import": "./dist/internal-math.js"
|
|
75
|
+
"import": "./dist/internal-math.js",
|
|
76
|
+
"require": "./dist/esm-only.cjs"
|
|
67
77
|
},
|
|
68
78
|
"./lite": {
|
|
69
79
|
"types": "./dist/lite.d.ts",
|
|
70
|
-
"import": "./dist/lite.js"
|
|
80
|
+
"import": "./dist/lite.js",
|
|
81
|
+
"require": "./dist/esm-only.cjs"
|
|
71
82
|
},
|
|
72
83
|
"./receipt": {
|
|
73
84
|
"types": "./dist/receipt.d.ts",
|
|
74
|
-
"import": "./dist/receipt.js"
|
|
85
|
+
"import": "./dist/receipt.js",
|
|
86
|
+
"require": "./dist/esm-only.cjs"
|
|
75
87
|
},
|
|
76
88
|
"./sky": {
|
|
77
89
|
"types": "./dist/sky.d.ts",
|
|
78
|
-
"import": "./dist/sky.js"
|
|
90
|
+
"import": "./dist/sky.js",
|
|
91
|
+
"require": "./dist/esm-only.cjs"
|
|
79
92
|
},
|
|
80
93
|
"./techniques": {
|
|
81
94
|
"types": "./dist/techniques.d.ts",
|
|
82
|
-
"import": "./dist/techniques.js"
|
|
95
|
+
"import": "./dist/techniques.js",
|
|
96
|
+
"require": "./dist/esm-only.cjs"
|
|
83
97
|
},
|
|
84
98
|
"./time": {
|
|
85
99
|
"types": "./dist/time.d.ts",
|
|
86
|
-
"import": "./dist/time.js"
|
|
100
|
+
"import": "./dist/time.js",
|
|
101
|
+
"require": "./dist/esm-only.cjs"
|
|
87
102
|
},
|
|
88
103
|
"./de440": {
|
|
89
104
|
"types": "./dist/de440.d.ts",
|
|
90
|
-
"import": "./dist/de440.js"
|
|
105
|
+
"import": "./dist/de440.js",
|
|
106
|
+
"require": "./dist/esm-only.cjs"
|
|
91
107
|
},
|
|
92
108
|
"./de440/pack": {
|
|
93
109
|
"types": "./dist/de440-pack.d.ts",
|
|
94
|
-
"import": "./dist/de440-pack.js"
|
|
110
|
+
"import": "./dist/de440-pack.js",
|
|
111
|
+
"require": "./dist/esm-only.cjs"
|
|
95
112
|
},
|
|
96
113
|
"./timing": {
|
|
97
114
|
"types": "./dist/timing.d.ts",
|
|
98
|
-
"import": "./dist/timing.js"
|
|
115
|
+
"import": "./dist/timing.js",
|
|
116
|
+
"require": "./dist/esm-only.cjs"
|
|
99
117
|
},
|
|
100
118
|
"./vedic": {
|
|
101
119
|
"types": "./dist/vedic.d.ts",
|
|
102
|
-
"import": "./dist/vedic.js"
|
|
120
|
+
"import": "./dist/vedic.js",
|
|
121
|
+
"require": "./dist/esm-only.cjs"
|
|
103
122
|
},
|
|
104
123
|
"./window": {
|
|
105
124
|
"types": "./dist/window.d.ts",
|
|
106
|
-
"import": "./dist/window.js"
|
|
125
|
+
"import": "./dist/window.js",
|
|
126
|
+
"require": "./dist/esm-only.cjs"
|
|
107
127
|
}
|
|
108
128
|
},
|
|
109
129
|
"files": [
|
|
110
130
|
"dist/*.d.ts",
|
|
111
131
|
"dist/*.js",
|
|
132
|
+
"dist/esm-only.cjs",
|
|
112
133
|
"README.md",
|
|
113
134
|
"CHANGELOG.md",
|
|
114
135
|
"LICENSE",
|
|
@@ -122,7 +143,7 @@
|
|
|
122
143
|
"access": "public"
|
|
123
144
|
},
|
|
124
145
|
"scripts": {
|
|
125
|
-
"build": "tsup src/index.ts src/crossings.ts src/deltat.ts src/geo.ts src/receipt.ts src/techniques.ts src/timing.ts src/vedic.ts src/internal.ts src/internal-math.ts src/calc.ts src/window.ts src/houses-extra.ts src/sky.ts src/conventions.ts src/time.ts src/de440.ts src/de440-pack.ts --format esm --dts --clean --splitting --metafile --tsconfig tsconfig.build.json && node scripts/build-lite.mjs && node scripts/build-core.mjs",
|
|
146
|
+
"build": "tsup src/index.ts src/crossings.ts src/deltat.ts src/geo.ts src/receipt.ts src/techniques.ts src/timing.ts src/vedic.ts src/internal.ts src/internal-math.ts src/calc.ts src/window.ts src/houses-extra.ts src/sky.ts src/conventions.ts src/time.ts src/de440.ts src/de440-pack.ts --format esm --dts --clean --splitting --metafile --tsconfig tsconfig.build.json && node scripts/build-lite.mjs && node scripts/build-core.mjs && node scripts/build-esm-only.mjs",
|
|
126
147
|
"docs": "typedoc --options typedoc.json",
|
|
127
148
|
"exports:smoke": "node scripts/module-resolution-smoke.mjs",
|
|
128
149
|
"consumer:smoke": "node scripts/verify-packed-consumer.mjs",
|