protobuf.js
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -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 @@ }, |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
0
11019
6
1
+ Addedbutils@0.0.5(transitive)
- Removedbutils@0.1.0(transitive)
Updatedbutils@0.0.5