@tsed/platform-http 8.19.4 → 8.19.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isBoolean, isNumber, isStream, isString } from "@tsed/core";
|
|
2
2
|
import { injectable, lazyInject, ProviderScope } from "@tsed/di";
|
|
3
3
|
import { getStatusMessage } from "@tsed/schema";
|
|
4
4
|
import encodeUrl from "encodeurl";
|
|
@@ -266,10 +266,6 @@ export class PlatformResponse {
|
|
|
266
266
|
return this;
|
|
267
267
|
}
|
|
268
268
|
this.raw.cookie(name, value, opts);
|
|
269
|
-
const cookie = this.raw.get("set-cookie");
|
|
270
|
-
if (!isArray(value)) {
|
|
271
|
-
this.raw.set("set-cookie", [].concat(cookie));
|
|
272
|
-
}
|
|
273
269
|
return this;
|
|
274
270
|
}
|
|
275
271
|
formatHeader(key, item) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/platform-http",
|
|
3
3
|
"description": "A TypeScript Framework on top of Express",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.19.
|
|
5
|
+
"version": "8.19.5",
|
|
6
6
|
"source": "./src/common/index.ts",
|
|
7
7
|
"main": "./lib/esm/common/index.js",
|
|
8
8
|
"module": "./lib/esm/common/index.js",
|
|
@@ -70,31 +70,31 @@
|
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@tsed/core": "8.19.
|
|
74
|
-
"@tsed/di": "8.19.
|
|
75
|
-
"@tsed/exceptions": "8.19.
|
|
76
|
-
"@tsed/hooks": "8.19.
|
|
77
|
-
"@tsed/json-mapper": "8.19.
|
|
73
|
+
"@tsed/core": "8.19.5",
|
|
74
|
+
"@tsed/di": "8.19.5",
|
|
75
|
+
"@tsed/exceptions": "8.19.5",
|
|
76
|
+
"@tsed/hooks": "8.19.5",
|
|
77
|
+
"@tsed/json-mapper": "8.19.5",
|
|
78
78
|
"@tsed/logger": "^8.0.0",
|
|
79
79
|
"@tsed/logger-std": "^8.0.0",
|
|
80
|
-
"@tsed/platform-accept-mimes": "8.19.
|
|
81
|
-
"@tsed/platform-exceptions": "8.19.
|
|
82
|
-
"@tsed/platform-middlewares": "8.19.
|
|
83
|
-
"@tsed/platform-multer": "8.19.
|
|
84
|
-
"@tsed/platform-params": "8.19.
|
|
85
|
-
"@tsed/platform-response-filter": "8.19.
|
|
86
|
-
"@tsed/platform-router": "8.19.
|
|
87
|
-
"@tsed/platform-views": "8.19.
|
|
88
|
-
"@tsed/schema": "8.19.
|
|
80
|
+
"@tsed/platform-accept-mimes": "8.19.5",
|
|
81
|
+
"@tsed/platform-exceptions": "8.19.5",
|
|
82
|
+
"@tsed/platform-middlewares": "8.19.5",
|
|
83
|
+
"@tsed/platform-multer": "8.19.5",
|
|
84
|
+
"@tsed/platform-params": "8.19.5",
|
|
85
|
+
"@tsed/platform-response-filter": "8.19.5",
|
|
86
|
+
"@tsed/platform-router": "8.19.5",
|
|
87
|
+
"@tsed/platform-views": "8.19.5",
|
|
88
|
+
"@tsed/schema": "8.19.5",
|
|
89
89
|
"@types/json-schema": "7.0.15",
|
|
90
90
|
"accepts": "^1.3.8",
|
|
91
91
|
"tslib": "2.7.0",
|
|
92
92
|
"uuid": "10.0.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@tsed/barrels": "8.19.
|
|
96
|
-
"@tsed/engines": "8.19.
|
|
97
|
-
"@tsed/typescript": "8.19.
|
|
95
|
+
"@tsed/barrels": "8.19.5",
|
|
96
|
+
"@tsed/engines": "8.19.5",
|
|
97
|
+
"@tsed/typescript": "8.19.5",
|
|
98
98
|
"cross-env": "7.0.3",
|
|
99
99
|
"eslint": "9.12.0",
|
|
100
100
|
"typescript": "5.9.3",
|