@hebcal/core 5.9.4 → 5.9.6
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 +14 -9
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +4 -4
- 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.js +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.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/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 +4 -4
- package/dist/esm/omer.js.map +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 +1 -0
- package/dist/esm/sedra.js +5 -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/index.cjs +9 -7
- package/dist/index.cjs.map +1 -1
- package/dist/pkgVersion.d.ts +1 -1
- package/dist/sedra.d.ts +1 -0
- package/package.json +8 -8
package/dist/bundle.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @hebcal/core v5.9.
|
|
1
|
+
/*! @hebcal/core v5.9.6, 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 = '5.9.
|
|
6
|
+
const version = '5.9.6';
|
|
7
7
|
|
|
8
8
|
/*! @hebcal/hdate v0.14.0, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
|
|
9
9
|
/* eslint-disable @typescript-eslint/no-namespace, no-inner-declarations */
|
|
@@ -2705,10 +2705,10 @@ function requireSharedStore () {
|
|
|
2705
2705
|
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
2706
2706
|
|
|
2707
2707
|
(store.versions || (store.versions = [])).push({
|
|
2708
|
-
version: '3.
|
|
2708
|
+
version: '3.42.0',
|
|
2709
2709
|
mode: IS_PURE ? 'pure' : 'global',
|
|
2710
2710
|
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
2711
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
2711
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE',
|
|
2712
2712
|
source: 'https://github.com/zloirock/core-js'
|
|
2713
2713
|
});
|
|
2714
2714
|
return sharedStore.exports;
|
|
@@ -8185,6 +8185,9 @@ class GeoLocation {
|
|
|
8185
8185
|
* The timeZone to set.
|
|
8186
8186
|
*/
|
|
8187
8187
|
setTimeZone(timeZoneId) {
|
|
8188
|
+
if (!timeZoneId) {
|
|
8189
|
+
throw new RangeError('Invalid timeZoneId');
|
|
8190
|
+
}
|
|
8188
8191
|
this.timeZoneId = timeZoneId;
|
|
8189
8192
|
}
|
|
8190
8193
|
}
|
|
@@ -11240,12 +11243,12 @@ const sefirot = {
|
|
|
11240
11243
|
words: [
|
|
11241
11244
|
'',
|
|
11242
11245
|
'חֶֽסֶד',
|
|
11243
|
-
'
|
|
11246
|
+
'גְּבוּרָה',
|
|
11244
11247
|
'תִּפְאֶֽרֶת',
|
|
11245
11248
|
'נֶּֽצַח',
|
|
11246
11249
|
'הוֹד',
|
|
11247
11250
|
'יְּסוֹד',
|
|
11248
|
-
'
|
|
11251
|
+
'מַלְכוּת',
|
|
11249
11252
|
],
|
|
11250
11253
|
pfxWords: [
|
|
11251
11254
|
'',
|
|
@@ -11254,7 +11257,7 @@ const sefirot = {
|
|
|
11254
11257
|
'שֶׁבְּתִפְאֶֽרֶת',
|
|
11255
11258
|
'שֶׁבְּנֶֽצַח',
|
|
11256
11259
|
'שֶׁבְּהוֹד',
|
|
11257
|
-
'
|
|
11260
|
+
'שֶׁבִּיְסוֹד',
|
|
11258
11261
|
'שֶׁבְּמַלְכוּת',
|
|
11259
11262
|
],
|
|
11260
11263
|
},
|
|
@@ -11842,10 +11845,12 @@ class Sedra {
|
|
|
11842
11845
|
let key = `${leap}${rhDay}${type}`;
|
|
11843
11846
|
if (types[key]) {
|
|
11844
11847
|
this.theSedraArray = types[key];
|
|
11848
|
+
this.yearKey = key;
|
|
11845
11849
|
}
|
|
11846
11850
|
else {
|
|
11847
11851
|
key = key + +this.il; // cast to num, then concat
|
|
11848
11852
|
this.theSedraArray = types[key];
|
|
11853
|
+
this.yearKey = key;
|
|
11849
11854
|
}
|
|
11850
11855
|
if (!this.theSedraArray) {
|
|
11851
11856
|
throw new Error(`improper sedra year type ${key} calculated for ${hyear}`);
|
|
@@ -12163,11 +12168,11 @@ const types = {
|
|
|
12163
12168
|
/* Hebrew year that starts on Monday, is `incomplete' (Heshvan and
|
|
12164
12169
|
* Kislev each have 29 days), and has Passover start on Tuesday. */
|
|
12165
12170
|
// e.g. 5753
|
|
12166
|
-
'020': yearStartVayeilech.concat(r020, D(21), 23, 24,
|
|
12171
|
+
'020': yearStartVayeilech.concat(r020, D(21), 23, 24, CHMPESACH, 25, D(26), D(28), 30, D(31), r3340, D(41), r4349, D(50)),
|
|
12167
12172
|
/* Hebrew year that starts on Monday, is `complete' (Heshvan and
|
|
12168
12173
|
* Kislev each have 30 days), and has Passover start on Thursday. */
|
|
12169
12174
|
// e.g. 5756
|
|
12170
|
-
'0220': yearStartVayeilech.concat(r020, D(21), 23, 24,
|
|
12175
|
+
'0220': yearStartVayeilech.concat(r020, D(21), 23, 24, CHMPESACH, 25, D(26), D(28), 30, D(31), 33, SHAVUOT, range$1(34, 37), D(38), 40, D(41), r4349, D(50)),
|
|
12171
12176
|
/* Hebrew year that starts on Thursday, is `regular' (Heshvan has 29
|
|
12172
12177
|
* days and Kislev has 30 days), and has Passover start on Saturday. */
|
|
12173
12178
|
// e.g. 5701
|