67 Commits (master)
 

Author SHA1 Message Date
Chris Dickinson 7fc8829334 6.0.0 2 years ago
Chris Dickinson 323cb66c38 Revert "Revert "fix: ensure MAX_SAFE_INTEGER exists"" 2 years ago
Chris Dickinson 4234244a96 Revert "Revert "add bounds checking to encode and decode"" 2 years ago
Chris Dickinson fbcfa76d76 5.0.2 2 years ago
Chris Dickinson 614645bb03 Revert "add bounds checking to encode and decode" 2 years ago
Chris Dickinson 79d2daa0cc Revert "fix: ensure MAX_SAFE_INTEGER exists" 2 years ago
Chris Dickinson 1198bb8223 5.0.1 2 years ago
Chris Dickinson da118c9a22 fix: ensure MAX_SAFE_INTEGER exists 2 years ago
Chris Dickinson 572ae582e7
Merge pull request #20 from ChainSafe/bounds-checking 2 years ago
Cayman fcebf3acdc
add bounds checking to encode and decode 3 years ago
Chris Dickinson 30e24d424c 5.0.0 6 years ago
Chris Dickinson 15598cb409 BREAKING: throw RangeError when decoding bad buf 6 years ago
Chris Dickinson f78634a6c3 Merge pull request #15 from mafintosh/patch-2 6 years ago
Mathias Buus 2dbd6efe61 throw instead of returning undefined 6 years ago
Chris Dickinson a260948535 4.0.1 7 years ago
Chris Dickinson f04024540c Merge pull request #13 from justmoon/fix/bytesRead-to-bytes 7 years ago
Stefan Thomas 204feb930d update tests and maintain old behavior for backwards compatibility 7 years ago
Stefan Thomas 8d15a90f10 fix typo bytesRead -> bytes 7 years ago
Chris Dickinson 455eca54c6 4.0.0 8 years ago
Mathias Buus f072407cb6 support higher numbers 8 years ago
Chris Dickinson 32abc1e765 3.0.1 9 years ago
Chris Dickinson f6eddb4be6 Merge pull request #11 from dominictarr/master 9 years ago
Dominic Tarr 4ea6dfce7a clarify varint.encode documentation 9 years ago
Chris Dickinson 8840b12da6 3.0.0 9 years ago
Chris Dickinson f48d840c95 Merge pull request #10 from mafintosh/bytes 9 years ago
Mathias Buus 11bf118d96 fix docs 9 years ago
Chris Dickinson 8a1a81de3a 2.0.0 9 years ago
Chris Dickinson 770ae8d530 Merge pull request #9 from dominictarr/incomplete 9 years ago
Mathias Buus d2f7af4ff9 fixed tests 9 years ago
Mathias Buus 5759d8a705 bytesRead,bytesWritten -> bytes 9 years ago
Dominic Tarr 490e48499d do not read outside the bounds of the buffer 9 years ago
Dominic Tarr 76ce046de9 make a quick benchmark script 9 years ago
Dominic Tarr 9af95d37bc correct usage notes 9 years ago
Dominic Tarr 5a00978b1b instead of throwing, return undefined in invalid (too short) buffers 9 years ago
Dominic Tarr 6639d2d256 test invalid buffers, set bytesRead = 0, and return undefined 9 years ago
Chris Dickinson d1288330fc 1.2.0 9 years ago
Chris Dickinson c6a6a844c5 Merge pull request #7 from dominictarr/encoding-length 9 years ago
Chris Dickinson a9742853ae Merge pull request #6 from dominictarr/master 9 years ago
Dominic Tarr d51a128ab2 remove console.log 9 years ago
Dominic Tarr 76bbd6ee4b document encodingLength 9 years ago
Dominic Tarr bb93a5a51b export encodingLength 9 years ago
Dominic Tarr 03189c9ca9 test for encoding length 9 years ago
Dominic Tarr 10da3a6d33 test the largest numbers 9 years ago
Dominic Tarr 51da5f39f6 use bitwise check instead of >= when number is small 9 years ago
Dominic Tarr 5855143da8 use divide when number is too large for bitwise operations 9 years ago
Dominic Tarr e55b25d840 add tests for large numbers - up to 2^51, max integer that a js number can represent 9 years ago
Dominic Tarr a8b188fbb2 update tape 9 years ago
Chris Dickinson 566d0f030f 1.1.0 9 years ago
Chris Dickinson f0e5547f69 Merge pull request #4 from mafintosh/patch-1 9 years ago
Mathias Buus f5fc9ab1d7 docs for bytesWritten 9 years ago