koatty_store 1.5.6 → 1.6.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/.rollup.config.js +51 -51
- package/CHANGELOG.md +4 -0
- package/dist/index.d.ts +100 -35
- package/dist/index.js +1322 -1345
- package/dist/index.mjs +1301 -1315
- package/dist/package.json +92 -89
- package/package.json +92 -89
package/dist/package.json
CHANGED
|
@@ -1,92 +1,95 @@
|
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"@commitlint/config-conventional": "^17.x.x",
|
|
58
|
-
"@microsoft/api-documenter": "^7.x.x",
|
|
59
|
-
"@microsoft/api-extractor": "^7.x.x",
|
|
60
|
-
"@rollup/plugin-json": "^4.x.x",
|
|
61
|
-
"@types/jest": "^27.x.x",
|
|
62
|
-
"@types/koa": "^2.x.x",
|
|
63
|
-
"@types/node": "^16.x.x",
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^5.x.x",
|
|
65
|
-
"@typescript-eslint/parser": "^5.x.x",
|
|
66
|
-
"conventional-changelog-cli": "^2.x.x",
|
|
67
|
-
"copyfiles": "^2.x.x",
|
|
68
|
-
"del-cli": "^4.x.x",
|
|
69
|
-
"eslint": "^8.x.x",
|
|
70
|
-
"eslint-plugin-jest": "^26.x.x",
|
|
71
|
-
"husky": "^4.x.x",
|
|
72
|
-
"jest": "^28.x.x",
|
|
73
|
-
"jest-html-reporters": "^3.x.x",
|
|
74
|
-
"rollup": "^2.x.x",
|
|
75
|
-
"rollup-plugin-typescript2": "^0.x.x",
|
|
76
|
-
"standard-version": "^9.x.x",
|
|
77
|
-
"ts-jest": "^28.x.x",
|
|
78
|
-
"ts-node": "^10.x.x",
|
|
79
|
-
"typescript": "^4.x.x"
|
|
80
|
-
},
|
|
81
|
-
"dependencies": {
|
|
82
|
-
"@types/ioredis": "^4.x.x",
|
|
83
|
-
"generic-pool": "^3.9.0",
|
|
84
|
-
"ioredis": "^4.28.5",
|
|
85
|
-
"koatty_lib": "^1.x.x",
|
|
86
|
-
"koatty_logger": "^1.x.x"
|
|
87
|
-
},
|
|
88
|
-
"peerDependencies": {
|
|
89
|
-
"koatty_lib": "^1.x.x",
|
|
90
|
-
"koatty_logger": "^1.x.x"
|
|
2
|
+
"name": "koatty_store",
|
|
3
|
+
"version": "1.6.0",
|
|
4
|
+
"description": "Cache store 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
|
+
"release:pre": "npm run release -- --prerelease",
|
|
17
|
+
"release:major": "npm run release -- --release-as major",
|
|
18
|
+
"release:minor": "npm run release -- --release-as minor",
|
|
19
|
+
"test": "npm run eslint && jest --passWithNoTests"
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist/index.js",
|
|
22
|
+
"exports": {
|
|
23
|
+
"require": "./dist/index.js",
|
|
24
|
+
"import": "./dist/index.mjs"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/koatty/koatty_store.git"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"web",
|
|
32
|
+
"typescript",
|
|
33
|
+
"framework",
|
|
34
|
+
"mvc",
|
|
35
|
+
"koa2",
|
|
36
|
+
"restful",
|
|
37
|
+
"agile",
|
|
38
|
+
"koatty_store",
|
|
39
|
+
"koatty"
|
|
40
|
+
],
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">10.0.0"
|
|
43
|
+
},
|
|
44
|
+
"author": {
|
|
45
|
+
"name": "richenlin",
|
|
46
|
+
"email": "richenlin@gmail.com"
|
|
47
|
+
},
|
|
48
|
+
"license": "BSD-3-Clause",
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/koatty/koatty_store/issues"
|
|
51
|
+
},
|
|
52
|
+
"homepage": "https://github.com/koatty/koatty_store",
|
|
53
|
+
"maintainers": [
|
|
54
|
+
{
|
|
55
|
+
"name": "richenlin",
|
|
56
|
+
"email": "richenlin@gmail.com"
|
|
91
57
|
}
|
|
58
|
+
],
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@commitlint/cli": "^17.x.x",
|
|
61
|
+
"@commitlint/config-conventional": "^17.x.x",
|
|
62
|
+
"@microsoft/api-documenter": "^7.x.x",
|
|
63
|
+
"@microsoft/api-extractor": "^7.x.x",
|
|
64
|
+
"@rollup/plugin-json": "^6.x.x",
|
|
65
|
+
"@types/jest": "^29.x.x",
|
|
66
|
+
"@types/koa": "^2.x.x",
|
|
67
|
+
"@types/node": "^18.x.x",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^5.x.x",
|
|
69
|
+
"@typescript-eslint/parser": "^5.x.x",
|
|
70
|
+
"conventional-changelog-cli": "^2.x.x",
|
|
71
|
+
"copyfiles": "^2.x.x",
|
|
72
|
+
"del-cli": "^4.x.x",
|
|
73
|
+
"eslint": "^8.x.x",
|
|
74
|
+
"eslint-plugin-jest": "^27.x.x",
|
|
75
|
+
"husky": "^4.x.x",
|
|
76
|
+
"jest": "^29.x.x",
|
|
77
|
+
"jest-html-reporters": "^3.x.x",
|
|
78
|
+
"rollup": "^3.x.x",
|
|
79
|
+
"rollup-plugin-typescript2": "^0.x.x",
|
|
80
|
+
"standard-version": "^9.x.x",
|
|
81
|
+
"ts-jest": "^29.x.x",
|
|
82
|
+
"ts-node": "^10.x.x",
|
|
83
|
+
"typescript": "^4.x.x"
|
|
84
|
+
},
|
|
85
|
+
"dependencies": {
|
|
86
|
+
"generic-pool": "^3.9.0",
|
|
87
|
+
"ioredis": "^5.3.1",
|
|
88
|
+
"koatty_lib": "^1.x.x",
|
|
89
|
+
"koatty_logger": "^2.x.x"
|
|
90
|
+
},
|
|
91
|
+
"peerDependencies": {
|
|
92
|
+
"koatty_lib": "^1.x.x",
|
|
93
|
+
"koatty_logger": "^2.x.x"
|
|
94
|
+
}
|
|
92
95
|
}
|
package/package.json
CHANGED
|
@@ -1,92 +1,95 @@
|
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"@commitlint/config-conventional": "^17.x.x",
|
|
58
|
-
"@microsoft/api-documenter": "^7.x.x",
|
|
59
|
-
"@microsoft/api-extractor": "^7.x.x",
|
|
60
|
-
"@rollup/plugin-json": "^4.x.x",
|
|
61
|
-
"@types/jest": "^27.x.x",
|
|
62
|
-
"@types/koa": "^2.x.x",
|
|
63
|
-
"@types/node": "^16.x.x",
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^5.x.x",
|
|
65
|
-
"@typescript-eslint/parser": "^5.x.x",
|
|
66
|
-
"conventional-changelog-cli": "^2.x.x",
|
|
67
|
-
"copyfiles": "^2.x.x",
|
|
68
|
-
"del-cli": "^4.x.x",
|
|
69
|
-
"eslint": "^8.x.x",
|
|
70
|
-
"eslint-plugin-jest": "^26.x.x",
|
|
71
|
-
"husky": "^4.x.x",
|
|
72
|
-
"jest": "^28.x.x",
|
|
73
|
-
"jest-html-reporters": "^3.x.x",
|
|
74
|
-
"rollup": "^2.x.x",
|
|
75
|
-
"rollup-plugin-typescript2": "^0.x.x",
|
|
76
|
-
"standard-version": "^9.x.x",
|
|
77
|
-
"ts-jest": "^28.x.x",
|
|
78
|
-
"ts-node": "^10.x.x",
|
|
79
|
-
"typescript": "^4.x.x"
|
|
80
|
-
},
|
|
81
|
-
"dependencies": {
|
|
82
|
-
"@types/ioredis": "^4.x.x",
|
|
83
|
-
"generic-pool": "^3.9.0",
|
|
84
|
-
"ioredis": "^4.28.5",
|
|
85
|
-
"koatty_lib": "^1.x.x",
|
|
86
|
-
"koatty_logger": "^1.x.x"
|
|
87
|
-
},
|
|
88
|
-
"peerDependencies": {
|
|
89
|
-
"koatty_lib": "^1.x.x",
|
|
90
|
-
"koatty_logger": "^1.x.x"
|
|
2
|
+
"name": "koatty_store",
|
|
3
|
+
"version": "1.6.0",
|
|
4
|
+
"description": "Cache store 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
|
+
"release:pre": "npm run release -- --prerelease",
|
|
17
|
+
"release:major": "npm run release -- --release-as major",
|
|
18
|
+
"release:minor": "npm run release -- --release-as minor",
|
|
19
|
+
"test": "npm run eslint && jest --passWithNoTests"
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist/index.js",
|
|
22
|
+
"exports": {
|
|
23
|
+
"require": "./dist/index.js",
|
|
24
|
+
"import": "./dist/index.mjs"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/koatty/koatty_store.git"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"web",
|
|
32
|
+
"typescript",
|
|
33
|
+
"framework",
|
|
34
|
+
"mvc",
|
|
35
|
+
"koa2",
|
|
36
|
+
"restful",
|
|
37
|
+
"agile",
|
|
38
|
+
"koatty_store",
|
|
39
|
+
"koatty"
|
|
40
|
+
],
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">10.0.0"
|
|
43
|
+
},
|
|
44
|
+
"author": {
|
|
45
|
+
"name": "richenlin",
|
|
46
|
+
"email": "richenlin@gmail.com"
|
|
47
|
+
},
|
|
48
|
+
"license": "BSD-3-Clause",
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/koatty/koatty_store/issues"
|
|
51
|
+
},
|
|
52
|
+
"homepage": "https://github.com/koatty/koatty_store",
|
|
53
|
+
"maintainers": [
|
|
54
|
+
{
|
|
55
|
+
"name": "richenlin",
|
|
56
|
+
"email": "richenlin@gmail.com"
|
|
91
57
|
}
|
|
58
|
+
],
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@commitlint/cli": "^17.x.x",
|
|
61
|
+
"@commitlint/config-conventional": "^17.x.x",
|
|
62
|
+
"@microsoft/api-documenter": "^7.x.x",
|
|
63
|
+
"@microsoft/api-extractor": "^7.x.x",
|
|
64
|
+
"@rollup/plugin-json": "^6.x.x",
|
|
65
|
+
"@types/jest": "^29.x.x",
|
|
66
|
+
"@types/koa": "^2.x.x",
|
|
67
|
+
"@types/node": "^18.x.x",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^5.x.x",
|
|
69
|
+
"@typescript-eslint/parser": "^5.x.x",
|
|
70
|
+
"conventional-changelog-cli": "^2.x.x",
|
|
71
|
+
"copyfiles": "^2.x.x",
|
|
72
|
+
"del-cli": "^4.x.x",
|
|
73
|
+
"eslint": "^8.x.x",
|
|
74
|
+
"eslint-plugin-jest": "^27.x.x",
|
|
75
|
+
"husky": "^4.x.x",
|
|
76
|
+
"jest": "^29.x.x",
|
|
77
|
+
"jest-html-reporters": "^3.x.x",
|
|
78
|
+
"rollup": "^3.x.x",
|
|
79
|
+
"rollup-plugin-typescript2": "^0.x.x",
|
|
80
|
+
"standard-version": "^9.x.x",
|
|
81
|
+
"ts-jest": "^29.x.x",
|
|
82
|
+
"ts-node": "^10.x.x",
|
|
83
|
+
"typescript": "^4.x.x"
|
|
84
|
+
},
|
|
85
|
+
"dependencies": {
|
|
86
|
+
"generic-pool": "^3.9.0",
|
|
87
|
+
"ioredis": "^5.3.1",
|
|
88
|
+
"koatty_lib": "^1.x.x",
|
|
89
|
+
"koatty_logger": "^2.x.x"
|
|
90
|
+
},
|
|
91
|
+
"peerDependencies": {
|
|
92
|
+
"koatty_lib": "^1.x.x",
|
|
93
|
+
"koatty_logger": "^2.x.x"
|
|
94
|
+
}
|
|
92
95
|
}
|