nhb-toolbox 4.30.13 → 4.30.14

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
@@ -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.
@@ -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: boolean): boolean;
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.13",
3
+ "version": "4.30.14",
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.8.0",
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",