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

minecraft-pinger

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minecraft-pinger - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

lib/packet.js

@@ -28,3 +28,3 @@ /*

const PROTOCOL_VERSION = 316 // Minecraft 1.11.1 & 1.11.2
const PROTOCOL_VERSION = 335 // Minecraft 1.12

@@ -72,2 +72,3 @@ module.exports.createHandshakePacket = (address, port) => {

.then(packet => {
if (!packet) return
if (packet.id === 0) {

@@ -80,2 +81,4 @@ return decodeHandshakeResponse(packet)

.then(packet => {
if (!packet) return
// Remove packet from internal buffer

@@ -82,0 +85,0 @@ this.buffer = this.buffer.slice(packet.bytes)

2

package.json
{
"name": "minecraft-pinger",
"version": "1.0.1",
"version": "1.0.2",
"author": "Dennis Bruner <contact@dennisbruner.de>",

@@ -5,0 +5,0 @@ "description": "A promise-based minecraft pinger in Node.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