@hebcal/core 5.4.3 → 5.4.5
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 +261 -301
- package/dist/bundle.js +214 -150
- package/dist/bundle.min.js +2 -2
- package/dist/index.cjs +218 -157
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +218 -157
- package/dist/pkgVersion.d.ts +1 -1
- package/dist/sedra.d.ts +2 -0
- package/dist/tachanun.d.ts +3 -0
- package/dist/zmanim.d.ts +44 -6
- package/package.json +8 -8
package/dist/pkgVersion.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** DO NOT EDIT THIS AUTO-GENERATED FILE! */
|
|
2
|
-
export declare const version = "5.4.
|
|
2
|
+
export declare const version = "5.4.5";
|
package/dist/sedra.d.ts
CHANGED
|
@@ -91,6 +91,8 @@ export declare class Sedra {
|
|
|
91
91
|
export declare const parshiot: string[];
|
|
92
92
|
type NumberOrString = number | string;
|
|
93
93
|
/**
|
|
94
|
+
* Convenience function to create an instance of `Sedra` or reuse a previously
|
|
95
|
+
* created and cached instance.
|
|
94
96
|
* @private
|
|
95
97
|
* @param {number} hyear
|
|
96
98
|
* @param {boolean} il
|
package/dist/tachanun.d.ts
CHANGED
package/dist/zmanim.d.ts
CHANGED
|
@@ -160,6 +160,12 @@ export declare class Zmanim {
|
|
|
160
160
|
sofZmanShma(): Date;
|
|
161
161
|
/**
|
|
162
162
|
* Latest Shacharit (Gra); Sunrise plus 4 halachic hours, according to the Gra.
|
|
163
|
+
*
|
|
164
|
+
* This method returns the latest *zman tfila* (time to recite shema in the morning)
|
|
165
|
+
* that is 4 *shaos zmaniyos* (solar hours) after sunrise or sea level sunrise
|
|
166
|
+
* (depending on the `useElevation` setting), according
|
|
167
|
+
* to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
|
|
168
|
+
*
|
|
163
169
|
* If elevation is enabled, this function will include elevation in the calculation.
|
|
164
170
|
* @return {Date}
|
|
165
171
|
*/
|
|
@@ -167,16 +173,13 @@ export declare class Zmanim {
|
|
|
167
173
|
/**
|
|
168
174
|
* Returns an array with alot (Date) and ms in hour (number)
|
|
169
175
|
* @private
|
|
170
|
-
* @return {any[]}
|
|
171
176
|
*/
|
|
172
|
-
getTemporalHour72():
|
|
177
|
+
getTemporalHour72(forceSeaLevel: boolean): [Date, number];
|
|
173
178
|
/**
|
|
174
179
|
* Returns an array with alot (Date) and ms in hour (number)
|
|
175
180
|
* @private
|
|
176
|
-
* @param {number} angle
|
|
177
|
-
* @return {any[]}
|
|
178
181
|
*/
|
|
179
|
-
getTemporalHourByDeg(angle: number):
|
|
182
|
+
getTemporalHourByDeg(angle: number): [Date, number];
|
|
180
183
|
/**
|
|
181
184
|
* Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
|
|
182
185
|
* Based on the opinion of the MGA that the day is calculated from
|
|
@@ -227,17 +230,52 @@ export declare class Zmanim {
|
|
|
227
230
|
*/
|
|
228
231
|
sofZmanTfillaMGA19Point8(): Date;
|
|
229
232
|
/**
|
|
230
|
-
* Earliest Mincha – Mincha Gedola; Sunrise plus 6.5 halachic hours.
|
|
233
|
+
* Earliest Mincha – Mincha Gedola (GRA); Sunrise plus 6.5 halachic hours.
|
|
231
234
|
* If elevation is enabled, this function will include elevation in the calculation.
|
|
235
|
+
*
|
|
236
|
+
* This method returns the latest mincha gedola, the earliest time one can pray mincha
|
|
237
|
+
* that is 6.5 shaos zmaniyos (solar hours) after sunrise or sea level sunrise
|
|
238
|
+
* (depending on the `useElevation` setting), according
|
|
239
|
+
* to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
|
|
240
|
+
*
|
|
241
|
+
* The Ramba"m is of the opinion that it is better to delay *mincha* until
|
|
242
|
+
* *mincha ketana* while the Ra"sh, Tur, GRA and others are of the
|
|
243
|
+
* opinion that *mincha* can be prayed *lechatchila* starting at *mincha gedola*.
|
|
232
244
|
* @return {Date}
|
|
233
245
|
*/
|
|
234
246
|
minchaGedola(): Date;
|
|
247
|
+
/**
|
|
248
|
+
* Earliest Mincha – Mincha Gedola (MGA); Sunrise plus 6.5 halachic hours.
|
|
249
|
+
* If elevation is enabled, this function will include elevation in the calculation.
|
|
250
|
+
*
|
|
251
|
+
* This method returns the time of *mincha gedola* according to the Magen Avraham
|
|
252
|
+
* with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.
|
|
253
|
+
* This is the earliest time to pray *mincha*.
|
|
254
|
+
* @return {Date}
|
|
255
|
+
*/
|
|
256
|
+
minchaGedolaMGA(): Date;
|
|
235
257
|
/**
|
|
236
258
|
* Preferable earliest time to recite Minchah – Mincha Ketana; Sunrise plus 9.5 halachic hours.
|
|
237
259
|
* If elevation is enabled, this function will include elevation in the calculation.
|
|
260
|
+
*
|
|
261
|
+
* This method returns *mincha ketana*, the preferred earliest time to pray *mincha* in the
|
|
262
|
+
* opinion of the [Rambam](https://en.wikipedia.org/wiki/Maimonides) and others,
|
|
263
|
+
* that is 9.5 *shaos zmaniyos* (solar hours) after sunrise or sea level sunrise
|
|
264
|
+
* (depending on the `useElevation` setting), according
|
|
265
|
+
* to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
|
|
238
266
|
* @return {Date}
|
|
239
267
|
*/
|
|
240
268
|
minchaKetana(): Date;
|
|
269
|
+
/**
|
|
270
|
+
* This method returns the time of *mincha ketana* according to the Magen Avraham
|
|
271
|
+
* with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.
|
|
272
|
+
* This is the preferred earliest time to pray *mincha* according to the opinion of
|
|
273
|
+
* the [Rambam](https://en.wikipedia.org/wiki/Maimonides) and others.
|
|
274
|
+
*
|
|
275
|
+
* If elevation is enabled, this function will include elevation in the calculation.
|
|
276
|
+
* @return {Date}
|
|
277
|
+
*/
|
|
278
|
+
minchaKetanaMGA(): Date;
|
|
241
279
|
/**
|
|
242
280
|
* Plag haMincha; Sunrise plus 10.75 halachic hours.
|
|
243
281
|
* If elevation is enabled, this function will include elevation in the calculation.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/core",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.5",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Eyal Schachter (https://github.com/Scimonster)",
|
|
@@ -66,24 +66,24 @@
|
|
|
66
66
|
"temporal-polyfill": "^0.2.4"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@babel/core": "^7.24.
|
|
70
|
-
"@babel/preset-env": "^7.24.
|
|
71
|
-
"@babel/preset-typescript": "^7.24.
|
|
69
|
+
"@babel/core": "^7.24.7",
|
|
70
|
+
"@babel/preset-env": "^7.24.7",
|
|
71
|
+
"@babel/preset-typescript": "^7.24.7",
|
|
72
72
|
"@babel/register": "^7.24.6",
|
|
73
73
|
"@rollup/plugin-babel": "^6.0.4",
|
|
74
|
-
"@rollup/plugin-commonjs": "^
|
|
74
|
+
"@rollup/plugin-commonjs": "^26.0.1",
|
|
75
75
|
"@rollup/plugin-json": "^6.1.0",
|
|
76
76
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
77
77
|
"@rollup/plugin-terser": "^0.4.4",
|
|
78
78
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
79
79
|
"@types/jest": "^29.5.12",
|
|
80
80
|
"core-js": "^3.37.1",
|
|
81
|
-
"eslint": "
|
|
81
|
+
"eslint": "<=8.57.0",
|
|
82
82
|
"eslint-config-google": "^0.14.0",
|
|
83
83
|
"jest": "^29.7.0",
|
|
84
84
|
"jsdoc": "^4.0.3",
|
|
85
85
|
"jsdoc-to-markdown": "^8.0.1",
|
|
86
|
-
"quick-lru": "
|
|
86
|
+
"quick-lru": "<=6.1.2",
|
|
87
87
|
"rollup": "^4.18.0",
|
|
88
88
|
"ttag-cli": "^1.10.12",
|
|
89
89
|
"typescript": "^5.4.5"
|
|
@@ -91,6 +91,6 @@
|
|
|
91
91
|
"dependencies": {
|
|
92
92
|
"@hebcal/hdate": "^0.10.1",
|
|
93
93
|
"@hebcal/noaa": "^0.8.14",
|
|
94
|
-
"tslib": "^2.6.
|
|
94
|
+
"tslib": "^2.6.3"
|
|
95
95
|
}
|
|
96
96
|
}
|