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

protobuf.js

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protobuf.js - npm Package Compare versions

Comparing version

to
0.0.16

riak_kv.proto

4

index.js

@@ -149,6 +149,6 @@ var fs = require('fs'),

if (schema[key].raw_type === 'string' || schema[key].raw_type === 'bytes') {
if (key === 'vclock') {
if (key === 'vclock' || (key === 'value' && !schema.hasOwnProperty('key'))) {
val = buffer.slice(pos + varint.bytes + 1, pos + len);
} else {
val = new Buffer(wtf.decode(buffer.slice(pos + varint.bytes + 1, pos + len)));
val = wtf.decode(buffer.slice(pos + varint.bytes + 1, pos + len));
}

@@ -155,0 +155,0 @@ } else {

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

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