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

bin-protocol

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

bin-protocol - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

10

package.json

@@ -9,3 +9,3 @@ {

},
"version": "2.0.8",
"version": "2.0.9",
"main": "./lib/index.js",

@@ -15,10 +15,10 @@ "keywords": ["buffer", "raw", "binary", "protocol", "parser", "reader", "builder"],

"lodash": "^4.1.0",
"long": "~=3.0.1",
"long": "^3.0.3",
"protocol-buffers-schema": "^3.0.0"
},
"devDependencies": {
"mocha": "~=2.3.4",
"chai": "~=3.4.1",
"mocha": "^2.4.5",
"chai": "^3.5.0",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^3.1.0",
"eslint-config-airbnb": "^5.0.0",
"istanbul": "^0.4.2"

@@ -25,0 +25,0 @@ },

# bin-protocol
[![Build Status](https://travis-ci.org/oleksiyk/binary-protocol.png)](https://travis-ci.org/oleksiyk/binary-protocol)
[![Dependencies](https://david-dm.org/oleksiyk/binary-protocol.svg)](https://david-dm.org/oleksiyk/binary-protocol)
[![DevDependencies](https://david-dm.org/oleksiyk/binary-protocol/dev-status.svg)](https://david-dm.org/oleksiyk/binary-protocol#info=devDependencies)

@@ -151,3 +153,3 @@ bin-protocol is a library for parsing and creating arbitrary byte buffers with optional protocol buffers support.

Give a buffer where first 32bit integer is a number (3) of further 32bit integers (2,3 and 4):
Given a buffer where first 32bit integer is a number (3) of further 32bit integers (2,3 and 4):

@@ -246,7 +248,7 @@ ```javascript

// decode message
var decoded = protocol.read(encoded).basic.Test().result;
decoded => { string: 'hello' }
var decoded = protocol.read(encoded).basic.Test().result; // => { string: 'hello' }
```
See [Riak protocol](https://github.com/oleksiyk/no-riak/blob/master/lib/protocol.js) for another example.
# License (MIT)

@@ -253,0 +255,0 @@

Sorry, the diff of this file is not supported yet

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