Skip to content

Commit e9ad1fa

Browse files
committed
Merge tag '2.2.5'
Fedify 2.2.5 Close #789
2 parents 0f808ac + 65c6a47 commit e9ad1fa

2 files changed

Lines changed: 42 additions & 1 deletion

File tree

CHANGES.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,21 @@ To be released.
342342
[#489]: https://github.com/fedify-dev/fedify/issues/489
343343
344344
345+
Version 2.2.5
346+
-------------
347+
348+
Released on June 5, 2026.
349+
350+
### @fedify/cli
351+
352+
- Fixed `fedify` command failing under Deno 2.8+/TypeScript 6.0 where
353+
`setTimeout()` returns `Timeout` instead of `number`. Used
354+
`ReturnType<typeof setTimeout>` for the `signalTimers` WeakMap so it
355+
is compatible across all TypeScript/Deno versions. [[#789] by Rui Chen]
356+
357+
[#789]: https://github.com/fedify-dev/fedify/pull/789
358+
359+
345360
Version 2.2.4
346361
-------------
347362
@@ -735,6 +750,19 @@ Released on April 28, 2026.
735750
[#722]: https://github.com/fedify-dev/fedify/pull/722
736751
737752
753+
Version 2.1.16
754+
--------------
755+
756+
Released on June 5, 2026.
757+
758+
### @fedify/cli
759+
760+
- Fixed `fedify` command failing under Deno 2.8+/TypeScript 6.0 where
761+
`setTimeout()` returns `Timeout` instead of `number`. Used
762+
`ReturnType<typeof setTimeout>` for the `signalTimers` WeakMap so it
763+
is compatible across all TypeScript/Deno versions. [[#789] by Rui Chen]
764+
765+
738766
Version 2.1.15
739767
--------------
740768
@@ -1293,6 +1321,19 @@ Released on March 24, 2026.
12931321
[#599]: https://github.com/fedify-dev/fedify/pull/599
12941322
12951323
1324+
Version 2.0.20
1325+
--------------
1326+
1327+
Released on June 5, 2026.
1328+
1329+
### @fedify/cli
1330+
1331+
- Fixed `fedify` command failing under Deno 2.8+/TypeScript 6.0 where
1332+
`setTimeout()` returns `Timeout` instead of `number`. Used
1333+
`ReturnType<typeof setTimeout>` for the `signalTimers` WeakMap so it
1334+
is compatible across all TypeScript/Deno versions. [[#789] by Rui Chen]
1335+
1336+
12961337
Version 2.0.19
12971338
--------------
12981339

packages/cli/src/lookup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ export async function collectAsyncItems<T>(
482482
}
483483
}
484484

485-
const signalTimers = new WeakMap<AbortSignal, number>();
485+
const signalTimers = new WeakMap<AbortSignal, ReturnType<typeof setTimeout>>();
486486

487487
export function createTimeoutSignal(
488488
timeoutSeconds?: number,

0 commit comments

Comments
 (0)