@bereasoftware/time-guard 2.5.0 → 2.5.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.
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.5.0 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.5.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  //#region src/adapters/temporal.adapter.ts
3
3
  var e = null, t = !1;
4
4
  function n() {
@@ -4691,10 +4691,13 @@ var R = 40, z = class {
4691
4691
  }, re = new $();
4692
4692
  //#endregion
4693
4693
  //#region src/index.ts
4694
+ if (typeof globalThis < "u" && !globalThis.Temporal && typeof process < "u" && typeof globalThis.require == "function") try {
4695
+ globalThis.require("@js-temporal/polyfill");
4696
+ } catch {}
4694
4697
  function ie(e, t) {
4695
4698
  return new D(e, t);
4696
4699
  }
4697
- var ae = "2.5.0";
4700
+ var ae = "2.5.1";
4698
4701
  o.getInstance().loadLocales(F);
4699
4702
  //#endregion
4700
4703
  export { F as ALL_LOCALES, $ as AdvancedFormatPlugin, K as BuddhistCalendar, B as CalendarManager, W as ChineseCalendar, s as DateFormatter, Z as Duration, Q as DurationPlugin, T as DurationResult, i as EN_LOCALE, a as ES_LOCALE, z as GregorianCalendar, U as HebrewCalendar, H as IslamicCalendar, G as JapaneseCalendar, R as LOCALES_COUNT, o as LocaleManager, m as PluginManager, Y as RelativeTimePlugin, r as TemporalAdapter, D as TimeGuard, E as TimeRange, re as advancedFormatPlugin, V as calendarManager, ne as durationPlugin, L as getAvailableLocales, I as registerAllLocales, X as relativeTimePlugin, ie as timeGuard, ae as version };