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

@sniptt/monads

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sniptt/monads - npm Package Compare versions

Comparing version 0.5.8 to 0.5.9

4

build/either/either.js

@@ -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

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