Huge News!Announcing our $40M Series B led by Abstract Ventures.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 0.0.17 to 0.0.18

4

index.js

@@ -141,3 +141,3 @@ var fs = require('fs'),

if (schema[key].type === 0) {
varint = butils.readVarint(buffer, pos + 1);
varint = butils.readVarint(buffer, pos + 1, schema[key].raw_type === 'sint32' || schema[key].raw_type === 'sint64');
len = varint.bytes + 1;

@@ -215,3 +215,3 @@ val = varint.num;

bytes.push((schema[key].field << 3) + schema[key].type);
butils.writeVarint(bytes, params[key], bytes.length);
butils.writeVarint(bytes, params[key], bytes.length, schema[key].raw_type === 'sint32' || schema[key].raw_type == 'sint64');
}

@@ -218,0 +218,0 @@ }

{
"name": "protobuf.js",
"version": "0.0.17",
"version": "0.0.18",
"description": "a pure javascript protocol buffer encoding implementation, written specifically for riak",
"main": "index.js",
"dependencies": {
"butils": "",
"butils": "0.0.5",
"wtf8": "https://github.com/lautis/wtf8/tarball/master"

@@ -9,0 +9,0 @@ },

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