express-zod-api 12.5.0 → 12.5.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/CHANGELOG.md +6 -0
- package/SECURITY.md +1 -1
- package/package.json +13 -12
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Version 12
|
|
4
4
|
|
|
5
|
+
### v12.5.1
|
|
6
|
+
|
|
7
|
+
- Technical update before releasing next major version.
|
|
8
|
+
- I also would like to remind you to upgrade your `zod` (peer dependency) to at least 3.22.3.
|
|
9
|
+
- Check out [the security advice](https://github.com/advisories/GHSA-m95q-7qp3-xv42) to find out why.
|
|
10
|
+
|
|
5
11
|
### v12.5.0
|
|
6
12
|
|
|
7
13
|
- Featuring an ability to specify multiple server URLs when generating documentation.
|
package/SECURITY.md
CHANGED
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
Found a vulnerability or other security issue?
|
|
24
24
|
|
|
25
25
|
Please urgently inform me privately by
|
|
26
|
-
[email](https://github.com/RobinTail/express-zod-api/blob/master/package.json#
|
|
26
|
+
[email](https://github.com/RobinTail/express-zod-api/blob/master/package.json#L135).
|
|
27
27
|
|
|
28
28
|
I will try to fix it as soon as possible.
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "express-zod-api",
|
|
3
|
-
"version": "12.5.
|
|
3
|
+
"version": "12.5.1",
|
|
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": {
|
|
7
|
-
"start": "
|
|
7
|
+
"start": "yarn tsnode example/index.ts",
|
|
8
8
|
"build": "yarn build:compile && yarn build:tests && yarn build:assets",
|
|
9
9
|
"build:compile": "tsup && attw --pack",
|
|
10
10
|
"build:tests": "yarn build:int && yarn build:esm",
|
|
11
|
-
"build:int": "
|
|
12
|
-
"build:esm": "
|
|
11
|
+
"build:int": "yarn tsnode tools/integration-test.ts && yarn install --cwd ./tests/integration",
|
|
12
|
+
"build:esm": "yarn tsnode tools/esm-test.ts && yarn install --cwd ./tests/esm",
|
|
13
13
|
"build:assets": "yarn build:swagger && yarn build:client && yarn build:license",
|
|
14
|
-
"build:swagger": "
|
|
15
|
-
"build:client": "
|
|
16
|
-
"build:license": "
|
|
14
|
+
"build:swagger": "yarn tsnode example/generate-open-api-schema.ts",
|
|
15
|
+
"build:client": "yarn tsnode example/generate-client.ts && yarn prettier example/example.client.ts --write",
|
|
16
|
+
"build:license": "yarn tsnode tools/license.ts",
|
|
17
|
+
"build:logo": "yarn tsnode tools/startup-logo.ts",
|
|
17
18
|
"test": "yarn test:types && yarn test:jest && yarn test:badge",
|
|
18
19
|
"test:int": "jest ./tests/integration",
|
|
19
20
|
"test:esm": "jest ./tests/esm",
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
"test:badge": "make-coverage-badge --output-path ./coverage.svg",
|
|
24
25
|
"lint": "eslint src example tests tools && yarn prettier *.md --check",
|
|
25
26
|
"mdfix": "prettier *.md --write",
|
|
27
|
+
"tsnode": "node -r @swc-node/register",
|
|
26
28
|
"precommit": "yarn build && yarn lint && yarn test && git add example/example.swagger.yaml example/example.client.ts ./LICENSE ./coverage.svg",
|
|
27
29
|
"prepublishOnly": "yarn build && yarn lint && yarn test",
|
|
28
30
|
"postversion": "git push && git push --tags",
|
|
@@ -53,7 +55,7 @@
|
|
|
53
55
|
"http-errors": "2.0.0",
|
|
54
56
|
"mime": "3.0.0",
|
|
55
57
|
"openapi3-ts": "^4.1.2",
|
|
56
|
-
"ramda": "0.29.
|
|
58
|
+
"ramda": "0.29.1",
|
|
57
59
|
"triple-beam": "^1.4.1"
|
|
58
60
|
},
|
|
59
61
|
"peerDependencies": {
|
|
@@ -80,8 +82,9 @@
|
|
|
80
82
|
}
|
|
81
83
|
},
|
|
82
84
|
"devDependencies": {
|
|
83
|
-
"@arethetypeswrong/cli": "^0.
|
|
84
|
-
"@swc/
|
|
85
|
+
"@arethetypeswrong/cli": "^0.12.1",
|
|
86
|
+
"@swc-node/register": "^1.6.8",
|
|
87
|
+
"@swc/core": "^1.3.92",
|
|
85
88
|
"@swc/jest": "^0.2.29",
|
|
86
89
|
"@tsconfig/node18": "^18.2.1",
|
|
87
90
|
"@types/cors": "^2.8.14",
|
|
@@ -89,7 +92,6 @@
|
|
|
89
92
|
"@types/has-ansi": "^5.0.0",
|
|
90
93
|
"@types/jest": "^29.5.4",
|
|
91
94
|
"@types/mime": "^3.0.1",
|
|
92
|
-
"@types/node-fetch": "^2.6.4",
|
|
93
95
|
"@types/ramda": "^0.29.3",
|
|
94
96
|
"@types/triple-beam": "^1.3.2",
|
|
95
97
|
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
|
@@ -112,7 +114,6 @@
|
|
|
112
114
|
"mockdate": "^3.0.5",
|
|
113
115
|
"prettier": "3.0.3",
|
|
114
116
|
"strip-ansi": "^6.0.1",
|
|
115
|
-
"ts-node": "^10.9.1",
|
|
116
117
|
"tsd": "^0.29.0",
|
|
117
118
|
"tsup": "^7.2.0",
|
|
118
119
|
"typescript": "^5.2.2",
|