Back to Explore

kettanaito/until-async

GitHub
1 watchersOpen source

Last release:

until-async provides a small utility for handling Promises with async/await without repeating try/catch blocks. It wraps a function that returns a Promise and returns a NodeJS-friendly tuple of [error, data], making it convenient to work with resolved values and exceptions.

Project status

  • Maintenance status: The repository shows very recent upstream activity (last push on 2026-06-08), but the most recently documented published updates are from 2025-09-20, so code may be evolving while tagged updates are not frequent.
  • Apparent update cadence: Major change at v3.0.0 (2025-09-20), followed by two quick follow-up updates (v3.0.1 and v3.0.2) minutes apart the same day, then a long gap with no further tagged updates shown up to today (2026-06-09).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v3.0.2

    Release v3.0.2 updates the package metadata to use the new npm package name `until-async` (and related repository links) instead of `@open-draft/until`. The code diff only touches README and `package.json`, indicating this is primarily a republishing/rename release rather than a functional change.

    Breaking
  • v3.0.1

    v3.0.1 is a small release focused on warning users that the package has been republished under a new npm name, until-async. The code changes are limited to README documentation and a package.json version bump, with no runtime logic changes evident from the diff.

  • v3.0.0

    v3.0.0 makes the package ESM-only and changes the `until` API to return a discriminated tuple union `[error, data]` instead of the previous object shape. The release also refactors the implementation into `src/index.ts` and updates the project tooling (TypeScript, test runner, build pipeline) as part of the major version.

    BreakingFeatures
  • v2.1.0

    v2.1.0 primarily updates the package build and distribution to support ESM, including conditional export wiring for import usage. The actual library source change in this diff is limited to adjusting JSDoc, while most other changes are packaging, build tooling, CI, and repository configuration.

    Features
  • v2.0.0

    v2.0.0 introduces breaking API changes to the `until` helper, including its call signature and generic parameter order. You will need to update how you destructure the return value to match the new `{ error, data }` object form.

    Breaking