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

sockettwo

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sockettwo - npm Package Compare versions

Comparing version 1.3.9 to 1.4.0

6

index.js

@@ -20,8 +20,10 @@ // @ts-ignore

let IsConnected = false;
socket.on("connect", () => {
socketId = socket.id;
isConnectedToSocket = true;
IsConnected = true;
});
setTimeout(() => {
return isConnectedToSocket ? "Socket Connected!" : "Socket not connected!";
return IsConnected ? "Socket Connected!" : "Socket not connected!";
}, 1000);

@@ -28,0 +30,0 @@ }

@@ -7,3 +7,3 @@ {

"name": "sockettwo",
"version": "1.3.9",
"version": "1.4.0",
"main": "index.js",

@@ -10,0 +10,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