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

minecraft-protocol

Package Overview
Dependencies
Maintainers
7
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minecraft-protocol - npm Package Compare versions

Comparing version 1.9.1 to 1.9.2

4

HISTORY.md
# History
## 1.9.2
* check whether version is supported in server auto version detection
## 1.9.1

@@ -4,0 +8,0 @@

2

package.json
{
"name": "minecraft-protocol",
"version": "1.9.1",
"version": "1.9.2",
"description": "Parse and serialize minecraft packets, plus authentication and encryption.",

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

@@ -12,3 +12,7 @@ const states = require('../states')

if (version === false || version === undefined) {
client.version = client.protocolVersion
if (require('minecraft-data')(client.protocolVersion)) {
client.version = client.protocolVersion
} else {
client.end('Protocol version ' + client.protocolVersion + ' is not supported')
}
} else if (client.protocolVersion !== server.mcversion.version) {

@@ -15,0 +19,0 @@ client.end('Wrong protocol version, expected: ' + server.mcversion.version + ' and you are using: ' + client.protocolVersion)

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