a test case for live stream stack overflow due to sublevel objects getting sent to stream serilizer.
this is a test case for
git clone firstname.lastname@example.org:soldair/level-live-stream_issues_7.git && npm install && npm test
when you bind level-hooks and specify a sublevel as prefix.
var subdb = dbsublevel's';dbpreifchtype == "put" addtype:"put"key:chkeyvalue:chvalueprefix:subdb;
if you use level-live-stream on a section of the database that overlaps that sublevel's range.
var livestream = require'level-live-stream';var ls = livestreaminstalldb;dblivestreamon'data'ifchangeprefix console.logchangeprefix === subdb ' im broken';
using multilevel. when trying to serialize the sublevel object to send to a client we blow the stack.
it may not be the expected behavior for the prefix key to bubble out of level-hooks its certainly not the expected behavior for it to be sent from pull-level its never the expected behavior for this to be emitted as data from level-live-stream