@hebcal/core 5.8.0 → 5.8.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.
Files changed (41) hide show
  1. package/dist/bundle.js +12 -12
  2. package/dist/bundle.js.map +1 -1
  3. package/dist/bundle.min.js +3 -3
  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 +11 -11
  14. package/dist/esm/calendar.js.map +1 -1
  15. package/dist/esm/candles.js +1 -1
  16. package/dist/esm/event.js +1 -1
  17. package/dist/esm/getStartAndEnd.js +1 -1
  18. package/dist/esm/hallel.js +1 -1
  19. package/dist/esm/he.po.js +1 -1
  20. package/dist/esm/hebcal.js +1 -1
  21. package/dist/esm/holidays.js +1 -1
  22. package/dist/esm/index.js +1 -1
  23. package/dist/esm/locale.js +1 -1
  24. package/dist/esm/location.js +1 -1
  25. package/dist/esm/modern.js +1 -1
  26. package/dist/esm/molad.js +1 -1
  27. package/dist/esm/omer.js +1 -1
  28. package/dist/esm/parshaName.js +1 -1
  29. package/dist/esm/parshaYear.js +1 -1
  30. package/dist/esm/pkgVersion.d.ts +1 -1
  31. package/dist/esm/pkgVersion.js +2 -2
  32. package/dist/esm/pkgVersion.js.map +1 -1
  33. package/dist/esm/reformatTimeStr.js +1 -1
  34. package/dist/esm/sedra.js +1 -1
  35. package/dist/esm/staticHolidays.js +1 -1
  36. package/dist/esm/tachanun.js +1 -1
  37. package/dist/esm/zmanim.js +1 -1
  38. package/dist/index.cjs +12 -12
  39. package/dist/index.cjs.map +1 -1
  40. package/dist/pkgVersion.d.ts +1 -1
  41. package/package.json +3 -2
package/dist/bundle.js CHANGED
@@ -1,9 +1,9 @@
1
- /*! @hebcal/core v5.8.0 */
1
+ /*! @hebcal/core v5.8.1 */
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.8.0';
6
+ const version = '5.8.1';
7
7
 
8
8
  /*! @hebcal/hdate v0.12.0 */
9
9
  /* eslint-disable @typescript-eslint/no-namespace, no-inner-declarations */
@@ -13393,6 +13393,16 @@ function calendar(options = {}) {
13393
13393
  evts.push(new ParshaEvent(hd, parsha0.parsha, il, parsha0.num));
13394
13394
  }
13395
13395
  }
13396
+ if (options.yizkor) {
13397
+ const mm = hd.getMonth();
13398
+ const dd = hd.getDate();
13399
+ if ((mm === months.TISHREI && (dd === 10 || dd === 22)) ||
13400
+ (mm === NISAN && dd === (il ? 21 : 22)) ||
13401
+ (mm === SIVAN && dd === (il ? 6 : 7))) {
13402
+ const ev = new Event(hd, 'Yizkor', flags.YIZKOR, { emoji: '🕯️' });
13403
+ evts.push(ev);
13404
+ }
13405
+ }
13396
13406
  const dailyLearning = options.dailyLearning;
13397
13407
  if (typeof dailyLearning === 'object') {
13398
13408
  const events = makeDailyLearning(hd, dailyLearning, il);
@@ -13423,16 +13433,6 @@ function calendar(options = {}) {
13423
13433
  if (candlesEv) {
13424
13434
  evts.push(candlesEv);
13425
13435
  }
13426
- if (options.yizkor) {
13427
- const mm = hd.getMonth();
13428
- const dd = hd.getDate();
13429
- if ((mm === months.TISHREI && (dd === 10 || dd === 22)) ||
13430
- (mm === NISAN && dd === (il ? 21 : 22)) ||
13431
- (mm === SIVAN && dd === (il ? 6 : 7))) {
13432
- const ev = new Event(hd, 'Yizkor', flags.YIZKOR, { emoji: '🕯️' });
13433
- evts.push(ev);
13434
- }
13435
- }
13436
13436
  if (options.addHebrewDates ||
13437
13437
  (options.addHebrewDatesForEvents && prevEventsLength !== evts.length)) {
13438
13438
  const e2 = new HebrewDateEvent(hd);