effect
4.1.4 · 11 Nov 2026MIT67.1M / weekRepositoryHomepagenpmAtom feed
3.22.5 is the newest release of 3.x.
In short
4 fixed
Security
2 advisories affect 3.12.2; 3.22.1 fixes them
- HighEffect: ReDoS in Schema.TemplateLiteral compiled regexGHSA-7589-6fvf-x4pw · 19 Nov 2026Fixed in 3.22.1
- HighEffect `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPCGHSA-38f7-945m-qr2g · 20 Mar 2026Fixed in 3.20.0
Release note
Patch Changes
Fix inference for contravariant type-parameters
Refine
Effect.validateAllreturn type to useNonEmptyArrayfor errors.This refinement is possible because
Effect.validateAllguarantees that when the input iterable is non-empty, any validation failure will produce at least one error. In such cases, the errors are inherently non-empty, making it safe and accurate to represent them using aNonEmptyArraytype. This change aligns the return type with the function's actual behavior, improving type safety and making the API more predictable for developers.ManagedRuntime.Context to work when Context is of type never
Fix color option for Logger.prettyLogger
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.