@hebcal/core 6.3.3 → 6.4.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 (67) hide show
  1. package/dist/bundle.js +5066 -5073
  2. package/dist/bundle.js.map +1 -1
  3. package/dist/bundle.min.js +17 -17
  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-x-NoNikud.po.js +1 -1
  19. package/dist/esm/he.po.js +2 -2
  20. package/dist/esm/he.po.js.map +1 -1
  21. package/dist/esm/hebcal.js +1 -1
  22. package/dist/esm/holidays.js +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/esm/isAssurBemlacha.js +1 -1
  25. package/dist/esm/locale.js +1 -1
  26. package/dist/esm/location.d.ts +0 -1
  27. package/dist/esm/location.js +1 -2
  28. package/dist/esm/location.js.map +1 -1
  29. package/dist/esm/modern.js +1 -1
  30. package/dist/esm/molad.d.ts +1 -1
  31. package/dist/esm/molad.js +2 -2
  32. package/dist/esm/molad.js.map +1 -1
  33. package/dist/esm/moladBase.js +1 -1
  34. package/dist/esm/moladDate.d.ts +1 -1
  35. package/dist/esm/moladDate.js +2 -2
  36. package/dist/esm/moladDate.js.map +1 -1
  37. package/dist/esm/omer.js +1 -1
  38. package/dist/esm/parshaName.js +1 -1
  39. package/dist/esm/parshaYear.js +1 -1
  40. package/dist/esm/pkgVersion.d.ts +1 -1
  41. package/dist/esm/pkgVersion.js +2 -2
  42. package/dist/esm/pkgVersion.js.map +1 -1
  43. package/dist/esm/reformatTimeStr.js +1 -1
  44. package/dist/esm/sedra.js +1 -1
  45. package/dist/esm/sefira.json.js +1 -1
  46. package/dist/esm/staticHolidays.js +1 -1
  47. package/dist/esm/tachanun.js +1 -1
  48. package/dist/esm/temporal-shim.d.ts +1 -0
  49. package/dist/esm/temporal-shim.js +11 -0
  50. package/dist/esm/temporal-shim.js.map +1 -0
  51. package/dist/esm/zmanim.d.ts +1 -1
  52. package/dist/esm/zmanim.js +2 -2
  53. package/dist/esm/zmanim.js.map +1 -1
  54. package/dist/src/he.po.js +1 -1
  55. package/dist/src/location.d.ts +0 -1
  56. package/dist/src/location.js +0 -1
  57. package/dist/src/molad.d.ts +1 -1
  58. package/dist/src/molad.js +1 -1
  59. package/dist/src/moladDate.d.ts +1 -1
  60. package/dist/src/moladDate.js +1 -1
  61. package/dist/src/pkgVersion.d.ts +1 -1
  62. package/dist/src/pkgVersion.js +1 -1
  63. package/dist/src/temporal-shim.d.ts +1 -0
  64. package/dist/src/temporal-shim.js +8 -0
  65. package/dist/src/zmanim.d.ts +1 -1
  66. package/dist/src/zmanim.js +1 -1
  67. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import 'temporal-polyfill/global';
1
+ import './temporal-shim';
2
2
  import { Event } from './event';
3
3
  import { CalOptions } from './CalOptions';
4
4
  import { HDate } from '@hebcal/hdate';
package/dist/src/molad.js CHANGED
@@ -1,4 +1,4 @@
1
- import 'temporal-polyfill/global';
1
+ import './temporal-shim';
2
2
  import { Event, flags } from './event';
3
3
  import { HDate, Locale, pad2 } from '@hebcal/hdate';
4
4
  import { reformatTimeStr } from './reformatTimeStr';
@@ -1,4 +1,4 @@
1
- import 'temporal-polyfill/global';
1
+ import './temporal-shim';
2
2
  import { MoladBase } from './moladBase';
3
3
  /**
4
4
  * Returns the molad in UTC as a Temporal.ZonedDateTime.
@@ -1,4 +1,4 @@
1
- import 'temporal-polyfill/global';
1
+ import './temporal-shim';
2
2
  import { getTimezoneOffset } from '@hebcal/hdate';
3
3
  /** constant for milliseconds in a minute (60,000) */
4
4
  const MINUTE_MILLIS = 60 * 1000;
@@ -1,2 +1,2 @@
1
1
  /** DO NOT EDIT THIS AUTO-GENERATED FILE! */
2
- export declare const version = "6.3.3";
2
+ export declare const version = "6.4.1";
@@ -1,2 +1,2 @@
1
1
  /** DO NOT EDIT THIS AUTO-GENERATED FILE! */
2
- export const version = '6.3.3';
2
+ export const version = '6.4.1';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
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
+ }
@@ -1,4 +1,4 @@
1
- import 'temporal-polyfill/global';
1
+ import './temporal-shim';
2
2
  import { GeoLocation } from '@hebcal/noaa';
3
3
  import { HDate } from '@hebcal/hdate';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import 'temporal-polyfill/global';
1
+ import './temporal-shim';
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.3.3",
3
+ "version": "6.4.1",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "contributors": [
6
6
  "Eyal Schachter (https://github.com/Scimonster)",
@@ -72,12 +72,12 @@
72
72
  "@rollup/plugin-node-resolve": "^16.0.3",
73
73
  "@rollup/plugin-terser": "^1.0.0",
74
74
  "@rollup/plugin-typescript": "^12.3.0",
75
- "@types/node": "^25.6.0",
75
+ "@types/node": "^25.6.2",
76
76
  "@vitest/coverage-v8": "^4.1.5",
77
77
  "gettext-parser": "^9.0.2",
78
78
  "gts": "^7.0.0",
79
79
  "pretty-bytes": "^7.1.0",
80
- "rollup": "^4.60.2",
80
+ "rollup": "^4.60.3",
81
81
  "rollup-plugin-bundle-size": "^1.0.3",
82
82
  "rollup-plugin-visualizer": "^7.0.1",
83
83
  "typedoc": "^0.28.19",
@@ -85,8 +85,8 @@
85
85
  "vitest": "^4.1.5"
86
86
  },
87
87
  "dependencies": {
88
- "@hebcal/hdate": "^0.22.1",
89
- "@hebcal/noaa": "^0.10.1",
88
+ "@hebcal/hdate": "^0.22.2",
89
+ "@hebcal/noaa": "^0.11.0",
90
90
  "quick-lru": "^7.3.0",
91
91
  "temporal-polyfill": "^0.3.2"
92
92
  }