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

protobuf.js

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protobuf.js - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

@@ -189,9 +189,7 @@ var fs = require('fs'),

params[key].forEach(function (item) {
ret.push(self.encode(schema[key].raw_type, item));
ret = ret.concat(self.encode(schema[key].raw_type, item));
});
params[key].forEach(function (item) {
bytes.push((schema[key].field << 3) + schema[key].type);
butils.writeVarint(bytes, item.length, bytes.length);
bytes = bytes.concat(item);
});
bytes.push((schema[key].field << 3) + schema[key].type);
butils.writeVarint(bytes, ret.length, bytes.length);
bytes = bytes.concat(ret);
}

@@ -198,0 +196,0 @@ } else {

{
"name": "protobuf.js",
"version": "0.0.11",
"version": "0.0.12",
"description": "a pure javascript protocol buffer encoding implementation, written specifically for riak",

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