@nxtedition/lib 22.0.5 → 22.0.6
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/http.js +5 -1
- package/package.json +13 -13
package/http.js
CHANGED
|
@@ -99,6 +99,10 @@ export class Context {
|
|
|
99
99
|
return this.#logger
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
set logger(val) {
|
|
103
|
+
this.#logger = val
|
|
104
|
+
}
|
|
105
|
+
''
|
|
102
106
|
get req() {
|
|
103
107
|
return this.#req
|
|
104
108
|
}
|
|
@@ -238,7 +242,7 @@ export async function requestMiddleware(ctx, next) {
|
|
|
238
242
|
} finally {
|
|
239
243
|
pendingSet.delete(ctx)
|
|
240
244
|
|
|
241
|
-
if (!res.writableEnded) {
|
|
245
|
+
if (!res.writableEnded && !res.destroyed) {
|
|
242
246
|
res.destroy()
|
|
243
247
|
logger.debug('request destroyed')
|
|
244
248
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nxtedition/lib",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Robert Nagy <robert.nagy@boffins.se>",
|
|
6
6
|
"type": "module",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"singleQuote": true
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@aws-sdk/client-s3": "^3.
|
|
58
|
-
"@elastic/elasticsearch": "^8.
|
|
57
|
+
"@aws-sdk/client-s3": "^3.696.0",
|
|
58
|
+
"@elastic/elasticsearch": "^8.16.1",
|
|
59
59
|
"@elastic/transport": "^8.9.1",
|
|
60
|
-
"@nxtedition/nxt-undici": "^4.2.
|
|
60
|
+
"@nxtedition/nxt-undici": "^4.2.26",
|
|
61
61
|
"content-type": "^1.0.5",
|
|
62
62
|
"date-fns": "^3.6.0",
|
|
63
63
|
"fast-querystring": "^1.1.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"json5": "^2.2.3",
|
|
67
67
|
"koa-compose": "^4.1.0",
|
|
68
68
|
"lodash": "^4.17.21",
|
|
69
|
-
"lru-cache": "^11.0.
|
|
69
|
+
"lru-cache": "^11.0.2",
|
|
70
70
|
"mime": "^4.0.4",
|
|
71
71
|
"mitata": "^1.0.11",
|
|
72
72
|
"moment-timezone": "^0.5.46",
|
|
@@ -75,34 +75,34 @@
|
|
|
75
75
|
"object-hash": "^3.0.0",
|
|
76
76
|
"p-queue": "^8.0.1",
|
|
77
77
|
"pino": "^9.5.0",
|
|
78
|
-
"qs": "^6.13.
|
|
78
|
+
"qs": "^6.13.1",
|
|
79
79
|
"request-target": "^1.0.2",
|
|
80
80
|
"smpte-timecode": "^1.3.6",
|
|
81
81
|
"split-string": "^6.0.0",
|
|
82
|
-
"undici": "^6.
|
|
82
|
+
"undici": "^6.21.0",
|
|
83
83
|
"url-join": "^5.0.0",
|
|
84
84
|
"xuid": "^4.1.3",
|
|
85
85
|
"yocto-queue": "^1.1.1"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@nxtedition/deepstream.io-client-js": ">=25.6.3",
|
|
89
|
-
"@types/lodash": "^4.17.
|
|
90
|
-
"@types/node": "^22.
|
|
91
|
-
"eslint": "^9.
|
|
89
|
+
"@types/lodash": "^4.17.13",
|
|
90
|
+
"@types/node": "^22.9.1",
|
|
91
|
+
"eslint": "^9.15.0",
|
|
92
92
|
"eslint-config-prettier": "^9.1.0",
|
|
93
93
|
"eslint-config-standard": "^17.0.0",
|
|
94
94
|
"eslint-plugin-import": "^2.31.0",
|
|
95
|
-
"eslint-plugin-n": "^17.
|
|
95
|
+
"eslint-plugin-n": "^17.13.2",
|
|
96
96
|
"eslint-plugin-node": "^11.1.0",
|
|
97
97
|
"eslint-plugin-promise": "^7.1.0",
|
|
98
|
-
"husky": "^9.1.
|
|
98
|
+
"husky": "^9.1.7",
|
|
99
99
|
"lint-staged": "^15.2.10",
|
|
100
100
|
"pinst": "^3.0.0",
|
|
101
101
|
"prettier": "^3.3.3",
|
|
102
102
|
"rxjs": "^7.5.6",
|
|
103
103
|
"send": "^0.18.0",
|
|
104
104
|
"tap": "^21.0.1",
|
|
105
|
-
"typescript-eslint": "^8.
|
|
105
|
+
"typescript-eslint": "^8.15.0"
|
|
106
106
|
},
|
|
107
107
|
"peerDependencies": {
|
|
108
108
|
"@elastic/elasticsearch": "^8.6.0",
|