@forklaunch/hyper-express 0.3.6 → 0.4.0

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/lib/index.js CHANGED
@@ -191,13 +191,11 @@ Correlation id: ${(0, import_http11.isForklaunchRequest)(req) ? req.context.corr
191
191
  this.internal.use(
192
192
  `/api/${process.env.VERSION ?? "v1"}${process.env.DOCS_PATH ?? "/docs"}`,
193
193
  (0, import_express_api_reference.apiReference)({
194
- spec: {
195
- content: (0, import_http11.generateSwaggerDocument)(
196
- this.schemaValidator,
197
- port,
198
- this.routers
199
- )
200
- },
194
+ content: (0, import_http11.generateSwaggerDocument)(
195
+ this.schemaValidator,
196
+ port,
197
+ this.routers
198
+ ),
201
199
  ...this.docsConfiguration
202
200
  })
203
201
  );
package/lib/index.mjs CHANGED
@@ -181,13 +181,11 @@ Correlation id: ${isForklaunchRequest(req) ? req.context.correlationId : "No cor
181
181
  this.internal.use(
182
182
  `/api/${process.env.VERSION ?? "v1"}${process.env.DOCS_PATH ?? "/docs"}`,
183
183
  apiReference({
184
- spec: {
185
- content: generateSwaggerDocument(
186
- this.schemaValidator,
187
- port,
188
- this.routers
189
- )
190
- },
184
+ content: generateSwaggerDocument(
185
+ this.schemaValidator,
186
+ port,
187
+ this.routers
188
+ ),
191
189
  ...this.docsConfiguration
192
190
  })
193
191
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/hyper-express",
3
- "version": "0.3.6",
3
+ "version": "0.4.0",
4
4
  "description": "Forklaunch framework for hyper-express.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -26,20 +26,20 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@forklaunch/hyper-express-fork": "^6.17.30",
29
- "@scalar/express-api-reference": "^0.4.192",
29
+ "@scalar/express-api-reference": "^0.6.5",
30
30
  "cors": "^2.8.5",
31
31
  "live-directory": "^3.0.3",
32
32
  "openapi3-ts": "^4.4.0",
33
33
  "qs": "^6.14.0",
34
- "swagger-ui-dist": "^5.20.0",
34
+ "swagger-ui-dist": "^5.20.3",
35
35
  "swagger-ui-express": "^5.0.1",
36
36
  "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.44.0",
37
- "@forklaunch/validator": "0.4.6",
38
- "@forklaunch/common": "0.2.3",
39
- "@forklaunch/core": "0.5.5"
37
+ "@forklaunch/common": "0.2.5",
38
+ "@forklaunch/core": "0.6.0",
39
+ "@forklaunch/validator": "0.4.8"
40
40
  },
41
41
  "devDependencies": {
42
- "@eslint/js": "^9.22.0",
42
+ "@eslint/js": "^9.23.0",
43
43
  "@types/cors": "^2.8.17",
44
44
  "@types/jest": "^29.5.14",
45
45
  "@types/qs": "^6.9.18",
@@ -48,12 +48,13 @@
48
48
  "jest": "^29.7.0",
49
49
  "kill-port-process": "^3.2.1",
50
50
  "prettier": "^3.5.3",
51
- "ts-jest": "^29.2.6",
51
+ "ts-jest": "^29.3.1",
52
52
  "ts-node": "^10.9.2",
53
53
  "tsup": "^8.4.0",
54
54
  "tsx": "^4.19.3",
55
+ "typedoc": "^0.28.1",
55
56
  "typescript": "^5.8.2",
56
- "typescript-eslint": "^8.26.0"
57
+ "typescript-eslint": "^8.29.0"
57
58
  },
58
59
  "scripts": {
59
60
  "build": "tsc --noEmit && tsup index.ts --format cjs,esm --no-splitting --dts --tsconfig tsconfig.json --out-dir lib --clean",