@forklaunch/hyper-express 0.8.1 → 0.8.3
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.d.mts +3 -3
- package/lib/index.d.ts +3 -3
- package/package.json +7 -7
package/lib/index.d.mts
CHANGED
@@ -802,12 +802,12 @@ type ExpressRequestHandler = (req: Omit<Request<Record<string, unknown>>, 'query
|
|
802
802
|
headers: Record<string, unknown>;
|
803
803
|
}, res: Response<Record<string, unknown>>, next: MiddlewareNext) => void;
|
804
804
|
|
805
|
-
declare class Router<SV extends AnySchemaValidator, BasePath extends `/${string}`,
|
805
|
+
declare class Router<SV extends AnySchemaValidator, BasePath extends `/${string}`, RouterSession extends SessionObject<SV>> extends ForklaunchExpressLikeRouter<SV, BasePath, MiddlewareHandler, Router$1, Request<Record<string, unknown>>, Response<Record<string, unknown>>, MiddlewareNext, RouterSession> implements ForklaunchRouter<SV> {
|
806
806
|
basePath: BasePath;
|
807
807
|
private configOptions;
|
808
|
-
constructor(basePath: BasePath, schemaValidator: SV, openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>, options?: ExpressRouterOptions<SV,
|
808
|
+
constructor(basePath: BasePath, schemaValidator: SV, openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>, options?: ExpressRouterOptions<SV, RouterSession>);
|
809
809
|
route(path: string): this;
|
810
|
-
any: TypedMiddlewareDefinition<this, SV,
|
810
|
+
any: TypedMiddlewareDefinition<this, SV, RouterSession, Request<Record<string, unknown>>, Response<Record<string, unknown>>, MiddlewareNext, ExpressRequestHandler>;
|
811
811
|
clone(): this;
|
812
812
|
}
|
813
813
|
|
package/lib/index.d.ts
CHANGED
@@ -802,12 +802,12 @@ type ExpressRequestHandler = (req: Omit<Request<Record<string, unknown>>, 'query
|
|
802
802
|
headers: Record<string, unknown>;
|
803
803
|
}, res: Response<Record<string, unknown>>, next: MiddlewareNext) => void;
|
804
804
|
|
805
|
-
declare class Router<SV extends AnySchemaValidator, BasePath extends `/${string}`,
|
805
|
+
declare class Router<SV extends AnySchemaValidator, BasePath extends `/${string}`, RouterSession extends SessionObject<SV>> extends ForklaunchExpressLikeRouter<SV, BasePath, MiddlewareHandler, Router$1, Request<Record<string, unknown>>, Response<Record<string, unknown>>, MiddlewareNext, RouterSession> implements ForklaunchRouter<SV> {
|
806
806
|
basePath: BasePath;
|
807
807
|
private configOptions;
|
808
|
-
constructor(basePath: BasePath, schemaValidator: SV, openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>, options?: ExpressRouterOptions<SV,
|
808
|
+
constructor(basePath: BasePath, schemaValidator: SV, openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>, options?: ExpressRouterOptions<SV, RouterSession>);
|
809
809
|
route(path: string): this;
|
810
|
-
any: TypedMiddlewareDefinition<this, SV,
|
810
|
+
any: TypedMiddlewareDefinition<this, SV, RouterSession, Request<Record<string, unknown>>, Response<Record<string, unknown>>, MiddlewareNext, ExpressRequestHandler>;
|
811
811
|
clone(): this;
|
812
812
|
}
|
813
813
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@forklaunch/hyper-express",
|
3
|
-
"version": "0.8.
|
3
|
+
"version": "0.8.3",
|
4
4
|
"description": "Forklaunch framework for hyper-express.",
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
6
6
|
"bugs": {
|
@@ -26,7 +26,7 @@
|
|
26
26
|
],
|
27
27
|
"dependencies": {
|
28
28
|
"@forklaunch/hyper-express-fork": "^6.17.35",
|
29
|
-
"@scalar/express-api-reference": "^0.8.
|
29
|
+
"@scalar/express-api-reference": "^0.8.15",
|
30
30
|
"cors": "^2.8.5",
|
31
31
|
"live-directory": "^3.0.3",
|
32
32
|
"openapi3-ts": "^4.5.0",
|
@@ -34,19 +34,19 @@
|
|
34
34
|
"swagger-ui-dist": "^5.27.1",
|
35
35
|
"swagger-ui-express": "^5.0.1",
|
36
36
|
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.52.0",
|
37
|
-
"@forklaunch/common": "0.5.
|
38
|
-
"@forklaunch/core": "0.13.
|
39
|
-
"@forklaunch/validator": "0.9.
|
37
|
+
"@forklaunch/common": "0.5.2",
|
38
|
+
"@forklaunch/core": "0.13.3",
|
39
|
+
"@forklaunch/validator": "0.9.3"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
|
-
"@eslint/js": "^9.
|
42
|
+
"@eslint/js": "^9.34.0",
|
43
43
|
"@types/busboy": "^1.5.4",
|
44
44
|
"@types/cors": "^2.8.19",
|
45
45
|
"@types/jest": "^30.0.0",
|
46
46
|
"@types/qs": "^6.14.0",
|
47
47
|
"@types/swagger-ui-dist": "^3.30.6",
|
48
48
|
"@types/swagger-ui-express": "^4.1.8",
|
49
|
-
"@typescript/native-preview": "7.0.0-dev.
|
49
|
+
"@typescript/native-preview": "7.0.0-dev.20250823.8",
|
50
50
|
"jest": "^30.0.5",
|
51
51
|
"kill-port-process": "^3.2.1",
|
52
52
|
"prettier": "^3.6.2",
|