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

dataway

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dataway - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

7

dist/dataway.cjs.js

@@ -154,2 +154,8 @@ 'use strict';

var of = success;
var fromEither = function (e) {
if (e.isLeft()) {
return failure(e.value);
}
return success(e.value);
};
var ap = function (fab, fa) { return fa.ap(fab); };

@@ -185,2 +191,3 @@ var map = function (fa, f) {

exports.fold = fold;
exports.fromEither = fromEither;
exports.loading = loading;

@@ -187,0 +194,0 @@ exports.map2 = map2;

8

dist/dataway.esm.js

@@ -150,2 +150,8 @@ var URI = 'Dataway';

var of = success;
var fromEither = function (e) {
if (e.isLeft()) {
return failure(e.value);
}
return success(e.value);
};
var ap = function (fab, fa) { return fa.ap(fab); };

@@ -172,2 +178,2 @@ var map = function (fa, f) {

export { Failure, Loading, NotAsked, Success, URI, append, dataway, failure, fold, loading, map2, map3, notAsked, success };
export { Failure, Loading, NotAsked, Success, URI, append, dataway, failure, fold, fromEither, loading, map2, map3, notAsked, success };

@@ -156,2 +156,8 @@ (function (global, factory) {

var of = success;
var fromEither = function (e) {
if (e.isLeft()) {
return failure(e.value);
}
return success(e.value);
};
var ap = function (fab, fa) { return fa.ap(fab); };

@@ -187,2 +193,3 @@ var map = function (fa, f) {

exports.fold = fold;
exports.fromEither = fromEither;
exports.loading = loading;

@@ -189,0 +196,0 @@ exports.map2 = map2;

@@ -0,1 +1,2 @@

import { Either } from 'fp-ts/lib/Either';
import { Monad2 } from 'fp-ts/lib/Monad';

@@ -64,2 +65,3 @@ declare module 'fp-ts/lib/HKT' {

export declare const success: <L, A>(a: A) => Dataway<L, A>;
export declare const fromEither: <L, A>(e: Either<L, A>) => Dataway<L, A>;
export declare const map2: <L, A, B, C>(f: (a: A) => (b: B) => C, fa: Dataway<L, A>, fb: Dataway<L, B>) => Dataway<L, C>;

@@ -66,0 +68,0 @@ export declare const map3: <L, A, B, C, D>(f: (a: A) => (b: B) => (c: C) => D, fa: Dataway<L, A>, fb: Dataway<L, B>, fc: Dataway<L, C>) => Dataway<L, D>;

3

package.json
{
"name": "dataway",
"version": "1.1.0",
"version": "1.1.1",
"main": "dist/dataway.cjs.js",
"module": "dist/dataway.esm.js",
"browser": "dist/dataway.umd.js",
"types": "dist/main.d.ts",
"license": "MIT",

@@ -8,0 +9,0 @@ "scripts": {

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