@loopback/express
Advanced tools
+8
-8
| { | ||
| "name": "@loopback/express", | ||
| "description": "Integrate with Express and expose middleware infrastructure for sequence and interceptors", | ||
| "version": "8.0.7", | ||
| "version": "8.0.8", | ||
| "keywords": [ | ||
@@ -43,8 +43,8 @@ "loopback-extension", | ||
| "dependencies": { | ||
| "@loopback/http-server": "^7.0.7", | ||
| "@loopback/http-server": "^7.0.8", | ||
| "@types/body-parser": "^1.19.6", | ||
| "@types/express": "^4.17.25", | ||
| "@types/express-serve-static-core": "^4.19.7", | ||
| "@types/express-serve-static-core": "^4.19.8", | ||
| "@types/http-errors": "^2.0.5", | ||
| "body-parser": "^2.2.1", | ||
| "body-parser": "^2.2.2", | ||
| "debug": "^4.4.3", | ||
@@ -58,5 +58,5 @@ "express": "^4.22.1", | ||
| "devDependencies": { | ||
| "@loopback/build": "^12.0.7", | ||
| "@loopback/core": "^7.0.7", | ||
| "@loopback/testlab": "^8.0.7", | ||
| "@loopback/build": "^12.0.8", | ||
| "@loopback/core": "^7.0.8", | ||
| "@loopback/testlab": "^8.0.8", | ||
| "@types/debug": "^4.1.12", | ||
@@ -69,3 +69,3 @@ "@types/node": "^16.18.126", | ||
| }, | ||
| "gitHead": "68b1a429ac9f3ec7ac0fc275ba7907ca620a08d2" | ||
| "gitHead": "497f7e22bb6a9867e5afe830bb82a39172fe5c78" | ||
| } |
@@ -194,4 +194,3 @@ // Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved. | ||
| CTX extends Context = InvocationContext, | ||
| > implements Provider<GenericInterceptor<CTX>> | ||
| { | ||
| > implements Provider<GenericInterceptor<CTX>> { | ||
| protected middlewareConfigView?: ContextView<CFG>; | ||
@@ -198,0 +197,0 @@ protected middlewareConfig?: CFG; |
+5
-6
@@ -266,4 +266,5 @@ // Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved. | ||
| */ | ||
| export interface BaseMiddlewareBindingOptions<CTX extends Context> | ||
| extends MiddlewareCreationOptions { | ||
| export interface BaseMiddlewareBindingOptions< | ||
| CTX extends Context, | ||
| > extends MiddlewareCreationOptions { | ||
| /** | ||
@@ -282,4 +283,3 @@ * Binding key for the middleware. | ||
| */ | ||
| export interface MiddlewareInterceptorBindingOptions | ||
| extends BaseMiddlewareBindingOptions<InvocationContext> { | ||
| export interface MiddlewareInterceptorBindingOptions extends BaseMiddlewareBindingOptions<InvocationContext> { | ||
| /** | ||
@@ -295,4 +295,3 @@ * A flag to control if the interceptor should be global. Default to `true`. | ||
| */ | ||
| export interface MiddlewareBindingOptions | ||
| extends BaseMiddlewareBindingOptions<MiddlewareContext> { | ||
| export interface MiddlewareBindingOptions extends BaseMiddlewareBindingOptions<MiddlewareContext> { | ||
| /** | ||
@@ -299,0 +298,0 @@ * Name of the middleware extension point. Default to `DEFAULT_MIDDLEWARE_CHAIN`. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
168315
03604
-0.06%