@forklaunch/hyper-express 0.1.12 → 0.1.13
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/src/hyperExpressApplication.d.ts +1 -1
- package/lib/src/hyperExpressApplication.d.ts.map +1 -1
- package/lib/src/hyperExpressApplication.js +1 -1
- package/lib/src/hyperExpressRouter.d.ts +1 -1
- package/lib/src/hyperExpressRouter.d.ts.map +1 -1
- package/lib/src/hyperExpressRouter.js +1 -1
- package/lib/src/middleware/contentParse.middleware.d.ts +1 -1
- package/lib/src/middleware/contentParse.middleware.d.ts.map +1 -1
- package/lib/src/middleware/polyfillGetHeaders.middleware.d.ts +1 -1
- package/lib/src/middleware/polyfillGetHeaders.middleware.d.ts.map +1 -1
- package/lib/src/middleware/swagger.middleware.d.ts +1 -1
- package/lib/src/middleware/swagger.middleware.d.ts.map +1 -1
- package/lib/src/types/hyperExpress.types.d.ts +1 -1
- package/lib/src/types/hyperExpress.types.d.ts.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/vitest.config.js +1 -1
- package/package.json +10 -4
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ForklaunchExpressLikeApplication, ForklaunchRouter } from '@forklaunch/core/http';
|
2
|
-
import { MiddlewareHandler, Server } from '@forklaunch/hyper-express-fork';
|
3
2
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
3
|
+
import { MiddlewareHandler, Server } from 'hyper-express';
|
4
4
|
import * as uWebsockets from 'uWebSockets.js';
|
5
5
|
/**
|
6
6
|
* Represents an application built on top of Hyper-Express and Forklaunch.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hyperExpressApplication.d.ts","sourceRoot":"","sources":["../../src/hyperExpressApplication.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"hyperExpressApplication.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{ ForklaunchExpressLikeApplication, generateSwaggerDocument, isForklaunchRouter } from '@forklaunch/core/http';
|
2
|
-
import { Server } from '
|
2
|
+
import { Server } from 'hyper-express';
|
3
3
|
import { swagger, swaggerRedirect } from './middleware/swagger.middleware';
|
4
4
|
/**
|
5
5
|
* Represents an application built on top of Hyper-Express and Forklaunch.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ForklaunchExpressLikeRouter, ForklaunchRouter, TypedMiddlewareDefinition } from '@forklaunch/core/http';
|
2
|
-
import { Router as ExpressRouter, MiddlewareHandler } from '@forklaunch/hyper-express-fork';
|
3
2
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
3
|
+
import { Router as ExpressRouter, MiddlewareHandler } from 'hyper-express';
|
4
4
|
export declare class Router<SV extends AnySchemaValidator, BasePath extends `/${string}`> extends ForklaunchExpressLikeRouter<SV, BasePath, MiddlewareHandler, ExpressRouter> implements ForklaunchRouter<SV> {
|
5
5
|
basePath: BasePath;
|
6
6
|
constructor(basePath: BasePath, schemaValidator: SV);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hyperExpressRouter.d.ts","sourceRoot":"","sources":["../../src/hyperExpressRouter.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,2BAA2B,EAC3B,gBAAgB,EAMhB,yBAAyB,EAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,
|
1
|
+
{"version":3,"file":"hyperExpressRouter.d.ts","sourceRoot":"","sources":["../../src/hyperExpressRouter.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,2BAA2B,EAC3B,gBAAgB,EAMhB,yBAAyB,EAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAM3E,qBAAa,MAAM,CACf,EAAE,SAAS,kBAAkB,EAC7B,QAAQ,SAAS,IAAI,MAAM,EAAE,CAE/B,SAAQ,2BAA2B,CACjC,EAAE,EACF,QAAQ,EACR,iBAAiB,EACjB,aAAa,CAEf,YAAW,gBAAgB,CAAC,EAAE,CAAC;IAGtB,QAAQ,EAAE,QAAQ;gBAAlB,QAAQ,EAAE,QAAQ,EACzB,eAAe,EAAE,EAAE;IAWrB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAKzB,GAAG,EAAE,yBAAyB,CAAC,IAAI,EAAE,EAAE,CAAC,CAgEtC;CAKH"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ForklaunchExpressLikeRouter } from '@forklaunch/core/http';
|
2
|
-
import { Router as ExpressRouter } from '
|
2
|
+
import { Router as ExpressRouter } from 'hyper-express';
|
3
3
|
import { contentParse } from './middleware/contentParse.middleware';
|
4
4
|
import { enrichResponseTransmission } from './middleware/enrichResponseTransmission.middleware';
|
5
5
|
import { polyfillGetHeaders } from './middleware/polyfillGetHeaders.middleware';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"contentParse.middleware.d.ts","sourceRoot":"","sources":["../../../src/middleware/contentParse.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"contentParse.middleware.d.ts","sourceRoot":"","sources":["../../../src/middleware/contentParse.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;;GAIG;AACH,wBAAsB,YAAY,CAAC,GAAG,EAAE,OAAO,iBAsB9C"}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { MiddlewareNext, Request, Response } from '
|
1
|
+
import { MiddlewareNext, Request, Response } from 'hyper-express';
|
2
2
|
export declare function polyfillGetHeaders(_req: Request, res: Response, next?: MiddlewareNext): void;
|
3
3
|
//# sourceMappingURL=polyfillGetHeaders.middleware.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"polyfillGetHeaders.middleware.d.ts","sourceRoot":"","sources":["../../../src/middleware/polyfillGetHeaders.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"polyfillGetHeaders.middleware.d.ts","sourceRoot":"","sources":["../../../src/middleware/polyfillGetHeaders.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGlE,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,EACb,GAAG,EAAE,QAAQ,EACb,IAAI,CAAC,EAAE,cAAc,QAOtB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"swagger.middleware.d.ts","sourceRoot":"","sources":["../../../src/middleware/swagger.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAIlB,MAAM,
|
1
|
+
{"version":3,"file":"swagger.middleware.d.ts","sourceRoot":"","sources":["../../../src/middleware/swagger.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAIlB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,CAO/D;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,aAAa,EACvB,IAAI,CAAC,EAAE,SAAS,CAAC,gBAAgB,EACjC,OAAO,CAAC,EAAE,SAAS,CAAC,cAAc,EAClC,SAAS,CAAC,EAAE,MAAM,EAClB,aAAa,CAAC,EAAE,MAAM,EACtB,UAAU,CAAC,EAAE,MAAM,EACnB,eAAe,CAAC,EAAE,MAAM,GACvB,iBAAiB,EAAE,CA+DrB"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ForklaunchRequest, ForklaunchResponse, ForklaunchSendableData, ForklaunchStatusResponse, ParamsDictionary } from '@forklaunch/core/http';
|
2
|
-
import { Request as ExpressRequest, Response as ExpressResponse } from '@forklaunch/hyper-express-fork';
|
3
2
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
3
|
+
import { Request as ExpressRequest, Response as ExpressResponse } from 'hyper-express';
|
4
4
|
import { ParsedQs } from 'qs';
|
5
5
|
/**
|
6
6
|
* Extends the Forklaunch request interface with properties from Hyper-Express's request interface.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hyperExpress.types.d.ts","sourceRoot":"","sources":["../../../src/types/hyperExpress.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,OAAO,IAAI,cAAc,EACzB,QAAQ,IAAI,eAAe,EAC5B,MAAM,
|
1
|
+
{"version":3,"file":"hyperExpress.types.d.ts","sourceRoot":"","sources":["../../../src/types/hyperExpress.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,OAAO,IAAI,cAAc,EACzB,QAAQ,IAAI,eAAe,EAC5B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AAE9B;;;;;;;;;GASG;AACH,MAAM,WAAW,OAAO,CACtB,EAAE,SAAS,kBAAkB,EAC7B,CAAC,SAAS,gBAAgB,EAC1B,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACvC,QAAQ,SAAS,QAAQ,EACzB,UAAU,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACzC,SAAS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