Comparing version 0.5.2 to 0.5.3
0.5.3 / 2018-09-21 | ||
================== | ||
* export aspect funcWrapper. | ||
0.5.2 / 2018-08-09 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -15,2 +15,3 @@ export declare type Throwable = Error | any; | ||
} | ||
export declare function funcWrapper(point: AspectPoint, fn: Function): any; | ||
export declare function aspect<T = any>(point?: AspectPoint<T>): (target: any, key: string, descriptor: any) => { | ||
@@ -17,0 +18,0 @@ configurable: boolean; |
@@ -85,2 +85,3 @@ "use strict"; | ||
} | ||
exports.funcWrapper = funcWrapper; | ||
function aspect(point = {}) { | ||
@@ -87,0 +88,0 @@ return (target, key, descriptor) => { |
{ | ||
"name": "egg-aop", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "aop for egg.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
22858
482