Packages

effect

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

Your version

2.3.8

20 Feb 2024Where it was published

2.4.19 is the newest release of 2.x.

In short

1 new1 fixed

Security

2 advisories affect 2.3.8; 3.22.1 fixes them

Release note

Patch Changes

  • Add Hash.cached

    This api assists with adding a layer of caching, when hashing immutable data structures.

    import { Data, Hash } from "effect";
    
    class User extends Data.Class<{
      id: number;
      name: string;
    }> {
      [Hash.symbol]() {
        return Hash.cached(this, Hash.string(`${this.id}-${this.name}`));
      }
    }
  • Update development dependencies

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.