reklatsmasters / binary-data Goto Github PK
View Code? Open in Web Editor NEWDeclarative binary data encoder / decoder
License: MIT License
Declarative binary data encoder / decoder
License: MIT License
Something like
const schema = {
foo: {
bar: uint16be
}
}
Error: Not enough data
in $ » foo » bar
Now async io implemented through transaction, it's a quite unoptimal. Generators are sync things that may save state between calls.
Null-byte terminated buffer.
2.6.2
to 2.7.0
.This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
869f56d
Build: update package.json and changelog for v2.7.0
38537ba
Update: Support prettierignore and custom processors (#111)
047dc8f
Build: switch to release script package
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
2.0.1
to 2.1.0
.This version is covered by your current version range and after updating it in your project the build failed.
bl is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 4 commits.
8c596a8
Bumped v2.1.0.
de8ba93
Merge pull request #59 from reconbot/reconbot/indexOf
104b478
indexOf: Add native indexOf support for 1 byte searchs
0d4d16a
indexOf that conforms to nodejs 10 tests
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency |
prettier
|
Current Version | 1.12.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.
Branch | Build failing 🚨 |
---|---|
Dependency | sinon |
Current Version | 4.4.6 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
sinon is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 7 commits.
e060fe9
Update docs/changelog.md and set new release id in docs/_config.yml
e9fce06
Add release documentation for v4.4.7
f047838
4.4.7
cc91fe6
Update History.md and AUTHORS for new release
9fb8577
Emojify the support message :heart:
a87ef85
Use existing mini-lib for coloring
1f33fe5
Reduce noisy NPM output from postinstall script
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
See also nodertc/stun#22
class Foo {}
const foobuf = new Foo;
const fooproxy = new Proxy(foobuf, {
getPrototypeOf: function () {
return Buffer.prototype;
}
})
☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.
Branch | Build failing 🚨 |
---|---|
Dependency | bl |
Current Version | 1.2.1 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
bl is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 6 commits.
feaaa4c
Bumped v1.2.2.
307da45
Merge pull request #51 from rvagg/safe-buffeer
cf6b00e
Removed node 7 from .travis.yml
4b8f524
Added safe-buffer and updated dependencies
4acbe24
Merge pull request #45 from EdwardBetts/spelling
52ed96c
correct spelling mistake
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Hello,
first of all thank you for your module it is the only one I found that has a streaming API with correct chunk-boundary behavior.
I am trying to implement the postgres protocol which is basically
{
code: string(1),
length: uint32be,
payload: ...depends on code
}
for the decoding part I could use select(when,..)
to decode the protocol, but then saw that select
is not implemented for encode. Is there a reason for that ? I think it could be possible to encode the first truthy when
. Would you review a PR and publish a new version if I try to implement select.encode
?
Maybe I do not use binary-data
correctly.
Also I saw a biner
module which looks basically like a typescript port of binary-data
. What is the relation between binary-data
and biner
?
thanks for your help
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
package.json
files, so that was left aloneIf you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didn’t already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | eslint-config-prettier |
Current Version | 2.9.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
eslint-config-prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 4 commits.
9f42779
eslint-config-prettier v2.10.0
7a95862
Add more eslint-plugin-react rules
becbdf3
Add flowtype/boolean-style
0f13166
Fix wording in readme
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
const NetworkPacket = {
header: uint16be,
// ...
}
const transcode = createDecodeStream(NetworkPacket)
socket.pipe(transcode).on('data', packet => {
//...
})
const output = createEncodeStream(NetworkPacket)
source.pipe(output).pipe(socket)
// or
output.write({
header: 23,
// ...
})
Branch | Build failing 🚨 |
---|---|
Dependency |
eslint-plugin-promise
|
Current Version | 3.7.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-promise is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 9 commits.
67dad97
3.8.0
212e557
docs(changelog): prepare for v3.8.0 (#132)
9b0cbd1
refactor: lookup promise statics from object instead of array (#131)
ceb7414
feat: turn off avoid-new in recommended configuration (#119)
b5a6423
chore(package): add package-lock.json (#130)
4ebd2c6
fix: ignore event listener callbacks in prefer-await-to-callbacks (#117)
4a3d5b8
fix: ignore top-level awaits in prefer-await-to-then (#126)
0b231da
docs: add no-nesting examples (#120)
5956eca
docs: add examples to prefer-await-to-then
(#121)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.