@nxtedition/nxt-undici 6.0.19 → 6.0.20

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.
@@ -214,7 +214,7 @@ class Handler extends DecoratorHandler {
214
214
  #onHeaders(statusCode, headers) {
215
215
  assert(!this.#headersSent)
216
216
  this.#headersSent = true
217
- return super.onHeaders(statusCode, headers, () => this.#resume())
217
+ return super.onHeaders(statusCode, headers, () => this.#resume?.())
218
218
  }
219
219
  }
220
220
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/nxt-undici",
3
- "version": "6.0.19",
3
+ "version": "6.0.20",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "main": "lib/index.js",