@williamthorsen/toolbelt.datetime 4.0.3 → 4.0.5

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
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 4.0.5 — 2026-08-28
6
+
7
+ ### Refactoring
8
+
9
+ - Upgrade eslint-config-typescript to v12.0.1 and satisfy its new rules (#236)
10
+
11
+ Upgrades `@williamthorsen/eslint-config-typescript` to v12 and fixes violations surfaced by the new rules banning unpublished barrels and floating disposables.
12
+
13
+ ## 4.0.4 — 2026-08-24
14
+
15
+ ### Refactoring
16
+
17
+ - Clear the last lint warning and suppression (#223)
18
+
19
+ Removes the last `eslint-disable` directive from `@williamthorsen/toolbelt.datetime` and clears its one remaining lint warning.
20
+
5
21
  ## 4.0.3 — 2026-08-24
6
22
 
7
23
  ### Dependency updates
@@ -1,5 +1,4 @@
1
1
  export { formatDuration, type FormatDurationOptions } from './formatDuration.js';
2
2
  export { listDecadesContainingRange } from './listDecadesContainingRange.js';
3
- export { listDecadesContainingYears } from './listDecadesContainingYears.js';
3
+ export { type Decade, listDecadesContainingYears } from './listDecadesContainingYears.js';
4
4
  export { startTimer } from './startTimer.js';
5
- export * from './types.js';
@@ -2,4 +2,3 @@ export { formatDuration } from "./formatDuration.js";
2
2
  export { listDecadesContainingRange } from "./listDecadesContainingRange.js";
3
3
  export { listDecadesContainingYears } from "./listDecadesContainingYears.js";
4
4
  export { startTimer } from "./startTimer.js";
5
- export * from "./types.js";
@@ -79,6 +79,7 @@ export class Timestamp {
79
79
  return `${datePart}Z`;
80
80
  }
81
81
  case TimeUnit.Millis:
82
+ return isoDateTime;
82
83
  default:
83
84
  return isoDateTime;
84
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/toolbelt.datetime",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "description": "Date and time utilities",
5
5
  "keywords": [
6
6
  "date",
@@ -44,7 +44,7 @@
44
44
  "CHANGELOG.md"
45
45
  ],
46
46
  "dependencies": {
47
- "@williamthorsen/toolbelt.numbers": "7.0.1"
47
+ "@williamthorsen/toolbelt.numbers": "7.0.2"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=24.0.0"
@@ -1 +0,0 @@
1
- export type { Decade } from './listDecadesContainingYears.js';
@@ -1 +0,0 @@
1
- export {};