@bereasoftware/time-guard 2.7.1 → 2.7.2

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,6 +1,6 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_core = require("../core-BFdo248T.cjs");
3
+ const require_core = require("../core-BIDjudpO.cjs");
4
4
  let _angular_core = require("@angular/core");
5
5
  let rxjs = require("rxjs");
6
6
  //#region src/angular.ts
@@ -1,5 +1,5 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { n as TimeGuard } from "../core-CyBR5PPd.js";
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { n as TimeGuard } from "../core-DWPXk3rz.js";
3
3
  import { ChangeDetectorRef, Injectable, InjectionToken, NgZone, Pipe, inject } from "@angular/core";
4
4
  import { Observable, shareReplay } from "rxjs";
5
5
  //#region src/angular.ts
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  //#region src/calendars/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  //#region src/calendars/index.ts
3
3
  /**
4
4
  * Islamic Calendar (Hijri)
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  //#region \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  //#region src/locales/locale.manager.ts
3
3
  /**
4
4
  * English locale data
@@ -1804,7 +1804,7 @@ function timeGuard(input, config) {
1804
1804
  return new TimeGuard(input, config);
1805
1805
  }
1806
1806
  /** The current version of TimeGuard */
1807
- var version = "2.7.1";
1807
+ var version = "2.7.2";
1808
1808
  //#endregion
1809
1809
  Object.defineProperty(exports, "CalendarManager", {
1810
1810
  enumerable: true,
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  //#region src/locales/locale.manager.ts
3
3
  /**
4
4
  * English locale data
@@ -1804,6 +1804,6 @@ function timeGuard(input, config) {
1804
1804
  return new TimeGuard(input, config);
1805
1805
  }
1806
1806
  /** The current version of TimeGuard */
1807
- var version = "2.7.1";
1807
+ var version = "2.7.2";
1808
1808
  //#endregion
1809
1809
  export { version as a, GregorianCalendar as c, TemporalAdapter as d, EN_LOCALE as f, timeGuard as i, calendarManager as l, LocaleManager as m, TimeGuard as n, PluginManager as o, ES_LOCALE as p, TimeRange as r, CalendarManager as s, DurationResult as t, DateFormatter as u };
@@ -1,6 +1,6 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_locales = require("../locales-B1mDDyn_.cjs");
3
+ const require_locales = require("../locales-CGdn0DJN.cjs");
4
4
  exports.ALL_LOCALES = require_locales.ALL_LOCALES;
5
5
  exports.LOCALES_COUNT = require_locales.LOCALES_COUNT;
6
6
  exports.getAvailableLocales = require_locales.getAvailableLocales;
@@ -1,3 +1,3 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { i as registerAllLocales, n as LOCALES_COUNT, r as getAvailableLocales, t as ALL_LOCALES } from "../locales-By7IK3Ep.js";
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { i as registerAllLocales, n as LOCALES_COUNT, r as getAvailableLocales, t as ALL_LOCALES } from "../locales-BUE_aq8K.js";
3
3
  export { ALL_LOCALES, LOCALES_COUNT, getAvailableLocales, registerAllLocales };
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  var ENGLISH_LOCALES = {
3
3
  en: {
4
4
  name: "en",
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  var ENGLISH_LOCALES = {
3
3
  en: {
4
4
  name: "en",
@@ -1,7 +1,7 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_core = require("../core-BFdo248T.cjs");
4
- const require_locales = require("../locales-B1mDDyn_.cjs");
3
+ const require_core = require("../core-BIDjudpO.cjs");
4
+ const require_locales = require("../locales-CGdn0DJN.cjs");
5
5
  const require_calendars_index = require("../calendars/index.cjs");
6
6
  const require_plugins_relative_time = require("../plugins/relative-time.cjs");
7
7
  const require_plugins_duration = require("../plugins/duration.cjs");
@@ -1,6 +1,6 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { a as version, c as GregorianCalendar, d as TemporalAdapter, f as EN_LOCALE, i as timeGuard, l as calendarManager, m as LocaleManager, n as TimeGuard, o as PluginManager, p as ES_LOCALE, r as TimeRange, s as CalendarManager, t as DurationResult, u as DateFormatter } from "../core-CyBR5PPd.js";
3
- import { i as registerAllLocales, n as LOCALES_COUNT, r as getAvailableLocales, t as ALL_LOCALES } from "../locales-By7IK3Ep.js";
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { a as version, c as GregorianCalendar, d as TemporalAdapter, f as EN_LOCALE, i as timeGuard, l as calendarManager, m as LocaleManager, n as TimeGuard, o as PluginManager, p as ES_LOCALE, r as TimeRange, s as CalendarManager, t as DurationResult, u as DateFormatter } from "../core-DWPXk3rz.js";
3
+ import { i as registerAllLocales, n as LOCALES_COUNT, r as getAvailableLocales, t as ALL_LOCALES } from "../locales-BUE_aq8K.js";
4
4
  import { BuddhistCalendar, ChineseCalendar, HebrewCalendar, IslamicCalendar, JapaneseCalendar } from "../calendars/index.es.js";
5
5
  import relative_time_default, { RelativeTimePlugin } from "../plugins/relative-time.es.js";
6
6
  import durationPlugin, { Duration, DurationPlugin } from "../plugins/duration.es.js";
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperties(exports, {
3
3
  __esModule: { value: true },
4
4
  [Symbol.toStringTag]: { value: "Module" }
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  //#region src/plugins/advanced-format/index.ts
3
3
  var AdvancedFormatPlugin = class {
4
4
  name = "advanced-format";
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperties(exports, {
3
3
  __esModule: { value: true },
4
4
  [Symbol.toStringTag]: { value: "Module" }
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  //#region src/plugins/duration/index.ts
3
3
  /**
4
4
  * Duration class - represents time span following ISO 8601 standard
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperties(exports, {
3
3
  __esModule: { value: true },
4
4
  [Symbol.toStringTag]: { value: "Module" }
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  //#region src/plugins/relative-time/index.ts
3
3
  var DEFAULT_THRESHOLDS = [
4
4
  {
@@ -1,6 +1,6 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_core = require("../core-BFdo248T.cjs");
3
+ const require_core = require("../core-BIDjudpO.cjs");
4
4
  let _builder_io_qwik = require("@builder.io/qwik");
5
5
  //#region src/qwik.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { n as TimeGuard, r as TimeRange } from "../core-CyBR5PPd.js";
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { n as TimeGuard, r as TimeRange } from "../core-DWPXk3rz.js";
3
3
  import { useSignal, useTask$, useVisibleTask$ } from "@builder.io/qwik";
4
4
  //#region src/qwik.ts
5
5
  /**
@@ -1,7 +1,7 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_chunk = require("../chunk-BbtWAPZS.cjs");
4
- const require_core = require("../core-BFdo248T.cjs");
3
+ const require_chunk = require("../chunk-S8Y6Ng9i.cjs");
4
+ const require_core = require("../core-BIDjudpO.cjs");
5
5
  let react = require("react");
6
6
  react = require_chunk.__toESM(react, 1);
7
7
  //#region src/react.ts
@@ -1,5 +1,5 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { n as TimeGuard, r as TimeRange } from "../core-CyBR5PPd.js";
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { n as TimeGuard, r as TimeRange } from "../core-DWPXk3rz.js";
3
3
  import React, { createContext, useContext, useEffect, useState } from "react";
4
4
  //#region src/react.ts
5
5
  /**
@@ -1,6 +1,6 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_core = require("../core-BFdo248T.cjs");
3
+ const require_core = require("../core-BIDjudpO.cjs");
4
4
  let solid_js = require("solid-js");
5
5
  //#region src/solid.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { n as TimeGuard, r as TimeRange } from "../core-CyBR5PPd.js";
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { n as TimeGuard, r as TimeRange } from "../core-DWPXk3rz.js";
3
3
  import { createEffect, createSignal, onCleanup } from "solid-js";
4
4
  //#region src/solid.ts
5
5
  /**
@@ -1,6 +1,6 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_core = require("../core-BFdo248T.cjs");
3
+ const require_core = require("../core-BIDjudpO.cjs");
4
4
  Array.isArray;
5
5
  Array.prototype.indexOf;
6
6
  Array.prototype.includes;
@@ -1,5 +1,5 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { n as TimeGuard, r as TimeRange } from "../core-CyBR5PPd.js";
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { n as TimeGuard, r as TimeRange } from "../core-DWPXk3rz.js";
3
3
  Array.isArray;
4
4
  Array.prototype.indexOf;
5
5
  Array.prototype.includes;
@@ -1,8 +1,8 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_chunk = require("./chunk-BbtWAPZS.cjs");
4
- const require_core = require("./core-BFdo248T.cjs");
5
- const require_locales = require("./locales-B1mDDyn_.cjs");
3
+ const require_chunk = require("./chunk-S8Y6Ng9i.cjs");
4
+ const require_core = require("./core-BIDjudpO.cjs");
5
+ const require_locales = require("./locales-CGdn0DJN.cjs");
6
6
  const require_calendars_index = require("./calendars/index.cjs");
7
7
  const require_plugins_relative_time = require("./plugins/relative-time.cjs");
8
8
  const require_plugins_duration = require("./plugins/duration.cjs");
@@ -1,6 +1,6 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { a as version, c as GregorianCalendar, d as TemporalAdapter, f as EN_LOCALE, i as timeGuard, l as calendarManager, m as LocaleManager, n as TimeGuard, o as PluginManager, p as ES_LOCALE, r as TimeRange, s as CalendarManager, t as DurationResult, u as DateFormatter } from "./core-CyBR5PPd.js";
3
- import { i as registerAllLocales, n as LOCALES_COUNT, r as getAvailableLocales, t as ALL_LOCALES } from "./locales-By7IK3Ep.js";
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { a as version, c as GregorianCalendar, d as TemporalAdapter, f as EN_LOCALE, i as timeGuard, l as calendarManager, m as LocaleManager, n as TimeGuard, o as PluginManager, p as ES_LOCALE, r as TimeRange, s as CalendarManager, t as DurationResult, u as DateFormatter } from "./core-DWPXk3rz.js";
3
+ import { i as registerAllLocales, n as LOCALES_COUNT, r as getAvailableLocales, t as ALL_LOCALES } from "./locales-BUE_aq8K.js";
4
4
  import { BuddhistCalendar, ChineseCalendar, HebrewCalendar, IslamicCalendar, JapaneseCalendar } from "./calendars/index.es.js";
5
5
  import relative_time_default, { RelativeTimePlugin } from "./plugins/relative-time.es.js";
6
6
  import durationPlugin, { Duration, DurationPlugin } from "./plugins/duration.es.js";
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  var BereasoftTimeGuard = (function(exports) {
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  //#region \0rolldown/runtime.js
@@ -13501,7 +13501,7 @@ var BereasoftTimeGuard = (function(exports) {
13501
13501
  return new TimeGuard(input, config);
13502
13502
  }
13503
13503
  /** The current version of TimeGuard */
13504
- var version = "2.7.1";
13504
+ var version = "2.7.2";
13505
13505
  //#endregion
13506
13506
  //#region src/index.ts
13507
13507
  /**
@@ -1,4 +1,4 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  (function(global, factory) {
3
3
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.BereasoftTimeGuard = {}));
4
4
  })(this, function(exports) {
@@ -13503,7 +13503,7 @@
13503
13503
  return new TimeGuard(input, config);
13504
13504
  }
13505
13505
  /** The current version of TimeGuard */
13506
- var version = "2.7.1";
13506
+ var version = "2.7.2";
13507
13507
  //#endregion
13508
13508
  //#region src/index.ts
13509
13509
  /**
@@ -1,6 +1,6 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_core = require("../core-BFdo248T.cjs");
3
+ const require_core = require("../core-BIDjudpO.cjs");
4
4
  let vue = require("vue");
5
5
  //#region src/vue.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
- /*! time-guard v2.7.1 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { n as TimeGuard } from "../core-CyBR5PPd.js";
1
+ /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { n as TimeGuard } from "../core-DWPXk3rz.js";
3
3
  import { inject, onUnmounted, ref, watch } from "vue";
4
4
  //#region src/vue.ts
5
5
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bereasoftware/time-guard",
3
3
  "private": false,
4
- "version": "2.7.1",
4
+ "version": "2.7.2",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/time-guard.cjs",