chronos-date 1.2.1 → 1.3.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.
- package/dist/{convert-mMaI4YP0.mjs → convert-BY-uEIvg.mjs} +3 -3
- package/dist/{convert-DbgntRVW.cjs → convert-z8FAUOuh.cjs} +3 -3
- package/dist/{greet-D07t2_e6.mjs → greet-D89spydp.mjs} +1 -1
- package/dist/{greet-hjVsd2dt.cjs → greet-ok0_Wai_.cjs} +1 -1
- package/dist/guards.cjs +3 -3
- package/dist/guards.d.cts +1 -1
- package/dist/guards.d.mts +1 -1
- package/dist/guards.mjs +3 -3
- package/dist/{helpers-CQzi908i.cjs → helpers-D8yAKOsC.cjs} +3 -3
- package/dist/{helpers-DEf4sevD.mjs → helpers-eVQCueAC.mjs} +3 -3
- package/dist/index.cjs +22 -22
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +22 -22
- package/dist/{non-primitives-DBtomDty.mjs → non-primitives-B38XfU4A.mjs} +1 -1
- package/dist/{non-primitives-D9zxCwX8.cjs → non-primitives-Dj558axv.cjs} +1 -1
- package/dist/plugins/banglaPlugin.cjs +4 -4
- package/dist/plugins/banglaPlugin.d.cts +2 -2
- package/dist/plugins/banglaPlugin.d.mts +2 -2
- package/dist/plugins/banglaPlugin.mjs +4 -4
- package/dist/plugins/businessPlugin.cjs +2 -2
- package/dist/plugins/businessPlugin.d.cts +10 -10
- package/dist/plugins/businessPlugin.d.mts +10 -10
- package/dist/plugins/businessPlugin.mjs +2 -2
- package/dist/plugins/dateRangePlugin.cjs +2 -2
- package/dist/plugins/dateRangePlugin.d.cts +2 -2
- package/dist/plugins/dateRangePlugin.d.mts +2 -2
- package/dist/plugins/dateRangePlugin.mjs +2 -2
- package/dist/plugins/dayPartPlugin.cjs +1 -1
- package/dist/plugins/dayPartPlugin.d.cts +2 -2
- package/dist/plugins/dayPartPlugin.d.mts +2 -2
- package/dist/plugins/dayPartPlugin.mjs +1 -1
- package/dist/plugins/durationPlugin.d.cts +2 -2
- package/dist/plugins/durationPlugin.d.mts +2 -2
- package/dist/plugins/fromNowPlugin.cjs +1 -1
- package/dist/plugins/fromNowPlugin.d.cts +2 -2
- package/dist/plugins/fromNowPlugin.d.mts +2 -2
- package/dist/plugins/fromNowPlugin.mjs +1 -1
- package/dist/plugins/greetingPlugin.cjs +1 -1
- package/dist/plugins/greetingPlugin.d.cts +2 -2
- package/dist/plugins/greetingPlugin.d.mts +2 -2
- package/dist/plugins/greetingPlugin.mjs +1 -1
- package/dist/plugins/palindromePlugin.cjs +2 -2
- package/dist/plugins/palindromePlugin.d.cts +2 -2
- package/dist/plugins/palindromePlugin.d.mts +2 -2
- package/dist/plugins/palindromePlugin.mjs +2 -2
- package/dist/plugins/relativeTimePlugin.d.cts +2 -2
- package/dist/plugins/relativeTimePlugin.d.mts +2 -2
- package/dist/plugins/roundPlugin.cjs +1 -1
- package/dist/plugins/roundPlugin.d.cts +3 -3
- package/dist/plugins/roundPlugin.d.mts +3 -3
- package/dist/plugins/roundPlugin.mjs +1 -1
- package/dist/plugins/seasonPlugin.d.cts +2 -2
- package/dist/plugins/seasonPlugin.d.mts +2 -2
- package/dist/plugins/timeZonePlugin.cjs +6 -6
- package/dist/plugins/timeZonePlugin.d.cts +6 -6
- package/dist/plugins/timeZonePlugin.d.mts +6 -6
- package/dist/plugins/timeZonePlugin.mjs +6 -6
- package/dist/plugins/zodiacPlugin.cjs +1 -1
- package/dist/plugins/zodiacPlugin.d.cts +2 -2
- package/dist/plugins/zodiacPlugin.d.mts +2 -2
- package/dist/plugins/zodiacPlugin.mjs +1 -1
- package/dist/{primitives-dXzXlzJw.mjs → primitives-DpMa2dS2.mjs} +1 -1
- package/dist/{primitives-CtuSNmV7.cjs → primitives-DutXlR0D.cjs} +1 -1
- package/dist/{types-Bs_rfkka.d.mts → types-BwnEgU6z.d.mts} +74 -59
- package/dist/{types-CaVuY1_4.d.cts → types-CaZLuhLz.d.cts} +74 -59
- package/dist/types.d.cts +2 -2
- package/dist/types.d.mts +2 -2
- package/dist/{utilities-BKtVo78T.mjs → utilities-BfGFB7aw.mjs} +4 -4
- package/dist/{utilities-D47SN9EZ.cjs → utilities-CZTvwfjY.cjs} +4 -4
- package/dist/{utilities-BGX8dviZ.mjs → utilities-C_cYlUNI.mjs} +4 -4
- package/dist/{utilities-CpF3uys3.cjs → utilities-CkQA3Fkh.cjs} +4 -4
- package/dist/utils.cjs +4 -4
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.mjs +4 -4
- package/package.json +4 -4
package/dist/utils.d.mts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { At as TimeZoneDetails, Cn as Numeric, It as TimestampOptions, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Sn as Maybe, Z as $TimeZoneIdentifier, _n as StrictFormat, at as DateArgs, ft as GreetingConfigs, ht as ISODateTimeString, it as ClockTime, mt as ISODateFormat, ot as DateFormatOptions, pt as HourMinutes, yn as TimeOnlyFormat } from "./types-BwnEgU6z.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/utils/greet.d.ts
|
|
20
20
|
/**
|
package/dist/utils.mjs
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { l as MS_MAP } from "./basic-DqKyujoj.mjs";
|
|
18
|
-
import { n as isNonEmptyString, r as isNumber } from "./primitives-
|
|
19
|
-
import { a as isNumericString } from "./utilities-
|
|
18
|
+
import { n as isNonEmptyString, r as isNumber } from "./primitives-DpMa2dS2.mjs";
|
|
19
|
+
import { a as isNumericString } from "./utilities-BfGFB7aw.mjs";
|
|
20
20
|
import { isTimeWithUnit } from "./guards.mjs";
|
|
21
|
-
import { a as formatDate, c as formatUTCOffset, d as getTimeZoneIds, f as getTimestamp, i as extractTimeFromUTC, l as getNativeTimeZoneId, n as extractHourMinute, o as formatDateRelative, p as getTotalMinutes, r as extractMinutesFromUTC, s as formatTimePart, t as convertMinutesToTime, u as getTimeZoneDetails } from "./utilities-
|
|
22
|
-
import { t as getGreeting } from "./greet-
|
|
21
|
+
import { a as formatDate, c as formatUTCOffset, d as getTimeZoneIds, f as getTimestamp, i as extractTimeFromUTC, l as getNativeTimeZoneId, n as extractHourMinute, o as formatDateRelative, p as getTotalMinutes, r as extractMinutesFromUTC, s as formatTimePart, t as convertMinutesToTime, u as getTimeZoneDetails } from "./utilities-C_cYlUNI.mjs";
|
|
22
|
+
import { t as getGreeting } from "./greet-D89spydp.mjs";
|
|
23
23
|
|
|
24
24
|
//#region src/utils/parser.ts
|
|
25
25
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chronos-date",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A lightweight, immutable, and plugin-based date-time manipulation library for JavaScript and TypeScript.",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"@biomejs/biome": "^2.4.15",
|
|
60
60
|
"@types/node": "^25.8.0",
|
|
61
61
|
"husky": "^9.1.7",
|
|
62
|
-
"lint-staged": "^17.0.
|
|
62
|
+
"lint-staged": "^17.0.5",
|
|
63
63
|
"nhb-scripts": "^1.9.2",
|
|
64
|
-
"nhb-toolbox": "^4.30.
|
|
64
|
+
"nhb-toolbox": "^4.30.10",
|
|
65
65
|
"tsdown": "^0.22.0",
|
|
66
66
|
"typescript": "^6.0.3"
|
|
67
67
|
},
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"./package.json": "./package.json"
|
|
150
150
|
},
|
|
151
151
|
"inlinedDependencies": {
|
|
152
|
-
"nhb-toolbox": "4.30.
|
|
152
|
+
"nhb-toolbox": "4.30.10"
|
|
153
153
|
},
|
|
154
154
|
"scripts": {
|
|
155
155
|
"build": "tsdown",
|