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

pomelo-protobuf

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pomelo-protobuf - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

3

lib/encoder.js

@@ -139,3 +139,3 @@ var codec = require('./codec');

//Use a tmp buffer to build an internal msg
var tmpBuffer = new Buffer(Buffer.byteLength(JSON.stringify(value)));
var tmpBuffer = new Buffer(Buffer.byteLength(JSON.stringify(value))*2);
length = 0;

@@ -162,3 +162,2 @@

var i = 0;
if(util.isSimpleType(proto.type)){

@@ -165,0 +164,0 @@ offset = writeBytes(buffer, offset, encodeTag(proto.type, proto.tag));

{
"name": "pomelo-protobuf",
"version": "0.3.3",
"version": "0.3.4",
"main": "./lib/protobuf",

@@ -5,0 +5,0 @@ "dependencies": {},

@@ -5,4 +5,4 @@ {

"message Path": {
"required uInt32 x" : 1,
"required uInt32 y" : 2
"required double x" : 1,
"required double y" : 2
},

@@ -9,0 +9,0 @@ "repeated Path path" : 2,

@@ -47,11 +47,11 @@ {

{
"x": 128,
"y": 796
"x": 10.4,
"y": 90.9
},
{
"x": 677,
"y": 895
"x": 10.4,
"y": 90.1
}
],
"speed": 160
"speed": 160.0
},

@@ -58,0 +58,0 @@ "onUpgrade": {

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