@nxtedition/lib 19.0.11 → 19.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/couch.js +2 -0
  2. package/package.json +1 -1
package/couch.js CHANGED
@@ -258,11 +258,13 @@ export function makeCouch(opts) {
258
258
  })
259
259
  }
260
260
 
261
+ // TODO (perf): Avoid stream pipeline
261
262
  return stream.pipeline(
262
263
  res.body,
263
264
  split2(),
264
265
  new stream.Transform({
265
266
  objectMode: true,
267
+ readableHighWaterMark: 256, // TODO (fix): We would like to limit this to bytes and not elements...
266
268
  construct(callback) {
267
269
  this.state = 0
268
270
  callback(null)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "19.0.11",
3
+ "version": "19.0.12",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",