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

replchat.js

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

replchat.js - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

12

index.js

@@ -12,2 +12,4 @@ const io = require("socket.io-client");

this.beta = beta
this.last = ""
}

@@ -46,7 +48,13 @@

this.socket.on('joined', (data) => {
this.emit('join', data.username)
if (this.last != 'joined.' + data.username) {
this.emit('joined', data.username)
this.last = 'joined.' + data.username
}
})
this.socket.on('left', (data) => {
this.emit('left', data.username)
if (this.last != 'left.' + data.username) {
this.emit('left', data.username)
this.last = 'left.' + data.username
}
})

@@ -53,0 +61,0 @@

2

package.json
{
"name": "replchat.js",
"version": "1.0.5",
"version": "1.0.6",
"description": "A library for making bots with replchat (https://replchat.vapwastaken.repl.co/)",

@@ -5,0 +5,0 @@ "main": "index.js",

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