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

@hazae41/result

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hazae41/result - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

4

dist/types/mods/result/err.d.ts

@@ -171,3 +171,3 @@ import { None, Some } from '@hazae41/option';

*/
awaitErr(): Promise<Err<Awaited<T>>>;
awaitErr<T>(this: Err<PromiseLike<T>>): Promise<Err<Awaited<T>>>;
/**

@@ -177,3 +177,3 @@ * Transform Result<Promise<T>, Promise<E>> into Promise<Result<T, E>>

*/
awaitAll(): Promise<Err<Awaited<T>>>;
awaitAll<T>(this: Err<PromiseLike<T>>): Promise<Err<Awaited<T>>>;
/**

@@ -180,0 +180,0 @@ * Transform `Result<T, E>` into `Result<void, E>`

@@ -158,3 +158,3 @@ import { Some, None } from '@hazae41/option';

*/
await(): Promise<Ok<Awaited<T>>>;
await<T>(this: Ok<PromiseLike<T>>): Promise<Ok<Awaited<T>>>;
/**

@@ -169,3 +169,3 @@ * Transform Result<T, Promise<E>> into Promise<Result<T, E>>

*/
awaitAll(): Promise<Ok<Awaited<T>>>;
awaitAll<T>(this: Ok<PromiseLike<T>>): Promise<Ok<Awaited<T>>>;
/**

@@ -172,0 +172,0 @@ * Transform `Result<T, E>` into `Result<void, E>`

{
"type": "module",
"name": "@hazae41/result",
"version": "1.1.3",
"version": "1.1.4",
"description": "Rust-like Result for TypeScript",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/hazae41/result",

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