@tsed/platform-http 8.4.2 → 8.4.4
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/esm/common/builder/PlatformBuilder.js.map +1 -1
- package/lib/esm/common/config/services/PlatformConfiguration.js.map +1 -1
- package/lib/esm/common/decorators/params/request.js +1 -1
- package/lib/esm/common/decorators/params/request.js.map +1 -1
- package/lib/esm/common/decorators/params/response.js +1 -1
- package/lib/esm/common/decorators/params/response.js.map +1 -1
- package/lib/esm/common/domain/PlatformContext.js.map +1 -1
- package/lib/esm/common/services/PlatformAdapter.js.map +1 -1
- package/lib/esm/common/services/PlatformApplication.js.map +1 -1
- package/lib/esm/common/services/PlatformRequest.js.map +1 -1
- package/lib/esm/common/services/PlatformResponse.js.map +1 -1
- package/lib/esm/common/utils/closeServer.js.map +1 -1
- package/lib/esm/common/utils/createHttpServer.js +1 -1
- package/lib/esm/common/utils/createHttpServer.js.map +1 -1
- package/lib/esm/common/utils/createHttpsServer.js +1 -1
- package/lib/esm/common/utils/createHttpsServer.js.map +1 -1
- package/lib/esm/common/utils/createServer.js.map +1 -1
- package/lib/esm/common/utils/listenServer.js.map +1 -1
- package/lib/esm/testing/PlatformTest.js.map +1 -1
- package/lib/types/common/builder/PlatformBuilder.d.ts +1 -1
- package/lib/types/common/config/services/PlatformConfiguration.d.ts +1 -1
- package/lib/types/common/domain/PlatformContext.d.ts +1 -1
- package/lib/types/common/interfaces/IncomingEvent.d.ts +1 -1
- package/lib/types/common/services/PlatformAdapter.d.ts +1 -1
- package/lib/types/common/services/PlatformApplication.d.ts +1 -1
- package/lib/types/common/services/PlatformRequest.d.ts +1 -1
- package/lib/types/common/services/PlatformResponse.d.ts +1 -1
- package/lib/types/common/utils/closeServer.d.ts +2 -2
- package/lib/types/common/utils/createHttpServer.d.ts +1 -1
- package/lib/types/common/utils/createHttpsServer.d.ts +1 -1
- package/lib/types/common/utils/createServer.d.ts +2 -2
- package/lib/types/common/utils/listenServer.d.ts +2 -2
- package/lib/types/testing/PlatformTest.d.ts +1 -1
- package/package.json +16 -16
- package/readme.md +1 -1
- package/src/common/builder/PlatformBuilder.ts +4 -3
- package/src/common/config/services/PlatformConfiguration.ts +2 -1
- package/src/common/decorators/params/request.spec.ts +2 -1
- package/src/common/decorators/params/request.ts +2 -1
- package/src/common/decorators/params/response.spec.ts +2 -1
- package/src/common/decorators/params/response.ts +2 -1
- package/src/common/domain/PlatformContext.ts +2 -1
- package/src/common/interfaces/IncomingEvent.ts +1 -1
- package/src/common/services/PlatformAdapter.ts +2 -1
- package/src/common/services/PlatformApplication.ts +2 -1
- package/src/common/services/PlatformRequest.ts +2 -1
- package/src/common/services/PlatformResponse.spec.ts +2 -1
- package/src/common/services/PlatformResponse.ts +2 -1
- package/src/common/utils/closeServer.ts +3 -2
- package/src/common/utils/createHttpServer.spec.ts +2 -1
- package/src/common/utils/createHttpServer.ts +2 -1
- package/src/common/utils/createHttpsServer.spec.ts +2 -1
- package/src/common/utils/createHttpsServer.ts +3 -2
- package/src/common/utils/createServer.ts +3 -2
- package/src/common/utils/listenServer.ts +3 -2
- package/src/testing/PlatformTest.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformBuilder.js","sourceRoot":"","sources":["../../../../src/common/builder/PlatformBuilder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlatformBuilder.js","sourceRoot":"","sources":["../../../../src/common/builder/PlatformBuilder.ts"],"names":[],"mappings":"AAIA,OAAO,EAAW,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAO,MAAM,YAAY,CAAC;AACjF,OAAO,EACL,MAAM,EACN,aAAa,EACb,QAAQ,EACR,eAAe,EACf,eAAe,EACf,QAAQ,EAER,MAAM,EAEN,aAAa,EACb,sBAAsB,EAEvB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,WAAW,EAAE,UAAU,EAAC,MAAM,aAAa,CAAC;AACpD,O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C,GAAG,CAAC,EAAE,CAAC;oBACpF,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;gBACrE,CAAC;qBAAM,CAAC;oBACN,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,CAAC;oBAC9B,GAAG,GAAG,CAAC,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;gBACtC,CAAC;YACH,CAAC;YAED,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAK,CAAC,EAAE,CAAC;gBACxF,MAAM,IAAI,KAAK,CACb,qBAAqB,MAAM,CAAC,GAAG,CAAC,mCAC9B,UAAU,CAAC,IACb,iIAAiI,CAClI,CAAC;YACJ,CAAC;YAED,OAAO;gBACL,GAAG;gBACH,IAAI,EAAE,WAAW;gBACjB,GAAG,UAAU;gBACb,GAAG;aACJ,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,WAAW,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAE1C,aAAa,EAAE,CAAC,GAAG,CACjB,aAAa,EACb,WAAW,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CACnD,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformConfiguration.js","sourceRoot":"","sources":["../../../../../src/common/config/services/PlatformConfiguration.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"PlatformConfiguration.js","sourceRoot":"","sources":["../../../../../src/common/config/services/PlatformConfiguration.ts"],"names":[],"mappings":";AAEA,OAAO,EAAC,mBAAmB,EAAE,SAAS,EAAC,MAAM,YAAY,CAA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AE,CAAC,CAAC;IAClE,CAAC;IAED;;;OAGG;IACH,YAAY;QACV,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAAyC;QACpD,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,GAAG,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,WAAW;QACT,MAAM,EAAC,SAAS,EAAE,QAAQ,EAAC,GAAG,IAAI,CAAC;QAEnC,IAAI,SAAS,EAAE,CAAC;YACd,OAAO,IAAI,CAAC,YAAY,EAAE,CAAC;QAC7B,CAAC;QAED,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;QAC5B,CAAC;QAED,OAAO;YACL,QAAQ;gBACN,OAAO,GAAG,CAAC;YACb,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAA;AAhIY,qBAAqB;IAJjC,UAAU,CAAC;QACV,KAAK,EAAE,aAAa,CAAC,SAAS;QAC9B,MAAM,EAAE,IAAI;KACb,CAAC;;GACW,qBAAqB,CAgIjC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { IncomingMessage } from "node:http";
|
|
1
2
|
import { isClass, Metadata, nameOf } from "@tsed/core";
|
|
2
3
|
import { mapParamsOptions, ParamTypes, UseParam } from "@tsed/platform-params";
|
|
3
|
-
import { IncomingMessage } from "http";
|
|
4
4
|
function getParamType(target, propertyKey, parameterIndex) {
|
|
5
5
|
const type = Metadata.getOwnParamTypes(target, propertyKey)[parameterIndex];
|
|
6
6
|
if (isClass(type)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../../src/common/decorators/params/request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAE,MAAM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,EAAE,aAAa,GAAG,KAAK,EAAC,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAE/F,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,EAAE;QAC7C,MAAM,EAAC,SAAS,EAAE,QAAQ,EAAC,GAAG,YAAY,CAAC,MAAM,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC;QAEhF,QAAQ,CAAC;YACP,SAAS;YACT,QAAQ;YACR,UAAU;YACV,OAAO;YACP,SAAS;YACT,aAAa;SACd,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC;IAC1C,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ServerResponse } from "node:http";
|
|
1
2
|
import { isClass, Metadata, nameOf } from "@tsed/core";
|
|
2
3
|
import { ParamTypes, UseParam } from "@tsed/platform-params";
|
|
3
|
-
import { ServerResponse } from "http";
|
|
4
4
|
function getParamType(target, propertyKey, parameterIndex) {
|
|
5
5
|
const type = Metadata.getOwnParamTypes(target, propertyKey)[parameterIndex];
|
|
6
6
|
if (isClass(type)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../../src/common/decorators/params/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,YAAY,CAAC;AACrD,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAC,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../../src/common/decorators/params/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,WAAW,CAAC;AAEzC,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,YAAY,CAAC;AACrD,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE3D,SAAS,YAAY,CAAC,MAAc,EAAE,WAAwC,EAAE,cAAsB;IACpG,MAAM,IAAI,GAAG,QAAQ,CAAC,gBAAgB,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,cAAc,CAAC,CAAC;IAE5E,IAAI,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAClB,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,kBAAkB,EAAE,CAAC;YACxC,OAAO,EAAC,SAAS,EAAE,UAAU,CAAC,iBAAiB,EAAE,QAAQ,EAAE,eAAe,EAAC,CAAC;QAC9E,CAAC;QAED,IAAI,IAAI,KAAK,cAAc,EAAE,CAAC;YAC5B,OAAO,EAAC,SAAS,EAAE,UAAU,CAAC,aAAa,EAAE,QAAQ,EAAE,mBAAmB,EAAC,CAAC;QAC9E,CAAC;IACH,CAAC;IAED,OAAO,EAAC,SAAS,EAAE,UAAU,CAAC,QAAQ,EAAE,QAAQ,EAAE,wBAAwB,EAAC,CAAC;AAC9E,CAAC;AAWD,MAAM,UAAU,QAAQ;IACtB,OAAO,GAAG,EAAE,CAAC;AACf,CAAC;AAYD,MAAM,UAAU,GAAG;IACjB,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,EAAE;QAC7C,MAAM,EAAC,SAAS,EAAE,QAAQ,EAAC,GAAG,YAAY,CAAC,MAAM,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC;QAChF,QAAQ,CAAC;YACP,SAAS;YACT,QAAQ;SACT,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC;IAC1C,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformContext.js","sourceRoot":"","sources":["../../../../src/common/domain/PlatformContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlatformContext.js","sourceRoot":"","sources":["../../../../src/common/domain/PlatformContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,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AC,YAAY,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,KAAK,CAAC,MAAM;QACV,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QACvE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;IAC1B,CAAC;IAED,UAAU;QACR,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;IACnF,CAAC;IAED;;OAEG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,EAAO,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,WAAW;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAO,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,EAAS,CAAC;IAClC,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformAdapter.js","sourceRoot":"","sources":["../../../../src/common/services/PlatformAdapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlatformAdapter.js","sourceRoot":"","sources":["../../../../src/common/services/PlatformAdapter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,UAAU,EAAe,MAAM,UAAU,CAAC;AAKlD,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAC,iBAAiB,EAAC,MAAM,+BAA+B,CAAC;AAIhE,MAAM,OAAgB,eAAe;IAArC;QAEE;;WAEG;QACH,cAAS,GAAmB,EAAE,CAAC;IAgEjC,CAAC;IA9DC,IAAI,GAAG;QACL,OAAO,WAAW,EAAE,CAAC;IACvB,CAAC;IAED,UAAU;QACR,MAAM,GAAG,GAAG,WAAW,EAAO,CAAC;QAC/B,OAAO,CAAC,gBAAgB,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,EAAE,iBAAiB,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAU,CAAC;IACxG,CAAC;IAED,MAAM;QACJ,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;IAED,gBAAgB;QACd,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;IAED,eAAe;QACb,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;IAYD;;OAEG;IACH,UAAU,CAAC,OAAiB,EAAE,KAA8B;QAC1D,OAAO,OAAO,CAAC;IACjB,CAAC;CA0BF;AAMD,UAAU,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformApplication.js","sourceRoot":"","sources":["../../../../src/common/services/PlatformApplication.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlatformApplication.js","sourceRoot":"","sources":["../../../../src/common/services/PlatformApplication.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,MAAM,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAGrD,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AASrD;;;;GAIG;AACH,MAAM,OAAO,mBAA4C,SAAQ,cAAc;IAM7E;QACE,KAAK,EAAE,CAAC;QANV,YAAO,GAAyB,MAAM,CAAC,CAAA,eAAoB,CAAA,CAAC,CAAC;QAQ3D,MAAM,EAAC,GAAG,EAAE,QAAQ,EAAC,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC;QAEjD,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC;IAC9B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,MAAM,CAAC,OAA+B;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;IAID,QAAQ,CAAC,GAAqB,EAAE,GAAoB;QAClD,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QACnC,CAAC;QAED,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;IAC5B,CAAC;CACF;AAED,UAAU,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformRequest.js","sourceRoot":"","sources":["../../../../src/common/services/PlatformRequest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlatformRequest.js","sourceRoot":"","sources":["../../../../src/common/services/PlatformRequest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAE,aAAa,EAAQ,MAAM,UAAU,CAAC;AActE;;;GAGG;AACH,MAAM,OAAO,eAAe;IAC1B,YAAqB,IAAqB;QAArB,SAAI,GAAJ,IAAI,CAAiB;IAAG,CAAC;IAC9C;;OAEG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AC;IACjC,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;IACxB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC;IACzC,CAAC;IAED;;OAEG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,GAAG,CAAC,IAAY;QACd,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED,SAAS,CAAC,IAAY;QACpB,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAaD,OAAO,CAAC,IAAwB;QAC9B,aAAa;QACb,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED,SAAS;QACP,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,GAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;IACjC,CAAC;CACF;AAED,UAAU,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformResponse.js","sourceRoot":"","sources":["../../../../src/common/services/PlatformResponse.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlatformResponse.js","sourceRoot":"","sources":["../../../../src/common/services/PlatformResponse.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,OAAO,EAAE,SAAS,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C,IAAS;QACtB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEpB,OAAO,IAAI,CAAC;IACd,CAAC;IAES,MAAM,CAAC,IAAS;QACxB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;YAC3B,IAAI,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAAC;QAC/C,CAAC;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACjB,CAAC;IAES,GAAG,CAAC,IAAsB;QAClC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACF;AAED,UAAU,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"closeServer.js","sourceRoot":"","sources":["../../../../src/common/utils/closeServer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"closeServer.js","sourceRoot":"","sources":["../../../../src/common/utils/closeServer.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,WAAW,CAAC,MAAsD;IAChF,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AAC1E,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import Http from "node:http";
|
|
1
2
|
import { configuration, constant } from "@tsed/di";
|
|
2
|
-
import Http from "http";
|
|
3
3
|
import { createServer } from "./createServer.js";
|
|
4
4
|
export function createHttpServer(requestListener) {
|
|
5
5
|
const httpOptions = configuration().get("httpOptions");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createHttpServer.js","sourceRoot":"","sources":["../../../../src/common/utils/createHttpServer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"createHttpServer.js","sourceRoot":"","sources":["../../../../src/common/utils/createHttpServer.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,UAAU,CAAC;AAEjD,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAE/C,MAAM,UAAU,gBAAgB,CAAC,eAAqC;IACpE,MAAM,WAAW,GAAG,aAAa,EAAE,CAAC,GAAG,CAAqB,aAAa,CAAC,CAAC;IAE3E,OAAO,YAAY,CAAC;QAClB,IAAI,EAAE,QAAQ,CAAiB,UAAU,CAAC;QAC1C,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,IAAI,CAAC,MAAM;QAClB,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,eAAe,CAAC;KAC9D,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import Https from "node:https";
|
|
1
2
|
import { configuration, constant } from "@tsed/di";
|
|
2
|
-
import Https from "https";
|
|
3
3
|
import { createServer } from "./createServer.js";
|
|
4
4
|
export function createHttpsServer(requestListener) {
|
|
5
5
|
const httpsOptions = configuration().get("httpsOptions");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createHttpsServer.js","sourceRoot":"","sources":["../../../../src/common/utils/createHttpsServer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createHttpsServer.js","sourceRoot":"","sources":["../../../../src/common/utils/createHttpsServer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAkB,MAAM,UAAU,CAAC;AAElE,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAE/C,MAAM,UAAU,iBAAiB,CAAC,eAAsC;IACtE,MAAM,YAAY,GAAG,aAAa,EAAE,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAEzD,OAAO,YAAY,CAAC;QAClB,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,KAAK,CAAC,MAAM;QACnB,IAAI,EAAE,QAAQ,CAAC,WAAW,CAAC;QAC3B,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,eAAe,CAAC;KAChE,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createServer.js","sourceRoot":"","sources":["../../../../src/common/utils/createServer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createServer.js","sourceRoot":"","sources":["../../../../src/common/utils/createServer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,mBAAmB,EAAyB,MAAM,YAAY,CAAC;AACvE,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAgB,MAAM,UAAU,CAAC;AAGvF,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAY/C,MAAM,UAAU,YAAY,CAAC,EAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAsB;IACxF,MAAM,MAAM,GAAG,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAE7C,QAAQ,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC5B,KAAK,EAAE,aAAa,CAAC,SAAS;QAC9B,QAAQ,EAAE,MAAM;KACjB,CAAC,CAAC;IAEH,QAAQ,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAEzB,IAAI,MAAM,EAAE,CAAC;QACX,MAAM,QAAQ,GAAG,mBAAmB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAEjD,OAAO,KAAK,IAAI,EAAE;YAChB,MAAM,GAAG,GAAG,GAAG,QAAQ,CAAC,QAAQ,MAAM,QAAQ,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;YACjE,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAmB,GAAG,EAAE,CAAC,CAAC;YAEzC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;YAEnE,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,EAAE,CAAC;YAEjC,IAAI,OAAO,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAC3C,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;gBACnC,QAAQ,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;YAC/B,CAAC;YAED,MAAM,EAAE,CAAC,IAAI,CAAC,oBAAoB,QAAQ,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;YACzD,aAAa,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,MAAM,EAAE,GAAG,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;YAE3E,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listenServer.js","sourceRoot":"","sources":["../../../../src/common/utils/listenServer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"listenServer.js","sourceRoot":"","sources":["../../../../src/common/utils/listenServer.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,YAAY,CAAC,MAAsD,EAAE,QAAgD;IACnI,MAAM,EAAC,OAAO,EAAE,IAAI,EAAC,GAAG,QAAQ,CAAC;IAEjC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC9C,MAAM,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAChC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAc,CAAC,CAAC;IAEpC,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformTest.js","sourceRoot":"","sources":["../../../src/testing/PlatformTest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlatformTest.js","sourceRoot":"","sources":["../../../src/testing/PlatformTest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAkB,MAAM,UAAU,CAAC;AAC3D,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAC,eAAe,EAAyB,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAC,eAAe,EAA0B,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAC,mBAAmB,EAAC,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAC,cAAc,EAAC,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAC,gBAAgB,EAAC,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,MAAM;IACtC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,WAAwC,EAAE;QAC5D,QAAQ,CAAC,OAAO,GAAG;YACjB;gBACE,KAAK,EAAE,eAAe;gBACtB,QAAQ,EAAE,WAAW;aACtB;YACD,GAAG,CAAC,QAA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;QAEF,MAAM,IAAI,GAAG,IAAI,eAAe,CAAC;YAC/B,EAAE,EAAE,IAAI;YACR,GAAG,EAAE,GAAG;YACR,GAAG,OAAO;YACV,KAAK;SACN,CAAC,CAAC;QAEH,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;YACrB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACnC,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
import type { IncomingMessage, ServerResponse } from "node:http";
|
|
2
3
|
import { Type } from "@tsed/core";
|
|
3
4
|
import { InjectorService, ProviderOpts, TokenProvider } from "@tsed/di";
|
|
4
5
|
import { PlatformLayer } from "@tsed/platform-router";
|
|
5
|
-
import type { IncomingMessage, ServerResponse } from "http";
|
|
6
6
|
import { Platform } from "../services/Platform.js";
|
|
7
7
|
import { PlatformAdapter, PlatformBuilderSettings } from "../services/PlatformAdapter.js";
|
|
8
8
|
import { PlatformApplication } from "../services/PlatformApplication.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
import Https from "node:https";
|
|
2
3
|
import { getHostInfoFromPort } from "@tsed/core";
|
|
3
4
|
import { DIConfiguration, TokenProvider } from "@tsed/di";
|
|
4
|
-
import Https from "https";
|
|
5
5
|
import { PlatformJsonMapperSettings } from "../interfaces/PlatformJsonMapperSettings.js";
|
|
6
6
|
/**
|
|
7
7
|
* `PlatformConfiguration` contains all information about your Server configuration.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
import { IncomingMessage, ServerResponse } from "node:http";
|
|
2
3
|
import { DIContext, DIContextOptions } from "@tsed/di";
|
|
3
4
|
import { PlatformHandlerMetadata } from "@tsed/platform-router";
|
|
4
5
|
import { EndpointMetadata } from "@tsed/schema";
|
|
5
|
-
import { IncomingMessage, ServerResponse } from "http";
|
|
6
6
|
import { IncomingEvent } from "../interfaces/IncomingEvent.js";
|
|
7
7
|
import { PlatformApplication } from "../services/PlatformApplication.js";
|
|
8
8
|
import { PlatformRequest } from "../services/PlatformRequest.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
-
import { IncomingMessage, ServerResponse } from "http";
|
|
2
|
+
import { IncomingMessage, ServerResponse } from "node:http";
|
|
3
3
|
export interface IncomingEvent<Req = IncomingMessage, Res = ServerResponse> extends Record<string, unknown> {
|
|
4
4
|
response: Res;
|
|
5
5
|
request: Req;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
import { IncomingMessage, ServerResponse } from "node:http";
|
|
2
3
|
import { Type } from "@tsed/core";
|
|
3
4
|
import { ProviderOpts } from "@tsed/di";
|
|
4
5
|
import { PlatformHandlerMetadata, PlatformLayer } from "@tsed/platform-router";
|
|
5
|
-
import { IncomingMessage, ServerResponse } from "http";
|
|
6
6
|
import { PlatformMulter, PlatformMulterSettings } from "../config/interfaces/PlatformMulterSettings.js";
|
|
7
7
|
import { PlatformStaticsOptions } from "../config/interfaces/PlatformStaticsSettings.js";
|
|
8
8
|
import { CreateServerReturn } from "../utils/createServer.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="multer" />
|
|
2
2
|
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
+
import { IncomingMessage, ServerResponse } from "node:http";
|
|
3
4
|
import { PlatformRouter } from "@tsed/platform-router";
|
|
4
|
-
import { IncomingMessage, ServerResponse } from "http";
|
|
5
5
|
import { PlatformMulterSettings } from "../config/interfaces/PlatformMulterSettings.js";
|
|
6
6
|
import { PlatformAdapter } from "./PlatformAdapter.js";
|
|
7
7
|
declare global {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
-
import { IncomingHttpHeaders, IncomingMessage } from "http";
|
|
2
|
+
import { IncomingHttpHeaders, IncomingMessage } from "node:http";
|
|
3
3
|
import type { PlatformContext } from "../domain/PlatformContext.js";
|
|
4
4
|
import type { PlatformResponse } from "./PlatformResponse.js";
|
|
5
5
|
declare global {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
/// <reference types="node" resolution-mode="require"/>
|
|
3
3
|
/// <reference types="node" resolution-mode="require"/>
|
|
4
|
-
import { OutgoingHttpHeaders, ServerResponse } from "http";
|
|
4
|
+
import { OutgoingHttpHeaders, ServerResponse } from "node:http";
|
|
5
5
|
import type { PlatformContext } from "../domain/PlatformContext.js";
|
|
6
6
|
import type { PlatformRequest } from "./PlatformRequest.js";
|
|
7
7
|
declare global {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
/// <reference types="node" resolution-mode="require"/>
|
|
3
3
|
/// <reference types="node" resolution-mode="require"/>
|
|
4
|
-
import type Http from "http";
|
|
4
|
+
import type Http from "node:http";
|
|
5
|
+
import type Https from "node:https";
|
|
5
6
|
import type Http2 from "http2";
|
|
6
|
-
import type Https from "https";
|
|
7
7
|
export declare function closeServer(server: Http.Server | Https.Server | Http2.Http2Server): Promise<unknown>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
/// <reference types="node" resolution-mode="require"/>
|
|
3
3
|
/// <reference types="node" resolution-mode="require"/>
|
|
4
|
+
import Http from "node:http";
|
|
5
|
+
import Https from "node:https";
|
|
4
6
|
import { ReturnHostInfoFromPort } from "@tsed/core";
|
|
5
7
|
import { TokenProvider } from "@tsed/di";
|
|
6
|
-
import Http from "http";
|
|
7
8
|
import Http2 from "http2";
|
|
8
|
-
import Https from "https";
|
|
9
9
|
export interface CreateServerOptions {
|
|
10
10
|
token: TokenProvider;
|
|
11
11
|
type: "http" | "https";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
/// <reference types="node" resolution-mode="require"/>
|
|
3
3
|
/// <reference types="node" resolution-mode="require"/>
|
|
4
|
+
import type Http from "node:http";
|
|
5
|
+
import type Https from "node:https";
|
|
4
6
|
import { getHostInfoFromPort } from "@tsed/core";
|
|
5
|
-
import type Http from "http";
|
|
6
7
|
import type Http2 from "http2";
|
|
7
|
-
import type Https from "https";
|
|
8
8
|
export declare function listenServer(server: Http.Server | Https.Server | Http2.Http2Server, hostInfo: ReturnType<typeof getHostInfoFromPort>): Promise<unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
import type { IncomingMessage, RequestListener, ServerResponse } from "node:http";
|
|
2
3
|
import { DITest, InjectorService } from "@tsed/di";
|
|
3
|
-
import type { IncomingMessage, RequestListener, ServerResponse } from "http";
|
|
4
4
|
import { PlatformContext, PlatformContextOptions } from "../common/domain/PlatformContext.js";
|
|
5
5
|
import { PlatformBuilderSettings } from "../common/services/PlatformAdapter.js";
|
|
6
6
|
/**
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/platform-http",
|
|
3
3
|
"description": "A TypeScript Framework on top of Express",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.4.
|
|
5
|
+
"version": "8.4.4",
|
|
6
6
|
"source": "./src/common/index.ts",
|
|
7
7
|
"main": "./lib/esm/common/index.js",
|
|
8
8
|
"module": "./lib/esm/common/index.js",
|
|
@@ -70,28 +70,28 @@
|
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@tsed/core": "8.4.
|
|
74
|
-
"@tsed/di": "8.4.
|
|
75
|
-
"@tsed/exceptions": "8.4.
|
|
76
|
-
"@tsed/hooks": "8.4.
|
|
77
|
-
"@tsed/json-mapper": "8.4.
|
|
73
|
+
"@tsed/core": "8.4.4",
|
|
74
|
+
"@tsed/di": "8.4.4",
|
|
75
|
+
"@tsed/exceptions": "8.4.4",
|
|
76
|
+
"@tsed/hooks": "8.4.4",
|
|
77
|
+
"@tsed/json-mapper": "8.4.4",
|
|
78
78
|
"@tsed/logger": "^7.0.1",
|
|
79
|
-
"@tsed/platform-exceptions": "8.4.
|
|
80
|
-
"@tsed/platform-middlewares": "8.4.
|
|
81
|
-
"@tsed/platform-params": "8.4.
|
|
82
|
-
"@tsed/platform-response-filter": "8.4.
|
|
83
|
-
"@tsed/platform-router": "8.4.
|
|
84
|
-
"@tsed/platform-views": "8.4.
|
|
85
|
-
"@tsed/schema": "8.4.
|
|
79
|
+
"@tsed/platform-exceptions": "8.4.4",
|
|
80
|
+
"@tsed/platform-middlewares": "8.4.4",
|
|
81
|
+
"@tsed/platform-params": "8.4.4",
|
|
82
|
+
"@tsed/platform-response-filter": "8.4.4",
|
|
83
|
+
"@tsed/platform-router": "8.4.4",
|
|
84
|
+
"@tsed/platform-views": "8.4.4",
|
|
85
|
+
"@tsed/schema": "8.4.4",
|
|
86
86
|
"@types/json-schema": "7.0.15",
|
|
87
87
|
"accepts": "^1.3.8",
|
|
88
88
|
"tslib": "2.7.0",
|
|
89
89
|
"uuid": "10.0.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@tsed/barrels": "8.4.
|
|
93
|
-
"@tsed/engines": "8.4.
|
|
94
|
-
"@tsed/typescript": "8.4.
|
|
92
|
+
"@tsed/barrels": "8.4.4",
|
|
93
|
+
"@tsed/engines": "8.4.4",
|
|
94
|
+
"@tsed/typescript": "8.4.4",
|
|
95
95
|
"cross-env": "7.0.3",
|
|
96
96
|
"eslint": "9.12.0",
|
|
97
97
|
"typescript": "5.4.5",
|
package/readme.md
CHANGED
|
@@ -77,7 +77,7 @@ Here an example to create a Server with Ts.ED:
|
|
|
77
77
|
import {Configuration, Inject} from "@tsed/di";
|
|
78
78
|
import {PlatformApplication} from "@tsed/platform-http";
|
|
79
79
|
import "@tsed/platform-express";
|
|
80
|
-
import Path from "path";
|
|
80
|
+
import Path from "node:path";
|
|
81
81
|
import cookieParser from "cookie-parser";
|
|
82
82
|
import compress from "compression";
|
|
83
83
|
import methodOverride from "method-override";
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import type {IncomingMessage, ServerResponse} from "node:http";
|
|
2
|
+
import Http from "node:http";
|
|
3
|
+
import type Https from "node:https";
|
|
4
|
+
|
|
1
5
|
import {type Env, isClass, isFunction, isString, nameOf, Type} from "@tsed/core";
|
|
2
6
|
import {
|
|
3
7
|
colors,
|
|
@@ -16,10 +20,7 @@ import {
|
|
|
16
20
|
import {$asyncAlter, $asyncEmit} from "@tsed/hooks";
|
|
17
21
|
import {getMiddlewaresForHook, PlatformMiddlewareLoadingOptions} from "@tsed/platform-middlewares";
|
|
18
22
|
import {PlatformLayer} from "@tsed/platform-router";
|
|
19
|
-
import type {IncomingMessage, ServerResponse} from "http";
|
|
20
|
-
import Http from "http";
|
|
21
23
|
import Http2 from "http2";
|
|
22
|
-
import type Https from "https";
|
|
23
24
|
|
|
24
25
|
import {PlatformStaticsSettings} from "../config/interfaces/PlatformStaticsSettings.js";
|
|
25
26
|
import {PlatformRouteDetails} from "../domain/PlatformRouteDetails.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import Https from "node:https";
|
|
2
|
+
|
|
1
3
|
import {getHostInfoFromPort, isBoolean} from "@tsed/core";
|
|
2
4
|
import {DIConfiguration, Injectable, ProviderScope, TokenProvider} from "@tsed/di";
|
|
3
5
|
import {JsonMapperSettings} from "@tsed/json-mapper";
|
|
4
|
-
import Https from "https";
|
|
5
6
|
|
|
6
7
|
import {PlatformJsonMapperSettings} from "../interfaces/PlatformJsonMapperSettings.js";
|
|
7
8
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import {IncomingMessage} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {ParamTypes} from "@tsed/platform-params";
|
|
2
4
|
import {JsonParameterStore} from "@tsed/schema";
|
|
3
|
-
import {IncomingMessage} from "http";
|
|
4
5
|
|
|
5
6
|
import {PlatformRequest} from "../../services/PlatformRequest.js";
|
|
6
7
|
import {Req, Request} from "./request.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import {IncomingMessage} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {isClass, Metadata, nameOf, Type} from "@tsed/core";
|
|
2
4
|
import {mapParamsOptions, ParamOptions, ParamTypes, UseParam} from "@tsed/platform-params";
|
|
3
|
-
import {IncomingMessage} from "http";
|
|
4
5
|
|
|
5
6
|
function getParamType(target: Object, propertyKey: string | symbol | undefined, parameterIndex: number) {
|
|
6
7
|
const type = Metadata.getOwnParamTypes(target, propertyKey)[parameterIndex];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import {ServerResponse} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {ParamTypes} from "@tsed/platform-params";
|
|
2
4
|
import {JsonParameterStore} from "@tsed/schema";
|
|
3
|
-
import {ServerResponse} from "http";
|
|
4
5
|
|
|
5
6
|
import {PlatformResponse} from "../../services/PlatformResponse.js";
|
|
6
7
|
import {Res, Response} from "./response.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import {ServerResponse} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {isClass, Metadata, nameOf} from "@tsed/core";
|
|
2
4
|
import {ParamTypes, UseParam} from "@tsed/platform-params";
|
|
3
|
-
import {ServerResponse} from "http";
|
|
4
5
|
|
|
5
6
|
function getParamType(target: Object, propertyKey: string | symbol | undefined, parameterIndex: number) {
|
|
6
7
|
const type = Metadata.getOwnParamTypes(target, propertyKey)[parameterIndex];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import {IncomingMessage, ServerResponse} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {DIContext, DIContextOptions, injector} from "@tsed/di";
|
|
2
4
|
import {$asyncEmit} from "@tsed/hooks";
|
|
3
5
|
import {PlatformHandlerMetadata} from "@tsed/platform-router";
|
|
4
6
|
import {EndpointMetadata} from "@tsed/schema";
|
|
5
|
-
import {IncomingMessage, ServerResponse} from "http";
|
|
6
7
|
|
|
7
8
|
import {IncomingEvent} from "../interfaces/IncomingEvent.js";
|
|
8
9
|
import {PlatformApplication} from "../services/PlatformApplication.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import {IncomingMessage, ServerResponse} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {Type} from "@tsed/core";
|
|
2
4
|
import {injectable, ProviderOpts} from "@tsed/di";
|
|
3
5
|
import {PlatformHandlerMetadata, PlatformLayer} from "@tsed/platform-router";
|
|
4
|
-
import {IncomingMessage, ServerResponse} from "http";
|
|
5
6
|
|
|
6
7
|
import {PlatformMulter, PlatformMulterSettings} from "../config/interfaces/PlatformMulterSettings.js";
|
|
7
8
|
import {PlatformStaticsOptions} from "../config/interfaces/PlatformStaticsSettings.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import {IncomingMessage, ServerResponse} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {inject, injectable, ProviderScope} from "@tsed/di";
|
|
2
4
|
import {PlatformRouter} from "@tsed/platform-router";
|
|
3
|
-
import {IncomingMessage, ServerResponse} from "http";
|
|
4
5
|
|
|
5
6
|
import {PlatformMulterSettings} from "../config/interfaces/PlatformMulterSettings.js";
|
|
6
7
|
import {PlatformAdapter} from "./PlatformAdapter.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import {IncomingHttpHeaders, IncomingMessage} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {Injectable, injectable, ProviderScope, Scope} from "@tsed/di";
|
|
2
|
-
import {IncomingHttpHeaders, IncomingMessage} from "http";
|
|
3
4
|
|
|
4
5
|
import type {PlatformContext} from "../domain/PlatformContext.js";
|
|
5
6
|
import type {PlatformResponse} from "./PlatformResponse.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import {OutgoingHttpHeaders, ServerResponse} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {isArray, isBoolean, isNumber, isStream, isString} from "@tsed/core";
|
|
2
4
|
import {injectable, lazyInject, ProviderScope} from "@tsed/di";
|
|
3
5
|
import {getStatusMessage} from "@tsed/schema";
|
|
4
6
|
import encodeUrl from "encodeurl";
|
|
5
|
-
import {OutgoingHttpHeaders, ServerResponse} from "http";
|
|
6
7
|
|
|
7
8
|
import type {PlatformContext} from "../domain/PlatformContext.js";
|
|
8
9
|
import type {PlatformRequest} from "./PlatformRequest.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type Http from "http";
|
|
1
|
+
import type Http from "node:http";
|
|
2
|
+
import type Https from "node:https";
|
|
3
|
+
|
|
2
4
|
import type Http2 from "http2";
|
|
3
|
-
import type Https from "https";
|
|
4
5
|
|
|
5
6
|
export function closeServer(server: Http.Server | Https.Server | Http2.Http2Server) {
|
|
6
7
|
return new Promise((resolve) => server.close(() => resolve(undefined)));
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import Http from "node:http";
|
|
2
|
+
import Https from "node:https";
|
|
3
|
+
|
|
1
4
|
import {getHostInfoFromPort, ReturnHostInfoFromPort} from "@tsed/core";
|
|
2
5
|
import {configuration, injector, logger, ProviderScope, TokenProvider} from "@tsed/di";
|
|
3
|
-
import Http from "http";
|
|
4
6
|
import Http2 from "http2";
|
|
5
|
-
import Https from "https";
|
|
6
7
|
|
|
7
8
|
import {listenServer} from "./listenServer.js";
|
|
8
9
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type Http from "node:http";
|
|
2
|
+
import type Https from "node:https";
|
|
3
|
+
|
|
1
4
|
import {getHostInfoFromPort} from "@tsed/core";
|
|
2
|
-
import type Http from "http";
|
|
3
5
|
import type Http2 from "http2";
|
|
4
|
-
import type Https from "https";
|
|
5
6
|
|
|
6
7
|
export function listenServer(server: Http.Server | Https.Server | Http2.Http2Server, hostInfo: ReturnType<typeof getHostInfoFromPort>) {
|
|
7
8
|
const {address, port} = hostInfo;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type {IncomingMessage, RequestListener, ServerResponse} from "node:http";
|
|
2
|
+
|
|
1
3
|
import {DITest, injector, InjectorService} from "@tsed/di";
|
|
2
4
|
import accepts from "accepts";
|
|
3
|
-
import type {IncomingMessage, RequestListener, ServerResponse} from "http";
|
|
4
5
|
|
|
5
6
|
import {PlatformBuilder} from "../common/builder/PlatformBuilder.js";
|
|
6
7
|
import {PlatformContext, PlatformContextOptions} from "../common/domain/PlatformContext.js";
|