@hebcal/core 5.9.8 → 5.10.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/dist/bundle.js +2577 -2507
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +9 -9
- package/dist/bundle.min.js.map +1 -1
- package/dist/esm/DailyLearning.js +1 -1
- package/dist/esm/HebrewDateEvent.js +1 -1
- package/dist/esm/HebrewDateEvent.js.map +1 -1
- package/dist/esm/HolidayEvent.js +1 -1
- package/dist/esm/HolidayEvent.js.map +1 -1
- package/dist/esm/MevarchimChodeshEvent.js +1 -1
- package/dist/esm/ParshaEvent.js +1 -1
- package/dist/esm/ParshaEvent.js.map +1 -1
- package/dist/esm/TimedEvent.js +1 -1
- package/dist/esm/TimedEvent.js.map +1 -1
- package/dist/esm/YomKippurKatanEvent.js +1 -1
- package/dist/esm/YomKippurKatanEvent.js.map +1 -1
- package/dist/esm/ashkenazi.po.js +1 -1
- package/dist/esm/calendar.js +1 -1
- package/dist/esm/calendar.js.map +1 -1
- package/dist/esm/candles.js +1 -1
- package/dist/esm/candles.js.map +1 -1
- package/dist/esm/event.js +1 -1
- package/dist/esm/event.js.map +1 -1
- package/dist/esm/getStartAndEnd.js +1 -1
- package/dist/esm/getStartAndEnd.js.map +1 -1
- package/dist/esm/hallel.js +1 -1
- package/dist/esm/hallel.js.map +1 -1
- package/dist/esm/he-x-NoNikud.po.js +1 -1
- package/dist/esm/he.po.d.ts +0 -56
- package/dist/esm/he.po.js +2 -2
- package/dist/esm/he.po.js.map +1 -1
- package/dist/esm/hebcal.js +1 -1
- package/dist/esm/holidays.js +1 -1
- package/dist/esm/holidays.js.map +1 -1
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/isAssurBemlacha.d.ts +9 -0
- package/dist/esm/isAssurBemlacha.js +67 -0
- package/dist/esm/isAssurBemlacha.js.map +1 -0
- package/dist/esm/locale.js +1 -1
- package/dist/esm/location.js +1 -1
- package/dist/esm/location.js.map +1 -1
- package/dist/esm/modern.js +1 -1
- package/dist/esm/molad.js +1 -1
- package/dist/esm/molad.js.map +1 -1
- package/dist/esm/omer.d.ts +0 -1
- package/dist/esm/omer.js +1 -2
- package/dist/esm/omer.js.map +1 -1
- package/dist/esm/parshaName.js +1 -1
- package/dist/esm/parshaName.js.map +1 -1
- package/dist/esm/parshaYear.js +1 -1
- package/dist/esm/parshaYear.js.map +1 -1
- package/dist/esm/pkgVersion.d.ts +1 -1
- package/dist/esm/pkgVersion.js +2 -2
- package/dist/esm/pkgVersion.js.map +1 -1
- package/dist/esm/reformatTimeStr.js +1 -1
- package/dist/esm/reformatTimeStr.js.map +1 -1
- package/dist/esm/sedra.js +1 -1
- package/dist/esm/sedra.js.map +1 -1
- package/dist/esm/staticHolidays.js +1 -1
- package/dist/esm/staticHolidays.js.map +1 -1
- package/dist/esm/tachanun.js +1 -1
- package/dist/esm/tachanun.js.map +1 -1
- package/dist/esm/zmanim.d.ts +7 -1
- package/dist/esm/zmanim.js +13 -2
- package/dist/esm/zmanim.js.map +1 -1
- package/dist/he.po.d.ts +0 -56
- package/dist/index.cjs +2436 -2366
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/isAssurBemlacha.d.ts +9 -0
- package/dist/omer.d.ts +0 -1
- package/dist/pkgVersion.d.ts +1 -1
- package/dist/zmanim.d.ts +7 -1
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { version } from './pkgVersion';
|
|
2
2
|
export { gematriya, gematriyaStrToNum } from '@hebcal/hdate';
|
|
3
|
-
export { greg, months, HDate, Locale, Headers, StringArrayMap, LocaleData, } from '@hebcal/hdate';
|
|
3
|
+
export { greg, months, HDate, Locale, Headers, StringArrayMap, LocaleData, MonthName, } from '@hebcal/hdate';
|
|
4
4
|
import './locale';
|
|
5
5
|
export { CalOptions, DailyLearningValue } from './CalOptions';
|
|
6
6
|
export { HebrewDateEvent } from './HebrewDateEvent';
|
|
@@ -8,6 +8,7 @@ export { Event, flags } from './event';
|
|
|
8
8
|
export { GeoLocation, NOAACalculator } from '@hebcal/noaa';
|
|
9
9
|
export { Location } from './location';
|
|
10
10
|
export { Zmanim } from './zmanim';
|
|
11
|
+
export { isAssurBemlacha } from './isAssurBemlacha';
|
|
11
12
|
export { TimedEvent, CandleLightingEvent, HavdalahEvent } from './TimedEvent';
|
|
12
13
|
export { FastDayEvent, TimedChanukahEvent } from './candles';
|
|
13
14
|
export { Molad, MoladEvent } from './molad';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Location } from './location';
|
|
2
|
+
/**
|
|
3
|
+
* Utility method to determine if the date and time has a <em>melacha</em> (work) prohibition.
|
|
4
|
+
* Although there are many opinions on the time of <em>tzais</em>, for simplicity
|
|
5
|
+
* this function uses solar depression of 8.5 degrees.
|
|
6
|
+
*
|
|
7
|
+
* @return `true` if <em>melacha</em> is prohibited or `false` if it is not.
|
|
8
|
+
*/
|
|
9
|
+
export declare function isAssurBemlacha(currentTime: Date, location: Location, useElevation: boolean): boolean;
|
package/dist/omer.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ export declare class OmerEvent extends Event {
|
|
|
38
38
|
/**
|
|
39
39
|
* Returns an emoji number symbol with a circle, for example `㊲`
|
|
40
40
|
* from the “Enclosed CJK Letters and Months” block of the Unicode standard
|
|
41
|
-
* @param omerDay the day of the omer, 1-49 inclusive
|
|
42
41
|
* @returns a single Unicode character from `①` through `㊾`
|
|
43
42
|
*/
|
|
44
43
|
getEmoji(): string;
|
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.
|
|
2
|
+
export declare const version = "5.10.0";
|
package/dist/zmanim.d.ts
CHANGED
|
@@ -118,6 +118,11 @@ export declare class Zmanim {
|
|
|
118
118
|
* the result is not impacted by elevation.
|
|
119
119
|
*/
|
|
120
120
|
alotHaShachar(): Date;
|
|
121
|
+
/**
|
|
122
|
+
* Dawn – Alot haShachar; calculated as 72 minutes before sunrise or
|
|
123
|
+
* sea level sunrise.
|
|
124
|
+
*/
|
|
125
|
+
alotHaShachar72(): Date;
|
|
121
126
|
/**
|
|
122
127
|
* Earliest talis & tefillin – Misheyakir; Sun is 11.5° below the horizon in the morning.
|
|
123
128
|
* Because degree-based functions estimate the amount of light in the sky,
|
|
@@ -278,7 +283,8 @@ export declare class Zmanim {
|
|
|
278
283
|
*/
|
|
279
284
|
beinHaShmashos(): Date;
|
|
280
285
|
/**
|
|
281
|
-
* Uses timeFormat to return a date like '20:34'
|
|
286
|
+
* Uses timeFormat to return a date like '20:34'.
|
|
287
|
+
* Returns `XX:XX` if the date is invalid.
|
|
282
288
|
*/
|
|
283
289
|
static formatTime(dt: Date, timeFormat: Intl.DateTimeFormat): string;
|
|
284
290
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Eyal Schachter (https://github.com/Scimonster)",
|
|
@@ -67,29 +67,29 @@
|
|
|
67
67
|
},
|
|
68
68
|
"license": "GPL-2.0",
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@babel/core": "^7.27.
|
|
71
|
-
"@babel/plugin-transform-runtime": "^7.27.
|
|
70
|
+
"@babel/core": "^7.27.4",
|
|
71
|
+
"@babel/plugin-transform-runtime": "^7.27.4",
|
|
72
72
|
"@babel/preset-env": "^7.27.2",
|
|
73
73
|
"@babel/preset-typescript": "^7.27.1",
|
|
74
74
|
"@babel/register": "^7.27.1",
|
|
75
75
|
"@rollup/plugin-babel": "^6.0.4",
|
|
76
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
76
|
+
"@rollup/plugin-commonjs": "^28.0.6",
|
|
77
77
|
"@rollup/plugin-json": "^6.1.0",
|
|
78
78
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
79
79
|
"@rollup/plugin-terser": "^0.4.4",
|
|
80
|
-
"@rollup/plugin-typescript": "^12.1.
|
|
81
|
-
"@types/node": "^
|
|
82
|
-
"@vitest/coverage-v8": "^3.
|
|
83
|
-
"core-js": "^3.
|
|
80
|
+
"@rollup/plugin-typescript": "^12.1.3",
|
|
81
|
+
"@types/node": "^24.0.3",
|
|
82
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
83
|
+
"core-js": "^3.43.0",
|
|
84
84
|
"gettext-parser": "^8.0.0",
|
|
85
85
|
"gts": "^6.0.2",
|
|
86
86
|
"pretty-bytes": "^7.0.0",
|
|
87
|
-
"rollup": "^4.
|
|
87
|
+
"rollup": "^4.44.0",
|
|
88
88
|
"rollup-plugin-bundle-size": "^1.0.3",
|
|
89
|
-
"rollup-plugin-visualizer": "^6.0.
|
|
89
|
+
"rollup-plugin-visualizer": "^6.0.3",
|
|
90
90
|
"typedoc": "^0.28.5",
|
|
91
91
|
"typescript": "^5.8.3",
|
|
92
|
-
"vitest": "^3.
|
|
92
|
+
"vitest": "^3.2.4"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@hebcal/hdate": "^0.14.2",
|