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 2.4.7 to 2.5.0

6

compile.js

@@ -135,2 +135,6 @@ var encodings = require('./encodings')

m.enums.forEach(function( val ) {
exports[ val.name ] = val.values
})
var enc = m.fields.map(function(f, i) {

@@ -400,2 +404,2 @@ return resolve(f.type, m.id)

}))
}
}

2

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

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

@@ -72,2 +72,12 @@ # protocol-buffers

Nested emums are accessed as properties on the corresponding message
``` js
var buf = message.SomeMessage.encode({
list: [
messages.SomeMessage.NESTED_ENUM.VALUE
]
})
```
See the [Google Protocol Buffers docs](https://developers.google.com/protocol-buffers/) for more information about the

@@ -74,0 +84,0 @@ available types etc.

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