Packages

elysia

1.4.32 · 11 Nov 2026MIT2.2M / weekRepositorynpmAtom feed

Your version

1.2.7

27 Dec 2024Where it was published

1.4.32 is the newest release of 1.x.

In short

8 fixed

Security

4 advisories affect 1.2.7; 1.4.29 fixes them

Release note

Bug fix

  • Macro doesn't work with guard

  • Unable to deference schema, create default, and coerce value

  • error's value return as-if when thrown

  • InvalidCookieSignature errors are not caught by onError

  • onAfterResponse does not provide mapped response value unless aot is disabled

  • mapResponse.response is {} if no response schema is provided

  • Response doesn't reconcile when handler return Response is used with mapResponse

  • onError now accepts error as number when Elysia.error is thrown (but not returned)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.