@loopback/cron 0.8.0 → 0.9.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.
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.CronComponent = void 0;
8
8
  const tslib_1 = require("tslib");
9
9
  const core_1 = require("@loopback/core");
10
- const debug_1 = (0, tslib_1.__importDefault)(require("debug"));
10
+ const debug_1 = tslib_1.__importDefault(require("debug"));
11
11
  const keys_1 = require("./keys");
12
12
  const types_1 = require("./types");
13
13
  const debug = (0, debug_1.default)('loopback:cron');
@@ -40,14 +40,14 @@ let CronComponent = class CronComponent {
40
40
  }
41
41
  }
42
42
  };
43
- CronComponent = (0, tslib_1.__decorate)([
43
+ CronComponent = tslib_1.__decorate([
44
44
  (0, core_1.extensionPoint)(types_1.CRON_JOB_SCHEDULER, {
45
45
  tags: { [core_1.ContextTags.KEY]: keys_1.CronBindings.COMPONENT },
46
46
  scope: core_1.BindingScope.SINGLETON,
47
47
  }),
48
48
  (0, core_1.lifeCycleObserver)('cronJob'),
49
- (0, tslib_1.__param)(0, (0, core_1.extensions)()),
50
- (0, tslib_1.__metadata)("design:paramtypes", [Function])
49
+ tslib_1.__param(0, (0, core_1.extensions)()),
50
+ tslib_1.__metadata("design:paramtypes", [Function])
51
51
  ], CronComponent);
52
52
  exports.CronComponent = CronComponent;
53
53
  //# sourceMappingURL=cron.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cron.component.js","sourceRoot":"","sources":["../src/cron.component.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,8BAA8B;AAC9B,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCASwB;AACxB,+DAAiC;AACjC,iCAAoC;AACpC,mCAAoD;AAEpD,MAAM,KAAK,GAAG,IAAA,eAAY,EAAC,eAAe,CAAC,CAAC;AAE5C;;;GAGG;AAMH,IAAa,aAAa,GAA1B,MAAa,aAAa;IACxB,YAA0C,OA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licenses/MIT
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const tslib_1 = require("tslib");
8
- (0, tslib_1.__exportStar)(require("./cron-job.decorator"), exports);
8
+ tslib_1.__exportStar(require("./cron-job.decorator"), exports);
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/decorators/index.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,8BAA8B;AAC9B,+CAA+C;AAC/C,gEAAgE;;;AAEhE,oEAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/decorators/index.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,8BAA8B;AAC9B,+CAA+C;AAC/C,gEAAgE;;;AAEhE,+DAAqC"}
package/dist/index.js CHANGED
@@ -5,8 +5,8 @@
5
5
  // License text available at https://opensource.org/licenses/MIT
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const tslib_1 = require("tslib");
8
- (0, tslib_1.__exportStar)(require("./cron.component"), exports);
9
- (0, tslib_1.__exportStar)(require("./decorators"), exports);
10
- (0, tslib_1.__exportStar)(require("./keys"), exports);
11
- (0, tslib_1.__exportStar)(require("./types"), exports);
8
+ tslib_1.__exportStar(require("./cron.component"), exports);
9
+ tslib_1.__exportStar(require("./decorators"), exports);
10
+ tslib_1.__exportStar(require("./keys"), exports);
11
+ tslib_1.__exportStar(require("./types"), exports);
12
12
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,8BAA8B;AAC9B,+CAA+C;AAC/C,gEAAgE;;;AAEhE,gEAAiC;AACjC,4DAA6B;AAC7B,sDAAuB;AACvB,uDAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,8BAA8B;AAC9B,+CAA+C;AAC/C,gEAAgE;;;AAEhE,2DAAiC;AACjC,uDAA6B;AAC7B,iDAAuB;AACvB,kDAAwB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/cron",
3
3
  "description": "Schedule tasks using cron-like syntax",
4
- "version": "0.8.0",
4
+ "version": "0.9.0",
5
5
  "keywords": [
6
6
  "LoopBack",
7
7
  "Cron",
@@ -18,7 +18,7 @@
18
18
  "directory": "extensions/cron"
19
19
  },
20
20
  "engines": {
21
- "node": "12 || 14 || 16 || 17"
21
+ "node": "14 || 16 || 17 || 18"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "lb-tsc",
@@ -37,21 +37,21 @@
37
37
  "!*/__tests__"
38
38
  ],
39
39
  "peerDependencies": {
40
- "@loopback/core": "^3.1.0"
40
+ "@loopback/core": "^4.0.0"
41
41
  },
42
42
  "dependencies": {
43
43
  "@types/cron": "^1.7.3",
44
44
  "@types/debug": "^4.1.7",
45
- "cron": "^1.8.2",
46
- "debug": "^4.3.3",
47
- "tslib": "^2.3.1"
45
+ "cron": "^2.0.0",
46
+ "debug": "^4.3.4",
47
+ "tslib": "^2.4.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@loopback/build": "^8.1.0",
51
- "@loopback/core": "^3.1.0",
52
- "@loopback/eslint-config": "^12.0.2",
53
- "@loopback/testlab": "^4.1.0",
54
- "@types/node": "^12.20.43"
50
+ "@loopback/build": "^9.0.0",
51
+ "@loopback/core": "^4.0.0",
52
+ "@loopback/eslint-config": "^13.0.0",
53
+ "@loopback/testlab": "^5.0.0",
54
+ "@types/node": "^12.20.50"
55
55
  },
56
- "gitHead": "e16818ccb01edc0269ef6c45b022c5f1b67f852c"
56
+ "gitHead": "61453a3d7a16f9f37875a3f2c2a071568eb3e3af"
57
57
  }