@tsed/platform-express 7.80.1 → 7.80.3
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.
|
@@ -174,7 +174,7 @@ let PlatformExpress = PlatformExpress_1 = class PlatformExpress extends common_1
|
|
|
174
174
|
try {
|
|
175
175
|
const { exists, disabled } = this.injector.settings.get("views") || {};
|
|
176
176
|
if (exists && !disabled) {
|
|
177
|
-
const { PlatformViews } = await
|
|
177
|
+
const { PlatformViews } = await require("@tsed/platform-views");
|
|
178
178
|
const platformViews = injector.get(PlatformViews);
|
|
179
179
|
const express = app.getApp();
|
|
180
180
|
platformViews.getEngines().forEach(({ extension, engine }) => {
|
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": "commonjs",
|
|
5
|
-
"version": "7.80.
|
|
5
|
+
"version": "7.80.3",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/cjs/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
".": {
|
|
12
12
|
"types": "./lib/types/index.d.ts",
|
|
13
13
|
"import": "./lib/esm/index.js",
|
|
14
|
+
"require": "./lib/cjs/index.js",
|
|
14
15
|
"default": "./lib/cjs/index.js"
|
|
15
16
|
}
|
|
16
17
|
},
|
|
@@ -58,13 +59,13 @@
|
|
|
58
59
|
"tslib": "2.6.1"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
|
-
"@tsed/barrels": "7.80.
|
|
62
|
-
"@tsed/common": "7.80.
|
|
63
|
-
"@tsed/core": "7.80.
|
|
64
|
-
"@tsed/di": "7.80.
|
|
65
|
-
"@tsed/platform-test-sdk": "7.80.
|
|
66
|
-
"@tsed/platform-views": "7.80.
|
|
67
|
-
"@tsed/typescript": "7.80.
|
|
62
|
+
"@tsed/barrels": "7.80.3",
|
|
63
|
+
"@tsed/common": "7.80.3",
|
|
64
|
+
"@tsed/core": "7.80.3",
|
|
65
|
+
"@tsed/di": "7.80.3",
|
|
66
|
+
"@tsed/platform-test-sdk": "7.80.3",
|
|
67
|
+
"@tsed/platform-views": "7.80.3",
|
|
68
|
+
"@tsed/typescript": "7.80.3",
|
|
68
69
|
"@types/body-parser": "1.19.5",
|
|
69
70
|
"@types/compression": "1.7.5",
|
|
70
71
|
"@types/cookie-parser": "1.4.7",
|
|
@@ -84,14 +85,14 @@
|
|
|
84
85
|
"vitest": "2.0.4"
|
|
85
86
|
},
|
|
86
87
|
"peerDependencies": {
|
|
87
|
-
"@tsed/common": "7.80.
|
|
88
|
-
"@tsed/core": "7.80.
|
|
89
|
-
"@tsed/di": "7.80.
|
|
90
|
-
"@tsed/json-mapper": "7.80.
|
|
88
|
+
"@tsed/common": "7.80.3",
|
|
89
|
+
"@tsed/core": "7.80.3",
|
|
90
|
+
"@tsed/di": "7.80.3",
|
|
91
|
+
"@tsed/json-mapper": "7.80.3",
|
|
91
92
|
"@tsed/logger": ">=6.7.5",
|
|
92
|
-
"@tsed/openspec": "7.80.
|
|
93
|
-
"@tsed/platform-views": "7.80.
|
|
94
|
-
"@tsed/schema": "7.80.
|
|
93
|
+
"@tsed/openspec": "7.80.3",
|
|
94
|
+
"@tsed/platform-views": "7.80.3",
|
|
95
|
+
"@tsed/schema": "7.80.3",
|
|
95
96
|
"@types/multer": "^1.4.5",
|
|
96
97
|
"body-parser": "^1.19.0",
|
|
97
98
|
"cross-env": "7.0.3",
|