koatty_schedule 1.5.8 → 1.5.10
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 +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -8
- package/dist/index.mjs +1 -1
- package/dist/package.json +89 -89
- package/package.json +89 -89
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.5.10](https://github.com/thinkkoa/koatty_schedule/compare/v1.5.8...v1.5.10) (2023-01-13)
|
|
6
|
+
|
|
5
7
|
### [1.5.8](https://github.com/thinkkoa/koatty_schedule/compare/v1.5.7...v1.5.8) (2022-11-03)
|
|
6
8
|
|
|
7
9
|
### [1.5.7](https://github.com/thinkkoa/koatty_schedule/compare/v1.5.6...v1.5.7) (2022-09-05)
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @Author: richen
|
|
3
|
-
* @Date:
|
|
3
|
+
* @Date: 2023-01-13 10:49:36
|
|
4
4
|
* @License: BSD (3-Clause)
|
|
5
5
|
* @Copyright (c) - <richenlin(at)gmail.com>
|
|
6
6
|
* @HomePage: https://koatty.org/
|
|
7
7
|
*/
|
|
8
8
|
'use strict';
|
|
9
9
|
|
|
10
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
|
-
|
|
12
10
|
require('reflect-metadata');
|
|
13
11
|
var cron = require('cron');
|
|
14
12
|
var helper = require('koatty_lib');
|
|
@@ -17,8 +15,7 @@ var koatty_container = require('koatty_container');
|
|
|
17
15
|
var crypto = require('crypto');
|
|
18
16
|
var koatty_store = require('koatty_store');
|
|
19
17
|
|
|
20
|
-
function
|
|
21
|
-
if (e && e.__esModule) return e;
|
|
18
|
+
function _interopNamespaceDefault(e) {
|
|
22
19
|
var n = Object.create(null);
|
|
23
20
|
if (e) {
|
|
24
21
|
Object.keys(e).forEach(function (k) {
|
|
@@ -31,12 +28,12 @@ function _interopNamespace(e) {
|
|
|
31
28
|
}
|
|
32
29
|
});
|
|
33
30
|
}
|
|
34
|
-
n
|
|
31
|
+
n.default = e;
|
|
35
32
|
return Object.freeze(n);
|
|
36
33
|
}
|
|
37
34
|
|
|
38
|
-
var helper__namespace = /*#__PURE__*/
|
|
39
|
-
var crypto__namespace = /*#__PURE__*/
|
|
35
|
+
var helper__namespace = /*#__PURE__*/_interopNamespaceDefault(helper);
|
|
36
|
+
var crypto__namespace = /*#__PURE__*/_interopNamespaceDefault(crypto);
|
|
40
37
|
|
|
41
38
|
/**
|
|
42
39
|
* @ author: richen
|
package/dist/index.mjs
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
],
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@commitlint/cli": "^17.x.x",
|
|
51
|
-
"@commitlint/config-conventional": "^17.x.x",
|
|
52
|
-
"@microsoft/api-documenter": "^7.x.x",
|
|
53
|
-
"@microsoft/api-extractor": "^7.x.x",
|
|
54
|
-
"@rollup/plugin-json": "^4.x.x",
|
|
55
|
-
"@types/cron": "^2.0.0",
|
|
56
|
-
"@types/jest": "^27.x.x",
|
|
57
|
-
"@types/koa": "^2.x.x",
|
|
58
|
-
"@types/node": "^16.x.x",
|
|
59
|
-
"@typescript-eslint/eslint-plugin": "^5.x.x",
|
|
60
|
-
"@typescript-eslint/parser": "^5.x.x",
|
|
61
|
-
"conventional-changelog-cli": "^2.x.x",
|
|
62
|
-
"copyfiles": "^2.x.x",
|
|
63
|
-
"del-cli": "^4.x.x",
|
|
64
|
-
"eslint": "^8.x.x",
|
|
65
|
-
"eslint-plugin-jest": "^26.x.x",
|
|
66
|
-
"husky": "^4.x.x",
|
|
67
|
-
"jest": "^28.x.x",
|
|
68
|
-
"jest-html-reporters": "^3.x.x",
|
|
69
|
-
"rollup": "^2.x.x",
|
|
70
|
-
"rollup-plugin-typescript2": "^0.x.x",
|
|
71
|
-
"standard-version": "^9.x.x",
|
|
72
|
-
"ts-jest": "^28.x.x",
|
|
73
|
-
"ts-node": "^10.x.x",
|
|
74
|
-
"typescript": "^4.x.x"
|
|
75
|
-
},
|
|
76
|
-
"dependencies": {
|
|
77
|
-
"cron": "^2.1.0",
|
|
78
|
-
"koatty_container": "^1.x.x",
|
|
79
|
-
"koatty_lib": "^1.x.x",
|
|
80
|
-
"koatty_logger": "^1.x.x",
|
|
81
|
-
"koatty_store": "^1.x.x",
|
|
82
|
-
"reflect-metadata": "^0.1.13",
|
|
83
|
-
"tslib": "^2.4.0"
|
|
84
|
-
},
|
|
85
|
-
"peerDependencies": {
|
|
86
|
-
"koatty_container": "^1.x.x",
|
|
87
|
-
"koatty_lib": "^1.x.x",
|
|
88
|
-
"koatty_logger": "^1.x.x",
|
|
89
|
-
"koatty_store": "^1.x.x"
|
|
2
|
+
"name": "koatty_schedule",
|
|
3
|
+
"version": "1.5.10",
|
|
4
|
+
"description": "Schedule for koatty.",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
|
|
7
|
+
"build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
|
|
8
|
+
"build:js": "del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
9
|
+
"build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
|
|
10
|
+
"build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
|
|
11
|
+
"eslint": "eslint --ext .ts,.js ./",
|
|
12
|
+
"prepublishOnly": "npm test && npm run build",
|
|
13
|
+
"prerelease": "npm test && npm run build",
|
|
14
|
+
"pub": "git push --follow-tags origin && npm publish",
|
|
15
|
+
"release": "standard-version",
|
|
16
|
+
"test": "npm run eslint && jest --passWithNoTests"
|
|
17
|
+
},
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"exports": {
|
|
20
|
+
"require": "./dist/index.js",
|
|
21
|
+
"import": "./dist/index.mjs"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/thinkkoa/koatty_schedule.git"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"schedule",
|
|
29
|
+
"koatty",
|
|
30
|
+
"thinkkoa"
|
|
31
|
+
],
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">10.0.0"
|
|
34
|
+
},
|
|
35
|
+
"author": {
|
|
36
|
+
"name": "richenlin",
|
|
37
|
+
"email": "richenlin@gmail.com"
|
|
38
|
+
},
|
|
39
|
+
"license": "BSD-3-Clause",
|
|
40
|
+
"bugs": {
|
|
41
|
+
"url": "https://github.com/thinkkoa/koatty_schedule/issues"
|
|
42
|
+
},
|
|
43
|
+
"homepage": "https://github.com/thinkkoa/koatty_schedule",
|
|
44
|
+
"maintainers": [
|
|
45
|
+
{
|
|
46
|
+
"name": "richenlin",
|
|
47
|
+
"email": "richenlin@gmail.com"
|
|
90
48
|
}
|
|
91
|
-
|
|
49
|
+
],
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@commitlint/cli": "^17.x.x",
|
|
52
|
+
"@commitlint/config-conventional": "^17.x.x",
|
|
53
|
+
"@microsoft/api-documenter": "^7.x.x",
|
|
54
|
+
"@microsoft/api-extractor": "^7.x.x",
|
|
55
|
+
"@rollup/plugin-json": "^6.x.x",
|
|
56
|
+
"@types/cron": "^2.x.x",
|
|
57
|
+
"@types/jest": "^29.x.x",
|
|
58
|
+
"@types/koa": "^2.x.x",
|
|
59
|
+
"@types/node": "^18.x.x",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^5.x.x",
|
|
61
|
+
"@typescript-eslint/parser": "^5.x.x",
|
|
62
|
+
"conventional-changelog-cli": "^2.x.x",
|
|
63
|
+
"copyfiles": "^2.x.x",
|
|
64
|
+
"del-cli": "^4.x.x",
|
|
65
|
+
"eslint": "^8.x.x",
|
|
66
|
+
"eslint-plugin-jest": "^27.x.x",
|
|
67
|
+
"husky": "^4.x.x",
|
|
68
|
+
"jest": "^29.x.x",
|
|
69
|
+
"jest-html-reporters": "^3.x.x",
|
|
70
|
+
"rollup": "^3.x.x",
|
|
71
|
+
"rollup-plugin-typescript2": "^0.x.x",
|
|
72
|
+
"standard-version": "^9.x.x",
|
|
73
|
+
"ts-jest": "^29.x.x",
|
|
74
|
+
"ts-node": "^10.x.x",
|
|
75
|
+
"typescript": "^4.x.x"
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"cron": "^2.2.0",
|
|
79
|
+
"koatty_container": "^1.x.x",
|
|
80
|
+
"koatty_lib": "^1.x.x",
|
|
81
|
+
"koatty_logger": "^2.x.x",
|
|
82
|
+
"koatty_store": "^1.x.x",
|
|
83
|
+
"tslib": "^2.4.1"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"koatty_container": "^1.x.x",
|
|
87
|
+
"koatty_lib": "^1.x.x",
|
|
88
|
+
"koatty_logger": "^2.x.x",
|
|
89
|
+
"koatty_store": "^1.x.x"
|
|
90
|
+
}
|
|
91
|
+
}
|
package/package.json
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
],
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@commitlint/cli": "^17.x.x",
|
|
51
|
-
"@commitlint/config-conventional": "^17.x.x",
|
|
52
|
-
"@microsoft/api-documenter": "^7.x.x",
|
|
53
|
-
"@microsoft/api-extractor": "^7.x.x",
|
|
54
|
-
"@rollup/plugin-json": "^4.x.x",
|
|
55
|
-
"@types/cron": "^2.0.0",
|
|
56
|
-
"@types/jest": "^27.x.x",
|
|
57
|
-
"@types/koa": "^2.x.x",
|
|
58
|
-
"@types/node": "^16.x.x",
|
|
59
|
-
"@typescript-eslint/eslint-plugin": "^5.x.x",
|
|
60
|
-
"@typescript-eslint/parser": "^5.x.x",
|
|
61
|
-
"conventional-changelog-cli": "^2.x.x",
|
|
62
|
-
"copyfiles": "^2.x.x",
|
|
63
|
-
"del-cli": "^4.x.x",
|
|
64
|
-
"eslint": "^8.x.x",
|
|
65
|
-
"eslint-plugin-jest": "^26.x.x",
|
|
66
|
-
"husky": "^4.x.x",
|
|
67
|
-
"jest": "^28.x.x",
|
|
68
|
-
"jest-html-reporters": "^3.x.x",
|
|
69
|
-
"rollup": "^2.x.x",
|
|
70
|
-
"rollup-plugin-typescript2": "^0.x.x",
|
|
71
|
-
"standard-version": "^9.x.x",
|
|
72
|
-
"ts-jest": "^28.x.x",
|
|
73
|
-
"ts-node": "^10.x.x",
|
|
74
|
-
"typescript": "^4.x.x"
|
|
75
|
-
},
|
|
76
|
-
"dependencies": {
|
|
77
|
-
"cron": "^2.1.0",
|
|
78
|
-
"koatty_container": "^1.x.x",
|
|
79
|
-
"koatty_lib": "^1.x.x",
|
|
80
|
-
"koatty_logger": "^1.x.x",
|
|
81
|
-
"koatty_store": "^1.x.x",
|
|
82
|
-
"reflect-metadata": "^0.1.13",
|
|
83
|
-
"tslib": "^2.4.0"
|
|
84
|
-
},
|
|
85
|
-
"peerDependencies": {
|
|
86
|
-
"koatty_container": "^1.x.x",
|
|
87
|
-
"koatty_lib": "^1.x.x",
|
|
88
|
-
"koatty_logger": "^1.x.x",
|
|
89
|
-
"koatty_store": "^1.x.x"
|
|
2
|
+
"name": "koatty_schedule",
|
|
3
|
+
"version": "1.5.10",
|
|
4
|
+
"description": "Schedule for koatty.",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
|
|
7
|
+
"build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
|
|
8
|
+
"build:js": "del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
9
|
+
"build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
|
|
10
|
+
"build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
|
|
11
|
+
"eslint": "eslint --ext .ts,.js ./",
|
|
12
|
+
"prepublishOnly": "npm test && npm run build",
|
|
13
|
+
"prerelease": "npm test && npm run build",
|
|
14
|
+
"pub": "git push --follow-tags origin && npm publish",
|
|
15
|
+
"release": "standard-version",
|
|
16
|
+
"test": "npm run eslint && jest --passWithNoTests"
|
|
17
|
+
},
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"exports": {
|
|
20
|
+
"require": "./dist/index.js",
|
|
21
|
+
"import": "./dist/index.mjs"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/thinkkoa/koatty_schedule.git"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"schedule",
|
|
29
|
+
"koatty",
|
|
30
|
+
"thinkkoa"
|
|
31
|
+
],
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">10.0.0"
|
|
34
|
+
},
|
|
35
|
+
"author": {
|
|
36
|
+
"name": "richenlin",
|
|
37
|
+
"email": "richenlin@gmail.com"
|
|
38
|
+
},
|
|
39
|
+
"license": "BSD-3-Clause",
|
|
40
|
+
"bugs": {
|
|
41
|
+
"url": "https://github.com/thinkkoa/koatty_schedule/issues"
|
|
42
|
+
},
|
|
43
|
+
"homepage": "https://github.com/thinkkoa/koatty_schedule",
|
|
44
|
+
"maintainers": [
|
|
45
|
+
{
|
|
46
|
+
"name": "richenlin",
|
|
47
|
+
"email": "richenlin@gmail.com"
|
|
90
48
|
}
|
|
91
|
-
|
|
49
|
+
],
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@commitlint/cli": "^17.x.x",
|
|
52
|
+
"@commitlint/config-conventional": "^17.x.x",
|
|
53
|
+
"@microsoft/api-documenter": "^7.x.x",
|
|
54
|
+
"@microsoft/api-extractor": "^7.x.x",
|
|
55
|
+
"@rollup/plugin-json": "^6.x.x",
|
|
56
|
+
"@types/cron": "^2.x.x",
|
|
57
|
+
"@types/jest": "^29.x.x",
|
|
58
|
+
"@types/koa": "^2.x.x",
|
|
59
|
+
"@types/node": "^18.x.x",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^5.x.x",
|
|
61
|
+
"@typescript-eslint/parser": "^5.x.x",
|
|
62
|
+
"conventional-changelog-cli": "^2.x.x",
|
|
63
|
+
"copyfiles": "^2.x.x",
|
|
64
|
+
"del-cli": "^4.x.x",
|
|
65
|
+
"eslint": "^8.x.x",
|
|
66
|
+
"eslint-plugin-jest": "^27.x.x",
|
|
67
|
+
"husky": "^4.x.x",
|
|
68
|
+
"jest": "^29.x.x",
|
|
69
|
+
"jest-html-reporters": "^3.x.x",
|
|
70
|
+
"rollup": "^3.x.x",
|
|
71
|
+
"rollup-plugin-typescript2": "^0.x.x",
|
|
72
|
+
"standard-version": "^9.x.x",
|
|
73
|
+
"ts-jest": "^29.x.x",
|
|
74
|
+
"ts-node": "^10.x.x",
|
|
75
|
+
"typescript": "^4.x.x"
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"cron": "^2.2.0",
|
|
79
|
+
"koatty_container": "^1.x.x",
|
|
80
|
+
"koatty_lib": "^1.x.x",
|
|
81
|
+
"koatty_logger": "^2.x.x",
|
|
82
|
+
"koatty_store": "^1.x.x",
|
|
83
|
+
"tslib": "^2.4.1"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"koatty_container": "^1.x.x",
|
|
87
|
+
"koatty_lib": "^1.x.x",
|
|
88
|
+
"koatty_logger": "^2.x.x",
|
|
89
|
+
"koatty_store": "^1.x.x"
|
|
90
|
+
}
|
|
91
|
+
}
|