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.0.7 to 2.0.8

2

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

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

@@ -118,3 +118,3 @@

ipCount: a.ipCount || 0,
ipCountDuration: a.ipCountDuration || 180,
ipCountDuration: a.ipCountDuration || 30,
email: a.email,

@@ -121,0 +121,0 @@ expire: a.expire,

@@ -80,2 +80,4 @@

app._cipherNonce += 1;
if (app._cipherNonce > 65535)
app._cipherNonce = 0
}

@@ -89,2 +91,4 @@ else if (security === consts.SECURITY_TYPE_CHACHA20_POLY1305) {

app._cipherNonce += 1;
if (app._cipherNonce > 65535)
app._cipherNonce = 0
}

@@ -119,3 +123,3 @@ return Buffer.concat([ciphertext, tag]);

return plaintext;
} catch (err) {
} catch (err) {
return null;

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