varint
protobuf-style varint bytes - use msb to create integer values of varying sizes
6.0.0
32M downloads/mo
#3445 most downloaded on npm
chrisdickinson/varint
What this package is like to depend on
Last release 6 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 3.9 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
14 years old
15 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
15 releases · Feb 2013 to Sep 2020Releases
latest 15-
6.0.028 Sep 2020Commits, not release notes
This project publishes no release notes. Between
v5.0.2andv6.0.0there were 3 commits, 2 of them substantive:- Revert "Revert "add bounds checking to encode and decode""
- Revert "Revert "fix: ensure MAX_SAFE_INTEGER exists""
-
5.0.228 Sep 2020Commits, not release notes
This project publishes no release notes. Between
v5.0.1andv5.0.2there were 3 commits, 2 of them substantive:- Revert "fix: ensure MAX_SAFE_INTEGER exists"
- Revert "add bounds checking to encode and decode"
-
5.0.128 Sep 2020Commits, not release notes
This project publishes no release notes. Between
v5.0.0andv5.0.1there were 4 commits, 2 of them substantive:- add bounds checking to encode and decode
- fix: ensure MAX_SAFE_INTEGER exists
-
5.0.004 Nov 2016Commits, not release notes
This project publishes no release notes. Between
v4.0.1andv5.0.0there were 4 commits, 2 of them substantive:- throw instead of returning undefined
- BREAKING: throw RangeError when decoding bad buf
-
4.0.118 Jun 2016Commits, not release notes
This project publishes no release notes. Between
v4.0.0andv4.0.1there were 4 commits, 2 of them substantive:- fix typo bytesRead -> bytes
- update tests and maintain old behavior for backwards compatibility
-
4.0.006 Jan 2015Commits, not release notes
This project publishes no release notes. Between
v3.0.1andv4.0.0there were 2 commits, 1 of them substantive:- support higher numbers
-
3.0.108 Aug 2014Commits, not release notes
This project publishes no release notes. Between
v3.0.0andv3.0.1there were 3 commits, 1 of them substantive:- clarify varint.encode documentation
-
3.0.021 Jun 2014Commits, not release notes
This project publishes no release notes. Between
v2.0.0andv3.0.0there were 5 commits, 3 of them substantive:- bytesRead,bytesWritten -> bytes
- fixed tests
- fix docs
-
2.0.029 May 2014Commits, not release notes
This project publishes no release notes. Between
v1.2.0andv2.0.0there were 7 commits, 5 of them substantive:- test invalid buffers, set bytesRead = 0, and return undefined
- instead of throwing, return undefined in invalid (too short) buffers
- correct usage notes
- make a quick benchmark script
- do not read outside the bounds of the buffer
-
1.2.012 May 2014Nothing published for this version
-
1.1.003 May 2014Nothing published for this version
-
1.0.010 Oct 2013Nothing published for this version
-
0.0.327 May 2013Nothing published for this version
-
0.0.214 Feb 2013Nothing published for this version
-
0.0.114 Feb 2013Nothing published for this version