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

@morphic-ts/eq-interpreters

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@morphic-ts/eq-interpreters - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

10

es6/model/primitives.js

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

import { option, array } from 'fp-ts';
import { option as O, array as A, either as E } from 'fp-ts';
import { eq, eqNumber, eqString, eqBoolean, eqStrict } from 'fp-ts/es6/Eq';

@@ -6,3 +6,2 @@ import { EqType, EqURI } from '../hkt';

import { memo } from '@morphic-ts/common/es6/utils';
import { getEq } from 'fp-ts/es6/Either';
/**

@@ -20,6 +19,7 @@ * @since 0.0.1

keysOf: (keys, config) => env => new EqType(eqApplyConfig(config)(eqStrict, env)),
nullable: (getType, config) => env => new EqType(eqApplyConfig(config)(option.getEq(getType(env).eq), env)),
array: (getType, config) => env => new EqType(eqApplyConfig(config)(array.getEq(getType(env).eq), env)),
nullable: (getType, config) => env => new EqType(eqApplyConfig(config)(O.getEq(getType(env).eq), env)),
array: (getType, config) => env => new EqType(eqApplyConfig(config)(A.getEq(getType(env).eq), env)),
uuid: config => env => new EqType(eqApplyConfig(config)(eqString, env)),
either: (e, a, config) => env => new EqType(eqApplyConfig(config)(getEq(e(env).eq, a(env).eq), env))
either: (e, a, config) => env => new EqType(eqApplyConfig(config)(E.getEq(e(env).eq, a(env).eq), env)),
option: (a, config) => env => new EqType(eqApplyConfig(config)(O.getEq(a(env).eq), env))
}));

@@ -8,3 +8,2 @@ "use strict";

var utils_1 = require("@morphic-ts/common/lib/utils");
var Either_1 = require("fp-ts/lib/Either");
/**

@@ -27,3 +26,4 @@ * @since 0.0.1

uuid: function (config) { return function (env) { return new hkt_1.EqType(config_1.eqApplyConfig(config)(Eq_1.eqString, env)); }; },
either: function (e, a, config) { return function (env) { return new hkt_1.EqType(config_1.eqApplyConfig(config)(Either_1.getEq(e(env).eq, a(env).eq), env)); }; }
either: function (e, a, config) { return function (env) { return new hkt_1.EqType(config_1.eqApplyConfig(config)(fp_ts_1.either.getEq(e(env).eq, a(env).eq), env)); }; },
option: function (a, config) { return function (env) { return new hkt_1.EqType(config_1.eqApplyConfig(config)(fp_ts_1.option.getEq(a(env).eq), env)); }; }
}); });
{
"name": "@morphic-ts/eq-interpreters",
"version": "1.4.0",
"version": "1.5.0",
"description": "Morphic Eq (fp-ts) package for equality",

@@ -26,3 +26,3 @@ "author": "Stéphane Le Dorze <stephane.ledorze@gmail.com>",

"@morphic-ts/common": "^1.4.0",
"@morphic-ts/model-algebras": "^1.4.0",
"@morphic-ts/model-algebras": "^1.5.0",
"fast-equals": "^2.0.0"

@@ -73,3 +73,3 @@ },

},
"gitHead": "c625346808e527ad20257862233b181e92e93459"
"gitHead": "905689499ce7cab8ff0cb82b0af648850f041d38"
}
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