@nxtedition/lib 21.3.3 → 21.3.4

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/http.js +1 -1
  2. package/package.json +1 -1
package/http.js CHANGED
@@ -208,7 +208,7 @@ export async function request2(ctx, next) {
208
208
  }
209
209
  }
210
210
  } finally {
211
- if (!res.destroyed) {
211
+ if (!res.writableEnded) {
212
212
  res.destroy()
213
213
  logger.debug('request destroyed')
214
214
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "21.3.3",
3
+ "version": "21.3.4",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",