@hebcal/core 5.8.4 → 5.8.5

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.
package/dist/bundle.js CHANGED
@@ -1,9 +1,9 @@
1
- /*! @hebcal/core v5.8.4 */
1
+ /*! @hebcal/core v5.8.5 */
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.4';
6
+ const version = '5.8.5';
7
7
 
8
8
  /*! @hebcal/hdate v0.12.0 */
9
9
  /* eslint-disable @typescript-eslint/no-namespace, no-inner-declarations */
@@ -8448,6 +8448,14 @@ const xn = {
8448
8448
  DateTimeFormat: Sr
8449
8449
  }));
8450
8450
 
8451
+ Object.defineProperties(globalThis, p({
8452
+ Temporal: mr
8453
+ })), Object.defineProperties(Intl, p({
8454
+ DateTimeFormat: Sr
8455
+ })), Object.defineProperties(Date.prototype, p({
8456
+ toTemporalInstant: toTemporalInstant
8457
+ }));
8458
+
8451
8459
  /**
8452
8460
  * java.lang.Math.toRadians
8453
8461
  * @private
@@ -9113,7 +9121,7 @@ class NOAACalculator {
9113
9121
  }
9114
9122
  return cal.toZonedDateTime({
9115
9123
  timeZone: 'UTC',
9116
- plainTime: new mr.PlainTime(hours, minutes, seconds, Math.trunc(calculatedTime * 1000))
9124
+ plainTime: new Temporal.PlainTime(hours, minutes, seconds, Math.trunc(calculatedTime * 1000))
9117
9125
  }).withTimeZone(this.geoLocation.getTimeZone());
9118
9126
  }
9119
9127
  /**
@@ -9814,14 +9822,6 @@ for (const city of classicCities0) {
9814
9822
  Location.addLocation(city[0], location);
9815
9823
  }
9816
9824
 
9817
- Object.defineProperties(globalThis, p({
9818
- Temporal: mr
9819
- })), Object.defineProperties(Intl, p({
9820
- DateTimeFormat: Sr
9821
- })), Object.defineProperties(Date.prototype, p({
9822
- toTemporalInstant: toTemporalInstant
9823
- }));
9824
-
9825
9825
  /**
9826
9826
  * @private
9827
9827
  */