effect
4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed
Your version
2.4.19 is the newest release of 2.x.
In short
3 new1 fixed
Security
2 advisories affect 2.2.4; 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
Add releaseAll api to Semaphore
You can use
semphore.releaseAllto atomically release all the permits of a
Semaphore.Add Option.orElseSome
Allows you to specify a default value for an Option, similar to
Option.getOrElse, except the return value is still an Option.import * as O from "effect/Option"; import { pipe } from "effect/Function"; assert.deepStrictEqual( pipe( O.none(), O.orElseSome(() => "b"), ), O.some("b"), ); assert.deepStrictEqual( pipe( O.some("a"), O.orElseSome(() => "b"), ), O.some("a"), );Fix for possible stack overflow errors when using Array.push with spread operator arguments
Add toJSON for Secret
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.