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

protocol-buffers

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protocol-buffers - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

11

compile.js

@@ -8,2 +8,11 @@ /* eslint-disable no-spaced-func */

var flatten = function (values) {
if (!values) return null
var result = {}
Object.keys(values).forEach(function (k) {
result[k] = values[k].value
})
return result
}
var skip = function (type, buffer, offset) {

@@ -172,3 +181,3 @@ switch (type) {

m.enums.forEach(function (val) {
exports[val.name] = val.values
exports[val.name] = flatten(val.values)
})

@@ -175,0 +184,0 @@

2

package.json
{
"name": "protocol-buffers",
"version": "3.2.0",
"version": "3.2.1",
"description": "Protocol Buffers for Node.js",

@@ -5,0 +5,0 @@ "repository": {

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