@loopback/metadata 8.0.1 → 8.0.3
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/README.md +0 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -328,7 +328,6 @@ By default, the decorator factories allow inheritance with the following rules:
|
|
|
328
328
|
1. If the metadata is an object, we merge the `spec` argument from the
|
|
329
329
|
decorator function into the inherited value from base classes. For metadata
|
|
330
330
|
of array and other primitive types, the `spec` argument is used if provided.
|
|
331
|
-
|
|
332
331
|
- We can override `inherit` method of the decorator factory to customize how
|
|
333
332
|
to resolve `spec` against the inherited metadata. For example:
|
|
334
333
|
|
|
@@ -344,7 +343,6 @@ protected inherit(inheritedMetadata: T | undefined | null): T {
|
|
|
344
343
|
better than keeping metadata at method/property level as it's not easy to
|
|
345
344
|
inspect a class to find static/instance methods and properties with
|
|
346
345
|
decorations. The metadata for a class is illustrated below:
|
|
347
|
-
|
|
348
346
|
- MyClass (the constructor function itself)
|
|
349
347
|
|
|
350
348
|
```ts
|
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": "8.0.
|
|
4
|
+
"version": "8.0.3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"LoopBack",
|
|
7
7
|
"Decorators",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"tslib": "^2.8.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@loopback/build": "^12.0.
|
|
49
|
-
"@loopback/eslint-config": "^16.0.
|
|
50
|
-
"@loopback/testlab": "^8.0.
|
|
48
|
+
"@loopback/build": "^12.0.3",
|
|
49
|
+
"@loopback/eslint-config": "^16.0.1",
|
|
50
|
+
"@loopback/testlab": "^8.0.3",
|
|
51
51
|
"@types/debug": "^4.1.12",
|
|
52
|
-
"@types/lodash": "^4.17.
|
|
52
|
+
"@types/lodash": "^4.17.20",
|
|
53
53
|
"@types/node": "^16.18.126"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "292b33022f1d9eb85ded26e7b07a3d7a47d3b2e8"
|
|
56
56
|
}
|