@golevelup/nestjs-discovery
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -6,2 +6,8 @@ # Change Log | ||
## [4.0.1](https://github.com/golevelup/nestjs/compare/@golevelup/nestjs-discovery@4.0.0...@golevelup/nestjs-discovery@4.0.1) (2024-04-10) | ||
### Bug Fixes | ||
- **rabbitmq:** deprecated methode scanFromPrototype ([#715](https://github.com/golevelup/nestjs/issues/715)) ([92bf751](https://github.com/golevelup/nestjs/commit/92bf751b126c25ca02f1db4cde18c58b28be1d6e)) | ||
# [4.0.0](https://github.com/golevelup/nestjs/compare/@golevelup/nestjs-discovery@3.0.1...@golevelup/nestjs-discovery@4.0.0) (2023-07-18) | ||
@@ -8,0 +14,0 @@ |
@@ -121,5 +121,3 @@ "use strict"; | ||
const prototype = Object.getPrototypeOf(instance); | ||
return this.metadataScanner | ||
.scanFromPrototype(instance, prototype, (name) => this.extractMethodMetaAtKey(metaKey, component, prototype, name)) | ||
.filter((x) => !(0, lodash_1.isNil)(x.meta)); | ||
return this.metadataScanner.getAllMethodNames(prototype).map((name) => this.extractMethodMetaAtKey(metaKey, component, prototype, name)).filter((x) => !(0, lodash_1.isNil)(x.meta)); | ||
} | ||
@@ -126,0 +124,0 @@ /** |
{ | ||
"name": "@golevelup/nestjs-discovery", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "A Badass NestJS module for querying your app's controllers, providers and handlers", | ||
@@ -58,3 +58,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "e548ccdb6def8cacf68fe7f60e13ec612eb0f57b" | ||
"gitHead": "3e37d37e9282308d1aa714889501e014a86a060c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39129
343