Packages

elysia

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

Your version

1.0.21

21 May 2024Where it was published

1.4.32 is the newest release of 1.x.

In short

1 new6 changed

Security

4 advisories affect 1.0.21; 1.4.29 fixes them

Release note

Breaking Change:

  • t.type({ error }) now accepts (error: ({ type, validator, value, errors }) => unknown) instead of (error: (type, validator, value) => unknown)

Improvement:

  • t.type({ error }) accepts string | number | boolean | Object instead of string

  • t.type({ error }) return string | number | boolean | Object | void instead of string

  • Add errors: ValueError to t.type({ error({ errors }) {} })

Bug fix:

  • Redirect doesn't work with aot: false

  • Cookie schema validation doesn't work with aot: true

  • Highlight derive and resolve when using onError

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.