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
2
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 0.7.1 to 0.7.2

2

lib/protocol.js

@@ -544,3 +544,3 @@ var assert = require('assert');

this.value = value;
this.size = value === 0 ? 4 : 10;
this.size = value.intField === 0 ? 4 : 10;
}

@@ -547,0 +547,0 @@

{
"name": "minecraft-protocol",
"version": "0.7.1",
"version": "0.7.2",
"description": "Parse and serialize minecraft packets, plus authentication and encryption.",

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

@@ -234,2 +234,6 @@ # minecraft protocol

### 0.7.2
* fix objectData writer. This fixes sending an 0x17 packet.
### 0.7.1

@@ -236,0 +240,0 @@

@@ -84,7 +84,10 @@ var mc = require('../')

},
'entityMetadata': [{
type: 'int',
key: 3,
value: 100,
}],
'entityMetadata': [
{ key: 17, value: 0, type: 'int' },
{ key: 0, value: 0, type: 'byte' },
{ key: 16, value: 0, type: 'byte' },
{ key: 1, value: 300, type: 'short' },
{ key: 19, value: 0, type: 'int' },
{ key: 18, value: 1, type: 'int' },
],
'objectData': {

@@ -91,0 +94,0 @@ intField: 9,

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