Packages

value-or-promise

1.0.12 · 3 Jan 2023MIT7.7M / weekRepositoryHomepagenpmAtom feed

Your version

13 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.0.12

    3 Jan 2023
    • Upgrade dev-dependencies

    • Handle async rejections in the presence of sync errors

  2. 1.0.11

    30 Sep 2021
    • ValueOrPromise.all: Sync code should error first

  3. 1.0.10

    29 May 2021
    • types: Implementation signature should also be callable

  4. 1.0.9

    28 May 2021
    • types: Do not make results nullable

  5. 1.0.8

    7 May 2021

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  6. 1.0.7

    4 May 2021
    • 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.

  7. 1.0.6

    30 Apr 2021
    • dependencies: No dependencies, please

  8. 1.0.5

    27 Apr 2021
    • Fix published api

  9. 1.0.4

    27 Apr 2021
    • Add missing catch

  10. 1.0.3

    27 Apr 2021
    • Exclude spec files from build

  11. 1.0.2

    27 Apr 2021
    • Add missing function ValueOrPromise.all

  12. 1.0.1

    26 Apr 2021
    • Add resolve method to resolve the ValueOrPromise to either a value or promise

  13. 1.0.0

    26 Apr 2021

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.