@loopback/metadata
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -6,2 +6,10 @@ # Change Log | ||
## [3.0.5](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@3.0.4...@loopback/metadata@3.0.5) (2020-12-07) | ||
**Note:** Version bump only for package @loopback/metadata | ||
## [3.0.4](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@3.0.3...@loopback/metadata@3.0.4) (2020-11-18) | ||
@@ -8,0 +16,0 @@ |
@@ -174,2 +174,3 @@ "use strict"; | ||
*/ | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
MetadataInspector.Reflector = reflect_1.Reflector; | ||
@@ -179,3 +180,4 @@ /** | ||
*/ | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
MetadataInspector.DesignTimeReflector = TSReflector; | ||
//# sourceMappingURL=inspector.js.map |
{ | ||
"name": "@loopback/metadata", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "Utilities to help developers implement TypeScript decorators, define/merge metadata, and inspect metadata", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"debug": "^4.2.0", | ||
"debug": "^4.3.1", | ||
"lodash": "^4.17.20", | ||
@@ -33,5 +33,5 @@ "reflect-metadata": "^0.1.13", | ||
"devDependencies": { | ||
"@loopback/build": "^6.2.7", | ||
"@loopback/eslint-config": "^10.0.3", | ||
"@loopback/testlab": "^3.2.9", | ||
"@loopback/build": "^6.2.8", | ||
"@loopback/eslint-config": "^10.0.4", | ||
"@loopback/testlab": "^3.2.10", | ||
"@types/debug": "^4.1.5", | ||
@@ -57,3 +57,3 @@ "@types/lodash": "^4.14.165", | ||
}, | ||
"gitHead": "3fd1434d6a2addb3c77759a0893bd7cf00e84b67" | ||
"gitHead": "44fc7765fa322c716e8f2914b3831748041ebd8c" | ||
} |
@@ -498,5 +498,3 @@ # @loopback/metadata | ||
const allParamsForMyMethod = MetadataInspector.getAllParameterMetaData< | ||
MyParameterMetadata | ||
>( | ||
const allParamsForMyMethod = MetadataInspector.getAllParameterMetaData<MyParameterMetadata>( | ||
'my-parameter-decorator-key', | ||
@@ -507,5 +505,3 @@ MyController.prototype, // Use MyController for static methods, | ||
const firstParamForMyMethod = MetadataInspector.getMyParameterMetaData< | ||
MyParameterMetadata | ||
>( | ||
const firstParamForMyMethod = MetadataInspector.getMyParameterMetaData<MyParameterMetadata>( | ||
'my-parameter-decorator-key', | ||
@@ -517,5 +513,7 @@ MyController.prototype, // Use MyController for static methods | ||
const allParamsForConstructor = MetadataInspector.getAllParameterMetaData< | ||
MyParameterMetadata | ||
>('my-parameter-decorator-key', MyController, ''); | ||
const allParamsForConstructor = MetadataInspector.getAllParameterMetaData<MyParameterMetadata>( | ||
'my-parameter-decorator-key', | ||
MyController, | ||
'', | ||
); | ||
``` | ||
@@ -522,0 +520,0 @@ |
@@ -47,2 +47,3 @@ // Copyright IBM Corp. 2017,2019. All Rights Reserved. | ||
*/ | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
static readonly Reflector = Reflector; | ||
@@ -52,2 +53,3 @@ /** | ||
*/ | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
static readonly DesignTimeReflector = TSReflector; | ||
@@ -54,0 +56,0 @@ |
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
174700
2865
581
Updateddebug@^4.3.1