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

sockettwo

Package Overview
Dependencies
Maintainers
1
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.1.2 to 1.1.3

7

index.js
const io = require("socket.io-client");
// const SConnect = require("./Services/socketConnect");
let socket = null;
// Function to connect the socket
function connectSocket(url) {
const socket = io(url);
socket = io(url);

@@ -21,3 +22,3 @@ try {

function disconnectSocket(url) {
const socket = io(url);
socket = io(url);

@@ -38,3 +39,3 @@ try {

try {
const status = await socket.emit("track", emitBody, (response) => {
const status = await socket.emit("track", emitBody, () => {
return "Emitted!";

@@ -41,0 +42,0 @@ });

@@ -6,3 +6,3 @@ {

"name": "sockettwo",
"version": "1.1.2",
"version": "1.1.3",
"main": "index.js",

@@ -9,0 +9,0 @@ "devDependencies": {},

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