@sniptt/monads
Advanced tools
Comparing version 0.5.8 to 0.5.9
@@ -19,3 +19,3 @@ "use strict"; | ||
left() { | ||
return option_1.Some(val); | ||
return (0, option_1.Some)(val); | ||
}, | ||
@@ -83,3 +83,3 @@ leftAndThen(fn) { | ||
right() { | ||
return option_1.Some(val); | ||
return (0, option_1.Some)(val); | ||
}, | ||
@@ -86,0 +86,0 @@ rightAndThen(fn) { |
@@ -19,3 +19,3 @@ "use strict"; | ||
ok() { | ||
return option_1.Some(val); | ||
return (0, option_1.Some)(val); | ||
}, | ||
@@ -68,3 +68,3 @@ err() { | ||
err() { | ||
return option_1.Some(err); | ||
return (0, option_1.Some)(err); | ||
}, | ||
@@ -71,0 +71,0 @@ unwrap() { |
{ | ||
"name": "@sniptt/monads", | ||
"version": "0.5.8", | ||
"version": "0.5.9", | ||
"description": "Option, Result, and Either types for JavaScript; Inspired by Rust", | ||
@@ -40,9 +40,9 @@ "main": "build/index.js", | ||
"ava": "3.15.0", | ||
"denoify": "0.7.2", | ||
"denoify": "0.10.6", | ||
"nyc": "15.1.0", | ||
"prettier": "2.3.2", | ||
"ts-node": "10.1.0", | ||
"typedoc": "0.21.4", | ||
"typedoc-plugin-markdown": "3.10.4", | ||
"typescript": "4.3.5" | ||
"prettier": "2.5.1", | ||
"ts-node": "10.4.0", | ||
"typedoc": "0.22.10", | ||
"typedoc-plugin-markdown": "3.11.8", | ||
"typescript": "4.5.4" | ||
}, | ||
@@ -49,0 +49,0 @@ "ava": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
35400