chronos-date 1.3.3 → 1.3.4

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.
@@ -45,7 +45,7 @@ declare module 'chronos-date' {
45
45
  * new Chronos('2011-1-11').isPalindromeDate(true); // true (from '11111')
46
46
  * new Chronos('2024-04-11').isPalindromeDate(); // false
47
47
  */
48
- isPalindromeDate(shortYear: boolean): boolean;
48
+ isPalindromeDate(shortYear?: boolean): boolean;
49
49
  }
50
50
  }
51
51
  /** * Plugin to inject `isPalindromeDate` method */
@@ -45,7 +45,7 @@ declare module 'chronos-date' {
45
45
  * new Chronos('2011-1-11').isPalindromeDate(true); // true (from '11111')
46
46
  * new Chronos('2024-04-11').isPalindromeDate(); // false
47
47
  */
48
- isPalindromeDate(shortYear: boolean): boolean;
48
+ isPalindromeDate(shortYear?: boolean): boolean;
49
49
  }
50
50
  }
51
51
  /** * Plugin to inject `isPalindromeDate` method */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chronos-date",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
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",
@@ -157,7 +157,10 @@
157
157
  "dev": "pnpm --filter chronos-date-docs dev",
158
158
  "build:docs": "pnpm --filter chronos-date-docs build",
159
159
  "gen": "pnpm --filter chronos-date-docs gen",
160
+ "typegen": "pnpm --filter chronos-date-docs typegen",
160
161
  "typecheck": "tsc --noEmit",
162
+ "typecheck:docs": "pnpm --filter chronos-date-docs typecheck",
163
+ "validate:links": "pnpm --filter chronos-date-docs validate:links",
161
164
  "commit": "nhb-commit",
162
165
  "count": "nhb-count",
163
166
  "delete": "nhb-delete",