Packages

effect

4.1.4 · 11 Nov 2026MIT67.1M / weekRepositoryHomepagenpmAtom feed

Your version

3.14.6

4 Apr 2025Where it was published

3.22.5 is the newest release of 3.x.

In short

2 fixed

Security

2 advisories affect 3.14.6; 3.22.1 fixes them

Release note

Patch Changes

  • Improved TsDoc documentation for MutableHashSet module.

  • Fix JSONSchema generation for record values that include undefined, closes #4697.

    Before

    import { JSONSchema, Schema } from "effect"
    
    const schema = Schema.partial(
      Schema.Struct(
        { foo: Schema.Number },
        {
          key: Schema.String,
          value: Schema.Number
        }
      )
    )
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    // throws

    After

    import { JSONSchema, Schema } from "effect"
    
    const schema = Schema.partial(
      Schema.Struct(
        { foo: Schema.Number },
        {
          key: Schema.String,
          value: Schema.Number
        }
      )
    )
    
    console.log(JSON.stringify(JSONSchema.make(schema), null, 2))
    /*
    Output:
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "object",
      "required": [],
      "properties": {
        "foo": {
          "type": "number"
        }
      },
      "additionalProperties": {
        "type": "number"
      }
    }
    */

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.