@tsed/platform-express 6.114.14 → 6.114.17

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.
Files changed (2) hide show
  1. package/jest.config.js +14 -0
  2. package/package.json +24 -19
package/jest.config.js ADDED
@@ -0,0 +1,14 @@
1
+ // For a detailed explanation regarding each configuration property, visit:
2
+ // https://jestjs.io/docs/en/configuration.html
3
+
4
+ module.exports = {
5
+ ...require("@tsed/jest-config")(__dirname, "platform-express"),
6
+ coverageThreshold: {
7
+ global: {
8
+ statements: 100,
9
+ branches: 78.94,
10
+ functions: 100,
11
+ lines: 100
12
+ }
13
+ }
14
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/platform-express",
3
- "version": "6.114.14",
3
+ "version": "6.114.17",
4
4
  "description": "A TypeScript Framework on top of Express",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
@@ -19,7 +19,8 @@
19
19
  "build:esm": "tsc --build tsconfig.compile.esm.json",
20
20
  "barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
21
21
  "start": "ts-node -r tsconfig-paths/register test/app/index.ts",
22
- "start:emulate": "ts-node -r tsconfig-paths/register test/app/emulate.ts"
22
+ "start:emulate": "ts-node -r tsconfig-paths/register test/app/emulate.ts",
23
+ "test": "cross-env NODE_ENV=test yarn jest --max-workers=2 --testTimeout 10000"
23
24
  },
24
25
  "keywords": [
25
26
  "Express",
@@ -51,16 +52,16 @@
51
52
  "homepage": "https://github.com/tsedio/tsed/tree/production/packages/platform/platform-express",
52
53
  "repository": "https://github.com/tsedio/tsed",
53
54
  "dependencies": {
54
- "express": "^4.17.1",
55
- "multer": "^1.4.2",
56
- "tslib": "2.3.1"
55
+ "express": "^4.18.1",
56
+ "multer": "^1.4.5-lts.1",
57
+ "tslib": "2.4.0"
57
58
  },
58
59
  "devDependencies": {
59
- "@tsed/common": "6.114.14",
60
- "@tsed/core": "6.114.14",
61
- "@tsed/di": "6.114.14",
62
- "@tsed/platform-test-utils": "6.114.14",
63
- "@tsed/platform-views": "6.114.14",
60
+ "@tsed/common": "6.114.17",
61
+ "@tsed/core": "6.114.17",
62
+ "@tsed/di": "6.114.17",
63
+ "@tsed/platform-test-utils": "6.114.17",
64
+ "@tsed/platform-views": "6.114.17",
64
65
  "@types/body-parser": "1.19.2",
65
66
  "@types/compression": "1.7.2",
66
67
  "@types/cookie-parser": "1.4.2",
@@ -76,16 +77,17 @@
76
77
  "method-override": "3.0.0"
77
78
  },
78
79
  "peerDependencies": {
79
- "@tsed/common": "^6.114.14",
80
- "@tsed/core": "^6.114.14",
81
- "@tsed/di": "^6.114.14",
82
- "@tsed/json-mapper": "^6.114.14",
83
- "@tsed/logger": ">=6.1.1",
84
- "@tsed/openspec": "^6.114.14",
85
- "@tsed/platform-views": "^6.114.14",
86
- "@tsed/schema": "^6.114.14",
80
+ "@tsed/common": "^6.114.17",
81
+ "@tsed/core": "^6.114.17",
82
+ "@tsed/di": "^6.114.17",
83
+ "@tsed/json-mapper": "^6.114.17",
84
+ "@tsed/logger": ">=6.1.4",
85
+ "@tsed/openspec": "^6.114.17",
86
+ "@tsed/platform-views": "^6.114.17",
87
+ "@tsed/schema": "^6.114.17",
87
88
  "@types/multer": "^1.4.5",
88
- "body-parser": "^1.19.0"
89
+ "body-parser": "^1.19.0",
90
+ "multer": "^1.4.5-lts.1"
89
91
  },
90
92
  "peerDependenciesMeta": {
91
93
  "@tsed/common": {
@@ -111,6 +113,9 @@
111
113
  },
112
114
  "@tsed/logger": {
113
115
  "optional": false
116
+ },
117
+ "multer": {
118
+ "optional": false
114
119
  }
115
120
  }
116
121
  }