nhb-toolbox 4.30.13 → 4.30.15
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 +4 -0
- package/README.md +16 -0
- package/dist/dts/date/plugins/palindromePlugin.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
All notable changes to the package will be documented here.
|
|
6
6
|
|
|
7
|
+
## [4.30.14] - 2026-05-19
|
|
8
|
+
|
|
9
|
+
- **Updated** *signature* of `Chronos` plugin method `isPalindromeDate()`: now accepts `shortYear` parameter as optional (default `false`).
|
|
10
|
+
|
|
7
11
|
## [4.30.13] - 2026-05-19
|
|
8
12
|
|
|
9
13
|
- **Fixed** *Chronos plugin method* `formatBangla()` to use `variant` from options properly to handle variant dependent calculations.
|
package/README.md
CHANGED
|
@@ -515,6 +515,18 @@ debounceAction(fetchResults, 300);
|
|
|
515
515
|
|
|
516
516
|
## 🔗 Related Packages
|
|
517
517
|
|
|
518
|
+
<div style={{ display: 'flex', alignItems: 'center', gap: '0.5rem' }}>
|
|
519
|
+
<a target="_blank" href="https://www.npmjs.com/package/toolbox-x">
|
|
520
|
+
<img src="https://img.shields.io/badge/Toolbox--X-toolbox--x-steelblue" alt="toolbox-x" />
|
|
521
|
+
</a>
|
|
522
|
+
</div>
|
|
523
|
+
|
|
524
|
+
<div style={{ display: 'flex', alignItems: 'center', gap: '0.5rem' }}>
|
|
525
|
+
<a target="_blank" href="https://www.npmjs.com/package/bn-calendar">
|
|
526
|
+
<img src="https://img.shields.io/badge/Bangla_Calendar-bn--calendar-red" alt="bn-calendar" />
|
|
527
|
+
</a>
|
|
528
|
+
</div>
|
|
529
|
+
|
|
518
530
|
<div style={{ display: 'flex', alignItems: 'center', gap: '0.5rem' }}>
|
|
519
531
|
<a target="_blank" href="https://www.npmjs.com/package/nhb-hooks">
|
|
520
532
|
<img src="https://img.shields.io/badge/React_Hooks-nhb--hooks-blue" alt="nhb-hooks" />
|
|
@@ -556,3 +568,7 @@ This project is licensed under the [Apache License 2.0](LICENSE) with the follow
|
|
|
556
568
|
> Any fork, derivative work, or redistribution of this project must include clear attribution to [**Nazmul Hassan**](https://github.com/nazmul-nhb) in both the source code and any publicly available documentation.
|
|
557
569
|
|
|
558
570
|
You are free to use, modify, and distribute this project under the terms of the Apache 2.0 License, provided that appropriate credit is given.
|
|
571
|
+
|
|
572
|
+
---
|
|
573
|
+
|
|
574
|
+
Built with ❤️ by [**Nazmul Hassan**](https://nazmul-nhb.dev)
|
|
@@ -27,7 +27,7 @@ declare module '../Chronos' {
|
|
|
27
27
|
* new Chronos('2011-1-11').isPalindromeDate(true); // true (from '11111')
|
|
28
28
|
* new Chronos('2024-04-11').isPalindromeDate(); // false
|
|
29
29
|
*/
|
|
30
|
-
isPalindromeDate(shortYear
|
|
30
|
+
isPalindromeDate(shortYear?: boolean): boolean;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
/** * Plugin to inject `isPalindromeDate` method */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nhb-toolbox",
|
|
3
|
-
"version": "4.30.
|
|
3
|
+
"version": "4.30.15",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@biomejs/biome": "^2.4.15",
|
|
48
48
|
"@types/jest": "^30.0.0",
|
|
49
|
-
"@types/node": "^25.
|
|
49
|
+
"@types/node": "^25.9.0",
|
|
50
50
|
"husky": "^9.1.7",
|
|
51
51
|
"jest": "^30.4.2",
|
|
52
52
|
"lint-staged": "^17.0.5",
|