@tsed/platform-express 6.102.4 → 6.102.8-rc.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.
- package/lib/cjs/package.json +3 -0
- package/lib/esm/components/PlatformExpress.js +2 -2
- package/lib/esm/decorators/caseSensitive.js +1 -1
- package/lib/esm/decorators/index.js +4 -4
- package/lib/esm/decorators/mergeParams.js +1 -1
- package/lib/esm/decorators/strict.js +1 -1
- package/lib/esm/index.js +5 -5
- package/lib/esm/interfaces/index.js +2 -2
- package/lib/esm/package.json +3 -0
- package/lib/esm/services/PlatformExpressApplication.js +1 -1
- package/lib/esm/services/PlatformExpressRouter.js +1 -1
- package/lib/esm/services/index.js +5 -5
- package/package.json +23 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createContext, PlatformApplication, PlatformBuilder, PlatformExceptions, PlatformHandler, PlatformRequest, PlatformResponse, PlatformRouter } from "@tsed/common";
|
|
2
2
|
import { Env } from "@tsed/core";
|
|
3
|
-
import { rawBodyMiddleware } from "../middlewares/rawBodyMiddleware";
|
|
4
|
-
import { PlatformExpressApplication, PlatformExpressHandler, PlatformExpressRequest, PlatformExpressResponse, PlatformExpressRouter } from "../services";
|
|
3
|
+
import { rawBodyMiddleware } from "../middlewares/rawBodyMiddleware.js";
|
|
4
|
+
import { PlatformExpressApplication, PlatformExpressHandler, PlatformExpressRequest, PlatformExpressResponse, PlatformExpressRouter } from "../services.js";
|
|
5
5
|
/**
|
|
6
6
|
* @platform
|
|
7
7
|
* @express
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./routerSettings";
|
|
2
|
-
export * from "./caseSensitive";
|
|
3
|
-
export * from "./mergeParams";
|
|
4
|
-
export * from "./strict";
|
|
1
|
+
export * from "./routerSettings.js";
|
|
2
|
+
export * from "./caseSensitive.js";
|
|
3
|
+
export * from "./mergeParams.js";
|
|
4
|
+
export * from "./strict.js";
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/lib/esm/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PlatformBuilder, PlatformTest } from "@tsed/common";
|
|
2
|
-
import { PlatformExpress } from "./components/PlatformExpress";
|
|
2
|
+
import { PlatformExpress } from "./components/PlatformExpress.js";
|
|
3
3
|
PlatformTest.adapter = PlatformExpress;
|
|
4
4
|
PlatformBuilder.adapter = PlatformExpress;
|
|
5
5
|
// interfaces
|
|
6
|
-
export * from "./interfaces";
|
|
6
|
+
export * from "./interfaces.js";
|
|
7
7
|
// decorators
|
|
8
|
-
export * from "./decorators";
|
|
8
|
+
export * from "./decorators.js";
|
|
9
9
|
// services
|
|
10
|
-
export * from "./services";
|
|
10
|
+
export * from "./services.js";
|
|
11
11
|
// components
|
|
12
|
-
export * from "./components/PlatformExpress";
|
|
12
|
+
export * from "./components/PlatformExpress.js";
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./PlatformExpressSettings";
|
|
2
|
-
export * from "./PlatformExpressStaticsOptions";
|
|
1
|
+
export * from "./PlatformExpressSettings.js";
|
|
2
|
+
export * from "./PlatformExpressStaticsOptions.js";
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __metadata, __param } from "tslib";
|
|
2
2
|
import { Configuration, Inject, PlatformHandler } from "@tsed/common";
|
|
3
3
|
import Express from "express";
|
|
4
|
-
import { PlatformExpressRouter } from "./PlatformExpressRouter";
|
|
4
|
+
import { PlatformExpressRouter } from "./PlatformExpressRouter.js";
|
|
5
5
|
/**
|
|
6
6
|
* @platform
|
|
7
7
|
* @express
|
|
@@ -2,7 +2,7 @@ import { __decorate, __metadata, __param } from "tslib";
|
|
|
2
2
|
import { PLATFORM_ROUTER_OPTIONS, PlatformHandler, PlatformRouter } from "@tsed/common";
|
|
3
3
|
import { Configuration, Inject } from "@tsed/di";
|
|
4
4
|
import Express from "express";
|
|
5
|
-
import { staticsMiddleware } from "../middlewares/staticsMiddleware";
|
|
5
|
+
import { staticsMiddleware } from "../middlewares/staticsMiddleware.js";
|
|
6
6
|
/**
|
|
7
7
|
* @platform
|
|
8
8
|
* @express
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./PlatformExpressApplication";
|
|
2
|
-
export * from "./PlatformExpressHandler";
|
|
3
|
-
export * from "./PlatformExpressResponse";
|
|
4
|
-
export * from "./PlatformExpressRequest";
|
|
5
|
-
export * from "./PlatformExpressRouter";
|
|
1
|
+
export * from "./PlatformExpressApplication.js";
|
|
2
|
+
export * from "./PlatformExpressHandler.js";
|
|
3
|
+
export * from "./PlatformExpressResponse.js";
|
|
4
|
+
export * from "./PlatformExpressRequest.js";
|
|
5
|
+
export * from "./PlatformExpressRouter.js";
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/platform-express",
|
|
3
|
-
"version": "6.102.
|
|
3
|
+
"version": "6.102.8-rc.1",
|
|
4
4
|
"description": "A TypeScript Framework on top of Express",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/cjs/index.js",
|
|
8
|
+
"module": "./lib/esm/index.js",
|
|
8
9
|
"typings": "./lib/types/index.d.ts",
|
|
9
10
|
"exports": {
|
|
10
11
|
"types": "./lib/types/index.d.ts",
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"bugs": {
|
|
47
48
|
"url": "https://github.com/tsedio/tsed/issues"
|
|
48
49
|
},
|
|
49
|
-
"homepage": "https://github.com/tsedio/tsed/tree/
|
|
50
|
+
"homepage": "https://github.com/tsedio/tsed/tree/rc/packages/platform/platform-express",
|
|
50
51
|
"repository": "https://github.com/tsedio/tsed",
|
|
51
52
|
"dependencies": {
|
|
52
53
|
"express": "^4.17.1",
|
|
@@ -54,10 +55,11 @@
|
|
|
54
55
|
"tslib": "2.2.0"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
|
-
"@tsed/common": "6.102.
|
|
58
|
-
"@tsed/core": "6.102.
|
|
59
|
-
"@tsed/di": "6.102.
|
|
60
|
-
"@tsed/platform-test-utils": "6.102.
|
|
58
|
+
"@tsed/common": "6.102.8-rc.1",
|
|
59
|
+
"@tsed/core": "6.102.8-rc.1",
|
|
60
|
+
"@tsed/di": "6.102.8-rc.1",
|
|
61
|
+
"@tsed/platform-test-utils": "6.102.8-rc.1",
|
|
62
|
+
"@tsed/platform-views": "6.102.8-rc.1",
|
|
61
63
|
"@types/body-parser": "1.19.0",
|
|
62
64
|
"@types/compression": "1.7.0",
|
|
63
65
|
"@types/cookie-parser": "1.4.2",
|
|
@@ -73,7 +75,20 @@
|
|
|
73
75
|
"method-override": "3.0.0"
|
|
74
76
|
},
|
|
75
77
|
"peerDependencies": {
|
|
76
|
-
"@
|
|
77
|
-
"
|
|
78
|
+
"@tsed/common": "^6.102.8-rc.1",
|
|
79
|
+
"@tsed/core": "^6.102.8-rc.1",
|
|
80
|
+
"@tsed/di": "^6.102.8-rc.1",
|
|
81
|
+
"@tsed/json-mapper": "^6.102.8-rc.1",
|
|
82
|
+
"@tsed/logger": ">=6.0.2",
|
|
83
|
+
"@tsed/openspec": "^6.102.8-rc.1",
|
|
84
|
+
"@tsed/platform-views": "^6.102.8-rc.1",
|
|
85
|
+
"@tsed/schema": "^6.102.8-rc.1",
|
|
86
|
+
"@types/multer": "^1.4.5",
|
|
87
|
+
"body-parser": "1.19.0"
|
|
88
|
+
},
|
|
89
|
+
"peerDependenciesMeta": {
|
|
90
|
+
"@tsed/platform-views": {
|
|
91
|
+
"optional": true
|
|
92
|
+
}
|
|
78
93
|
}
|
|
79
94
|
}
|