panchang-ts 5.1.0 → 5.1.1
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/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Pure TypeScript Hindu Panchang (almanac), Jyotish, and Birth Chart calculations.
|
|
7
7
|
Zero runtime dependencies. Works offline in React Native (Hermes), Node.js, and browsers.
|
|
8
8
|
|
|
9
|
-
**Fast** (~0.25 ms trimmed, ~0.41 ms full) · **Typed** (full TypeScript) · **Offline** (pure JS math) · **8,
|
|
9
|
+
**Fast** (~0.25 ms trimmed, ~0.41 ms full) · **Typed** (full TypeScript) · **Offline** (pure JS math) · **8,772 tests across 137 files**
|
|
10
10
|
|
|
11
11
|
> 📖 **Full documentation: [dharmagya.app/docs/panchang-ts](https://dharmagya.app/docs/panchang-ts)**
|
|
12
12
|
> This README covers install, quick start, and the 5.0 → 5.1 and 4.x → 5 migrations in full,
|
|
@@ -130,10 +130,10 @@ Ekadashi split. For reliable festival dating, use `getDailyPanchang`.
|
|
|
130
130
|
|
|
131
131
|
---
|
|
132
132
|
|
|
133
|
-
## Upgrading
|
|
133
|
+
## Upgrading to 5.1 — part 2
|
|
134
134
|
|
|
135
135
|
Two deliberate type breaks, both correcting fields that did not match
|
|
136
|
-
DrikPanchang (the project's parity oracle), in the same style as
|
|
136
|
+
DrikPanchang (the project's parity oracle), in the same style as part 1's
|
|
137
137
|
`varjyam` break.
|
|
138
138
|
|
|
139
139
|
### `inauspicious.durMuhurta` is now `DurMuhurtaPeriod[]`
|
|
@@ -208,7 +208,7 @@ CHANGELOG for each rule and its drik evidence.
|
|
|
208
208
|
|
|
209
209
|
---
|
|
210
210
|
|
|
211
|
-
## Upgrading from 5.0
|
|
211
|
+
## Upgrading to 5.1 — part 1 (from 5.0)
|
|
212
212
|
|
|
213
213
|
One deliberate type break, two corrected dasha tables, and one opt-in flag.
|
|
214
214
|
|
|
@@ -877,7 +877,7 @@ InteractionManager.runAfterInteractions(() => {
|
|
|
877
877
|
|
|
878
878
|
📖 [Full accuracy notes →](https://dharmagya.app/docs/panchang-ts/accuracy)
|
|
879
879
|
|
|
880
|
-
8,
|
|
880
|
+
8,772 tests across 137 files, including fixtures cross-verified against reference
|
|
881
881
|
panchang calculations spanning 2025–2026 across 10 Indian cities plus New York,
|
|
882
882
|
London, Sydney, Dubai, Singapore (diaspora fixtures cover DST on
|
|
883
883
|
`America/New_York`).
|
package/package.json
CHANGED