@bereasoftware/time-guard 2.4.1 → 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,5 +1,4 @@
1
- /*! time-guard v2.4.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import "@js-temporal/polyfill";
1
+ /*! time-guard v2.5.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
3
2
  //#region src/adapters/temporal.adapter.ts
4
3
  var e = null, t = !1;
5
4
  function n() {
@@ -4692,10 +4691,13 @@ var R = 40, z = class {
4692
4691
  }, re = new $();
4693
4692
  //#endregion
4694
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 {}
4695
4697
  function ie(e, t) {
4696
4698
  return new D(e, t);
4697
4699
  }
4698
- var ae = "2.4.1";
4700
+ var ae = "2.5.1";
4699
4701
  o.getInstance().loadLocales(F);
4700
4702
  //#endregion
4701
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 };