@loopback/metadata
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="0.3.1"></a> | ||
## [0.3.1](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@0.3.0...@loopback/metadata@0.3.1) (2018-03-23) | ||
**Note:** Version bump only for package @loopback/metadata | ||
<a name="0.3.0"></a> | ||
@@ -8,0 +16,0 @@ # [0.3.0](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@0.2.4...@loopback/metadata@0.3.0) (2018-03-21) |
{ | ||
"name": "@loopback/metadata", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "LoopBack's metadata utilities for reflection and decoration", | ||
@@ -28,6 +28,6 @@ "engines": { | ||
"devDependencies": { | ||
"@loopback/build": "^0.3.2", | ||
"@loopback/testlab": "^0.4.0", | ||
"@loopback/build": "^0.3.3", | ||
"@loopback/testlab": "^0.4.1", | ||
"@types/debug": "^0.0.30", | ||
"@types/lodash": "^4.14.96" | ||
"@types/lodash": "^4.14.106" | ||
}, | ||
@@ -34,0 +34,0 @@ "keywords": [ |
@@ -14,5 +14,5 @@ # @loopback/metadata | ||
# Usage | ||
## Basic Use | ||
## To create a class decorator | ||
### To create a class decorator | ||
@@ -54,3 +54,3 @@ ```ts | ||
## To create a method decorator | ||
### To create a method decorator | ||
@@ -90,3 +90,3 @@ ```ts | ||
## To create a property decorator | ||
### To create a property decorator | ||
@@ -124,3 +124,3 @@ ```ts | ||
## To create a parameter decorator | ||
### To create a parameter decorator | ||
@@ -170,3 +170,3 @@ ```ts | ||
## To create method decorator for parameters | ||
### To create method decorator for parameters | ||
@@ -202,2 +202,3 @@ ```ts | ||
) {} | ||
} | ||
``` | ||
@@ -213,3 +214,3 @@ | ||
## Decorator options | ||
### Decorator options | ||
@@ -225,3 +226,3 @@ An object of type `DecoratorOptions` can be passed in to create decorator | ||
## Customize inheritance of metadata | ||
### Customize inheritance of metadata | ||
@@ -331,3 +332,3 @@ By default, the decorator factories allow inheritance with the following rules: | ||
## Inspect metadata | ||
### Inspect metadata | ||
@@ -337,3 +338,3 @@ `MetadataInspector` provides API to inspect metadata from a class and its | ||
## Inspect metadata of a class | ||
### Inspect metadata of a class | ||
@@ -363,3 +364,3 @@ ```ts | ||
## Inspect metadata of a method | ||
### Inspect metadata of a method | ||
@@ -381,3 +382,3 @@ ```ts | ||
## Inspect metadata of a property | ||
### Inspect metadata of a property | ||
@@ -399,3 +400,3 @@ ```ts | ||
## Inspect metadata of method parameters | ||
### Inspect metadata of method parameters | ||
@@ -428,3 +429,3 @@ ```ts | ||
## Inspect design-time metadata of properties/methods | ||
### Inspect design-time metadata of properties/methods | ||
@@ -458,6 +459,4 @@ ```ts | ||
IBM/StrongLoop is an active supporter of open source and welcomes contributions | ||
to our projects as well as those of the Node.js community in general. For more | ||
information on how to contribute please refer to the | ||
[Contribution Guide](https://loopback.io/doc/en/contrib/index.html). | ||
- [Guidelines](https://github.com/strongloop/loopback-next/blob/master/docs/CONTRIBUTING.md) | ||
- [Join the team](https://github.com/strongloop/loopback-next/issues/110) | ||
@@ -470,4 +469,3 @@ ## Tests | ||
See | ||
[all contributors](https://github.com/strongloop/loopback-next/graphs/contributors). | ||
See [all contributors](https://github.com/strongloop/loopback-next/graphs/contributors). | ||
@@ -474,0 +472,0 @@ ## License |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
656692
0
459