@eggjs/aop-decorator 1.1.1 → 1.4.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.3.0](https://github.com/eggjs/tegg/compare/v1.2.0...v1.3.0) (2022-07-01)
7
+
8
+ **Note:** Version bump only for package @eggjs/aop-decorator
9
+
10
+
11
+
12
+
13
+
6
14
  # [0.2.0](https://github.com/eggjs/tegg/compare/v0.1.19...v0.2.0) (2022-01-20)
7
15
 
8
16
 
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -21,4 +25,4 @@ __exportStar(require("./src/util/PointcutAdviceInfoUtil"), exports);
21
25
  __exportStar(require("./src/util/AspectInfoUtil"), exports);
22
26
  __exportStar(require("./src/AspectMetaBuilder"), exports);
23
27
  __exportStar(require("./src/CrosscutAdviceFactory"), exports);
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx5REFBdUM7QUFDdkMsMkRBQXlDO0FBQ3pDLDBEQUF3QztBQUN4QyxxREFBbUM7QUFDbkMsMkRBQXlDO0FBQ3pDLDREQUEwQztBQUMxQyw4REFBNEM7QUFDNUMsb0VBQWtEO0FBQ2xELDREQUEwQztBQUMxQywwREFBd0M7QUFDeEMsOERBQTRDIn0=
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEseURBQXVDO0FBQ3ZDLDJEQUF5QztBQUN6QywwREFBd0M7QUFDeEMscURBQW1DO0FBQ25DLDJEQUF5QztBQUN6Qyw0REFBMEM7QUFDMUMsOERBQTRDO0FBQzVDLG9FQUFrRDtBQUNsRCw0REFBMEM7QUFDMUMsMERBQXdDO0FBQ3hDLDhEQUE0QyJ9
@@ -18,5 +18,5 @@ export interface CustomCrosscutParam {
18
18
  type: PointcutType.CUSTOM;
19
19
  callback: CustomPointcutCallback;
20
20
  }
21
- export declare type CrosscutParam = ClassCrosscutParam | NameCrosscutParam | CustomCrosscutParam;
21
+ export type CrosscutParam = ClassCrosscutParam | NameCrosscutParam | CustomCrosscutParam;
22
22
  export declare function Crosscut(param: CrosscutParam, options?: CrosscutOptions): (constructor: EggProtoImplClass<IAdvice>) => void;
@@ -31,7 +31,7 @@ export declare class NamePointInfo implements PointcutInfo {
31
31
  constructor(className: RegExp, methodName: RegExp);
32
32
  match(clazz: EggProtoImplClass, method: PropertyKey): boolean;
33
33
  }
34
- export declare type CustomPointcutCallback = (clazz: EggProtoImplClass, method: PropertyKey) => boolean;
34
+ export type CustomPointcutCallback = (clazz: EggProtoImplClass, method: PropertyKey) => boolean;
35
35
  export declare class CustomPointInfo implements PointcutInfo {
36
36
  readonly type = PointcutType.CUSTOM;
37
37
  readonly cb: CustomPointcutCallback;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/aop-decorator",
3
- "version": "1.1.1",
3
+ "version": "1.4.0",
4
4
  "description": "tegg aop decorator",
5
5
  "keywords": [
6
6
  "tegg",
@@ -16,9 +16,9 @@
16
16
  "directory": "core/aop-decorator"
17
17
  },
18
18
  "dependencies": {
19
- "@eggjs/core-decorator": "^1.1.1",
20
- "@eggjs/tegg-common-util": "^1.1.1",
21
- "@eggjs/tegg-metadata": "^1.1.1"
19
+ "@eggjs/core-decorator": "^1.4.0",
20
+ "@eggjs/tegg-common-util": "^1.2.0",
21
+ "@eggjs/tegg-metadata": "^1.4.0"
22
22
  },
23
23
  "scripts": {
24
24
  "clean": "tsc -b --clean",
@@ -42,5 +42,5 @@
42
42
  "bugs": {
43
43
  "url": "https://github.com/eggjs/tegg/issues"
44
44
  },
45
- "gitHead": "9d4984de5de24ac446d70fe8f5f0108afc160521"
45
+ "gitHead": "6bd085c1c265921d31110811f4d707875dc7acea"
46
46
  }