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

@swan-io/boxed

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swan-io/boxed - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

2

dist/Future.d.ts

@@ -42,3 +42,3 @@ import { Result } from "./Result";

tapError<Ok, Error>(this: Future<Result<Ok, Error>>, func: (value: Error) => unknown): Future<Result<Ok, Error>>;
mapResult<Ok, Error, ReturnValue>(this: Future<Result<Ok, Error>>, func: (value: Ok) => Result<ReturnValue, Error>, propagateCancel?: boolean): Future<Result<ReturnValue, Error>>;
mapResult<Ok, Error, ReturnValue, ReturnError = Error>(this: Future<Result<Ok, Error>>, func: (value: Ok) => Result<ReturnValue, ReturnError>, propagateCancel?: boolean): Future<Result<ReturnValue, ReturnError | Error>>;
mapOk<Ok, Error, ReturnValue>(this: Future<Result<Ok, Error>>, func: (value: Ok) => ReturnValue, propagateCancel?: boolean): Future<Result<ReturnValue, Error>>;

@@ -45,0 +45,0 @@ mapError<Ok, Error, ReturnValue>(this: Future<Result<Ok, Error>>, func: (value: Error) => ReturnValue, propagateCancel?: boolean): Future<Result<Ok, ReturnValue>>;

@@ -0,1 +1,7 @@

# 0.3.4
Changes:
- Simplify `Future.mapResult` type (ce2749a)
# 0.3.3

@@ -2,0 +8,0 @@

{
"name": "@swan-io/boxed",
"version": "0.3.3",
"version": "0.3.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Utility types for functional TypeScript",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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