@nestjs/platform-express 11.0.7 → 11.0.9
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.
|
@@ -329,9 +329,9 @@ class ExpressAdapter extends http_adapter_1.AbstractHttpAdapter {
|
|
|
329
329
|
isMiddlewareApplied(name) {
|
|
330
330
|
const app = this.getInstance();
|
|
331
331
|
return (!!app._router &&
|
|
332
|
-
!!app.
|
|
333
|
-
(0, shared_utils_1.isFunction)(app.
|
|
334
|
-
app.
|
|
332
|
+
!!app.router.stack &&
|
|
333
|
+
(0, shared_utils_1.isFunction)(app.router.stack.filter) &&
|
|
334
|
+
app.router.stack.some((layer) => layer && layer.handle && layer.handle.name === name));
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
exports.ExpressAdapter = ExpressAdapter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/platform-express",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.9",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@platform-express)",
|
|
5
5
|
"author": "Kamil Mysliwiec",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"tslib": "2.8.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@nestjs/common": "11.0.
|
|
29
|
-
"@nestjs/core": "11.0.
|
|
28
|
+
"@nestjs/common": "11.0.9",
|
|
29
|
+
"@nestjs/core": "11.0.9"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@nestjs/common": "^11.0.0",
|