bin-protocol
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -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
278
135169
+ Addedlong@3.2.0(transitive)
- Removedlong@3.0.3(transitive)
Updatedlong@^3.0.3