express-zod-api 5.4.0 → 5.4.1-beta1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Version 5
4
4
 
5
+ ### v5.4.1-beta1
6
+
7
+ - Listing the following types as the regular dependencies since certain exported methods refer to them:
8
+ `@types/compression, @types/express, @types/express-fileupload, @types/http-errors, @types/node`.
9
+ - Here is the information that underlies this decision:
10
+ - https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html#dependencies
11
+ - https://github.com/DefinitelyTyped/DefinitelyTyped/issues/44777#issuecomment-629660992
12
+
5
13
  ### v5.4.0
6
14
 
7
15
  - Feature #281: Response compression.
package/SECURITY.md CHANGED
@@ -16,6 +16,6 @@
16
16
  Found a vulnerability or other security issue?
17
17
 
18
18
  Please urgently inform me privately by
19
- [email](https://github.com/RobinTail/express-zod-api/blob/master/package.json#L88).
19
+ [email](https://github.com/RobinTail/express-zod-api/blob/master/package.json#L102).
20
20
 
21
21
  I will try to fix it as soon as possible.
@@ -1 +1 @@
1
- {"type":"module","version":"5.4.0"}
1
+ {"type":"module","version":"5.4.1-beta1"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-zod-api",
3
- "version": "5.4.0",
3
+ "version": "5.4.1-beta1",
4
4
  "description": "A Typescript library to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -34,6 +34,11 @@
34
34
  "import": "./dist-esm/index.js"
35
35
  },
36
36
  "dependencies": {
37
+ "@types/compression": "^1.7.2",
38
+ "@types/express": "^4.17.13",
39
+ "@types/express-fileupload": "^1.2.2",
40
+ "@types/http-errors": "^1.8.2",
41
+ "@types/node": "*",
37
42
  "compression": "1.7.4",
38
43
  "express": "4.17.2",
39
44
  "express-fileupload": "1.2.1",
@@ -59,13 +64,8 @@
59
64
  },
60
65
  "devDependencies": {
61
66
  "@tsconfig/node12": "^1.0.9",
62
- "@types/compression": "^1.7.2",
63
- "@types/express": "^4.17.13",
64
- "@types/express-fileupload": "^1.1.7",
65
- "@types/http-errors": "^1.8.1",
66
67
  "@types/jest": "^27.0.2",
67
68
  "@types/mime": "^2.0.3",
68
- "@types/node": "*",
69
69
  "@types/node-fetch": "^2.5.12",
70
70
  "@types/ramda": "^0.27.46",
71
71
  "@types/triple-beam": "^1.3.2",