elysia
1.4.32 · 11 Nov 2026MIT2.2M / weekRepositorynpmAtom feed
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
- Highelysia has Inefficient Algorithmic Complexity and Interpretation ConflictGHSA-9643-4qgh-g8mx · 23 Sep 2026Fixed in 1.4.29
- HighElysia has a string URL format ReDoSGHSA-f45g-68q3-5w8x · 10 Mar 2026Fixed in 1.4.26
- HighElysia affected by arbitrary code injection through cookie configGHSA-8vch-m3f4-q8jf · 9 Dec 2025Fixed in 1.4.18
- ModerateElysia Cookie Value Prototype PollutionGHSA-8hq9-phh3-p2wp · 17 Mar 2026Fixed in 1.4.27
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 })acceptsstring | number | boolean | Objectinstead ofstringt.type({ error })returnstring | number | boolean | Object | voidinstead ofstringAdd
errors: ValueErrortot.type({ error({ errors }) {} })
Bug fix:
Redirect doesn't work with
aot: falseCookie schema validation doesn't work with
aot: trueHighlight 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.