New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@cch137/entangle

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cch137/entangle - npm Package Compare versions

Comparing version
0.0.20
to
0.0.21
+4
-6
client.js

@@ -22,8 +22,4 @@ import Emitter from "@cch137/emitter";

this.active = true;
if (this.connected)
if (this.websocket)
return;
try {
this.websocket?.close();
}
catch { }
this.websocket = this.builder(this);

@@ -34,2 +30,3 @@ }

this.websocket?.close();
this.websocket = undefined;
}

@@ -105,6 +102,7 @@ send(data) {

adaptor.on("disconnect", () => {
adaptor.websocket = undefined;
adaptor.connected = false;
adaptor.ready = false;
if (adaptor.active) {
adaptor.websocket = adaptor.builder(adaptor);
adaptor.connect();
}

@@ -111,0 +109,0 @@ else if (!adaptor.cached) {

+1
-1
{
"name": "@cch137/entangle",
"version": "0.0.20",
"version": "0.0.21",
"description": "",

@@ -5,0 +5,0 @@ "type": "module",