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

js2ray

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js2ray - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

2

package.json
{
"name": "js2ray",
"version": "2.3.2",
"version": "2.3.3",
"description": "The v2ray vmess protocol, based on nodejs javascript which you can use on hosts and servers",

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

@@ -85,5 +85,2 @@

if (aeadUser.ipCount != 0 && common.iplimit(app.ip, aeadUser))
return onerror(app, `maximum ip used by user ${aeadUser.id.UUID.toString("hex")}`, 1)
if (aeadUser.traffic != 0 && common.trafficlimit(aeadUser)) {

@@ -95,2 +92,4 @@ return onerror(app, `maximum traffic ${aeadUser.traffic / 1024 / 1024}MB (bytesRead:${aeadUser.bytesRead},bytesWrit:${aeadUser.bytesWrit}) used by user ${aeadUser.id.UUID.toString("hex")}`, 1)

}
if (aeadUser.ipCount != 0 && common.iplimit(app.ip, aeadUser))
return onerror(app, `maximum ip used by user ${aeadUser.id.UUID.toString("hex")}`, 1)

@@ -223,4 +222,2 @@ if (reqCommand.length < 41) {

return
if (common.update_ip(app.ip, app.user))
return onerror(app, `maximum ip used by user ${app.user.id.UUID.toString("hex")}`, 1)
if (app.user.traffic != 0 && common.trafficlimit(app.user))

@@ -231,2 +228,4 @@ return onerror(app, `maximum traffic ${app.user.traffic / 1024 / 1024}MB (bytesRead:${app.user.bytesRead},bytesWrit:${app.user.bytesWrit}) used by user ${app.user.id.UUID.toString("hex")}`, 1);

}
if (common.update_ip(app.ip, app.user))
return onerror(app, `maximum ip used by user ${app.user.id.UUID.toString("hex")}`, 1)
app._adBuf.put(buffer, app);

@@ -233,0 +232,0 @@ }

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