@hebcal/core 6.0.1 → 6.0.2
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 +7 -3
- 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 +4 -3
- package/dist/esm/sedra.js +2 -2
- 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 +4 -3
- package/package.json +1 -1
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.2, 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.2';
|
|
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 {
|
|
@@ -10824,6 +10824,10 @@ class ParshaEvent extends Event {
|
|
|
10824
10824
|
const isoDate = isoDateString(this.greg());
|
|
10825
10825
|
return isoDate.replace(/-/g, '');
|
|
10826
10826
|
}
|
|
10827
|
+
/** convenience function for compatibility with previous implementation */
|
|
10828
|
+
get parsha() {
|
|
10829
|
+
return this.p.parsha;
|
|
10830
|
+
}
|
|
10827
10831
|
}
|
|
10828
10832
|
|
|
10829
10833
|
/**
|