Socket
Socket
Sign inDemoInstall

@effect/data

Package Overview
Dependencies
Maintainers
3
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect/data - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

4

internal/Either.js

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

[(_a = EffectTypeId, Equal.symbol)](that) {
return isEither(that) && isRight(that) && that.i0 === this.i0;
return isEither(that) && isRight(that) && Equal.equals(that.i0, this.i0);
}

@@ -56,3 +56,3 @@ [Hash.symbol]() {

[(_b = EffectTypeId, Equal.symbol)](that) {
return isEither(that) && isLeft(that) && that.i0 === this.i0;
return isEither(that) && isLeft(that) && Equal.equals(that.i0, this.i0);
}

@@ -59,0 +59,0 @@ [Hash.symbol]() {

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

[(_a = EffectTypeId, Equal.symbol)](that) {
return isOption(that) && isSome(that) && that.i0 === this.i0;
return isOption(that) && isSome(that) && Equal.equals(that.i0, this.i0);
}

@@ -29,0 +29,0 @@ [Hash.symbol]() {

{
"name": "@effect/data",
"version": "0.10.1",
"version": "0.10.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {

@@ -31,3 +31,3 @@ /**

[Equal.symbol](this: this, that: unknown) {
return isEither(that) && isRight(that) && (that as unknown as Right<A>).i0 === this.i0
return isEither(that) && isRight(that) && Equal.equals((that as unknown as Right<A>).i0, this.i0)
}

@@ -61,3 +61,3 @@ [Hash.symbol](this: this) {

[Equal.symbol](this: this, that: unknown) {
return isEither(that) && isLeft(that) && (that as unknown as Left<E>).i0 === this.i0
return isEither(that) && isLeft(that) && Equal.equals((that as unknown as Left<E>).i0, this.i0)
}

@@ -64,0 +64,0 @@ [Hash.symbol](this: this) {

@@ -28,3 +28,3 @@ /**

[Equal.symbol](this: this, that: unknown): boolean {
return isOption(that) && isSome(that) && (that as Some<A>).i0 === this.i0
return isOption(that) && isSome(that) && Equal.equals((that as Some<A>).i0, this.i0)
}

@@ -31,0 +31,0 @@ [Hash.symbol](this: this) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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