NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3343 most downloaded on npm
Gracefully handle a Promise using async/await.
Last release 1 years ago
20 Sep 2025
Ships fairly regularly
a new release about every 1.4 years
Some releases are documented
notes for 4 of 8 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
8 releases · first in 2020
One column per quarter.
add package renaming warning (#36) (b66a31567cf6dcd54aa0afa84389dcea8037bc3c) @kettanaito
until now returns a discriminated array union type (#34) (1773deb62205e7b8639f3e433e0ac3af0069c450) @kettanaito
until now returns a discriminated array union type (#34) (1773deb62205e7b8639f3e433e0ac3af0069c450) @kettanaito-const { error, data } = await until(callback)
+const [error, data] = await until(callback)
This change implies you are using a modern version of TypeScript that supports discriminated array union types.
update jsdoc block to include correct example (#22) (48698e2619fcb9683ff9b3aa7cddcc533f1ecde3) @MohamedWagih
The call signature of until has changed to: `ts function until (promise: () => Promise ): Promise<{ error: ErrorType, data: null } | { error: null, da
until has changed to:function until<ErrorType, DataType>(promise: () => Promise<DataType>): Promise<{ error: ErrorType, data: null } | { error: null, data: DataType}>
On practice, this means the following:
-const [error, data] = await until(() => action())
+const { error, data } = await until(() => action())
until accepts also changed:-function until<DataType, ErrorType>() {}
+function until<ErrorType, DataType>(){}
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →