@cacheable/memory 1.0.0 → 2.0.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/README.md +2 -2
- package/dist/index.cjs +1 -665
- package/dist/index.d.cts +37 -2
- package/dist/index.d.ts +37 -2
- package/dist/index.js +1 -643
- package/package.json +18 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cacheable/memory",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "High Performance In-Memory Cache for Node.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -21,61 +21,48 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"private": false,
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@types/eslint": "^9.6.1",
|
|
28
|
-
"@types/node": "^24.1.0",
|
|
24
|
+
"@biomejs/biome": "^2.2.2",
|
|
25
|
+
"@faker-js/faker": "^10.0.0",
|
|
26
|
+
"@types/node": "^24.3.0",
|
|
29
27
|
"@vitest/coverage-v8": "^3.2.4",
|
|
30
28
|
"lru-cache": "^11.1.0",
|
|
31
29
|
"rimraf": "^6.0.1",
|
|
32
30
|
"tsup": "^8.5.0",
|
|
33
|
-
"typescript": "^5.
|
|
34
|
-
"vitest": "^3.2.4"
|
|
35
|
-
"xo": "^1.2.1"
|
|
31
|
+
"typescript": "^5.9.2",
|
|
32
|
+
"vitest": "^3.2.4"
|
|
36
33
|
},
|
|
37
34
|
"dependencies": {
|
|
38
35
|
"@keyv/bigmap": "^1.0.0",
|
|
39
|
-
"hookified": "^1.
|
|
40
|
-
"keyv": "^5.
|
|
41
|
-
"@cacheable/memoize": "^
|
|
42
|
-
"@cacheable/utils": "^
|
|
36
|
+
"hookified": "^1.12.0",
|
|
37
|
+
"keyv": "^5.5.0",
|
|
38
|
+
"@cacheable/memoize": "^2.0.0",
|
|
39
|
+
"@cacheable/utils": "^2.0.0"
|
|
43
40
|
},
|
|
44
41
|
"keywords": [
|
|
45
42
|
"cacheable",
|
|
46
43
|
"high performance",
|
|
47
|
-
"layer 1 caching",
|
|
48
|
-
"layer 2 caching",
|
|
49
44
|
"distributed caching",
|
|
50
45
|
"Keyv storage engine",
|
|
46
|
+
"keyv",
|
|
51
47
|
"memory caching",
|
|
52
48
|
"LRU cache",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"offline support",
|
|
56
|
-
"distributed sync",
|
|
57
|
-
"secondary store",
|
|
58
|
-
"primary store",
|
|
59
|
-
"non-blocking operations",
|
|
60
|
-
"cache statistics",
|
|
61
|
-
"layered caching",
|
|
62
|
-
"fault tolerant",
|
|
49
|
+
"memory",
|
|
50
|
+
"in-memory",
|
|
63
51
|
"scalable cache",
|
|
64
52
|
"in-memory cache",
|
|
65
|
-
"distributed cache",
|
|
66
53
|
"lruSize",
|
|
67
|
-
"lru"
|
|
68
|
-
"multi-tier cache"
|
|
54
|
+
"lru"
|
|
69
55
|
],
|
|
70
56
|
"files": [
|
|
71
57
|
"dist",
|
|
72
58
|
"LICENSE"
|
|
73
59
|
],
|
|
74
60
|
"scripts": {
|
|
75
|
-
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
|
|
61
|
+
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean --minify",
|
|
76
62
|
"prepublish": "pnpm build",
|
|
77
|
-
"
|
|
78
|
-
"test
|
|
63
|
+
"lint": "biome check --write --error-on-warnings",
|
|
64
|
+
"test": "pnpm lint && vitest run --coverage",
|
|
65
|
+
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
|
|
79
66
|
"clean": "rimraf ./dist ./coverage ./node_modules"
|
|
80
67
|
}
|
|
81
68
|
}
|