Closed oliviertassinari closed 8 years ago
The build is now green 🍏 .
Awesome pull request, love the new tests, thanks for the concise breakdown! Will merge and publish right now. :tada:
Published in 1.2.8
Thanks for taking the time to review this PR 😄 .
My issue
I want the
load()
API Promise to reject when the JSON is wrongly formatted. Right now, we have an error thown (async, can't be wrapped in atry/catch
).My solution
ldjson-stream
dependency (renamed tondjson
: https://github.com/maxogden/ndjson/commit/0b2bcd00ed7b9a93a0efb096914fbbb02246ae37).'error'
event.