CHANGELOG.md 1.2 KB

value-or-promise

1.0.12

Patch Changes

  • 298b624: upgrade dev-dependencies
  • 9b25d9f: handle async rejections in the presence of sync errors

1.0.11

Patch Changes

  • 81274d4: fix(ValueOrPromise.all): sync code should error first

1.0.10

Patch Changes

  • 7219d1c: fix(types): implementation signature should also be callable

1.0.9

Patch Changes

  • ade3f7d: fix(types): do not make results nullable

1.0.8

Patch Changes

  • 1b378e8: chore(docs): correct typo

1.0.7

Patch Changes

  • 8366d7e: fix(resolve): always resolve to actual Promise

Even though ValueOrPromise objects can be initialized with anything PromiseLike, it is helpful to have them always resolve to either values or to actual promises.

1.0.6

Patch Changes

  • a246304: fix(dependencies): no dependencies, please

1.0.5

Patch Changes

  • 4652893: fix published api

1.0.4

Patch Changes

1.0.3

Patch Changes

  • 817088d: exclude spec files from build

1.0.2

Patch Changes

  • e712ab8: add missing function ValueOrPromise.all

1.0.1

Patch Changes

  • 4e5e5f8: add resolve method to resolve the ValueOrPromise to either a value or promise