@tsed/platform-express 7.53.0 → 7.55.0
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/jest.config.js +3 -3
- package/lib/cjs/components/PlatformExpress.js +8 -13
- package/lib/cjs/components/PlatformExpress.js.map +1 -1
- package/lib/esm/components/PlatformExpress.js +9 -14
- package/lib/esm/components/PlatformExpress.js.map +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/components/PlatformExpress.d.ts +2 -4
- package/package.json +13 -13
|
@@ -25,9 +25,8 @@ declare global {
|
|
|
25
25
|
* @platform
|
|
26
26
|
* @express
|
|
27
27
|
*/
|
|
28
|
-
export declare class PlatformExpress
|
|
28
|
+
export declare class PlatformExpress extends PlatformAdapter<Express.Application> {
|
|
29
29
|
#private;
|
|
30
|
-
protected injector: InjectorService;
|
|
31
30
|
static readonly NAME = "express";
|
|
32
31
|
readonly providers: never[];
|
|
33
32
|
constructor(injector: InjectorService);
|
|
@@ -48,13 +47,12 @@ export declare class PlatformExpress implements PlatformAdapter<Express.Applicat
|
|
|
48
47
|
mapLayers(layers: PlatformLayer[]): void;
|
|
49
48
|
mapHandler(handler: Function, metadata: PlatformHandlerMetadata): Function;
|
|
50
49
|
useContext(): this;
|
|
51
|
-
|
|
50
|
+
createApp(): {
|
|
52
51
|
app: any;
|
|
53
52
|
callback: () => any;
|
|
54
53
|
};
|
|
55
54
|
multipart(options: PlatformMulterSettings): PlatformMulter;
|
|
56
55
|
statics(endpoint: string, options: PlatformStaticsOptions): (request: any, response: any, next: any) => void;
|
|
57
56
|
bodyParser(type: "json" | "text" | "urlencoded", additionalOptions?: any): any;
|
|
58
|
-
private getPlatformApplication;
|
|
59
57
|
private configureViewsEngine;
|
|
60
58
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/platform-express",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.55.0",
|
|
4
4
|
"description": "A TypeScript Framework on top of Express",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"tslib": "2.5.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@tsed/common": "7.
|
|
62
|
-
"@tsed/core": "7.
|
|
63
|
-
"@tsed/di": "7.
|
|
61
|
+
"@tsed/common": "7.55.0",
|
|
62
|
+
"@tsed/core": "7.55.0",
|
|
63
|
+
"@tsed/di": "7.55.0",
|
|
64
64
|
"@tsed/eslint": "7.44.1",
|
|
65
|
-
"@tsed/platform-test-sdk": "7.
|
|
66
|
-
"@tsed/platform-views": "7.
|
|
65
|
+
"@tsed/platform-test-sdk": "7.55.0",
|
|
66
|
+
"@tsed/platform-views": "7.55.0",
|
|
67
67
|
"@tsed/typescript": "7.44.1",
|
|
68
68
|
"@types/body-parser": "1.19.2",
|
|
69
69
|
"@types/compression": "1.7.2",
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
"method-override": "3.0.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@tsed/common": "^7.
|
|
85
|
-
"@tsed/core": "^7.
|
|
86
|
-
"@tsed/di": "^7.
|
|
87
|
-
"@tsed/json-mapper": "^7.
|
|
84
|
+
"@tsed/common": "^7.55.0",
|
|
85
|
+
"@tsed/core": "^7.55.0",
|
|
86
|
+
"@tsed/di": "^7.55.0",
|
|
87
|
+
"@tsed/json-mapper": "^7.55.0",
|
|
88
88
|
"@tsed/logger": ">=6.2.2",
|
|
89
|
-
"@tsed/openspec": "^7.
|
|
90
|
-
"@tsed/platform-views": "^7.
|
|
91
|
-
"@tsed/schema": "^7.
|
|
89
|
+
"@tsed/openspec": "^7.55.0",
|
|
90
|
+
"@tsed/platform-views": "^7.55.0",
|
|
91
|
+
"@tsed/schema": "^7.55.0",
|
|
92
92
|
"@types/multer": "^1.4.5",
|
|
93
93
|
"body-parser": "^1.19.0",
|
|
94
94
|
"multer": "^1.4.5-lts.1"
|