Packages

effect

4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed

Your version

3.5.4

16 Jul 2024Where it was published

3.22.5 is the newest release of 3.x.

In short

2 new2 fixed1 internal

Security

2 advisories affect 3.5.4; 3.22.1 fixes them

Release note

Patch Changes

  • If performance.timeOrigin is 0, use performance.now() directly in Clock

    This is a workaround for cloudflare, where performance.now() cannot be used in
    the global scope to calculate the origin.

  • Expose Channel.isChannel

  • Add support for Refinements to Predicate.or, closes #3243

    import { Predicate } from "effect";
    
    // Refinement<unknown, string | number>
    const isStringOrNumber = Predicate.or(Predicate.isString, Predicate.isNumber);
  • Render nested causes in Cause.pretty

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.