@hebcal/core 6.0.1 → 6.0.3
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/ParshaEvent.d.ts +2 -0
- package/dist/bundle.js +9 -4
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +3 -3
- 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/HolidayEvent.js +1 -1
- package/dist/esm/MevarchimChodeshEvent.js +1 -1
- package/dist/esm/ParshaEvent.d.ts +2 -0
- package/dist/esm/ParshaEvent.js +5 -1
- package/dist/esm/ParshaEvent.js.map +1 -1
- package/dist/esm/TimedEvent.js +1 -1
- package/dist/esm/YomKippurKatanEvent.js +1 -1
- package/dist/esm/ashkenazi.po.js +1 -1
- package/dist/esm/calendar.js +1 -1
- package/dist/esm/candles.js +1 -1
- package/dist/esm/event.js +1 -1
- package/dist/esm/getStartAndEnd.js +1 -1
- package/dist/esm/hallel.js +1 -1
- package/dist/esm/he-x-NoNikud.po.js +1 -1
- package/dist/esm/he.po.js +1 -1
- package/dist/esm/hebcal.js +1 -1
- package/dist/esm/holidays.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/isAssurBemlacha.js +1 -1
- package/dist/esm/locale.js +1 -1
- package/dist/esm/location.js +1 -1
- package/dist/esm/modern.js +1 -1
- package/dist/esm/molad.js +1 -1
- package/dist/esm/omer.js +1 -1
- package/dist/esm/parshaName.js +1 -1
- package/dist/esm/parshaYear.js +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/sedra.d.ts +5 -4
- package/dist/esm/sedra.js +4 -3
- package/dist/esm/sedra.js.map +1 -1
- package/dist/esm/staticHolidays.js +1 -1
- package/dist/esm/tachanun.js +1 -1
- package/dist/esm/zmanim.js +1 -1
- package/dist/pkgVersion.d.ts +1 -1
- package/dist/sedra.d.ts +5 -4
- package/package.json +4 -4
package/dist/ParshaEvent.d.ts
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @hebcal/core v6.0.
|
|
1
|
+
/*! @hebcal/core v6.0.3, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
2
2
|
var hebcal = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
/** DO NOT EDIT THIS AUTO-GENERATED FILE! */
|
|
6
|
-
const version = '6.0.
|
|
6
|
+
const version = '6.0.3';
|
|
7
7
|
|
|
8
8
|
/*! @hebcal/hdate v0.21.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
9
9
|
/* eslint-disable @typescript-eslint/no-namespace, no-inner-declarations */
|
|
@@ -8630,7 +8630,7 @@ class Sedra {
|
|
|
8630
8630
|
const hdate = new HDate(saturday);
|
|
8631
8631
|
if (typeof index === 'string') {
|
|
8632
8632
|
// Shabbat has a chag. Return a description
|
|
8633
|
-
return { parsha: [index], chag: true, hdate, il: this.il };
|
|
8633
|
+
return { parsha: [index], chag: true, hdate, il: this.il, num: 0 };
|
|
8634
8634
|
}
|
|
8635
8635
|
if (index >= 0) {
|
|
8636
8636
|
return {
|
|
@@ -8653,7 +8653,7 @@ class Sedra {
|
|
|
8653
8653
|
}
|
|
8654
8654
|
/**
|
|
8655
8655
|
* The 54 parshiyot of the Torah as transilterated strings.
|
|
8656
|
-
* parshiot[0] == 'Bereshit', parshiot[1] == 'Noach', parshiot[52] == "Ha'azinu".
|
|
8656
|
+
* parshiot[0] == 'Bereshit', parshiot[1] == 'Noach', parshiot[52] == "Ha'azinu", parshiot[53] == 'Vezot Haberakhah'.
|
|
8657
8657
|
* @readonly
|
|
8658
8658
|
* @type {string[]}
|
|
8659
8659
|
*/
|
|
@@ -8711,6 +8711,7 @@ const parshiot = [
|
|
|
8711
8711
|
'Nitzavim',
|
|
8712
8712
|
'Vayeilech',
|
|
8713
8713
|
"Ha'azinu",
|
|
8714
|
+
'Vezot Haberakhah',
|
|
8714
8715
|
];
|
|
8715
8716
|
// 0-based parsha IDs
|
|
8716
8717
|
const parsha2id = new Map();
|
|
@@ -10824,6 +10825,10 @@ class ParshaEvent extends Event {
|
|
|
10824
10825
|
const isoDate = isoDateString(this.greg());
|
|
10825
10826
|
return isoDate.replace(/-/g, '');
|
|
10826
10827
|
}
|
|
10828
|
+
/** convenience function for compatibility with previous implementation */
|
|
10829
|
+
get parsha() {
|
|
10830
|
+
return this.p.parsha;
|
|
10831
|
+
}
|
|
10827
10832
|
}
|
|
10828
10833
|
|
|
10829
10834
|
/**
|