@zodiacs/engine 2.0.0 → 2.1.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 +16 -0
- package/README.md +6 -0
- package/dist/calc.d.ts +62 -1
- package/dist/calc.js +791 -898
- package/dist/{chunk-X5ANRWDK.js → chunk-BPZVUBFC.js} +1 -1
- package/dist/{chunk-ZL74QHBE.js → chunk-HBC2ZX6N.js} +1 -1
- package/dist/{chunk-PSZAKTDL.js → chunk-JRMBVSRS.js} +1 -1
- package/dist/{chunk-SCBK24HR.js → chunk-OWF2QKB4.js} +1 -1
- package/dist/{chunk-ZPHWUFTZ.js → chunk-RRZYCXWT.js} +3 -3
- package/dist/{chunk-TSS2SZWQ.js → chunk-U5P32ZD3.js} +34 -36
- package/dist/core.js +34 -37
- package/dist/crossings.js +1 -1
- package/dist/index.js +5 -5
- package/dist/internal-math.js +1 -1
- package/dist/internal.js +2 -2
- package/dist/receipt.js +1 -1
- package/dist/sky.js +3 -3
- package/dist/techniques.js +4 -4
- package/dist/timing.js +5 -5
- package/dist/vedic.js +5 -5
- package/dist/window.js +2 -2
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ephemerisAt,
|
|
11
11
|
longitudeSpeed,
|
|
12
12
|
notingFallbacks
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BPZVUBFC.js";
|
|
14
14
|
import {
|
|
15
15
|
dateFrom
|
|
16
16
|
} from "./chunk-CPALRSPC.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ASPECT_BODY_SET,
|
|
19
19
|
EPHEMERIS,
|
|
20
20
|
matchAspect
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OWF2QKB4.js";
|
|
22
22
|
import {
|
|
23
23
|
TIME_SCALE_NAMES,
|
|
24
24
|
outsideReferenceSpan,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
findLongitudeCrossingsWith,
|
|
29
29
|
searchLongitudeCrossingsWith
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-U5P32ZD3.js";
|
|
31
31
|
import {
|
|
32
32
|
POLAR_FALLBACK,
|
|
33
33
|
isPolarUndefinedHouseSystem,
|
|
@@ -1,11 +1,31 @@
|
|
|
1
|
+
// src/search-samples.ts
|
|
2
|
+
function sampleCrossings(count, maxSamples, valueAt, invalid, solve2) {
|
|
3
|
+
let samples = 0;
|
|
4
|
+
const refused = { status: "refused", reason: "sample-budget", samples, maxSamples, crossings: [] };
|
|
5
|
+
if (count > maxSamples) return refused;
|
|
6
|
+
const sample = (time) => {
|
|
7
|
+
if (samples >= maxSamples) throw refused;
|
|
8
|
+
samples += 1;
|
|
9
|
+
const value = valueAt(time);
|
|
10
|
+
if (!Number.isFinite(value)) throw new RangeError(invalid);
|
|
11
|
+
return value;
|
|
12
|
+
};
|
|
13
|
+
try {
|
|
14
|
+
const crossings = count === 0 ? [] : solve2(sample);
|
|
15
|
+
return { status: "complete", crossings, samples };
|
|
16
|
+
} catch (error) {
|
|
17
|
+
if (error !== refused) throw error;
|
|
18
|
+
refused.samples = samples;
|
|
19
|
+
return refused;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
1
23
|
// src/crossings.ts
|
|
2
24
|
var DAY = 864e5;
|
|
3
25
|
var REFINE_STEPS = 24;
|
|
4
26
|
var EDGE_PROBE_MAX_MS = 6e4;
|
|
5
27
|
var DUPLICATE_MS = 1e3;
|
|
6
28
|
var GOLDEN = (Math.sqrt(5) - 1) / 2;
|
|
7
|
-
var SampleBudgetReached = class {
|
|
8
|
-
};
|
|
9
29
|
function signedDelta(from, to) {
|
|
10
30
|
const difference = ((to - from) % 360 + 360) % 360;
|
|
11
31
|
return difference > 180 ? difference - 360 : difference;
|
|
@@ -29,8 +49,7 @@ function reachOf(before, middle, after) {
|
|
|
29
49
|
return 2 * Math.abs(g1 / h1 - g0 / h0) / (h0 + h1) * Math.max(h0, h1) ** 2;
|
|
30
50
|
}
|
|
31
51
|
function windowTime(date, label) {
|
|
32
|
-
|
|
33
|
-
const milliseconds = Date.prototype.getTime.call(date);
|
|
52
|
+
const milliseconds = date instanceof Date ? Date.prototype.getTime.call(date) : NaN;
|
|
34
53
|
if (!Number.isFinite(milliseconds)) throw new RangeError(`${label} must be a valid Date.`);
|
|
35
54
|
return milliseconds;
|
|
36
55
|
}
|
|
@@ -39,7 +58,7 @@ function validWindow(targetLongitude, from, to, stepDays) {
|
|
|
39
58
|
const toTime = windowTime(to, "Crossing window end");
|
|
40
59
|
if (fromTime > toTime) throw new RangeError("Crossing window must have from <= to.");
|
|
41
60
|
if (!Number.isFinite(targetLongitude)) throw new RangeError("targetLongitude must be finite.");
|
|
42
|
-
if (
|
|
61
|
+
if (!Number.isFinite(stepDays) || stepDays <= 0) {
|
|
43
62
|
throw new RangeError("stepDays must be positive.");
|
|
44
63
|
}
|
|
45
64
|
const step = stepDays * DAY;
|
|
@@ -48,11 +67,8 @@ function validWindow(targetLongitude, from, to, stepDays) {
|
|
|
48
67
|
}
|
|
49
68
|
return { fromTime, toTime, step };
|
|
50
69
|
}
|
|
51
|
-
function validBudget(maxSamples) {
|
|
52
|
-
if (maxSamples
|
|
53
|
-
return Number.POSITIVE_INFINITY;
|
|
54
|
-
}
|
|
55
|
-
if (!Number.isInteger(maxSamples) || maxSamples < 1) {
|
|
70
|
+
function validBudget(maxSamples = Infinity) {
|
|
71
|
+
if (maxSamples !== Infinity && (!Number.isInteger(maxSamples) || maxSamples < 1)) {
|
|
56
72
|
throw new RangeError("maxSamples must be a positive integer or Infinity.");
|
|
57
73
|
}
|
|
58
74
|
return maxSamples;
|
|
@@ -182,33 +198,14 @@ function solve(longitudeAt, targetLongitude, { fromTime, toTime, step }, count)
|
|
|
182
198
|
return crossings;
|
|
183
199
|
}
|
|
184
200
|
function run(longitudeAt, body, targetLongitude, window, maxSamples) {
|
|
185
|
-
const
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
samples: samples2,
|
|
201
|
+
const count = window.toTime === window.fromTime ? 0 : coarseSampleCount(window);
|
|
202
|
+
return sampleCrossings(
|
|
203
|
+
count,
|
|
189
204
|
maxSamples,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
if (count > maxSamples) return refused(0);
|
|
195
|
-
let samples = 0;
|
|
196
|
-
const sample = (time) => {
|
|
197
|
-
if (samples >= maxSamples) throw new SampleBudgetReached();
|
|
198
|
-
samples += 1;
|
|
199
|
-
const longitude = longitudeAt(body, new Date(time));
|
|
200
|
-
if (!Number.isFinite(longitude)) {
|
|
201
|
-
throw new RangeError("Ephemeris returned a non-finite longitude.");
|
|
202
|
-
}
|
|
203
|
-
return longitude;
|
|
204
|
-
};
|
|
205
|
-
try {
|
|
206
|
-
const crossings = solve(sample, targetLongitude, window, count);
|
|
207
|
-
return { status: "complete", crossings, samples };
|
|
208
|
-
} catch (error) {
|
|
209
|
-
if (error instanceof SampleBudgetReached) return refused(samples);
|
|
210
|
-
throw error;
|
|
211
|
-
}
|
|
205
|
+
(time) => longitudeAt(body, new Date(time)),
|
|
206
|
+
"Ephemeris returned a non-finite longitude.",
|
|
207
|
+
(sample) => solve(sample, targetLongitude, window, count)
|
|
208
|
+
);
|
|
212
209
|
}
|
|
213
210
|
function findLongitudeCrossingsWith(longitudeAt, body, targetLongitude, from, to, stepDays = 5) {
|
|
214
211
|
const window = validWindow(targetLongitude, from, to, stepDays);
|
|
@@ -232,6 +229,7 @@ function searchLongitudeCrossingsWith(longitudeAt, body, targetLongitude, from,
|
|
|
232
229
|
}
|
|
233
230
|
|
|
234
231
|
export {
|
|
232
|
+
sampleCrossings,
|
|
235
233
|
findLongitudeCrossingsWith,
|
|
236
234
|
searchLongitudeCrossingsWith
|
|
237
235
|
};
|
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.
|
|
1537
|
+
var ENGINE_VERSION = "2.1.0";
|
|
1538
1538
|
var EPHEMERIS = /* @__PURE__ */ Object.freeze({ name: "astronomy-engine", version: "2.1.19" });
|
|
1539
1539
|
|
|
1540
1540
|
// src/ephemeris.ts
|
|
@@ -1955,14 +1955,34 @@ function pointsAt(chart) {
|
|
|
1955
1955
|
return { sect, points };
|
|
1956
1956
|
}
|
|
1957
1957
|
|
|
1958
|
+
// src/search-samples.ts
|
|
1959
|
+
function sampleCrossings(count, maxSamples, valueAt, invalid, solve2) {
|
|
1960
|
+
let samples = 0;
|
|
1961
|
+
const refused = { status: "refused", reason: "sample-budget", samples, maxSamples, crossings: [] };
|
|
1962
|
+
if (count > maxSamples) return refused;
|
|
1963
|
+
const sample2 = (time) => {
|
|
1964
|
+
if (samples >= maxSamples) throw refused;
|
|
1965
|
+
samples += 1;
|
|
1966
|
+
const value = valueAt(time);
|
|
1967
|
+
if (!Number.isFinite(value)) throw new RangeError(invalid);
|
|
1968
|
+
return value;
|
|
1969
|
+
};
|
|
1970
|
+
try {
|
|
1971
|
+
const crossings = count === 0 ? [] : solve2(sample2);
|
|
1972
|
+
return { status: "complete", crossings, samples };
|
|
1973
|
+
} catch (error) {
|
|
1974
|
+
if (error !== refused) throw error;
|
|
1975
|
+
refused.samples = samples;
|
|
1976
|
+
return refused;
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1958
1980
|
// src/crossings.ts
|
|
1959
1981
|
var DAY3 = 864e5;
|
|
1960
1982
|
var REFINE_STEPS = 24;
|
|
1961
1983
|
var EDGE_PROBE_MAX_MS = 6e4;
|
|
1962
1984
|
var DUPLICATE_MS = 1e3;
|
|
1963
1985
|
var GOLDEN = (Math.sqrt(5) - 1) / 2;
|
|
1964
|
-
var SampleBudgetReached = class {
|
|
1965
|
-
};
|
|
1966
1986
|
function signedDelta(from, to) {
|
|
1967
1987
|
const difference = ((to - from) % 360 + 360) % 360;
|
|
1968
1988
|
return difference > 180 ? difference - 360 : difference;
|
|
@@ -1986,8 +2006,7 @@ function reachOf(before, middle, after) {
|
|
|
1986
2006
|
return 2 * Math.abs(g1 / h1 - g0 / h0) / (h0 + h1) * Math.max(h0, h1) ** 2;
|
|
1987
2007
|
}
|
|
1988
2008
|
function windowTime(date, label) {
|
|
1989
|
-
|
|
1990
|
-
const milliseconds = Date.prototype.getTime.call(date);
|
|
2009
|
+
const milliseconds = date instanceof Date ? Date.prototype.getTime.call(date) : NaN;
|
|
1991
2010
|
if (!Number.isFinite(milliseconds)) throw new RangeError(`${label} must be a valid Date.`);
|
|
1992
2011
|
return milliseconds;
|
|
1993
2012
|
}
|
|
@@ -1996,7 +2015,7 @@ function validWindow(targetLongitude, from, to, stepDays) {
|
|
|
1996
2015
|
const toTime = windowTime(to, "Crossing window end");
|
|
1997
2016
|
if (fromTime > toTime) throw new RangeError("Crossing window must have from <= to.");
|
|
1998
2017
|
if (!Number.isFinite(targetLongitude)) throw new RangeError("targetLongitude must be finite.");
|
|
1999
|
-
if (
|
|
2018
|
+
if (!Number.isFinite(stepDays) || stepDays <= 0) {
|
|
2000
2019
|
throw new RangeError("stepDays must be positive.");
|
|
2001
2020
|
}
|
|
2002
2021
|
const step = stepDays * DAY3;
|
|
@@ -2005,11 +2024,8 @@ function validWindow(targetLongitude, from, to, stepDays) {
|
|
|
2005
2024
|
}
|
|
2006
2025
|
return { fromTime, toTime, step };
|
|
2007
2026
|
}
|
|
2008
|
-
function validBudget(maxSamples) {
|
|
2009
|
-
if (maxSamples
|
|
2010
|
-
return Number.POSITIVE_INFINITY;
|
|
2011
|
-
}
|
|
2012
|
-
if (!Number.isInteger(maxSamples) || maxSamples < 1) {
|
|
2027
|
+
function validBudget(maxSamples = Infinity) {
|
|
2028
|
+
if (maxSamples !== Infinity && (!Number.isInteger(maxSamples) || maxSamples < 1)) {
|
|
2013
2029
|
throw new RangeError("maxSamples must be a positive integer or Infinity.");
|
|
2014
2030
|
}
|
|
2015
2031
|
return maxSamples;
|
|
@@ -2139,33 +2155,14 @@ function solve(longitudeAt2, targetLongitude, { fromTime, toTime, step }, count)
|
|
|
2139
2155
|
return crossings;
|
|
2140
2156
|
}
|
|
2141
2157
|
function run(longitudeAt2, body, targetLongitude, window, maxSamples) {
|
|
2142
|
-
const
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
samples: samples2,
|
|
2158
|
+
const count = window.toTime === window.fromTime ? 0 : coarseSampleCount(window);
|
|
2159
|
+
return sampleCrossings(
|
|
2160
|
+
count,
|
|
2146
2161
|
maxSamples,
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
if (count > maxSamples) return refused(0);
|
|
2152
|
-
let samples = 0;
|
|
2153
|
-
const sample2 = (time) => {
|
|
2154
|
-
if (samples >= maxSamples) throw new SampleBudgetReached();
|
|
2155
|
-
samples += 1;
|
|
2156
|
-
const longitude = longitudeAt2(body, new Date(time));
|
|
2157
|
-
if (!Number.isFinite(longitude)) {
|
|
2158
|
-
throw new RangeError("Ephemeris returned a non-finite longitude.");
|
|
2159
|
-
}
|
|
2160
|
-
return longitude;
|
|
2161
|
-
};
|
|
2162
|
-
try {
|
|
2163
|
-
const crossings = solve(sample2, targetLongitude, window, count);
|
|
2164
|
-
return { status: "complete", crossings, samples };
|
|
2165
|
-
} catch (error) {
|
|
2166
|
-
if (error instanceof SampleBudgetReached) return refused(samples);
|
|
2167
|
-
throw error;
|
|
2168
|
-
}
|
|
2162
|
+
(time) => longitudeAt2(body, new Date(time)),
|
|
2163
|
+
"Ephemeris returned a non-finite longitude.",
|
|
2164
|
+
(sample2) => solve(sample2, targetLongitude, window, count)
|
|
2165
|
+
);
|
|
2169
2166
|
}
|
|
2170
2167
|
function findLongitudeCrossingsWith(longitudeAt2, body, targetLongitude, from, to, stepDays = 5) {
|
|
2171
2168
|
const window = validWindow(targetLongitude, from, to, stepDays);
|
package/dist/crossings.js
CHANGED
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-HBC2ZX6N.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-RRZYCXWT.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-BPZVUBFC.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-OWF2QKB4.js";
|
|
68
68
|
import "./chunk-EEW7746S.js";
|
|
69
69
|
import {
|
|
70
70
|
DELTA_T_IERS_MODEL,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
import {
|
|
76
76
|
findLongitudeCrossingsWith,
|
|
77
77
|
searchLongitudeCrossingsWith
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-U5P32ZD3.js";
|
|
79
79
|
import "./chunk-UXY4RU57.js";
|
|
80
80
|
import "./chunk-HNVGWN3S.js";
|
|
81
81
|
import "./chunk-CV53HA7R.js";
|
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-BPZVUBFC.js";
|
|
9
|
+
import "./chunk-OWF2QKB4.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,18 +9,18 @@ import {
|
|
|
9
9
|
gastHours,
|
|
10
10
|
onChartClock,
|
|
11
11
|
refuseUnderSource
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BPZVUBFC.js";
|
|
13
13
|
import {
|
|
14
14
|
dateFrom
|
|
15
15
|
} from "./chunk-CPALRSPC.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-OWF2QKB4.js";
|
|
17
17
|
import "./chunk-EEW7746S.js";
|
|
18
18
|
import {
|
|
19
19
|
outsideReferenceSpan
|
|
20
20
|
} from "./chunk-M65JXRFN.js";
|
|
21
21
|
import {
|
|
22
22
|
searchLongitudeCrossingsWith
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-U5P32ZD3.js";
|
|
24
24
|
import "./chunk-UXY4RU57.js";
|
|
25
25
|
import "./chunk-HNVGWN3S.js";
|
|
26
26
|
import "./chunk-CV53HA7R.js";
|
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-RRZYCXWT.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-BPZVUBFC.js";
|
|
15
15
|
import {
|
|
16
16
|
dateFrom
|
|
17
17
|
} from "./chunk-CPALRSPC.js";
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
ASPECTS,
|
|
20
20
|
ASPECT_BODY_SET,
|
|
21
21
|
matchAspect
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OWF2QKB4.js";
|
|
23
23
|
import "./chunk-EEW7746S.js";
|
|
24
24
|
import {
|
|
25
25
|
outsideReferenceSpan
|
|
26
26
|
} from "./chunk-M65JXRFN.js";
|
|
27
27
|
import {
|
|
28
28
|
findLongitudeCrossingsWith
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-U5P32ZD3.js";
|
|
30
30
|
import "./chunk-UXY4RU57.js";
|
|
31
31
|
import "./chunk-HNVGWN3S.js";
|
|
32
32
|
import "./chunk-CV53HA7R.js";
|
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-HBC2ZX6N.js";
|
|
6
6
|
import {
|
|
7
7
|
CHALDEAN_ORDER,
|
|
8
8
|
TRADITIONAL_RULERS
|
|
@@ -14,23 +14,23 @@ import {
|
|
|
14
14
|
resolvedChart,
|
|
15
15
|
searchLongitudeCrossings,
|
|
16
16
|
utcOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RRZYCXWT.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-BPZVUBFC.js";
|
|
25
25
|
import {
|
|
26
26
|
dateFrom
|
|
27
27
|
} from "./chunk-CPALRSPC.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-OWF2QKB4.js";
|
|
29
29
|
import "./chunk-EEW7746S.js";
|
|
30
30
|
import {
|
|
31
31
|
outsideReferenceSpan
|
|
32
32
|
} from "./chunk-M65JXRFN.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-U5P32ZD3.js";
|
|
34
34
|
import "./chunk-UXY4RU57.js";
|
|
35
35
|
import "./chunk-HNVGWN3S.js";
|
|
36
36
|
import "./chunk-CV53HA7R.js";
|
package/dist/vedic.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolvedChart
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RRZYCXWT.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-JRMBVSRS.js";
|
|
22
22
|
import {
|
|
23
23
|
readOptions
|
|
24
24
|
} from "./chunk-47ERTK5X.js";
|
|
@@ -27,18 +27,18 @@ import {
|
|
|
27
27
|
meanNodeLongitude,
|
|
28
28
|
onChartClock,
|
|
29
29
|
refuseUnderSource
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BPZVUBFC.js";
|
|
31
31
|
import {
|
|
32
32
|
dateFrom
|
|
33
33
|
} from "./chunk-CPALRSPC.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-OWF2QKB4.js";
|
|
35
35
|
import {
|
|
36
36
|
eclipticOfDate
|
|
37
37
|
} from "./chunk-EEW7746S.js";
|
|
38
38
|
import {
|
|
39
39
|
timeBasis
|
|
40
40
|
} from "./chunk-M65JXRFN.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-U5P32ZD3.js";
|
|
42
42
|
import "./chunk-UXY4RU57.js";
|
|
43
43
|
import "./chunk-HNVGWN3S.js";
|
|
44
44
|
import {
|
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-BPZVUBFC.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-OWF2QKB4.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.
|
|
3
|
+
"version": "2.1.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": [
|