@openapi-typescript-infra/service 5.8.0 → 5.8.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/Makefile +1 -1
- package/build/express-app/app.js.map +1 -1
- package/build/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +13 -13
- package/src/express-app/app.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openapi-typescript-infra/service",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.1",
|
|
4
4
|
"description": "An opinionated framework for building configuration driven services - web, api, or ob. Uses OpenAPI, pino logging, express, confit, Typescript and vitest.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -92,10 +92,10 @@
|
|
|
92
92
|
"clean-stack": "^5.2.0",
|
|
93
93
|
"cookie-parser": "^1.4.7",
|
|
94
94
|
"dotenv": "^16.4.7",
|
|
95
|
-
"express": "^5.0
|
|
96
|
-
"express-openapi-validator": "^5.
|
|
95
|
+
"express": "^5.1.0",
|
|
96
|
+
"express-openapi-validator": "^5.4.7",
|
|
97
97
|
"glob": "^11.0.1",
|
|
98
|
-
"import-in-the-middle": "^1.13.
|
|
98
|
+
"import-in-the-middle": "^1.13.1",
|
|
99
99
|
"minimist": "^1.2.8",
|
|
100
100
|
"moderndash": "^4.0.0",
|
|
101
101
|
"pino": "^9.6.0",
|
|
@@ -103,33 +103,33 @@
|
|
|
103
103
|
"request-ip": "^3.3.0"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
|
-
"@commitlint/cli": "^19.
|
|
107
|
-
"@commitlint/config-conventional": "^19.
|
|
106
|
+
"@commitlint/cli": "^19.8.0",
|
|
107
|
+
"@commitlint/config-conventional": "^19.8.0",
|
|
108
108
|
"@openapi-typescript-infra/coconfig": "^4.6.0",
|
|
109
109
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
110
110
|
"@semantic-release/exec": "^7.0.3",
|
|
111
111
|
"@semantic-release/github": "^11.0.1",
|
|
112
112
|
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
113
113
|
"@types/cookie-parser": "^1.4.8",
|
|
114
|
-
"@types/express": "^5.0.
|
|
114
|
+
"@types/express": "^5.0.1",
|
|
115
115
|
"@types/minimist": "^1.2.5",
|
|
116
|
-
"@types/node": "^22.13.
|
|
116
|
+
"@types/node": "^22.13.17",
|
|
117
117
|
"@types/request-ip": "^0.0.41",
|
|
118
|
-
"@types/supertest": "^6.0.
|
|
118
|
+
"@types/supertest": "^6.0.3",
|
|
119
119
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
120
120
|
"@typescript-eslint/parser": "^7.18.0",
|
|
121
121
|
"coconfig": "^1.6.1",
|
|
122
122
|
"eslint": "^8.57.1",
|
|
123
123
|
"eslint-config-prettier": "^9.1.0",
|
|
124
|
-
"eslint-import-resolver-typescript": "^3.
|
|
124
|
+
"eslint-import-resolver-typescript": "^4.3.1",
|
|
125
125
|
"eslint-plugin-import": "^2.31.0",
|
|
126
126
|
"pino-pretty": "^13.0.0",
|
|
127
127
|
"pinst": "^3.0.0",
|
|
128
|
-
"supertest": "^7.
|
|
128
|
+
"supertest": "^7.1.0",
|
|
129
129
|
"tsconfig-paths": "^4.2.0",
|
|
130
130
|
"tsx": "^4.19.3",
|
|
131
|
-
"typescript": "^5.
|
|
132
|
-
"vitest": "^3.
|
|
131
|
+
"typescript": "^5.8.2",
|
|
132
|
+
"vitest": "^3.1.1"
|
|
133
133
|
},
|
|
134
134
|
"resolutions": {
|
|
135
135
|
"qs": "^6.11.0"
|
package/src/express-app/app.ts
CHANGED
|
@@ -298,8 +298,8 @@ function httpServer<
|
|
|
298
298
|
|
|
299
299
|
return https.createServer(
|
|
300
300
|
{
|
|
301
|
-
key: config.key ? Buffer.from(config.key) : undefined,
|
|
302
|
-
cert: config.certificate ? Buffer.from(config.certificate) : undefined,
|
|
301
|
+
key: config.key ? Buffer.from(config.key as string) : undefined,
|
|
302
|
+
cert: config.certificate ? Buffer.from(config.certificate as string) : undefined,
|
|
303
303
|
},
|
|
304
304
|
app,
|
|
305
305
|
);
|