Purify Versions Save

Functional programming library for TypeScript - https://gigobyte.github.io/purify/

v2.0.3

4 months ago

General

  • Fix ESM build

v2.0.2

4 months ago

⚠️ This version has a broken ESM build, please use 2.0.3 instead if you rely on it.

EitherAsync

  • Fix bug in bimap not awaiting the result of the left mapping function

v2.0.1

11 months ago

EitherAsync

  • Fix bug in mapLeft not awaiting the result of the mapping function

v2.0.0

1 year ago

Breaking changes

  • Change default compile target from "es5" to "es2015"
  • Remove /es build, leaving only the default one and the new /esm

MaybeAsync

  • Export MaybeAsyncTypeRef type

EitherAsync

  • Export EitherAsyncTypeRef type

Internal changes

  • New esm output script
  • Migrated from jest to vitest to reduce test time, dependencies and configs

v1.3.5

1 year ago

MaybeAsync and EitherAsync

  • Fix ap and extend type definitions

v1.3.3

1 year ago

General

  • Allow passing ReadonlyArray<T> values where T[] is required

v1.3.2

1 year ago

Codec

  • Fix runtime error when decoding an object with a BigInt value

MaybeAsync and EitherAsync

  • Fix map and join type definitions

v1.3.1

1 year ago

Codec

  • Fix runtime error when decoding an object with a BigInt value

Maybe

  • Fix disappearing property when running JSON.stringify on a Maybe with a Date

v1.3.0

1 year ago
  • Add ESM support

v1.2.2

1 year ago

General

  • Add new TS 4.7 module schema