@eggjs/standalone-decorator 1.1.0 → 1.2.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/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];
@@ -13,4 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
17
  __exportStar(require("./src/typing"), exports);
14
18
  __exportStar(require("./src/util/StandaloneUtil"), exports);
15
19
  __exportStar(require("./src/decorator/Runner"), exports);
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSwrQ0FBNkI7QUFDN0IsNERBQTBDO0FBQzFDLHlEQUF1QyJ9
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsK0NBQTZCO0FBQzdCLDREQUEwQztBQUMxQyx5REFBdUMifQ==
@@ -1,4 +1,4 @@
1
1
  export interface MainRunner<T = void> {
2
2
  main(): Promise<T>;
3
3
  }
4
- export declare type MainRunnerClass<T = void> = new () => MainRunner<T>;
4
+ export type MainRunnerClass<T = void> = new () => MainRunner<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/standalone-decorator",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "tegg standalone decorator",
5
5
  "keywords": [
6
6
  "egg",
@@ -37,11 +37,11 @@
37
37
  "node": ">=14.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@eggjs/tegg-common-util": "^1.1.0",
40
+ "@eggjs/tegg-common-util": "^1.2.0",
41
41
  "reflect-metadata": "^0.1.13"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "9d0b34fd6c73565145f3a2af63f10cd0509ff7fe"
46
+ "gitHead": "6bd085c1c265921d31110811f4d707875dc7acea"
47
47
  }