Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@expo/results

Package Overview
Dependencies
Maintainers
18
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/results - npm Package Versions

1.0.0

Diff

Changelog

Source

1.0.0

  • Remove official Node 8.x compatibility (support 10.x and up). The package still will run on Node 8 LTS (with async functions), though.
wschurman
published 0.3.0 •

Changelog

Source

0.3.0

Additions

  • Export Success and Failure types in TypeScript declarations.
ide
published 0.2.0 •

Changelog

Source

0.2.0

Breaking changes

  • Calling Result#enforceValue() on a failure result now throws the failure reason instead of throwing a new TypeError. This helps propagate underlying errors up the call stack instead of masking them with TypeError instances that don't specify what caused the failure.

Additions

  • enforceAsyncResult, a function to convert promises that return results into promises that return unwrapped values or throw. This is the inverse of asyncResult.
wschurman
published 0.1.1 •

Changelog

Source

0.1.1

Initial version of the Results API.

ide
published 0.1.0 •

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc