@hebcal/core 5.9.5 → 5.9.7

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.
Files changed (43) hide show
  1. package/dist/bundle.js +6 -4
  2. package/dist/bundle.js.map +1 -1
  3. package/dist/bundle.min.js +4 -4
  4. package/dist/bundle.min.js.map +1 -1
  5. package/dist/esm/DailyLearning.js +1 -1
  6. package/dist/esm/HebrewDateEvent.js +1 -1
  7. package/dist/esm/HolidayEvent.js +1 -1
  8. package/dist/esm/MevarchimChodeshEvent.js +1 -1
  9. package/dist/esm/ParshaEvent.js +1 -1
  10. package/dist/esm/TimedEvent.js +1 -1
  11. package/dist/esm/YomKippurKatanEvent.js +1 -1
  12. package/dist/esm/ashkenazi.po.js +1 -1
  13. package/dist/esm/calendar.js +1 -1
  14. package/dist/esm/candles.js +1 -1
  15. package/dist/esm/event.js +1 -1
  16. package/dist/esm/getStartAndEnd.js +1 -1
  17. package/dist/esm/hallel.js +1 -1
  18. package/dist/esm/he.po.js +1 -1
  19. package/dist/esm/hebcal.js +1 -1
  20. package/dist/esm/holidays.js +1 -1
  21. package/dist/esm/index.js +1 -1
  22. package/dist/esm/locale.js +1 -1
  23. package/dist/esm/location.js +1 -1
  24. package/dist/esm/modern.js +1 -1
  25. package/dist/esm/molad.js +1 -1
  26. package/dist/esm/omer.js +1 -1
  27. package/dist/esm/parshaName.js +1 -1
  28. package/dist/esm/parshaYear.js +1 -1
  29. package/dist/esm/pkgVersion.d.ts +1 -1
  30. package/dist/esm/pkgVersion.js +2 -2
  31. package/dist/esm/pkgVersion.js.map +1 -1
  32. package/dist/esm/reformatTimeStr.js +1 -1
  33. package/dist/esm/sedra.d.ts +1 -0
  34. package/dist/esm/sedra.js +5 -3
  35. package/dist/esm/sedra.js.map +1 -1
  36. package/dist/esm/staticHolidays.js +1 -1
  37. package/dist/esm/tachanun.js +1 -1
  38. package/dist/esm/zmanim.js +1 -1
  39. package/dist/index.cjs +3182 -243
  40. package/dist/index.cjs.map +1 -1
  41. package/dist/pkgVersion.d.ts +1 -1
  42. package/dist/sedra.d.ts +1 -0
  43. package/package.json +7 -7
package/dist/bundle.js CHANGED
@@ -1,9 +1,9 @@
1
- /*! @hebcal/core v5.9.5, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
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.5';
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 */
@@ -11845,10 +11845,12 @@ class Sedra {
11845
11845
  let key = `${leap}${rhDay}${type}`;
11846
11846
  if (types[key]) {
11847
11847
  this.theSedraArray = types[key];
11848
+ this.yearKey = key;
11848
11849
  }
11849
11850
  else {
11850
11851
  key = key + +this.il; // cast to num, then concat
11851
11852
  this.theSedraArray = types[key];
11853
+ this.yearKey = key;
11852
11854
  }
11853
11855
  if (!this.theSedraArray) {
11854
11856
  throw new Error(`improper sedra year type ${key} calculated for ${hyear}`);
@@ -12166,11 +12168,11 @@ const types = {
12166
12168
  /* Hebrew year that starts on Monday, is `incomplete' (Heshvan and
12167
12169
  * Kislev each have 29 days), and has Passover start on Tuesday. */
12168
12170
  // e.g. 5753
12169
- '020': yearStartVayeilech.concat(r020, D(21), 23, 24, PESACH, 25, D(26), D(28), 30, D(31), r3340, D(41), r4349, D(50)),
12171
+ '020': yearStartVayeilech.concat(r020, D(21), 23, 24, CHMPESACH, 25, D(26), D(28), 30, D(31), r3340, D(41), r4349, D(50)),
12170
12172
  /* Hebrew year that starts on Monday, is `complete' (Heshvan and
12171
12173
  * Kislev each have 30 days), and has Passover start on Thursday. */
12172
12174
  // e.g. 5756
12173
- '0220': yearStartVayeilech.concat(r020, D(21), 23, 24, PESACH, 25, D(26), D(28), 30, D(31), 33, SHAVUOT, range$1(34, 37), D(38), 40, D(41), r4349, D(50)),
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)),
12174
12176
  /* Hebrew year that starts on Thursday, is `regular' (Heshvan has 29
12175
12177
  * days and Kislev has 30 days), and has Passover start on Saturday. */
12176
12178
  // e.g. 5701