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

fp-ts

Package Overview
Dependencies
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fp-ts - npm Package Compare versions

Comparing version 2.16.1 to 2.16.2

2

es6/Either.js

@@ -977,3 +977,3 @@ import { getApplicativeMonoid } from './Applicative';

*/
export var chainOptionKW = /*#__PURE__*/ chainOptionK;
export var chainOptionKW = chainOptionK;
/** @internal */

@@ -980,0 +980,0 @@ var _FromEither = {

@@ -89,3 +89,3 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {

export var flatMapNullable = function (F, M) {
/*#__PURE__*/ return dual(3, function (self, f, onNullable) {
return /*#__PURE__*/ dual(3, function (self, f, onNullable) {
return M.flatMap(self, liftNullable(F)(f, onNullable));

@@ -96,7 +96,7 @@ });

export var flatMapOption = function (F, M) {
/*#__PURE__*/ return dual(3, function (self, f, onNone) { return M.flatMap(self, liftOption(F)(f, onNone)); });
return /*#__PURE__*/ dual(3, function (self, f, onNone) { return M.flatMap(self, liftOption(F)(f, onNone)); });
};
/** @internal */
export var flatMapEither = function (F, M) {
/*#__PURE__*/ return dual(2, function (self, f) {
return /*#__PURE__*/ dual(2, function (self, f) {
return M.flatMap(self, function (a) { return F.fromEither(f(a)); });

@@ -107,3 +107,3 @@ });

export var flatMapIO = function (F, M) {
/*#__PURE__*/ return dual(2, function (self, f) {
return /*#__PURE__*/ dual(2, function (self, f) {
return M.flatMap(self, function (a) { return F.fromIO(f(a)); });

@@ -114,3 +114,3 @@ });

export var flatMapTask = function (F, M) {
/*#__PURE__*/ return dual(2, function (self, f) {
return /*#__PURE__*/ dual(2, function (self, f) {
return M.flatMap(self, function (a) { return F.fromTask(f(a)); });

@@ -121,5 +121,5 @@ });

export var flatMapReader = function (F, M) {
/*#__PURE__*/ return dual(2, function (self, f) {
return /*#__PURE__*/ dual(2, function (self, f) {
return M.flatMap(self, function (a) { return F.fromReader(f(a)); });
});
};

@@ -106,3 +106,3 @@ "use strict";

var flatMapNullable = function (F, M) {
/*#__PURE__*/ return (0, function_1.dual)(3, function (self, f, onNullable) {
return /*#__PURE__*/ (0, function_1.dual)(3, function (self, f, onNullable) {
return M.flatMap(self, (0, exports.liftNullable)(F)(f, onNullable));

@@ -114,3 +114,3 @@ });

var flatMapOption = function (F, M) {
/*#__PURE__*/ return (0, function_1.dual)(3, function (self, f, onNone) { return M.flatMap(self, (0, exports.liftOption)(F)(f, onNone)); });
return /*#__PURE__*/ (0, function_1.dual)(3, function (self, f, onNone) { return M.flatMap(self, (0, exports.liftOption)(F)(f, onNone)); });
};

@@ -120,3 +120,3 @@ exports.flatMapOption = flatMapOption;

var flatMapEither = function (F, M) {
/*#__PURE__*/ return (0, function_1.dual)(2, function (self, f) {
return /*#__PURE__*/ (0, function_1.dual)(2, function (self, f) {
return M.flatMap(self, function (a) { return F.fromEither(f(a)); });

@@ -128,3 +128,3 @@ });

var flatMapIO = function (F, M) {
/*#__PURE__*/ return (0, function_1.dual)(2, function (self, f) {
return /*#__PURE__*/ (0, function_1.dual)(2, function (self, f) {
return M.flatMap(self, function (a) { return F.fromIO(f(a)); });

@@ -136,3 +136,3 @@ });

var flatMapTask = function (F, M) {
/*#__PURE__*/ return (0, function_1.dual)(2, function (self, f) {
return /*#__PURE__*/ (0, function_1.dual)(2, function (self, f) {
return M.flatMap(self, function (a) { return F.fromTask(f(a)); });

@@ -144,3 +144,3 @@ });

var flatMapReader = function (F, M) {
/*#__PURE__*/ return (0, function_1.dual)(2, function (self, f) {
return /*#__PURE__*/ (0, function_1.dual)(2, function (self, f) {
return M.flatMap(self, function (a) { return F.fromReader(f(a)); });

@@ -147,0 +147,0 @@ });

{
"name": "fp-ts",
"version": "2.16.1",
"version": "2.16.2",
"description": "Functional programming in TypeScript",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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