koatty_store 1.7.0 → 1.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.
- package/.rollup.config.js +59 -59
- package/CHANGELOG.md +94 -27
- package/LICENSE +29 -29
- package/README.md +373 -2
- package/dist/LICENSE +29 -29
- package/dist/README.md +373 -2
- package/dist/index.d.ts +318 -99
- package/dist/index.js +902 -251
- package/dist/index.mjs +902 -251
- package/dist/package.json +107 -103
- package/package.json +107 -103
package/dist/package.json
CHANGED
|
@@ -1,103 +1,107 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "koatty_store",
|
|
3
|
-
"version": "1.
|
|
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 && npx copyfiles package.json LICENSE README.md dist/",
|
|
8
|
-
"build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
9
|
-
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
|
10
|
-
"build:dts": "npx tsc && npx api-extractor run --local --verbose",
|
|
11
|
-
"eslint": "eslint --ext .ts,.js ./",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
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
|
-
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"@rollup/plugin-
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"@types/
|
|
71
|
-
"@types/
|
|
72
|
-
"@types/
|
|
73
|
-
"@types/node": "^22.x.x",
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^8.x.x",
|
|
75
|
-
"@typescript-eslint/parser": "^8.x.x",
|
|
76
|
-
"conventional-changelog-cli": "^5.x.x",
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"jest": "^
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"rollup
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
}
|
|
103
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "koatty_store",
|
|
3
|
+
"version": "1.9.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 && npx copyfiles package.json LICENSE README.md dist/",
|
|
8
|
+
"build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
9
|
+
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
|
10
|
+
"build:dts": "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
|
+
"types": "./dist/index.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/koatty/koatty_store.git"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"web",
|
|
33
|
+
"typescript",
|
|
34
|
+
"framework",
|
|
35
|
+
"mvc",
|
|
36
|
+
"koa2",
|
|
37
|
+
"restful",
|
|
38
|
+
"agile",
|
|
39
|
+
"koatty_store",
|
|
40
|
+
"koatty"
|
|
41
|
+
],
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">10.0.0"
|
|
44
|
+
},
|
|
45
|
+
"author": {
|
|
46
|
+
"name": "richenlin",
|
|
47
|
+
"email": "richenlin@gmail.com"
|
|
48
|
+
},
|
|
49
|
+
"license": "BSD-3-Clause",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/koatty/koatty_store/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/koatty/koatty_store",
|
|
54
|
+
"maintainers": [
|
|
55
|
+
{
|
|
56
|
+
"name": "richenlin",
|
|
57
|
+
"email": "richenlin@gmail.com"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@commitlint/cli": "^19.x.x",
|
|
62
|
+
"@commitlint/config-conventional": "^19.x.x",
|
|
63
|
+
"@microsoft/api-documenter": "^7.x.x",
|
|
64
|
+
"@microsoft/api-extractor": "^7.x.x",
|
|
65
|
+
"@rollup/plugin-commonjs": "^28.x.x",
|
|
66
|
+
"@rollup/plugin-json": "^6.x.x",
|
|
67
|
+
"@rollup/plugin-node-resolve": "^15.x.x",
|
|
68
|
+
"@types/async-lock": "^1.4.2",
|
|
69
|
+
"@types/jest": "^29.x.x",
|
|
70
|
+
"@types/koa": "^2.x.x",
|
|
71
|
+
"@types/lodash": "^4.x.x",
|
|
72
|
+
"@types/lru-cache": "^7.10.9",
|
|
73
|
+
"@types/node": "^22.x.x",
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "^8.x.x",
|
|
75
|
+
"@typescript-eslint/parser": "^8.x.x",
|
|
76
|
+
"conventional-changelog-cli": "^5.x.x",
|
|
77
|
+
"copyfiles": "^2.x.x",
|
|
78
|
+
"del-cli": "^6.x.x",
|
|
79
|
+
"eslint": "^8.x.x",
|
|
80
|
+
"eslint-plugin-jest": "^28.x.x",
|
|
81
|
+
"husky": "^4.x.x",
|
|
82
|
+
"jest": "^29.x.x",
|
|
83
|
+
"jest-html-reporters": "^3.x.x",
|
|
84
|
+
"reflect-metadata": "^0.x.x",
|
|
85
|
+
"rollup": "^4.x.x",
|
|
86
|
+
"rollup-plugin-delete": "^2.x.x",
|
|
87
|
+
"rollup-plugin-typescript2": "^0.x.x",
|
|
88
|
+
"standard-version": "^9.x.x",
|
|
89
|
+
"ts-jest": "^29.x.x",
|
|
90
|
+
"ts-node": "^10.x.x",
|
|
91
|
+
"tslib": "^2.x.x",
|
|
92
|
+
"typescript": "^5.x.x"
|
|
93
|
+
},
|
|
94
|
+
"dependencies": {
|
|
95
|
+
"async-lock": "^1.4.1",
|
|
96
|
+
"generic-pool": "^3.9.0",
|
|
97
|
+
"ioredis": "^5.8.2",
|
|
98
|
+
"koatty_lib": "^1.x.x",
|
|
99
|
+
"koatty_logger": "^2.x.x",
|
|
100
|
+
"lodash": "^4.17.21",
|
|
101
|
+
"lru-cache": "^11.2.2"
|
|
102
|
+
},
|
|
103
|
+
"peerDependencies": {
|
|
104
|
+
"koatty_lib": "^1.x.x",
|
|
105
|
+
"koatty_logger": "^2.x.x"
|
|
106
|
+
}
|
|
107
|
+
}
|
package/package.json
CHANGED
|
@@ -1,103 +1,107 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "koatty_store",
|
|
3
|
-
"version": "1.
|
|
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 && npx copyfiles package.json LICENSE README.md dist/",
|
|
8
|
-
"build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
9
|
-
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
|
10
|
-
"build:dts": "npx tsc && npx api-extractor run --local --verbose",
|
|
11
|
-
"eslint": "eslint --ext .ts,.js ./",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
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
|
-
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"@rollup/plugin-
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"@types/
|
|
71
|
-
"@types/
|
|
72
|
-
"@types/
|
|
73
|
-
"@types/node": "^22.x.x",
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^8.x.x",
|
|
75
|
-
"@typescript-eslint/parser": "^8.x.x",
|
|
76
|
-
"conventional-changelog-cli": "^5.x.x",
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"jest": "^
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"rollup
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
}
|
|
103
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "koatty_store",
|
|
3
|
+
"version": "1.9.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 && npx copyfiles package.json LICENSE README.md dist/",
|
|
8
|
+
"build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
9
|
+
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
|
10
|
+
"build:dts": "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
|
+
"types": "./dist/index.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/koatty/koatty_store.git"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"web",
|
|
33
|
+
"typescript",
|
|
34
|
+
"framework",
|
|
35
|
+
"mvc",
|
|
36
|
+
"koa2",
|
|
37
|
+
"restful",
|
|
38
|
+
"agile",
|
|
39
|
+
"koatty_store",
|
|
40
|
+
"koatty"
|
|
41
|
+
],
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">10.0.0"
|
|
44
|
+
},
|
|
45
|
+
"author": {
|
|
46
|
+
"name": "richenlin",
|
|
47
|
+
"email": "richenlin@gmail.com"
|
|
48
|
+
},
|
|
49
|
+
"license": "BSD-3-Clause",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/koatty/koatty_store/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/koatty/koatty_store",
|
|
54
|
+
"maintainers": [
|
|
55
|
+
{
|
|
56
|
+
"name": "richenlin",
|
|
57
|
+
"email": "richenlin@gmail.com"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@commitlint/cli": "^19.x.x",
|
|
62
|
+
"@commitlint/config-conventional": "^19.x.x",
|
|
63
|
+
"@microsoft/api-documenter": "^7.x.x",
|
|
64
|
+
"@microsoft/api-extractor": "^7.x.x",
|
|
65
|
+
"@rollup/plugin-commonjs": "^28.x.x",
|
|
66
|
+
"@rollup/plugin-json": "^6.x.x",
|
|
67
|
+
"@rollup/plugin-node-resolve": "^15.x.x",
|
|
68
|
+
"@types/async-lock": "^1.4.2",
|
|
69
|
+
"@types/jest": "^29.x.x",
|
|
70
|
+
"@types/koa": "^2.x.x",
|
|
71
|
+
"@types/lodash": "^4.x.x",
|
|
72
|
+
"@types/lru-cache": "^7.10.9",
|
|
73
|
+
"@types/node": "^22.x.x",
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "^8.x.x",
|
|
75
|
+
"@typescript-eslint/parser": "^8.x.x",
|
|
76
|
+
"conventional-changelog-cli": "^5.x.x",
|
|
77
|
+
"copyfiles": "^2.x.x",
|
|
78
|
+
"del-cli": "^6.x.x",
|
|
79
|
+
"eslint": "^8.x.x",
|
|
80
|
+
"eslint-plugin-jest": "^28.x.x",
|
|
81
|
+
"husky": "^4.x.x",
|
|
82
|
+
"jest": "^29.x.x",
|
|
83
|
+
"jest-html-reporters": "^3.x.x",
|
|
84
|
+
"reflect-metadata": "^0.x.x",
|
|
85
|
+
"rollup": "^4.x.x",
|
|
86
|
+
"rollup-plugin-delete": "^2.x.x",
|
|
87
|
+
"rollup-plugin-typescript2": "^0.x.x",
|
|
88
|
+
"standard-version": "^9.x.x",
|
|
89
|
+
"ts-jest": "^29.x.x",
|
|
90
|
+
"ts-node": "^10.x.x",
|
|
91
|
+
"tslib": "^2.x.x",
|
|
92
|
+
"typescript": "^5.x.x"
|
|
93
|
+
},
|
|
94
|
+
"dependencies": {
|
|
95
|
+
"async-lock": "^1.4.1",
|
|
96
|
+
"generic-pool": "^3.9.0",
|
|
97
|
+
"ioredis": "^5.8.2",
|
|
98
|
+
"koatty_lib": "^1.x.x",
|
|
99
|
+
"koatty_logger": "^2.x.x",
|
|
100
|
+
"lodash": "^4.17.21",
|
|
101
|
+
"lru-cache": "^11.2.2"
|
|
102
|
+
},
|
|
103
|
+
"peerDependencies": {
|
|
104
|
+
"koatty_lib": "^1.x.x",
|
|
105
|
+
"koatty_logger": "^2.x.x"
|
|
106
|
+
}
|
|
107
|
+
}
|