@tsed/platform-express 8.16.0-rc.3 → 8.16.0-rc.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.
@@ -152,6 +152,7 @@ export class PlatformExpress extends PlatformAdapter {
152
152
  }
153
153
  if (type === "urlencoded") {
154
154
  options.extended = true;
155
+ this.app.getApp().set("query parser", "extended");
155
156
  }
156
157
  options.verify = (req, _res, buffer) => {
157
158
  const rawBody = constant(`rawBody`);
@@ -33,13 +33,13 @@ export declare class PlatformExpress extends PlatformAdapter<Express.Application
33
33
  * @param module
34
34
  * @param settings
35
35
  */
36
- static create(module: Type<any>, settings?: Partial<TsED.Configuration>): PlatformBuilder<TsED.Application>;
36
+ static create(module: Type<any>, settings?: Partial<TsED.Configuration>): PlatformBuilder<Express.Application>;
37
37
  /**
38
38
  * Bootstrap a server application
39
39
  * @param module
40
40
  * @param settings
41
41
  */
42
- static bootstrap(module: Type<any>, settings?: Partial<TsED.Configuration>): Promise<PlatformBuilder<TsED.Application>>;
42
+ static bootstrap(module: Type<any>, settings?: Partial<TsED.Configuration>): Promise<PlatformBuilder<Express.Application>>;
43
43
  beforeLoadRoutes(): Promise<void>;
44
44
  afterLoadRoutes(): Promise<void>;
45
45
  mapLayers(layers: PlatformLayer[]): void;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/platform-express",
3
3
  "description": "A TypeScript Framework on top of Express",
4
4
  "type": "module",
5
- "version": "8.16.0-rc.3",
5
+ "version": "8.16.0-rc.5",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -58,13 +58,13 @@
58
58
  "tslib": "2.7.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@tsed/barrels": "8.16.0-rc.3",
62
- "@tsed/core": "8.16.0-rc.3",
63
- "@tsed/di": "8.16.0-rc.3",
64
- "@tsed/platform-http": "8.16.0-rc.3",
65
- "@tsed/platform-test-sdk": "8.16.0-rc.3",
66
- "@tsed/platform-views": "8.16.0-rc.3",
67
- "@tsed/typescript": "8.16.0-rc.3",
61
+ "@tsed/barrels": "8.16.0-rc.5",
62
+ "@tsed/core": "8.16.0-rc.5",
63
+ "@tsed/di": "8.16.0-rc.5",
64
+ "@tsed/platform-http": "8.16.0-rc.5",
65
+ "@tsed/platform-test-sdk": "8.16.0-rc.5",
66
+ "@tsed/platform-views": "8.16.0-rc.5",
67
+ "@tsed/typescript": "8.16.0-rc.5",
68
68
  "@types/body-parser": "1.19.5",
69
69
  "@types/compression": "1.7.5",
70
70
  "@types/cookie-parser": "1.4.7",