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
53
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.2.1 to 0.3.0

HISTORY.md

2

dist/Result.d.ts

@@ -14,3 +14,3 @@ import { Option } from "./Option";

map<ReturnValue>(f: (value: Ok) => ReturnValue): Result<ReturnValue, Error>;
flatMap<ReturnValue>(f: (value: Ok) => Result<ReturnValue, Error>): Result<ReturnValue, Error>;
flatMap<ReturnValue, ResultError = Error>(f: (value: Ok) => Result<ReturnValue, ResultError | Error>): Result<ReturnValue, ResultError | Error>;
getWithDefault(defaultValue: Ok): Ok;

@@ -17,0 +17,0 @@ match<ReturnValue>(config: {

{
"name": "@swan-io/boxed",
"version": "0.2.1",
"version": "0.3.0",
"license": "MIT",

@@ -25,2 +25,6 @@ "description": "Utility types for functional TypeScript",

],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"prettier": {

@@ -27,0 +31,0 @@ "trailingComma": "all"

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