@heliosjs/middlewares 8.0.0 → 9.0.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/dist/catch.js +1 -1
- package/dist/catch.js.map +1 -1
- package/dist/cors.js +1 -1
- package/dist/cors.js.map +1 -1
- package/dist/guard.d.ts +1 -1
- package/dist/guard.js +2 -2
- package/dist/guard.js.map +1 -1
- package/dist/interceptor.d.ts +1 -1
- package/dist/interceptor.js +2 -2
- package/dist/interceptor.js.map +1 -1
- package/dist/pipe.d.ts +1 -1
- package/dist/pipe.js +2 -2
- package/dist/pipe.js.map +1 -1
- package/dist/sanitize.d.ts +1 -1
- package/dist/sanitize.js +3 -2
- package/dist/sanitize.js.map +1 -1
- package/dist/status.js +1 -3
- package/dist/status.js.map +1 -1
- package/dist/use.js +2 -2
- package/dist/use.js.map +1 -1
- package/package.json +2 -2
package/dist/catch.js
CHANGED
|
@@ -31,7 +31,7 @@ const utils_1 = require("@heliosjs/core/utils");
|
|
|
31
31
|
*/
|
|
32
32
|
function Catch(handler) {
|
|
33
33
|
return function (target, propertyKey, descriptor) {
|
|
34
|
-
const data = {
|
|
34
|
+
const data = [{ errorHandler: handler }];
|
|
35
35
|
if (descriptor) {
|
|
36
36
|
(0, utils_1.defineMiddlewaresMeta)(data, target, propertyKey);
|
|
37
37
|
}
|
package/dist/catch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catch.js","sourceRoot":"","sources":["../src/catch.ts"],"names":[],"mappings":";;AA6BA,sBAUC;AAtCD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,KAAK,CAAC,OAAqB;IACzC,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,IAAI,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"catch.js","sourceRoot":"","sources":["../src/catch.ts"],"names":[],"mappings":";;AA6BA,sBAUC;AAtCD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,KAAK,CAAC,OAAqB;IACzC,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,IAAI,GAAG,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,CAAC;QAEzC,IAAI,UAAU,EAAE,CAAC;YACf,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACN,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACtC,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/cors.js
CHANGED
|
@@ -46,7 +46,7 @@ function Cors(config = {}) {
|
|
|
46
46
|
methods: Object.keys(types_1.HTTP_METHODS),
|
|
47
47
|
};
|
|
48
48
|
const finalConfig = { ...defaultConfig, ...config };
|
|
49
|
-
const data = { cors:
|
|
49
|
+
const data = [{ cors: finalConfig }];
|
|
50
50
|
if (descriptor) {
|
|
51
51
|
(0, utils_1.defineMiddlewaresMeta)(data, target, propertyKey);
|
|
52
52
|
}
|
package/dist/cors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cors.js","sourceRoot":"","sources":["../src/cors.ts"],"names":[],"mappings":";;AAqCA,oBAkBC;AAvDD,gDAAgE;AAChE,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,IAAI,CAAC,SAAqB,EAAE;IAC1C,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,aAAa,GAAe;YAChC,MAAM,EAAE,GAAG;YACX,oBAAoB,EAAE,GAAG;YACzB,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,oBAAY,CAAC;SACnC,CAAC;QAEF,MAAM,WAAW,GAAG,EAAE,GAAG,aAAa,EAAE,GAAG,MAAM,EAAE,CAAC;QAEpD,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"cors.js","sourceRoot":"","sources":["../src/cors.ts"],"names":[],"mappings":";;AAqCA,oBAkBC;AAvDD,gDAAgE;AAChE,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,IAAI,CAAC,SAAqB,EAAE;IAC1C,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,aAAa,GAAe;YAChC,MAAM,EAAE,GAAG;YACX,oBAAoB,EAAE,GAAG;YACzB,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,oBAAY,CAAC;SACnC,CAAC;QAEF,MAAM,WAAW,GAAG,EAAE,GAAG,aAAa,EAAE,GAAG,MAAM,EAAE,CAAC;QAEpD,MAAM,IAAI,GAAG,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;QAErC,IAAI,UAAU,EAAE,CAAC;YACf,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACN,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACtC,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/guard.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ import { type Guard, GuardFn } from '@heliosjs/core/types';
|
|
|
38
38
|
*
|
|
39
39
|
* If any guard returns `false`, the request handling is stopped.
|
|
40
40
|
*
|
|
41
|
-
* Metadata is stored under the
|
|
41
|
+
* Metadata is stored under the CONTROLLER_CONFIGURATION key and used
|
|
42
42
|
* internally by the framework during request processing.
|
|
43
43
|
*/
|
|
44
44
|
export declare function Guard(guard: Guard | GuardFn): (target: any, propertyKey?: string, descriptor?: PropertyDescriptor) => void;
|
package/dist/guard.js
CHANGED
|
@@ -41,12 +41,12 @@ const utils_1 = require("@heliosjs/core/utils");
|
|
|
41
41
|
*
|
|
42
42
|
* If any guard returns `false`, the request handling is stopped.
|
|
43
43
|
*
|
|
44
|
-
* Metadata is stored under the
|
|
44
|
+
* Metadata is stored under the CONTROLLER_CONFIGURATION key and used
|
|
45
45
|
* internally by the framework during request processing.
|
|
46
46
|
*/
|
|
47
47
|
function Guard(guard) {
|
|
48
48
|
return function (target, propertyKey, descriptor) {
|
|
49
|
-
const data = {
|
|
49
|
+
const data = [{ guard: guard }];
|
|
50
50
|
if (descriptor) {
|
|
51
51
|
(0, utils_1.defineMiddlewaresMeta)(data, target, propertyKey);
|
|
52
52
|
}
|
package/dist/guard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guard.js","sourceRoot":"","sources":["../src/guard.ts"],"names":[],"mappings":";;AA4CA,sBAUC;AArDD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,SAAgB,KAAK,CAAC,KAAsB;IAC1C,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,IAAI,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"guard.js","sourceRoot":"","sources":["../src/guard.ts"],"names":[],"mappings":";;AA4CA,sBAUC;AArDD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,SAAgB,KAAK,CAAC,KAAsB;IAC1C,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,IAAI,GAAG,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;QAEhC,IAAI,UAAU,EAAE,CAAC;YACf,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACN,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACtC,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/interceptor.d.ts
CHANGED
|
@@ -42,4 +42,4 @@ import { InterceptorCB } from '@heliosjs/core/types';
|
|
|
42
42
|
* Metadata is stored using the MIDDLEWARES_CONFIG key and
|
|
43
43
|
* used internally by the framework during request processing.
|
|
44
44
|
*/
|
|
45
|
-
export declare function Intercept(
|
|
45
|
+
export declare function Intercept(interceptor: InterceptorCB): (target: any, propertyKey?: string, descriptor?: PropertyDescriptor) => void;
|
package/dist/interceptor.js
CHANGED
|
@@ -45,9 +45,9 @@ const utils_1 = require("@heliosjs/core/utils");
|
|
|
45
45
|
* Metadata is stored using the MIDDLEWARES_CONFIG key and
|
|
46
46
|
* used internally by the framework during request processing.
|
|
47
47
|
*/
|
|
48
|
-
function Intercept(
|
|
48
|
+
function Intercept(interceptor) {
|
|
49
49
|
return function (target, propertyKey, descriptor) {
|
|
50
|
-
const data = {
|
|
50
|
+
const data = [{ interceptor }];
|
|
51
51
|
if (descriptor) {
|
|
52
52
|
(0, utils_1.defineMiddlewaresMeta)(data, target, propertyKey);
|
|
53
53
|
}
|
package/dist/interceptor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interceptor.js","sourceRoot":"","sources":["../src/interceptor.ts"],"names":[],"mappings":";;AA6CA,8BAUC;AAtDD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,SAAgB,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"interceptor.js","sourceRoot":"","sources":["../src/interceptor.ts"],"names":[],"mappings":";;AA6CA,8BAUC;AAtDD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,SAAgB,SAAS,CAAC,WAA0B;IAClD,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,IAAI,GAAG,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;QAE/B,IAAI,UAAU,EAAE,CAAC;YACf,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACN,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACtC,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/pipe.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ import { type Pipe } from '@heliosjs/core/types';
|
|
|
25
25
|
* - type casting
|
|
26
26
|
* - sanitization
|
|
27
27
|
*
|
|
28
|
-
* Metadata is stored under the
|
|
28
|
+
* Metadata is stored under the CONTROLLER_CONFIGURATION key and later used
|
|
29
29
|
* by the framework during request processing.
|
|
30
30
|
*/
|
|
31
31
|
export declare function Pipe(pipe: Pipe): (target: any, propertyKey?: string, descriptor?: PropertyDescriptor) => void;
|
package/dist/pipe.js
CHANGED
|
@@ -28,12 +28,12 @@ const utils_1 = require("@heliosjs/core/utils");
|
|
|
28
28
|
* - type casting
|
|
29
29
|
* - sanitization
|
|
30
30
|
*
|
|
31
|
-
* Metadata is stored under the
|
|
31
|
+
* Metadata is stored under the CONTROLLER_CONFIGURATION key and later used
|
|
32
32
|
* by the framework during request processing.
|
|
33
33
|
*/
|
|
34
34
|
function Pipe(pipe) {
|
|
35
35
|
return function (target, propertyKey, descriptor) {
|
|
36
|
-
const data = {
|
|
36
|
+
const data = [{ pipe }];
|
|
37
37
|
if (descriptor) {
|
|
38
38
|
(0, utils_1.defineMiddlewaresMeta)(data, target, propertyKey);
|
|
39
39
|
}
|
package/dist/pipe.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipe.js","sourceRoot":"","sources":["../src/pipe.ts"],"names":[],"mappings":";;AA+BA,oBAUC;AAxCD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,IAAI,CAAC,IAAU;IAC7B,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,IAAI,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"pipe.js","sourceRoot":"","sources":["../src/pipe.ts"],"names":[],"mappings":";;AA+BA,oBAUC;AAxCD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,IAAI,CAAC,IAAU;IAC7B,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,IAAI,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;QAExB,IAAI,UAAU,EAAE,CAAC;YACf,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACN,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACtC,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/sanitize.d.ts
CHANGED
|
@@ -37,4 +37,4 @@ import { SanitizerConfig } from '@heliosjs/core/types';
|
|
|
37
37
|
* This metadata is accessible via Reflect API and used internally by the framework
|
|
38
38
|
* to apply sanitization logic.
|
|
39
39
|
*/
|
|
40
|
-
export declare function Sanitize(
|
|
40
|
+
export declare function Sanitize(config: SanitizerConfig | SanitizerConfig[]): (target: any, propertyKey?: string, descriptor?: PropertyDescriptor) => void;
|
package/dist/sanitize.js
CHANGED
|
@@ -40,9 +40,10 @@ const utils_1 = require("@heliosjs/core/utils");
|
|
|
40
40
|
* This metadata is accessible via Reflect API and used internally by the framework
|
|
41
41
|
* to apply sanitization logic.
|
|
42
42
|
*/
|
|
43
|
-
function Sanitize(
|
|
43
|
+
function Sanitize(config) {
|
|
44
44
|
return function (target, propertyKey, descriptor) {
|
|
45
|
-
const
|
|
45
|
+
const sanitizers = Array.isArray(config) ? config : [config];
|
|
46
|
+
const data = sanitizers.map(sanitizer => ({ sanitizer }));
|
|
46
47
|
if (descriptor) {
|
|
47
48
|
(0, utils_1.defineMiddlewaresMeta)(data, target, propertyKey);
|
|
48
49
|
}
|
package/dist/sanitize.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanitize.js","sourceRoot":"","sources":["../src/sanitize.ts"],"names":[],"mappings":";;AAwCA,
|
|
1
|
+
{"version":3,"file":"sanitize.js","sourceRoot":"","sources":["../src/sanitize.ts"],"names":[],"mappings":";;AAwCA,4BAWC;AAlDD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,QAAQ,CAAC,MAA2C;IAClE,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;QAC7D,MAAM,IAAI,GAAG,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;QAE1D,IAAI,UAAU,EAAE,CAAC;YACf,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACN,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACtC,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/status.js
CHANGED
|
@@ -39,9 +39,7 @@ const utils_1 = require("@heliosjs/core/utils");
|
|
|
39
39
|
function Status(status) {
|
|
40
40
|
return function (target, propertyKey) {
|
|
41
41
|
if (propertyKey) {
|
|
42
|
-
|
|
43
|
-
meta.status = status;
|
|
44
|
-
(0, utils_1.defineMiddlewaresMeta)(meta, target, propertyKey);
|
|
42
|
+
(0, utils_1.defineMiddlewaresMeta)([{ status }], target, propertyKey);
|
|
45
43
|
}
|
|
46
44
|
};
|
|
47
45
|
}
|
package/dist/status.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.js","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":";;;AAkCA,
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":";;;AAkCA,wBAMC;AAxCD,gDAA6D;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,MAAM,CAAC,MAAc;IACnC,OAAO,UAAU,MAAW,EAAE,WAAoB;QAChD,IAAI,WAAW,EAAE,CAAC;YAChB,IAAA,6BAAqB,EAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QAC3D,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED;;;;;;;GAOG;AACI,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAA1B,QAAA,KAAK,SAAqB;AAEvC;;;;;;;GAOG;AACI,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAA1B,QAAA,KAAK,SAAqB;AAEvC;;;;;;;;GAQG;AACI,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAA1B,QAAA,KAAK,SAAqB"}
|
package/dist/use.js
CHANGED
|
@@ -49,8 +49,8 @@ const utils_1 = require("@heliosjs/core/utils");
|
|
|
49
49
|
function Use(middleware) {
|
|
50
50
|
return function (target, propertyKey, descriptor) {
|
|
51
51
|
const middlewares = Array.isArray(middleware) ? middleware : [middleware];
|
|
52
|
-
const data = {
|
|
53
|
-
if (
|
|
52
|
+
const data = middlewares.map(middleware => ({ middleware }));
|
|
53
|
+
if (propertyKey) {
|
|
54
54
|
(0, utils_1.defineMiddlewaresMeta)(data, target, propertyKey);
|
|
55
55
|
}
|
|
56
56
|
else {
|
package/dist/use.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use.js","sourceRoot":"","sources":["../src/use.ts"],"names":[],"mappings":";;AA+CA,kBAcC;AA5DD,gDAA6D;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,SAAgB,GAAG,CAAC,UAAyC;IAC3D,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QAE1E,MAAM,IAAI,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"use.js","sourceRoot":"","sources":["../src/use.ts"],"names":[],"mappings":";;AA+CA,kBAcC;AA5DD,gDAA6D;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,SAAgB,GAAG,CAAC,UAAyC;IAC3D,OAAO,UAAU,MAAW,EAAE,WAAoB,EAAE,UAA+B;QACjF,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QAE1E,MAAM,IAAI,GAAG,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;QAE7D,IAAI,WAAW,EAAE,CAAC;YAChB,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACN,IAAA,6BAAqB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACtC,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heliosjs/middlewares",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "Middlewares for @heliosjs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"reflect-metadata": "^0.2.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@heliosjs/core": "^3.
|
|
33
|
+
"@heliosjs/core": "^3.1.0",
|
|
34
34
|
"typescript": ">=4.0.0",
|
|
35
35
|
"reflect-metadata": "^0.2.2",
|
|
36
36
|
"@types/node": "^25.5.0"
|