@nxtedition/lib 28.0.8 → 28.0.10

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 (3) hide show
  1. package/app.js +6 -0
  2. package/http.js +2 -0
  3. package/package.json +2 -2
package/app.js CHANGED
@@ -680,7 +680,13 @@ export function makeApp(appConfig, onTerminateOrMeta, metaOrNull) {
680
680
 
681
681
  if (statsMap) {
682
682
  for (const stats of statsMap.values()) {
683
+ memory.totalHeapTotal += stats.memory?.heapTotal ?? 0
684
+ memory.totalHeapUsed += stats.memory?.heapUsed ?? 0
685
+ memory.totalExternal += stats.memory?.external ?? 0
686
+ memory.totalArrayBuffers += stats.memory?.arrayBuffers ?? 0
687
+
683
688
  http.totalPending += stats.http?.pending ?? 0
689
+
684
690
  undici.totalSockets += stats.undici?.sockets ?? 0
685
691
  }
686
692
  }
package/http.js CHANGED
@@ -547,6 +547,8 @@ export class ServerResponse extends http.ServerResponse {
547
547
  }
548
548
  }
549
549
 
550
+ this.#headersSent = true
551
+
550
552
  return super.writeHead(statusCode, headers)
551
553
  }
552
554
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "28.0.8",
3
+ "version": "28.0.10",
4
4
  "license": "UNLICENSED",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",
@@ -92,5 +92,5 @@
92
92
  "pino": ">=7.0.0",
93
93
  "rxjs": "^7.0.0"
94
94
  },
95
- "gitHead": "5d6fb19ef1936e749aadecc51007ddda71dcf0a3"
95
+ "gitHead": "e9be8f39c7bbf874619d29249809959ca6f7950b"
96
96
  }