jsonparse
This is a pure-js JSON streaming parser for node.js
1.3.1
88M downloads/mo
#1806 most downloaded on npm
creationix/jsonparse
What this package is like to depend on
Last release 9 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 1.6 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
16 years old
11 releases · first in 2011
0 releases in the last 12 months
see the full history below
Release timeline
11 releases · Jan 2011 to May 2017Releases
latest 11-
1.3.109 May 2017Commits, not release notes
This project publishes no release notes. Between
1.3.0and1.3.1there were 3 commits, 1 of them substantive:- Allow parse escaped surrogate pairs
-
1.3.016 Jan 2017Commits, not release notes
This project publishes no release notes. Between
1.2.0and1.3.0there were 7 commits, 5 of them substantive:- don't oom on long strings
- make tests work on old versions of node
- add char code constants
- cleanup buffer copy size logic
- Merge tag '1.2.0'
-
1.2.012 Oct 2015Commits, not release notes
This project publishes no release notes. Between
v1.0.0and1.2.0there were 20 commits, 16 of them substantive:- Fix prototype issue
- Upgrade patch version number
- Implement toknam as a private static method
- Refactoring
- Fix ending of parsing when an error is encountered
- Fix ending of parsing when an error is encountered (second pass)
- Add STOP state, used to implements a panic state recovery mechanism.
- Bump the middle number version
- Add unitary test
- Refacrotored number parsing with parseFloat
- Unit tests are passing after refactoring
- Error handling just like the rest of the code
- Overflow check
- Overflow check, passing a string
- Fix infinite loop for characters above 244
- Added few tests for the long numbers and improved the check
-
1.1.015 Sep 2015Nothing published for this version
-
1.0.031 Jan 2015Commits, not release notes
This project publishes no release notes. Between
0.0.6andv1.0.0there were 5 commits, 3 of them substantive:- remove second definition of
proto.onError - Throw an error if an invalid UTF-8 character is encountered
- Tag version 1.0.0
- remove second definition of
-
0.0.631 Jan 2014Commits, not release notes
This project publishes no release notes. Between
0.0.5and0.0.6there were 5 commits, 3 of them substantive:- Fix typo in null states
- Track the stream offset during parsing.
- Fix offset tracking for escaped sequences.
-
0.0.513 Mar 2013Commits, not release notes
This project publishes no release notes. Between
0.0.4and0.0.5there were 4 commits, 2 of them substantive:- added new utf8 test cases that simulate 1-4 byte utf8 characters being chunked before their boundaries are reached, which leads the subsequent call to buffer.toString() to display two-four replacement characters: �� instead of the proper representation of the multi-byte characters that were actually passed to the parser
- added detection & correction of multi-byte utf8 characters that are split up (when chunked in stream buffers) before the character boundary is met, this commit passes existing tests and new tests written for this use case
-
0.0.419 Dec 2012Commits, not release notes
This project publishes no release notes. Between
0.0.3and0.0.4there were 13 commits, 11 of them substantive:- make room for more tests
- commented code will live forever in the git history
- require() the json file for later when this test will run in browsers
- remove more superfluous test code
- more machine-readable test output
- passing tap test
- remove superfluous json load in the primitives test
- devDependencies and scripts.test
- failing utf8 test
- add utf8 support
- more passing utf8 tests
-
0.0.308 Oct 2012Commits, not release notes
This project publishes no release notes. Between
0.0.2and0.0.3there were 4 commits, 2 of them substantive:- Replace all swith/case statements by the equivalent with if/else if/else in the method proto.onToken.
- Replace all switch/case statements by the equivalent with if/else if/else in the method proto.write.
-
0.0.210 Aug 2012Commits, not release notes
This project publishes no release notes. Between
v0.0.1and0.0.2there were 11 commits, 7 of them substantive:- Move logs to end
- Add proper UTF8 support instead of accidental
- Add twitterfeed example
- Remove utf8 decoding and allow strings as input
- Fixed typo that broke parsing of number literals in exponential notation with + or - after e or E.
- Update master
- add LICENSE and license directive to package.json, per README
-
0.0.118 Jan 2011Nothing published for this version