@loopback/metadata 5.0.5 → 5.0.7
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/types.d.ts +2 -2
- package/package.json +8 -8
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Decorator function types
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type DecoratorType = ClassDecorator | PropertyDecorator | MethodDecorator | ParameterDecorator;
|
|
5
5
|
/**
|
|
6
6
|
* A strongly-typed metadata accessor via reflection
|
|
7
7
|
* @typeParam T - Type of the metadata value
|
|
@@ -24,7 +24,7 @@ export declare class MetadataAccessor<T, D extends DecoratorType = DecoratorType
|
|
|
24
24
|
* @typeParam T - Type of the metadata value
|
|
25
25
|
* @typeParam D - Type of the decorator
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type MetadataKey<T, D extends DecoratorType> = MetadataAccessor<T, D> | string;
|
|
28
28
|
/**
|
|
29
29
|
* An object mapping keys to corresponding metadata
|
|
30
30
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/metadata",
|
|
3
3
|
"description": "Utilities to help developers implement TypeScript decorators, define/merge metadata, and inspect metadata",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.7",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"LoopBack",
|
|
7
7
|
"Decorators",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"directory": "packages/metadata"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": "14 || 16 ||
|
|
21
|
+
"node": "14 || 16 || 18 || 19"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"tslib": "^2.4.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@loopback/build": "^9.0.
|
|
49
|
-
"@loopback/eslint-config": "^13.0.
|
|
50
|
-
"@loopback/testlab": "^5.0.
|
|
48
|
+
"@loopback/build": "^9.0.7",
|
|
49
|
+
"@loopback/eslint-config": "^13.0.7",
|
|
50
|
+
"@loopback/testlab": "^5.0.7",
|
|
51
51
|
"@types/debug": "^4.1.7",
|
|
52
|
-
"@types/lodash": "^4.14.
|
|
53
|
-
"@types/node": "^14.18.
|
|
52
|
+
"@types/lodash": "^4.14.191",
|
|
53
|
+
"@types/node": "^14.18.36"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "06cbcba72ceb28ab5033bae80cc5504c80ac53c2"
|
|
56
56
|
}
|