nhb-toolbox 4.26.50 → 4.26.51
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/CHANGELOG.md
CHANGED
|
@@ -6,10 +6,10 @@ All notable changes to the package will be documented here.
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## [4.26.50] - 2025-11-14
|
|
9
|
+
## [4.26.50-51] - 2025-11-14
|
|
10
10
|
|
|
11
11
|
- **Updated** `TimeZoneIdentifier` type: now **excludes** `Factory` and *time zone abbreviations* already present in `TimeZone` literal type. **Created** new `$TimeZoneIdentifier` type as *replacement*.
|
|
12
|
-
- **Replaced** `TIME_ZONE_IDS` with `Intl.supportedValuesOf('timeZone')` API to get *time zone identifier* to reduce the `timeZonePlugin` size.
|
|
12
|
+
- **Replaced** `TIME_ZONE_IDS` with `Intl.supportedValuesOf('timeZone')` API to get *time zone identifier* to reduce the `timeZonePlugin` size.
|
|
13
13
|
|
|
14
14
|
## [4.26.45] - 2025-11-13
|
|
15
15
|
|
|
@@ -39,7 +39,7 @@ declare module '../Chronos' {
|
|
|
39
39
|
* - Use abbreviated time zone name to create time zone instance only when you can't figure out the time zone identifier.
|
|
40
40
|
* - Use UTC offset only to create a fictional/unlisted time zone instance.
|
|
41
41
|
*
|
|
42
|
-
* @param tz - A time zone identifier ({@link TimeZoneIdentifier}), time zone abbreviation {@link TimeZone}, or UTC offset {@link UTCOffset}.
|
|
42
|
+
* @param tz - A time zone identifier ({@link TimeZoneIdentifier}), time zone abbreviation ({@link TimeZone}), or UTC offset ({@link UTCOffset}).
|
|
43
43
|
* @returns A new instance of `Chronos` with time in the given parameter. Invalid input sets time zone to `UTC`.
|
|
44
44
|
*/
|
|
45
45
|
timeZone(tz: TimeZoneIdentifier | TimeZone | UTCOffset): ChronosConstructor;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nhb-toolbox",
|
|
3
|
-
"version": "4.26.
|
|
3
|
+
"version": "4.26.51",
|
|
4
4
|
"description": "A versatile collection of smart, efficient, and reusable utility functions, classes and types for everyday development needs.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|