@tsed/platform-http 8.25.5 → 8.26.1
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.
|
@@ -33,7 +33,7 @@ function resolveRecursively(providers) {
|
|
|
33
33
|
return providers
|
|
34
34
|
.map(({ token }) => Provider.Registry.get(token))
|
|
35
35
|
.filter((provider) => provider?.type === ProviderType.MODULE && provider.configuration)
|
|
36
|
-
.flatMap((provider) => resolveControllers(provider.configuration));
|
|
36
|
+
.flatMap((provider) => (provider ? resolveControllers(provider.configuration) : []));
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Return controllers and is base route according to his configuration in module configuration.
|
|
@@ -6,15 +6,15 @@ export declare class FakeAdapter extends PlatformAdapter<any> {
|
|
|
6
6
|
providers: ProviderOpts[];
|
|
7
7
|
static createFakeRawDriver(): {
|
|
8
8
|
(): void;
|
|
9
|
-
use: () => any;
|
|
10
|
-
all: () => any;
|
|
11
|
-
get: () => any;
|
|
12
|
-
patch: () => any;
|
|
13
|
-
post: () => any;
|
|
14
|
-
put: () => any;
|
|
15
|
-
head: () => any;
|
|
16
|
-
delete: () => any;
|
|
17
|
-
options: () => any;
|
|
9
|
+
use: (this: any) => any;
|
|
10
|
+
all: (this: any) => any;
|
|
11
|
+
get: (this: any) => any;
|
|
12
|
+
patch: (this: any) => any;
|
|
13
|
+
post: (this: any) => any;
|
|
14
|
+
put: (this: any) => any;
|
|
15
|
+
head: (this: any) => any;
|
|
16
|
+
delete: (this: any) => any;
|
|
17
|
+
options: (this: any) => any;
|
|
18
18
|
};
|
|
19
19
|
createApp(): {
|
|
20
20
|
app: any;
|
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.
|
|
5
|
+
"version": "8.26.1",
|
|
6
6
|
"source": "./src/common/index.ts",
|
|
7
7
|
"main": "./lib/esm/common/index.js",
|
|
8
8
|
"module": "./lib/esm/common/index.js",
|
|
@@ -70,35 +70,35 @@
|
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@tsed/core": "8.
|
|
74
|
-
"@tsed/di": "8.
|
|
75
|
-
"@tsed/exceptions": "8.
|
|
76
|
-
"@tsed/hooks": "8.
|
|
77
|
-
"@tsed/json-mapper": "8.
|
|
73
|
+
"@tsed/core": "8.26.1",
|
|
74
|
+
"@tsed/di": "8.26.1",
|
|
75
|
+
"@tsed/exceptions": "8.26.1",
|
|
76
|
+
"@tsed/hooks": "8.26.1",
|
|
77
|
+
"@tsed/json-mapper": "8.26.1",
|
|
78
78
|
"@tsed/logger": "^8.0.0",
|
|
79
79
|
"@tsed/logger-std": "^8.0.0",
|
|
80
|
-
"@tsed/platform-accept-mimes": "8.
|
|
81
|
-
"@tsed/platform-exceptions": "8.
|
|
82
|
-
"@tsed/platform-middlewares": "8.
|
|
83
|
-
"@tsed/platform-multer": "8.
|
|
84
|
-
"@tsed/platform-params": "8.
|
|
85
|
-
"@tsed/platform-response-filter": "8.
|
|
86
|
-
"@tsed/platform-router": "8.
|
|
87
|
-
"@tsed/platform-views": "8.
|
|
88
|
-
"@tsed/schema": "8.
|
|
80
|
+
"@tsed/platform-accept-mimes": "8.26.1",
|
|
81
|
+
"@tsed/platform-exceptions": "8.26.1",
|
|
82
|
+
"@tsed/platform-middlewares": "8.26.1",
|
|
83
|
+
"@tsed/platform-multer": "8.26.1",
|
|
84
|
+
"@tsed/platform-params": "8.26.1",
|
|
85
|
+
"@tsed/platform-response-filter": "8.26.1",
|
|
86
|
+
"@tsed/platform-router": "8.26.1",
|
|
87
|
+
"@tsed/platform-views": "8.26.1",
|
|
88
|
+
"@tsed/schema": "8.26.1",
|
|
89
89
|
"@types/json-schema": "7.0.15",
|
|
90
90
|
"accepts": "^1.3.8",
|
|
91
91
|
"encodeurl": "^2.0.0",
|
|
92
|
-
"tslib": "2.7.0",
|
|
92
|
+
"tslib": ">=2.7.0",
|
|
93
93
|
"uuid": "10.0.0"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@tsed/barrels": "8.
|
|
97
|
-
"@tsed/engines": "8.
|
|
98
|
-
"@tsed/typescript": "8.
|
|
96
|
+
"@tsed/barrels": "8.26.1",
|
|
97
|
+
"@tsed/engines": "8.26.1",
|
|
98
|
+
"@tsed/typescript": "8.26.1",
|
|
99
99
|
"cross-env": "7.0.3",
|
|
100
100
|
"eslint": "9.12.0",
|
|
101
|
-
"typescript": "
|
|
101
|
+
"typescript": "6.0.2",
|
|
102
102
|
"vitest": "3.2.4"
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": {
|