@tsed/platform-express 6.102.7 → 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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -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,4 +1,4 @@
1
- import { RouterSettings } from "./routerSettings";
1
+ import { RouterSettings } from "./routerSettings.js";
2
2
  /**
3
3
  * Specify the behavior of the router controller.
4
4
  *
@@ -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
@@ -1,4 +1,4 @@
1
- import { RouterSettings } from "./routerSettings";
1
+ import { RouterSettings } from "./routerSettings.js";
2
2
  /**
3
3
  * Specify the behavior of the router controller.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { RouterSettings } from "./routerSettings";
1
+ import { RouterSettings } from "./routerSettings.js";
2
2
  /**
3
3
  * Specify the behavior of the router controller.
4
4
  *
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
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -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.7",
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/production/packages/platform/platform-express",
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,11 +55,11 @@
54
55
  "tslib": "2.2.0"
55
56
  },
56
57
  "devDependencies": {
57
- "@tsed/common": "6.102.7",
58
- "@tsed/core": "6.102.7",
59
- "@tsed/di": "6.102.7",
60
- "@tsed/platform-test-utils": "6.102.7",
61
- "@tsed/platform-views": "6.102.7",
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",
62
63
  "@types/body-parser": "1.19.0",
63
64
  "@types/compression": "1.7.0",
64
65
  "@types/cookie-parser": "1.4.2",
@@ -74,14 +75,14 @@
74
75
  "method-override": "3.0.0"
75
76
  },
76
77
  "peerDependencies": {
77
- "@tsed/common": "^6.102.7",
78
- "@tsed/core": "^6.102.7",
79
- "@tsed/di": "^6.102.7",
80
- "@tsed/json-mapper": "^6.102.7",
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",
81
82
  "@tsed/logger": ">=6.0.2",
82
- "@tsed/openspec": "^6.102.7",
83
- "@tsed/platform-views": "^6.102.7",
84
- "@tsed/schema": "^6.102.7",
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",
85
86
  "@types/multer": "^1.4.5",
86
87
  "body-parser": "1.19.0"
87
88
  },