New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sweet-monads/either

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sweet-monads/either - npm Package Compare versions

Comparing version

to
0.0.5

2

index.ts

@@ -37,3 +37,3 @@ import { Monad } from "@sweet-monads/interfaces/monad";

constructor(type: EitherType.Right, v: R);
constructor(private type: EitherType, private value: L | R) {}
constructor(private type: EitherType, public readonly value: L | R) {}

@@ -40,0 +40,0 @@ isLeft() {

{
"name": "@sweet-monads/either",
"version": "0.0.4",
"version": "0.0.5",
"description": "Either monad",

@@ -5,0 +5,0 @@ "main": "index.js",