@tsed/platform-express 7.61.0 → 7.61.2

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 CHANGED
@@ -9,10 +9,10 @@ module.exports = {
9
9
  },
10
10
  coverageThreshold: {
11
11
  global: {
12
- statements: 98.26,
13
- branches: 92.45,
12
+ statements: 96.77,
13
+ branches: 84.31,
14
14
  functions: 100,
15
- lines: 98.26
15
+ lines: 96.77
16
16
  }
17
17
  }
18
18
  };
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@tsed/platform-express",
3
- "version": "7.61.0",
3
+ "version": "7.61.2",
4
4
  "description": "A TypeScript Framework on top of Express",
5
- "private": false,
6
5
  "source": "./src/index.ts",
7
6
  "main": "./lib/cjs/index.js",
8
7
  "module": "./lib/esm/index.js",
@@ -16,12 +15,10 @@
16
15
  "scripts": {
17
16
  "build": "yarn barrels && yarn build:ts",
18
17
  "barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
19
- "start": "node -r @swc-node/register test/app/index.ts",
20
- "start:emulate": "node -r @swc-node/register test/app/emulate.ts",
18
+ "start": "ts-node test/app/index.ts",
19
+ "start:emulate": "ts-node test/app/emulate.ts",
21
20
  "test": "cross-env NODE_ENV=test yarn jest --max-workers=2 --testTimeout 10000 && jest-coverage-thresholds-bumper",
22
- "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json",
23
- "lint": "eslint '**/*.{ts,js}'",
24
- "lint:fix": "eslint '**/*.{ts,js}' --fix"
21
+ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
25
22
  },
26
23
  "keywords": [
27
24
  "Express",
@@ -58,13 +55,12 @@
58
55
  "tslib": "2.6.1"
59
56
  },
60
57
  "devDependencies": {
61
- "@tsed/common": "7.61.0",
62
- "@tsed/core": "7.61.0",
63
- "@tsed/di": "7.61.0",
64
- "@tsed/eslint": "7.44.1",
65
- "@tsed/platform-test-sdk": "7.61.0",
66
- "@tsed/platform-views": "7.61.0",
67
- "@tsed/typescript": "7.44.1",
58
+ "@tsed/common": "7.61.2",
59
+ "@tsed/core": "7.61.2",
60
+ "@tsed/di": "7.61.2",
61
+ "@tsed/platform-test-sdk": "7.61.2",
62
+ "@tsed/platform-views": "7.61.2",
63
+ "@tsed/typescript": "7.61.2",
68
64
  "@types/body-parser": "1.19.2",
69
65
  "@types/compression": "1.7.2",
70
66
  "@types/cookie-parser": "1.4.2",
@@ -72,25 +68,28 @@
72
68
  "@types/express-session": "1.17.4",
73
69
  "@types/method-override": "0.0.32",
74
70
  "@types/multer": "^1.4.3",
71
+ "barrelsby": "^2.8.1",
75
72
  "body-parser": "1.19.2",
76
73
  "compression": "1.7.4",
77
74
  "cookie-parser": "1.4.6",
78
75
  "cors": "2.8.5",
79
76
  "eslint": "^8.12.0",
80
77
  "express-session": "1.17.2",
78
+ "jest": "^29.2.0",
81
79
  "method-override": "3.0.0"
82
80
  },
83
81
  "peerDependencies": {
84
- "@tsed/common": "^7.61.0",
85
- "@tsed/core": "^7.61.0",
86
- "@tsed/di": "^7.61.0",
87
- "@tsed/json-mapper": "^7.61.0",
82
+ "@tsed/common": "7.61.2",
83
+ "@tsed/core": "7.61.2",
84
+ "@tsed/di": "7.61.2",
85
+ "@tsed/json-mapper": "7.61.2",
88
86
  "@tsed/logger": ">=6.2.2",
89
- "@tsed/openspec": "^7.61.0",
90
- "@tsed/platform-views": "^7.61.0",
91
- "@tsed/schema": "^7.61.0",
87
+ "@tsed/openspec": "7.61.2",
88
+ "@tsed/platform-views": "7.61.2",
89
+ "@tsed/schema": "7.61.2",
92
90
  "@types/multer": "^1.4.5",
93
91
  "body-parser": "^1.19.0",
92
+ "cross-env": "7.0.3",
94
93
  "multer": "^1.4.5-lts.1"
95
94
  },
96
95
  "peerDependenciesMeta": {
@@ -106,15 +105,15 @@
106
105
  "@tsed/json-mapper": {
107
106
  "optional": false
108
107
  },
108
+ "@tsed/logger": {
109
+ "optional": false
110
+ },
109
111
  "@tsed/platform-views": {
110
112
  "optional": true
111
113
  },
112
114
  "@tsed/schema": {
113
115
  "optional": false
114
116
  },
115
- "@tsed/logger": {
116
- "optional": false
117
- },
118
117
  "multer": {
119
118
  "optional": false
120
119
  }
package/.eslintignore DELETED
@@ -1,13 +0,0 @@
1
- node_modules
2
- docs
3
- docs-references
4
- lib
5
- dist
6
- coverage
7
- .nyc_output
8
- *-lock.json
9
- *.lock
10
- benchmarks.*
11
- **/generated
12
-
13
- **/*.js
package/.eslintrc.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require("@tsed/eslint/node.js");