@nxtedition/lib 20.4.2 → 20.4.5

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.
package/app.js CHANGED
@@ -36,6 +36,7 @@ export function makeApp(appConfig, onTerminate) {
36
36
  let logger
37
37
  let trace
38
38
 
39
+ /** @type {Array<rxjs.Subscription|Function|AsyncFunction|Disposable|AsyncDisposable>} */
39
40
  const destroyers = []
40
41
 
41
42
  if (net.setDefaultAutoSelectFamily) {
@@ -456,6 +457,7 @@ export function makeApp(appConfig, onTerminate) {
456
457
  ds: ds?.stats,
457
458
  couch: couch?.stats,
458
459
  lag: toobusy?.lag(),
460
+ version: process.version,
459
461
  memory: process.memoryUsage(),
460
462
  utilization: performance.eventLoopUtilization?.(elu2, elu1),
461
463
  heap: v8.getHeapStatistics(),
package/couch.js CHANGED
@@ -270,7 +270,7 @@ export function makeCouch(opts) {
270
270
  signal,
271
271
  headersTimeout: 2 * 60e3,
272
272
  bodyTimeout: 2 * (params.heartbeat || 60e3),
273
- highWaterMark: 256 * 1024,
273
+ highWaterMark: 128 * 1024,
274
274
  dispatcher: client,
275
275
  }
276
276
 
package/deepstream.js CHANGED
@@ -36,7 +36,7 @@ function provide(ds, domain, callback, options) {
36
36
  if (options.id === true) {
37
37
  idExpr = '([^{}]+):'
38
38
  } else if (options.id === false) {
39
- idExpr = '(?:({.*}):)?'
39
+ idExpr = '(?:([{].*[}]):)?'
40
40
  }
41
41
 
42
42
  return ds.record.provide(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "20.4.2",
3
+ "version": "20.4.5",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",