@hebcal/core 6.5.3 → 6.6.0

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 (84) hide show
  1. package/dist/bundle.js +6203 -5373
  2. package/dist/bundle.js.map +1 -1
  3. package/dist/bundle.min.js +18 -18
  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 +7 -6
  8. package/dist/esm/HolidayEvent.js.map +1 -1
  9. package/dist/esm/MevarchimChodeshEvent.js +3 -2
  10. package/dist/esm/MevarchimChodeshEvent.js.map +1 -1
  11. package/dist/esm/ParshaEvent.js +4 -3
  12. package/dist/esm/ParshaEvent.js.map +1 -1
  13. package/dist/esm/TimedEvent.js +1 -1
  14. package/dist/esm/YomKippurKatanEvent.js +3 -2
  15. package/dist/esm/YomKippurKatanEvent.js.map +1 -1
  16. package/dist/esm/ashkenazi.po.js +1 -1
  17. package/dist/esm/calendar.js +1 -1
  18. package/dist/esm/candles.js +1 -1
  19. package/dist/esm/cities.json.js +1 -1
  20. package/dist/esm/event.js +1 -1
  21. package/dist/esm/getStartAndEnd.js +1 -1
  22. package/dist/esm/hallel.js +1 -1
  23. package/dist/esm/he-x-NoNikud.po.js +1 -1
  24. package/dist/esm/he.po.d.ts +0 -1
  25. package/dist/esm/he.po.js +2 -2
  26. package/dist/esm/he.po.js.map +1 -1
  27. package/dist/esm/hebcal.js +1 -1
  28. package/dist/esm/holidays.js +1 -1
  29. package/dist/esm/index.js +1 -1
  30. package/dist/esm/isAssurBemlacha.js +1 -1
  31. package/dist/esm/isAveilut.js +1 -1
  32. package/dist/esm/isFastDay.js +1 -1
  33. package/dist/esm/locale.js +1 -1
  34. package/dist/esm/location.js +1 -1
  35. package/dist/esm/modern.js +1 -1
  36. package/dist/esm/molad.d.ts +1 -1
  37. package/dist/esm/molad.js +4 -3
  38. package/dist/esm/molad.js.map +1 -1
  39. package/dist/esm/moladBase.js +1 -1
  40. package/dist/esm/moladDate.d.ts +1 -1
  41. package/dist/esm/moladDate.js +2 -2
  42. package/dist/esm/moladDate.js.map +1 -1
  43. package/dist/esm/omer.js +1 -1
  44. package/dist/esm/parshaName.js +3 -2
  45. package/dist/esm/parshaName.js.map +1 -1
  46. package/dist/esm/parshaYear.js +1 -1
  47. package/dist/esm/pkgVersion.d.ts +1 -1
  48. package/dist/esm/pkgVersion.js +2 -2
  49. package/dist/esm/pkgVersion.js.map +1 -1
  50. package/dist/esm/reformatTimeStr.js +1 -1
  51. package/dist/esm/sedra.js +1 -1
  52. package/dist/esm/sefira.json.js +1 -1
  53. package/dist/esm/staticHolidays.js +1 -1
  54. package/dist/esm/string.d.ts +2 -0
  55. package/dist/esm/string.js +10 -0
  56. package/dist/esm/string.js.map +1 -0
  57. package/dist/esm/tachanun.js +1 -1
  58. package/dist/esm/zmanim.d.ts +1 -1
  59. package/dist/esm/zmanim.js +2 -2
  60. package/dist/esm/zmanim.js.map +1 -1
  61. package/dist/src/HolidayEvent.js +6 -5
  62. package/dist/src/MevarchimChodeshEvent.js +2 -1
  63. package/dist/src/ParshaEvent.js +3 -2
  64. package/dist/src/YomKippurKatanEvent.js +2 -1
  65. package/dist/src/he.po.d.ts +0 -1
  66. package/dist/src/he.po.js +1 -1
  67. package/dist/src/molad.d.ts +1 -1
  68. package/dist/src/molad.js +3 -2
  69. package/dist/src/moladDate.d.ts +1 -1
  70. package/dist/src/moladDate.js +1 -1
  71. package/dist/src/parshaName.js +2 -1
  72. package/dist/src/pkgVersion.d.ts +1 -1
  73. package/dist/src/pkgVersion.js +1 -1
  74. package/dist/src/string.d.ts +2 -0
  75. package/dist/src/string.js +6 -0
  76. package/dist/src/zmanim.d.ts +1 -1
  77. package/dist/src/zmanim.js +1 -1
  78. package/package.json +9 -9
  79. package/po/he.po +0 -3
  80. package/dist/esm/temporal-shim.d.ts +0 -1
  81. package/dist/esm/temporal-shim.js +0 -11
  82. package/dist/esm/temporal-shim.js.map +0 -1
  83. package/dist/src/temporal-shim.d.ts +0 -1
  84. package/dist/src/temporal-shim.js +0 -8
@@ -1,4 +1,4 @@
1
- import './temporal-shim';
1
+ import 'temporal-polyfill/global';
2
2
  import { NOAACalculator } from '@hebcal/noaa';
3
3
  import { HDate, getPseudoISO, getTimezoneOffset, isDate, pad2, } from '@hebcal/hdate';
4
4
  import { Molad } from './molad';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/core",
3
- "version": "6.5.3",
3
+ "version": "6.6.0",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "contributors": [
6
6
  "Eyal Schachter (https://github.com/Scimonster)",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "typings": "./dist/esm/index.d.ts",
37
37
  "engines": {
38
- "node": ">= 18.0.0"
38
+ "node": ">= 18"
39
39
  },
40
40
  "repository": {
41
41
  "type": "git",
@@ -76,22 +76,22 @@
76
76
  "@rollup/plugin-node-resolve": "^16.0.3",
77
77
  "@rollup/plugin-terser": "^1.0.0",
78
78
  "@rollup/plugin-typescript": "^12.3.0",
79
- "@types/node": "^25.9.2",
80
- "@vitest/coverage-v8": "^4.1.8",
79
+ "@types/node": "^26.0.0",
80
+ "@vitest/coverage-v8": "^4.1.9",
81
81
  "gettext-parser": "^9.0.2",
82
82
  "gts": "^7.0.0",
83
83
  "pretty-bytes": "^7.1.0",
84
- "rollup": "^4.61.1",
84
+ "rollup": "^4.62.2",
85
85
  "rollup-plugin-bundle-size": "^1.0.3",
86
86
  "rollup-plugin-visualizer": "^7.0.1",
87
87
  "typedoc": "^0.28.19",
88
88
  "typescript": "^6.0.3",
89
- "vitest": "^4.1.8"
89
+ "vitest": "^4.1.9"
90
90
  },
91
91
  "dependencies": {
92
- "@hebcal/hdate": "^0.22.3",
93
- "@hebcal/noaa": "^0.11.0",
92
+ "@hebcal/hdate": "^0.22.4",
93
+ "@hebcal/noaa": "^0.12.1",
94
94
  "quick-lru": "^7.3.0",
95
- "temporal-polyfill": "^0.3.2"
95
+ "temporal-polyfill": "^1.0.1"
96
96
  }
97
97
  }
package/po/he.po CHANGED
@@ -307,9 +307,6 @@ msgstr "פּוּרִים"
307
307
  msgid "Purim Katan"
308
308
  msgstr "פּוּרִים קָטָן"
309
309
 
310
- msgid "Rosh Chodesh %s"
311
- msgstr "רֹאשׁ חוֹדֶשׁ %s"
312
-
313
310
  msgid "Rosh Chodesh"
314
311
  msgstr "רֹאשׁ חוֹדֶשׁ"
315
312
 
@@ -1 +0,0 @@
1
- export {};
@@ -1,11 +0,0 @@
1
- /*! @hebcal/core v6.5.3, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */
2
- import { Temporal } from 'temporal-polyfill';
3
-
4
- /// <reference types="temporal-polyfill/global" />
5
- // Install the polyfill only when the runtime does not already provide a
6
- // native `Temporal` global (e.g. Node.js >= 26, future browsers).
7
- if (typeof globalThis.Temporal === 'undefined') {
8
- globalThis.Temporal =
9
- Temporal;
10
- }
11
- //# sourceMappingURL=temporal-shim.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"temporal-shim.js","sources":["../../../src/temporal-shim.ts"],"sourcesContent":["/// <reference types=\"temporal-polyfill/global\" />\nimport {Temporal as TemporalPolyfill} from 'temporal-polyfill';\n\n// Install the polyfill only when the runtime does not already provide a\n// native `Temporal` global (e.g. Node.js >= 26, future browsers).\nif (typeof (globalThis as {Temporal?: unknown}).Temporal === 'undefined') {\n (globalThis as unknown as {Temporal: typeof TemporalPolyfill}).Temporal =\n TemporalPolyfill;\n}\n"],"names":["TemporalPolyfill"],"mappings":";;;AAAA;AAGA;AACA;AACA,IAAI,OAAQ,UAAmC,CAAC,QAAQ,KAAK,WAAW,EAAE;AACvE,IAAA,UAA6D,CAAC,QAAQ;AACrE,QAAAA,QAAgB;AACpB"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- /// <reference types="temporal-polyfill/global" />
2
- import { Temporal as TemporalPolyfill } from 'temporal-polyfill';
3
- // Install the polyfill only when the runtime does not already provide a
4
- // native `Temporal` global (e.g. Node.js >= 26, future browsers).
5
- if (typeof globalThis.Temporal === 'undefined') {
6
- globalThis.Temporal =
7
- TemporalPolyfill;
8
- }