@hebcal/core 5.9.2 → 5.9.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.
Files changed (44) hide show
  1. package/dist/bundle.js +223 -200
  2. package/dist/bundle.js.map +1 -1
  3. package/dist/bundle.min.js +17 -19
  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 +2 -2
  19. package/dist/esm/he.po.js.map +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.d.ts +15 -3
  28. package/dist/esm/omer.js +210 -12
  29. package/dist/esm/omer.js.map +1 -1
  30. package/dist/esm/parshaName.js +1 -1
  31. package/dist/esm/parshaYear.js +1 -1
  32. package/dist/esm/pkgVersion.d.ts +1 -1
  33. package/dist/esm/pkgVersion.js +2 -2
  34. package/dist/esm/pkgVersion.js.map +1 -1
  35. package/dist/esm/reformatTimeStr.js +1 -1
  36. package/dist/esm/sedra.js +1 -1
  37. package/dist/esm/staticHolidays.js +1 -1
  38. package/dist/esm/tachanun.js +1 -1
  39. package/dist/esm/zmanim.js +1 -1
  40. package/dist/index.cjs +211 -13
  41. package/dist/index.cjs.map +1 -1
  42. package/dist/omer.d.ts +15 -3
  43. package/dist/pkgVersion.d.ts +1 -1
  44. package/package.json +8 -8
package/dist/omer.d.ts CHANGED
@@ -13,11 +13,15 @@ export declare class OmerEvent extends Event {
13
13
  */
14
14
  constructor(date: HDate, omerDay: number);
15
15
  /**
16
- * @param lang
16
+ * Returns the sefira. For example, on day 8:
17
+ * * חֶֽסֶד שֶׁבִּגְבוּרָה
18
+ * * Chesed shebiGevurah
19
+ * * Lovingkindness within Might
20
+ * @param lang `en` (English), `he` (Hebrew with nikud), or `translit` (Hebrew in Sephardic transliteration)
21
+ * @returns a string such as `Lovingkindness within Might` or `חֶֽסֶד שֶׁבִּגְבוּרָה`
17
22
  */
18
23
  sefira(lang?: string): string;
19
24
  /**
20
- * @todo use gettext()
21
25
  * @param [locale] Optional locale name (defaults to active locale).
22
26
  */
23
27
  render(locale?: string): string;
@@ -26,11 +30,19 @@ export declare class OmerEvent extends Event {
26
30
  * @param [locale] Optional locale name (defaults to active locale).
27
31
  */
28
32
  renderBrief(locale?: string): string;
33
+ /**
34
+ * Returns an emoji number symbol with a circle, for example `㊲`
35
+ * from the “Enclosed CJK Letters and Months” block of the Unicode standard
36
+ * @param omerDay the day of the omer, 1-49 inclusive
37
+ * @returns a single Unicode character from `①` through `㊾`
38
+ */
29
39
  getEmoji(): string;
30
40
  getWeeks(): number;
31
41
  getDaysWithinWeeks(): number;
32
42
  /**
33
- * @param locale
43
+ * Returns a sentence with that evening's omer count
44
+ * @returns a string such as `Today is 10 days, which is 1 week and 3 days of the Omer`
45
+ * or `הַיוֹם עֲשָׂרָה יָמִים, שְׁהֵם שָׁבוּעַ אֶחָד וְשְׁלוֹשָׁה יָמִים לָעוֹמֶר`
34
46
  */
35
47
  getTodayIs(locale: string): string;
36
48
  url(): string;
@@ -1,2 +1,2 @@
1
1
  /** DO NOT EDIT THIS AUTO-GENERATED FILE! */
2
- export declare const version = "5.9.2";
2
+ export declare const version = "5.9.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/core",
3
- "version": "5.9.2",
3
+ "version": "5.9.3",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "contributors": [
6
6
  "Eyal Schachter (https://github.com/Scimonster)",
@@ -78,21 +78,21 @@
78
78
  "@rollup/plugin-node-resolve": "^16.0.1",
79
79
  "@rollup/plugin-terser": "^0.4.4",
80
80
  "@rollup/plugin-typescript": "^12.1.2",
81
- "@types/node": "^22.13.14",
82
- "@vitest/coverage-v8": "^3.0.9",
81
+ "@types/node": "^22.14.1",
82
+ "@vitest/coverage-v8": "^3.1.2",
83
83
  "core-js": "^3.41.0",
84
84
  "gettext-parser": "^8.0.0",
85
85
  "gts": "^6.0.2",
86
86
  "pretty-bytes": "^6.1.1",
87
- "rollup": "^4.37.0",
87
+ "rollup": "^4.40.0",
88
88
  "rollup-plugin-bundle-size": "^1.0.3",
89
89
  "rollup-plugin-visualizer": "^5.14.0",
90
- "typedoc": "^0.28.1",
91
- "typescript": "^5.8.2",
92
- "vitest": "^3.0.9"
90
+ "typedoc": "^0.28.3",
91
+ "typescript": "^5.8.3",
92
+ "vitest": "^3.1.2"
93
93
  },
94
94
  "dependencies": {
95
- "@hebcal/hdate": "^0.13.6",
95
+ "@hebcal/hdate": "^0.14.0",
96
96
  "@hebcal/noaa": "^0.9.1",
97
97
  "quick-lru": "^6.1.2",
98
98
  "temporal-polyfill": "^0.3.0",