koatty_store 1.6.2 → 1.8.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/dist/package.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "name": "koatty_store",
3
- "version": "1.6.2",
3
+ "version": "1.8.0",
4
4
  "description": "Cache store for koatty.",
5
5
  "scripts": {
6
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",
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
11
  "eslint": "eslint --ext .ts,.js ./",
12
- "lock": "npm i --package-lock-only",
13
12
  "prepublishOnly": "npm test && npm run build",
14
13
  "prerelease": "npm test && npm run build",
15
14
  "pub": "git push --follow-tags origin && npm publish",
@@ -22,7 +21,8 @@
22
21
  "main": "./dist/index.js",
23
22
  "exports": {
24
23
  "require": "./dist/index.js",
25
- "import": "./dist/index.mjs"
24
+ "import": "./dist/index.mjs",
25
+ "types": "./dist/index.d.ts"
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",
@@ -58,39 +58,45 @@
58
58
  }
59
59
  ],
60
60
  "devDependencies": {
61
- "@commitlint/cli": "^17.x.x",
62
- "@commitlint/config-conventional": "^17.x.x",
61
+ "@commitlint/cli": "^19.x.x",
62
+ "@commitlint/config-conventional": "^19.x.x",
63
63
  "@microsoft/api-documenter": "^7.x.x",
64
64
  "@microsoft/api-extractor": "^7.x.x",
65
+ "@rollup/plugin-commonjs": "^28.x.x",
65
66
  "@rollup/plugin-json": "^6.x.x",
67
+ "@rollup/plugin-node-resolve": "^15.x.x",
66
68
  "@types/jest": "^29.x.x",
67
69
  "@types/koa": "^2.x.x",
68
70
  "@types/lodash": "^4.x.x",
69
- "@types/node": "^18.x.x",
70
- "@typescript-eslint/eslint-plugin": "^5.x.x",
71
- "@typescript-eslint/parser": "^5.x.x",
72
- "conventional-changelog-cli": "^2.x.x",
71
+ "@types/lru-cache": "^7.10.9",
72
+ "@types/node": "^22.x.x",
73
+ "@typescript-eslint/eslint-plugin": "^8.x.x",
74
+ "@typescript-eslint/parser": "^8.x.x",
75
+ "conventional-changelog-cli": "^5.x.x",
73
76
  "copyfiles": "^2.x.x",
74
- "del-cli": "^4.x.x",
77
+ "del-cli": "^6.x.x",
75
78
  "eslint": "^8.x.x",
76
- "eslint-plugin-jest": "^27.x.x",
79
+ "eslint-plugin-jest": "^28.x.x",
77
80
  "husky": "^4.x.x",
78
81
  "jest": "^29.x.x",
79
82
  "jest-html-reporters": "^3.x.x",
80
- "rollup": "^3.x.x",
83
+ "reflect-metadata": "^0.x.x",
84
+ "rollup": "^4.x.x",
85
+ "rollup-plugin-delete": "^2.x.x",
81
86
  "rollup-plugin-typescript2": "^0.x.x",
82
87
  "standard-version": "^9.x.x",
83
88
  "ts-jest": "^29.x.x",
84
89
  "ts-node": "^10.x.x",
85
90
  "tslib": "^2.x.x",
86
- "typescript": "^4.x.x"
91
+ "typescript": "^5.x.x"
87
92
  },
88
93
  "dependencies": {
89
94
  "generic-pool": "^3.9.0",
90
- "ioredis": "^5.3.2",
95
+ "ioredis": "^5.4.2",
91
96
  "koatty_lib": "^1.x.x",
92
97
  "koatty_logger": "^2.x.x",
93
- "lodash": "^4.17.21"
98
+ "lodash": "^4.17.21",
99
+ "lru-cache": "^11.1.0"
94
100
  },
95
101
  "peerDependencies": {
96
102
  "koatty_lib": "^1.x.x",
package/package.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "name": "koatty_store",
3
- "version": "1.6.2",
3
+ "version": "1.8.0",
4
4
  "description": "Cache store for koatty.",
5
5
  "scripts": {
6
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",
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
11
  "eslint": "eslint --ext .ts,.js ./",
12
- "lock": "npm i --package-lock-only",
13
12
  "prepublishOnly": "npm test && npm run build",
14
13
  "prerelease": "npm test && npm run build",
15
14
  "pub": "git push --follow-tags origin && npm publish",
@@ -22,7 +21,8 @@
22
21
  "main": "./dist/index.js",
23
22
  "exports": {
24
23
  "require": "./dist/index.js",
25
- "import": "./dist/index.mjs"
24
+ "import": "./dist/index.mjs",
25
+ "types": "./dist/index.d.ts"
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",
@@ -58,39 +58,45 @@
58
58
  }
59
59
  ],
60
60
  "devDependencies": {
61
- "@commitlint/cli": "^17.x.x",
62
- "@commitlint/config-conventional": "^17.x.x",
61
+ "@commitlint/cli": "^19.x.x",
62
+ "@commitlint/config-conventional": "^19.x.x",
63
63
  "@microsoft/api-documenter": "^7.x.x",
64
64
  "@microsoft/api-extractor": "^7.x.x",
65
+ "@rollup/plugin-commonjs": "^28.x.x",
65
66
  "@rollup/plugin-json": "^6.x.x",
67
+ "@rollup/plugin-node-resolve": "^15.x.x",
66
68
  "@types/jest": "^29.x.x",
67
69
  "@types/koa": "^2.x.x",
68
70
  "@types/lodash": "^4.x.x",
69
- "@types/node": "^18.x.x",
70
- "@typescript-eslint/eslint-plugin": "^5.x.x",
71
- "@typescript-eslint/parser": "^5.x.x",
72
- "conventional-changelog-cli": "^2.x.x",
71
+ "@types/lru-cache": "^7.10.9",
72
+ "@types/node": "^22.x.x",
73
+ "@typescript-eslint/eslint-plugin": "^8.x.x",
74
+ "@typescript-eslint/parser": "^8.x.x",
75
+ "conventional-changelog-cli": "^5.x.x",
73
76
  "copyfiles": "^2.x.x",
74
- "del-cli": "^4.x.x",
77
+ "del-cli": "^6.x.x",
75
78
  "eslint": "^8.x.x",
76
- "eslint-plugin-jest": "^27.x.x",
79
+ "eslint-plugin-jest": "^28.x.x",
77
80
  "husky": "^4.x.x",
78
81
  "jest": "^29.x.x",
79
82
  "jest-html-reporters": "^3.x.x",
80
- "rollup": "^3.x.x",
83
+ "reflect-metadata": "^0.x.x",
84
+ "rollup": "^4.x.x",
85
+ "rollup-plugin-delete": "^2.x.x",
81
86
  "rollup-plugin-typescript2": "^0.x.x",
82
87
  "standard-version": "^9.x.x",
83
88
  "ts-jest": "^29.x.x",
84
89
  "ts-node": "^10.x.x",
85
90
  "tslib": "^2.x.x",
86
- "typescript": "^4.x.x"
91
+ "typescript": "^5.x.x"
87
92
  },
88
93
  "dependencies": {
89
94
  "generic-pool": "^3.9.0",
90
- "ioredis": "^5.3.2",
95
+ "ioredis": "^5.4.2",
91
96
  "koatty_lib": "^1.x.x",
92
97
  "koatty_logger": "^2.x.x",
93
- "lodash": "^4.17.21"
98
+ "lodash": "^4.17.21",
99
+ "lru-cache": "^11.1.0"
94
100
  },
95
101
  "peerDependencies": {
96
102
  "koatty_lib": "^1.x.x",