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.12.3 to 0.12.4

19

internal/Context.js

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

}
constructor(id) {
constructor(identifier) {
this._tag = "Tag";

@@ -48,6 +48,19 @@ this.i0 = undefined;

this[_a] = effectVariance;
if (typeof id !== "undefined") {
return G.globalValue(id, () => this);
if (typeof identifier !== "undefined") {
this.i0 = identifier;
return G.globalValue(identifier, () => this);
}
}
toString() {
return JSON.stringify(this);
}
toJSON() {
return {
_tag: "Tag",
identifier: this.i0
};
}
[Symbol.for("nodejs.util.inspect.custom")]() {
return this.toJSON();
}
traced(trace) {

@@ -54,0 +67,0 @@ if (trace) {

2

package.json
{
"name": "@effect/data",
"version": "0.12.3",
"version": "0.12.4",
"license": "MIT",

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

@@ -26,3 +26,3 @@ import type * as C from "@effect/data/Context"

readonly _tag = "Tag"
public i0 = undefined
public i0: any | undefined = undefined
public i1 = undefined

@@ -44,7 +44,20 @@ public i2 = undefined

}
constructor(id?: unknown) {
if (typeof id !== "undefined") {
return G.globalValue(id, () => this)
constructor(identifier?: unknown) {
if (typeof identifier !== "undefined") {
this.i0 = identifier
return G.globalValue(identifier, () => this)
}
}
toString() {
return JSON.stringify(this)
}
toJSON() {
return {
_tag: "Tag",
identifier: this.i0
}
}
[Symbol.for("nodejs.util.inspect.custom")]() {
return this.toJSON()
}
traced(this: this, trace: Trace): C.TracedTag<Identifier, Service> | this {

@@ -51,0 +64,0 @@ if (trace) {

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