@loopback/cron 0.8.1 → 0.8.2
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/cron.component.js
CHANGED
|
@@ -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 =
|
|
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 =
|
|
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
|
-
|
|
50
|
-
|
|
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
|
|
1
|
+
{"version":3,"file":"cron.component.js","sourceRoot":"","sources":["../src/cron.component.ts"],"names":[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AC;IAEd,mBAAA,IAAA,iBAAU,GAAE,CAAA;;GADd,aAAa,CAwBzB;AAxBY,sCAAa"}
|
package/dist/decorators/index.js
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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,
|
|
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.
|
|
4
|
+
"version": "0.8.2",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"LoopBack",
|
|
7
7
|
"Cron",
|
|
@@ -37,21 +37,21 @@
|
|
|
37
37
|
"!*/__tests__"
|
|
38
38
|
],
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@loopback/core": "^3.1.
|
|
40
|
+
"@loopback/core": "^3.1.2"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@types/cron": "^1.7.3",
|
|
44
44
|
"@types/debug": "^4.1.7",
|
|
45
45
|
"cron": "^1.8.2",
|
|
46
|
-
"debug": "^4.3.
|
|
46
|
+
"debug": "^4.3.4",
|
|
47
47
|
"tslib": "^2.3.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@loopback/build": "^8.1.
|
|
51
|
-
"@loopback/core": "^3.1.
|
|
52
|
-
"@loopback/eslint-config": "^12.0.
|
|
53
|
-
"@loopback/testlab": "^4.1.
|
|
54
|
-
"@types/node": "^12.20.
|
|
50
|
+
"@loopback/build": "^8.1.2",
|
|
51
|
+
"@loopback/core": "^3.1.2",
|
|
52
|
+
"@loopback/eslint-config": "^12.0.4",
|
|
53
|
+
"@loopback/testlab": "^4.1.2",
|
|
54
|
+
"@types/node": "^12.20.47"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "22d993c73a7b4ccdb36f2e26ea52460dc46fbd11"
|
|
57
57
|
}
|