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

socket_protobuf

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket_protobuf - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

3

lib/BufferSender.js

@@ -5,2 +5,5 @@ "use strict";

static send(socket, cmdId, newBuff) {
if (null == socket) {
return;
}
let headBuffer = Buffer.alloc(BufferSender.headLength); //增加协议数据包头部,并设置协议ID、数据包长度

@@ -7,0 +10,0 @@ headBuffer.writeUInt32BE(newBuff.byteLength, BufferSender.idxProtoLen);

2

package.json
{
"name": "socket_protobuf",
"version": "1.2.2",
"version": "1.2.3",
"description": "socket发送protobuf二进制流的SDK",

@@ -5,0 +5,0 @@ "main": "App.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