Socket
Socket
Sign inDemoInstall

value-or-promise

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

1.0.12

Diff

Changelog

Source

1.0.12

Patch Changes

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

Changelog

Source

1.0.11

Patch Changes

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

Changelog

Source

1.0.10

Patch Changes

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

Changelog

Source

1.0.9

Patch Changes

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

Changelog

Source

1.0.8

Patch Changes

  • 1b378e8: chore(docs): correct typo
yaacovcr
published 1.0.7 •

Changelog

Source

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.

yaacovcr
published 1.0.6 •

Changelog

Source

1.0.6

Patch Changes

  • a246304: fix(dependencies): no dependencies, please
yaacovcr
published 1.0.5 •

Changelog

Source

1.0.5

Patch Changes

  • 4652893: fix published api
yaacovcr
published 1.0.4 •

Changelog

Source

1.0.4

Patch Changes

  • a4eff20: add missing catch
yaacovcr
published 1.0.3 •

Changelog

Source

1.0.3

Patch Changes

  • 817088d: exclude spec files from build
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc