@hebcal/core 5.6.1 → 5.7.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 +23 -1
- package/dist/CalOptions.d.ts +1 -1
- package/dist/HolidayEvent.d.ts +0 -5
- package/dist/YomKippurKatanEvent.d.ts +0 -1
- package/dist/bundle.js +9739 -9578
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +2 -2
- package/dist/bundle.min.js.map +1 -1
- package/dist/calendar.d.ts +110 -0
- package/dist/candles.d.ts +10 -1
- package/dist/es/CalOptions.d.ts +158 -0
- package/dist/es/DailyLearning.d.ts +21 -0
- package/dist/es/DailyLearning.js +36 -0
- package/dist/es/DailyLearning.js.map +1 -0
- package/dist/es/HebrewDateEvent.d.ts +37 -0
- package/dist/es/HebrewDateEvent.js +77 -0
- package/dist/es/HebrewDateEvent.js.map +1 -0
- package/dist/es/HolidayEvent.d.ts +76 -0
- package/dist/es/HolidayEvent.js +165 -0
- package/dist/es/HolidayEvent.js.map +1 -0
- package/dist/es/MevarchimChodeshEvent.d.ts +25 -0
- package/dist/es/MevarchimChodeshEvent.js +54 -0
- package/dist/es/MevarchimChodeshEvent.js.map +1 -0
- package/dist/es/ParshaEvent.d.ts +23 -0
- package/dist/es/ParshaEvent.js +53 -0
- package/dist/es/ParshaEvent.js.map +1 -0
- package/dist/es/TimedEvent.d.ts +47 -0
- package/dist/es/TimedEvent.js +97 -0
- package/dist/es/TimedEvent.js.map +1 -0
- package/dist/es/YomKippurKatanEvent.d.ts +23 -0
- package/dist/es/YomKippurKatanEvent.js +43 -0
- package/dist/es/YomKippurKatanEvent.js.map +1 -0
- package/dist/es/ashkenazi.po.d.ts +67 -0
- package/dist/es/ashkenazi.po.js +5 -0
- package/dist/es/ashkenazi.po.js.map +1 -0
- package/dist/es/calendar.d.ts +110 -0
- package/dist/es/calendar.js +615 -0
- package/dist/es/calendar.js.map +1 -0
- package/dist/es/candles.d.ts +37 -0
- package/dist/es/candles.js +161 -0
- package/dist/es/candles.js.map +1 -0
- package/dist/es/event.d.ts +187 -0
- package/dist/es/event.js +243 -0
- package/dist/es/event.js.map +1 -0
- package/dist/es/getStartAndEnd.d.ts +6 -0
- package/dist/es/getStartAndEnd.js +102 -0
- package/dist/es/getStartAndEnd.js.map +1 -0
- package/dist/es/hallel.d.ts +6 -0
- package/dist/es/hallel.js +52 -0
- package/dist/es/hallel.js.map +1 -0
- package/dist/es/he.po.d.ts +246 -0
- package/dist/es/he.po.js +5 -0
- package/dist/es/he.po.js.map +1 -0
- package/dist/es/hebcal.d.ts +259 -0
- package/dist/es/hebcal.js +336 -0
- package/dist/es/hebcal.js.map +1 -0
- package/dist/es/holidays.d.ts +22 -0
- package/dist/es/holidays.js +321 -0
- package/dist/es/holidays.js.map +1 -0
- package/dist/es/index.d.ts +23 -0
- package/dist/es/index.js +22 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/locale.d.ts +1 -0
- package/dist/es/locale.js +21 -0
- package/dist/es/locale.js.map +1 -0
- package/dist/es/location.d.ts +73 -0
- package/dist/es/location.js +306 -0
- package/dist/es/location.js.map +1 -0
- package/dist/es/modern.d.ts +18 -0
- package/dist/es/modern.js +64 -0
- package/dist/es/modern.js.map +1 -0
- package/dist/es/molad.d.ts +62 -0
- package/dist/es/molad.js +141 -0
- package/dist/es/molad.js.map +1 -0
- package/dist/es/omer.d.ts +37 -0
- package/dist/es/omer.js +88 -0
- package/dist/es/omer.js.map +1 -0
- package/dist/es/parshaName.d.ts +3 -0
- package/dist/es/parshaName.js +19 -0
- package/dist/es/parshaName.js.map +1 -0
- package/dist/es/pkgVersion.d.ts +2 -0
- package/dist/es/pkgVersion.js +6 -0
- package/dist/es/pkgVersion.js.map +1 -0
- package/dist/es/reformatTimeStr.d.ts +8 -0
- package/dist/es/reformatTimeStr.js +52 -0
- package/dist/es/reformatTimeStr.js.map +1 -0
- package/dist/es/sedra.d.ts +107 -0
- package/dist/es/sedra.js +494 -0
- package/dist/es/sedra.js.map +1 -0
- package/dist/es/staticHolidays.d.ts +176 -0
- package/dist/es/staticHolidays.js +626 -0
- package/dist/es/staticHolidays.js.map +1 -0
- package/dist/es/tachanun.d.ts +29 -0
- package/dist/es/tachanun.js +125 -0
- package/dist/es/tachanun.js.map +1 -0
- package/dist/es/zmanim.d.ts +341 -0
- package/dist/es/zmanim.js +573 -0
- package/dist/es/zmanim.js.map +1 -0
- package/dist/event.d.ts +1 -0
- package/dist/holidays.d.ts +13 -0
- package/dist/index.cjs +2762 -10041
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/module.d.ts +101 -80
- package/dist/pkgVersion.d.ts +1 -1
- package/dist/sedra.d.ts +4 -4
- package/dist/tachanun.d.ts +17 -1
- package/package.json +18 -6
- package/dist/index.mjs +0 -11998
- package/dist/index.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,13 +9,14 @@ export { GeoLocation, NOAACalculator } from '@hebcal/noaa';
|
|
|
9
9
|
export { Location } from './location';
|
|
10
10
|
export { Zmanim } from './zmanim';
|
|
11
11
|
export { TimedEvent, CandleLightingEvent, HavdalahEvent } from './TimedEvent';
|
|
12
|
+
export { FastDayEvent } from './candles';
|
|
12
13
|
export { Molad, MoladEvent } from './molad';
|
|
13
14
|
export { OmerEvent } from './omer';
|
|
14
15
|
export { TachanunResult } from './tachanun';
|
|
15
|
-
export { Sedra, SedraResult, parshiot } from './sedra';
|
|
16
|
+
export { Sedra, SedraResult, parshiot, getSedra } from './sedra';
|
|
16
17
|
export { ParshaEvent } from './ParshaEvent';
|
|
17
18
|
export { HolidayEvent, AsaraBTevetEvent, RoshChodeshEvent, RoshHashanaEvent, } from './HolidayEvent';
|
|
18
|
-
export { HolidayYearMap } from './holidays';
|
|
19
|
+
export { HolidayYearMap, getHolidaysOnDate } from './holidays';
|
|
19
20
|
export { MevarchimChodeshEvent } from './MevarchimChodeshEvent';
|
|
20
21
|
export { holidayDesc } from './staticHolidays';
|
|
21
22
|
export { DailyLearning } from './DailyLearning';
|
package/dist/module.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { GeoLocation } from '@hebcal/noaa';
|
|
|
4
4
|
export { GeoLocation, NOAACalculator } from '@hebcal/noaa';
|
|
5
5
|
|
|
6
6
|
/** DO NOT EDIT THIS AUTO-GENERATED FILE! */
|
|
7
|
-
declare const version = "5.
|
|
7
|
+
declare const version = "5.7.1";
|
|
8
8
|
|
|
9
9
|
/** Class representing Location */
|
|
10
10
|
declare class Location extends GeoLocation {
|
|
@@ -413,6 +413,7 @@ declare class Event {
|
|
|
413
413
|
observedIn(il: boolean): boolean;
|
|
414
414
|
/**
|
|
415
415
|
* Makes a clone of this Event object
|
|
416
|
+
* @deprecated
|
|
416
417
|
*/
|
|
417
418
|
clone(): Event;
|
|
418
419
|
/**
|
|
@@ -838,6 +839,90 @@ declare class HavdalahEvent extends TimedEvent {
|
|
|
838
839
|
getEmoji(): string;
|
|
839
840
|
}
|
|
840
841
|
|
|
842
|
+
/** Represents a built-in holiday like Pesach, Purim or Tu BiShvat */
|
|
843
|
+
declare class HolidayEvent extends Event {
|
|
844
|
+
/** During Sukkot or Pesach */
|
|
845
|
+
cholHaMoedDay?: number;
|
|
846
|
+
chanukahDay?: number;
|
|
847
|
+
/**
|
|
848
|
+
* `true` if the fast day was postponed a day to avoid Shabbat.
|
|
849
|
+
* - Tish'a B'Av postponed from the 9th to the 10th
|
|
850
|
+
* - Tzom Tammuz postponed from the 17th to the 18th
|
|
851
|
+
*/
|
|
852
|
+
observed?: boolean;
|
|
853
|
+
basename(): string;
|
|
854
|
+
url(): string | undefined;
|
|
855
|
+
urlDateSuffix(): string;
|
|
856
|
+
getEmoji(): string;
|
|
857
|
+
getCategories(): string[];
|
|
858
|
+
/**
|
|
859
|
+
* Returns (translated) description of this event
|
|
860
|
+
* @param [locale] Optional locale name (defaults to active locale).
|
|
861
|
+
*/
|
|
862
|
+
render(locale?: string): string;
|
|
863
|
+
/**
|
|
864
|
+
* Returns a brief (translated) description of this event.
|
|
865
|
+
* For most events, this is the same as render(). For some events, it procudes
|
|
866
|
+
* a shorter text (e.g. without a time or added description).
|
|
867
|
+
* @param [locale] Optional locale name (defaults to active locale).
|
|
868
|
+
*/
|
|
869
|
+
renderBrief(locale?: string): string;
|
|
870
|
+
/**
|
|
871
|
+
* Makes a clone of this Event object
|
|
872
|
+
*/
|
|
873
|
+
clone(): HolidayEvent;
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* Because Asara B'Tevet often occurs twice in the same Gregorian year,
|
|
877
|
+
* we subclass HolidayEvent to override the `url()` method.
|
|
878
|
+
*/
|
|
879
|
+
declare class AsaraBTevetEvent extends HolidayEvent {
|
|
880
|
+
urlDateSuffix(): string;
|
|
881
|
+
}
|
|
882
|
+
/** Represents Rosh Hashana, the Jewish New Year */
|
|
883
|
+
declare class RoshHashanaEvent extends HolidayEvent {
|
|
884
|
+
private readonly hyear;
|
|
885
|
+
/**
|
|
886
|
+
* @private
|
|
887
|
+
* @param date Hebrew date event occurs
|
|
888
|
+
* @param hyear Hebrew year
|
|
889
|
+
* @param mask optional holiday flags
|
|
890
|
+
*/
|
|
891
|
+
constructor(date: HDate, hyear: number, mask: number);
|
|
892
|
+
/**
|
|
893
|
+
* Returns (translated) description of this event
|
|
894
|
+
* @param [locale] Optional locale name (defaults to active locale).
|
|
895
|
+
*/
|
|
896
|
+
render(locale?: string): string;
|
|
897
|
+
getEmoji(): string;
|
|
898
|
+
}
|
|
899
|
+
/** Represents Rosh Chodesh, the beginning of a new month */
|
|
900
|
+
declare class RoshChodeshEvent extends HolidayEvent {
|
|
901
|
+
/**
|
|
902
|
+
* Constructs Rosh Chodesh event
|
|
903
|
+
* @param date Hebrew date event occurs
|
|
904
|
+
* @param monthName Hebrew month name (not translated)
|
|
905
|
+
*/
|
|
906
|
+
constructor(date: HDate, monthName: string);
|
|
907
|
+
/**
|
|
908
|
+
* Returns (translated) description of this event
|
|
909
|
+
* @param [locale] Optional locale name (defaults to active locale).
|
|
910
|
+
*/
|
|
911
|
+
render(locale?: string): string;
|
|
912
|
+
basename(): string;
|
|
913
|
+
getEmoji(): string;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
/** A fast day also contains a start and end time */
|
|
917
|
+
declare class FastDayEvent extends HolidayEvent {
|
|
918
|
+
/** this will be a "Fast begins" event */
|
|
919
|
+
readonly startEvent?: TimedEvent;
|
|
920
|
+
/** this will be a "Fast ends" event */
|
|
921
|
+
readonly endEvent?: TimedEvent;
|
|
922
|
+
constructor(date: HDate, desc: string, mask: number, startEvent?: TimedEvent, endEvent?: TimedEvent);
|
|
923
|
+
urlDateSuffix(): string;
|
|
924
|
+
}
|
|
925
|
+
|
|
841
926
|
/**
|
|
842
927
|
* Represents a molad, the moment when the new moon is "born"
|
|
843
928
|
*/
|
|
@@ -1011,6 +1096,7 @@ declare class Sedra {
|
|
|
1011
1096
|
* number for a doubled parsha (e.g. `-21` for Vayakhel-Pekudei)
|
|
1012
1097
|
*/
|
|
1013
1098
|
find(parsha: number | string | string[]): HDate | null;
|
|
1099
|
+
private findInternal;
|
|
1014
1100
|
/**
|
|
1015
1101
|
* Returns the date that a parsha (or its doubled or undoubled counterpart)
|
|
1016
1102
|
* occurs, or `null` if the parsha doesn't occur this year
|
|
@@ -1020,7 +1106,7 @@ declare class Sedra {
|
|
|
1020
1106
|
* Returns the underlying annual sedra schedule.
|
|
1021
1107
|
* Used by `@hebcal/triennial`
|
|
1022
1108
|
*/
|
|
1023
|
-
getSedraArray(): NumberOrString[];
|
|
1109
|
+
getSedraArray(): readonly NumberOrString[];
|
|
1024
1110
|
/**
|
|
1025
1111
|
* R.D. date of the first Saturday on or after Rosh Hashana
|
|
1026
1112
|
*/
|
|
@@ -1038,8 +1124,15 @@ declare class Sedra {
|
|
|
1038
1124
|
* @readonly
|
|
1039
1125
|
* @type {string[]}
|
|
1040
1126
|
*/
|
|
1041
|
-
declare const parshiot: string[];
|
|
1127
|
+
declare const parshiot: readonly string[];
|
|
1042
1128
|
type NumberOrString = number | string;
|
|
1129
|
+
/**
|
|
1130
|
+
* Convenience function to create an instance of `Sedra` or reuse a previously
|
|
1131
|
+
* created and cached instance.
|
|
1132
|
+
* @param hyear
|
|
1133
|
+
* @param il
|
|
1134
|
+
*/
|
|
1135
|
+
declare function getSedra(hyear: number, il: boolean): Sedra;
|
|
1043
1136
|
|
|
1044
1137
|
/**
|
|
1045
1138
|
* Represents one of 54 weekly Torah portions, always on a Saturday
|
|
@@ -1062,84 +1155,12 @@ declare class ParshaEvent extends Event {
|
|
|
1062
1155
|
urlDateSuffix(): string;
|
|
1063
1156
|
}
|
|
1064
1157
|
|
|
1065
|
-
/** Represents a built-in holiday like Pesach, Purim or Tu BiShvat */
|
|
1066
|
-
declare class HolidayEvent extends Event {
|
|
1067
|
-
/** During Sukkot or Pesach */
|
|
1068
|
-
cholHaMoedDay?: number;
|
|
1069
|
-
chanukahDay?: number;
|
|
1070
|
-
/**
|
|
1071
|
-
* `true` if the fast day was postponed a day to avoid Shabbat.
|
|
1072
|
-
* - Tish'a B'Av postponed from the 9th to the 10th
|
|
1073
|
-
* - Tzom Tammuz postponed from the 17th to the 18th
|
|
1074
|
-
*/
|
|
1075
|
-
observed?: boolean;
|
|
1076
|
-
/** For a Fast day, this will be a "Fast begins" event */
|
|
1077
|
-
startEvent?: TimedEvent;
|
|
1078
|
-
/** For a Fast day, this will be a "Fast ends" event */
|
|
1079
|
-
endEvent?: TimedEvent;
|
|
1080
|
-
basename(): string;
|
|
1081
|
-
url(): string | undefined;
|
|
1082
|
-
urlDateSuffix(): string;
|
|
1083
|
-
getEmoji(): string;
|
|
1084
|
-
getCategories(): string[];
|
|
1085
|
-
/**
|
|
1086
|
-
* Returns (translated) description of this event
|
|
1087
|
-
* @param [locale] Optional locale name (defaults to active locale).
|
|
1088
|
-
*/
|
|
1089
|
-
render(locale?: string): string;
|
|
1090
|
-
/**
|
|
1091
|
-
* Returns a brief (translated) description of this event.
|
|
1092
|
-
* For most events, this is the same as render(). For some events, it procudes
|
|
1093
|
-
* a shorter text (e.g. without a time or added description).
|
|
1094
|
-
* @param [locale] Optional locale name (defaults to active locale).
|
|
1095
|
-
*/
|
|
1096
|
-
renderBrief(locale?: string): string;
|
|
1097
|
-
/**
|
|
1098
|
-
* Makes a clone of this Event object
|
|
1099
|
-
*/
|
|
1100
|
-
clone(): HolidayEvent;
|
|
1101
|
-
}
|
|
1102
1158
|
/**
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1159
|
+
* Returns an array of Events on this date (or `undefined` if no events)
|
|
1160
|
+
* @param date Hebrew Date, Gregorian date, or absolute R.D. day number
|
|
1161
|
+
* @param [il] use the Israeli schedule for holidays
|
|
1105
1162
|
*/
|
|
1106
|
-
declare
|
|
1107
|
-
urlDateSuffix(): string;
|
|
1108
|
-
}
|
|
1109
|
-
/** Represents Rosh Hashana, the Jewish New Year */
|
|
1110
|
-
declare class RoshHashanaEvent extends HolidayEvent {
|
|
1111
|
-
private readonly hyear;
|
|
1112
|
-
/**
|
|
1113
|
-
* @private
|
|
1114
|
-
* @param date Hebrew date event occurs
|
|
1115
|
-
* @param hyear Hebrew year
|
|
1116
|
-
* @param mask optional holiday flags
|
|
1117
|
-
*/
|
|
1118
|
-
constructor(date: HDate, hyear: number, mask: number);
|
|
1119
|
-
/**
|
|
1120
|
-
* Returns (translated) description of this event
|
|
1121
|
-
* @param [locale] Optional locale name (defaults to active locale).
|
|
1122
|
-
*/
|
|
1123
|
-
render(locale?: string): string;
|
|
1124
|
-
getEmoji(): string;
|
|
1125
|
-
}
|
|
1126
|
-
/** Represents Rosh Chodesh, the beginning of a new month */
|
|
1127
|
-
declare class RoshChodeshEvent extends HolidayEvent {
|
|
1128
|
-
/**
|
|
1129
|
-
* Constructs Rosh Chodesh event
|
|
1130
|
-
* @param date Hebrew date event occurs
|
|
1131
|
-
* @param monthName Hebrew month name (not translated)
|
|
1132
|
-
*/
|
|
1133
|
-
constructor(date: HDate, monthName: string);
|
|
1134
|
-
/**
|
|
1135
|
-
* Returns (translated) description of this event
|
|
1136
|
-
* @param [locale] Optional locale name (defaults to active locale).
|
|
1137
|
-
*/
|
|
1138
|
-
render(locale?: string): string;
|
|
1139
|
-
basename(): string;
|
|
1140
|
-
getEmoji(): string;
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1163
|
+
declare function getHolidaysOnDate(date: HDate | Date | number, il?: boolean): HolidayEvent[] | undefined;
|
|
1143
1164
|
type HolidayYearMap = Map<string, HolidayEvent[]>;
|
|
1144
1165
|
|
|
1145
1166
|
/** Represents Mevarchim haChodesh, the announcement of the new month */
|
|
@@ -1593,4 +1614,4 @@ declare class HebrewCalendar {
|
|
|
1593
1614
|
static tachanun(hdate: HDate, il: boolean): TachanunResult;
|
|
1594
1615
|
}
|
|
1595
1616
|
|
|
1596
|
-
export { AsaraBTevetEvent, type CalOptions, CandleLightingEvent, DailyLearning, type DailyLearningValue, Event, HavdalahEvent, HebrewCalendar, HebrewDateEvent, HolidayEvent, type HolidayYearMap, Location, MevarchimChodeshEvent, Molad, MoladEvent, OmerEvent, ParshaEvent, RoshChodeshEvent, RoshHashanaEvent, Sedra, type SedraResult, type TachanunResult, TimedEvent, Zmanim, flags, holidayDesc, parshiot, version };
|
|
1617
|
+
export { AsaraBTevetEvent, type CalOptions, CandleLightingEvent, DailyLearning, type DailyLearningValue, Event, FastDayEvent, HavdalahEvent, HebrewCalendar, HebrewDateEvent, HolidayEvent, type HolidayYearMap, Location, MevarchimChodeshEvent, Molad, MoladEvent, OmerEvent, ParshaEvent, RoshChodeshEvent, RoshHashanaEvent, Sedra, type SedraResult, type TachanunResult, TimedEvent, Zmanim, flags, getHolidaysOnDate, getSedra, holidayDesc, parshiot, version };
|
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.7.1";
|
package/dist/sedra.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export declare class Sedra {
|
|
|
67
67
|
* number for a doubled parsha (e.g. `-21` for Vayakhel-Pekudei)
|
|
68
68
|
*/
|
|
69
69
|
find(parsha: number | string | string[]): HDate | null;
|
|
70
|
+
private findInternal;
|
|
70
71
|
/**
|
|
71
72
|
* Returns the date that a parsha (or its doubled or undoubled counterpart)
|
|
72
73
|
* occurs, or `null` if the parsha doesn't occur this year
|
|
@@ -76,7 +77,7 @@ export declare class Sedra {
|
|
|
76
77
|
* Returns the underlying annual sedra schedule.
|
|
77
78
|
* Used by `@hebcal/triennial`
|
|
78
79
|
*/
|
|
79
|
-
getSedraArray(): NumberOrString[];
|
|
80
|
+
getSedraArray(): readonly NumberOrString[];
|
|
80
81
|
/**
|
|
81
82
|
* R.D. date of the first Saturday on or after Rosh Hashana
|
|
82
83
|
*/
|
|
@@ -94,14 +95,13 @@ export declare class Sedra {
|
|
|
94
95
|
* @readonly
|
|
95
96
|
* @type {string[]}
|
|
96
97
|
*/
|
|
97
|
-
export declare const parshiot: string[];
|
|
98
|
+
export declare const parshiot: readonly string[];
|
|
98
99
|
type NumberOrString = number | string;
|
|
99
100
|
/**
|
|
100
101
|
* Convenience function to create an instance of `Sedra` or reuse a previously
|
|
101
102
|
* created and cached instance.
|
|
102
|
-
* @private
|
|
103
103
|
* @param hyear
|
|
104
104
|
* @param il
|
|
105
105
|
*/
|
|
106
|
-
export declare function
|
|
106
|
+
export declare function getSedra(hyear: number, il: boolean): Sedra;
|
|
107
107
|
export {};
|
package/dist/tachanun.d.ts
CHANGED
|
@@ -10,4 +10,20 @@ export type TachanunResult = {
|
|
|
10
10
|
/** All congregations say Tachanun on the day */
|
|
11
11
|
allCongs: boolean;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Return details on what Tachanun (or Tzidchatcha on Shabbat) is said on `hdate`.
|
|
15
|
+
*
|
|
16
|
+
* Tachanun is not said on Rosh Chodesh, the month of Nisan, Lag Baomer,
|
|
17
|
+
* Rosh Chodesh Sivan until Isru Chag, Tisha B'av, 15 Av, Erev Rosh Hashanah,
|
|
18
|
+
* Rosh Hashanah, Erev Yom Kippur until after Simchat Torah, Chanukah,
|
|
19
|
+
* Tu B'shvat, Purim and Shushan Purim, and Purim and Shushan Purim Katan.
|
|
20
|
+
*
|
|
21
|
+
* In some congregations Tachanun is not said until from Rosh Chodesh Sivan
|
|
22
|
+
* until 14th Sivan, Sukkot until after Rosh Chodesh Cheshvan, Pesach Sheini,
|
|
23
|
+
* Yom Ha'atzmaut, and Yom Yerushalayim.
|
|
24
|
+
*
|
|
25
|
+
* Tachanun is not said at Mincha on days before it is not said at Shacharit.
|
|
26
|
+
*
|
|
27
|
+
* Tachanun is not said at Shacharit on Shabbat, but is at Mincha, usually.
|
|
28
|
+
*/
|
|
29
|
+
export declare function tachanun(hdate: HDate, il: boolean): TachanunResult;
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.1",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Eyal Schachter (https://github.com/Scimonster)",
|
|
7
7
|
"Danny Sadinoff (https://github.com/dsadinoff)",
|
|
8
|
+
"Yisroel Yakovson (https://github.com/YizYah)",
|
|
9
|
+
"Schabse Laks (https://github.com/SLaks)",
|
|
8
10
|
"Benny Powers (https://github.com/bennypowers)"
|
|
9
11
|
],
|
|
10
12
|
"keywords": [
|
|
@@ -22,12 +24,15 @@
|
|
|
22
24
|
],
|
|
23
25
|
"description": "A perpetual Jewish Calendar API",
|
|
24
26
|
"main": "./dist/index.cjs",
|
|
25
|
-
"module": "./dist/index.
|
|
27
|
+
"module": "./dist/es/index.js",
|
|
26
28
|
"type": "module",
|
|
27
29
|
"exports": {
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
".": {
|
|
31
|
+
"import": "./dist/es/index.js",
|
|
32
|
+
"require": "./dist/index.cjs",
|
|
33
|
+
"types": "./dist/module.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./dist/es/*": "./dist/es/*.js"
|
|
31
36
|
},
|
|
32
37
|
"typings": "./dist/module.d.ts",
|
|
33
38
|
"engines": {
|
|
@@ -45,10 +50,12 @@
|
|
|
45
50
|
],
|
|
46
51
|
"scripts": {
|
|
47
52
|
"build:rollup": "rollup -c",
|
|
53
|
+
"size-demo:rollup": "rollup -c size-demo/rollup.config.ts --configPlugin typescript",
|
|
54
|
+
"size-demo": "npm run build && npm run size-demo:rollup",
|
|
48
55
|
"build": "npm run po2json && npm run version && npm run build:rollup --production",
|
|
49
56
|
"prepublish": "npm run build",
|
|
50
57
|
"version": "node ./version.cjs package.json src/pkgVersion.ts",
|
|
51
|
-
"po2json": "node ./po2json.cjs po
|
|
58
|
+
"po2json": "node ./po2json.cjs po/he.po po/ashkenazi.po",
|
|
52
59
|
"docs": "typedoc",
|
|
53
60
|
"pretest": "npm run build",
|
|
54
61
|
"lint": "gts lint",
|
|
@@ -68,6 +75,7 @@
|
|
|
68
75
|
},
|
|
69
76
|
"devDependencies": {
|
|
70
77
|
"@babel/core": "^7.26.0",
|
|
78
|
+
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
71
79
|
"@babel/preset-env": "^7.26.0",
|
|
72
80
|
"@babel/preset-typescript": "^7.26.0",
|
|
73
81
|
"@babel/register": "^7.25.9",
|
|
@@ -82,14 +90,18 @@
|
|
|
82
90
|
"core-js": "^3.39.0",
|
|
83
91
|
"gts": "^6.0.2",
|
|
84
92
|
"jest": "^29.7.0",
|
|
93
|
+
"pretty-bytes": "^6.1.1",
|
|
85
94
|
"quick-lru": "<=6.1.2",
|
|
86
95
|
"rollup": "^4.24.3",
|
|
96
|
+
"rollup-plugin-bundle-size": "^1.0.3",
|
|
87
97
|
"rollup-plugin-dts": "^6.1.1",
|
|
98
|
+
"rollup-plugin-visualizer": "^5.12.0",
|
|
88
99
|
"ttag-cli": "^1.10.12",
|
|
89
100
|
"typedoc": "^0.26.11",
|
|
90
101
|
"typescript": "^5.6.3"
|
|
91
102
|
},
|
|
92
103
|
"dependencies": {
|
|
104
|
+
"@babel/runtime": "^7.26.0",
|
|
93
105
|
"@hebcal/hdate": "^0.11.5",
|
|
94
106
|
"@hebcal/noaa": "^0.8.14",
|
|
95
107
|
"tslib": "^2.8.1"
|