cache-manager 6.0.0 → 6.0.1
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 +6 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -12,16 +12,16 @@ A cache module for NodeJS that allows easy wrapping of functions in cache, tiere
|
|
|
12
12
|
- Made with Typescript and compatible with [ESModules](https://nodejs.org/docs/latest-v14.x/api/esm.html).
|
|
13
13
|
- Easy way to wrap any function in cache, supports a mechanism to refresh expiring cache keys in background.
|
|
14
14
|
- Tiered caches -- data gets stored in each cache and fetched from the highest priority cache(s) first.
|
|
15
|
-
- Use with any [Keyv](https://keyv.org/)
|
|
15
|
+
- Use with any [Keyv](https://keyv.org/) compatible storage adapter.
|
|
16
16
|
- 100% test coverage via [vitest](https://github.com/vitest-dev/vitest).
|
|
17
17
|
|
|
18
|
-
We moved to using [Keyv](https://keyv.org/)
|
|
18
|
+
We moved to using [Keyv](https://keyv.org/) which are more actively maintained and have a larger community.
|
|
19
19
|
|
|
20
|
-
A special thanks to [Tim Phan](https://github.com/timphandev) who tooke `cache-manager` v5 and ported it to [Keyv](https://keyv.org/) which is the foundation of v6. 🎉 Another special thanks to
|
|
20
|
+
A special thanks to [Tim Phan](https://github.com/timphandev) who tooke `cache-manager` v5 and ported it to [Keyv](https://keyv.org/) which is the foundation of v6. 🎉 Another special thanks to [Doug Ayers](https://github.com/douglascayers) who wrote `promise-coalesce` which was used in v5 and now embedded in v6.
|
|
21
21
|
|
|
22
22
|
If you are looking for older documentation you can find it here:
|
|
23
|
-
* [v5](
|
|
24
|
-
* [v4](
|
|
23
|
+
* [v5 Documentation](https://github.com/jaredwray/cacheable/blob/main/packages/cache-manager/READMEv5.md)
|
|
24
|
+
* [v4 Documentation](https://github.com/jaredwray/cacheable/blob/main/packages/cache-manager/READMEv4.md)
|
|
25
25
|
|
|
26
26
|
## Table of Contents
|
|
27
27
|
* [Installation](#installation)
|
|
@@ -365,7 +365,7 @@ See unit tests in [`test/events.test.ts`](./test/events.test.ts) for more inform
|
|
|
365
365
|
|
|
366
366
|
## Update on `redis` and `ioredis` Support
|
|
367
367
|
|
|
368
|
-
We will not be supporting `cache-manager-ioredis-yet` or `cache-manager-redis-yet` in the future as we have moved to using `Keyv` as the storage adapter `@keyv/redis`.
|
|
368
|
+
We will not be supporting `cache-manager-ioredis-yet` or `cache-manager-redis-yet` in the future as we have moved to using `Keyv` as the storage adapter `@keyv/redis`.
|
|
369
369
|
|
|
370
370
|
## Using Legacy Storage Adapters
|
|
371
371
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cache-manager",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Cache Manager for Node.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"keyv": "^5.0.3"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@faker-js/faker": "^9.0.
|
|
56
|
-
"@types/node": "^22.
|
|
55
|
+
"@faker-js/faker": "^9.0.2",
|
|
56
|
+
"@types/node": "^22.6.1",
|
|
57
57
|
"@vitest/coverage-v8": "^2.1.1",
|
|
58
|
-
"cache-manager-redis-yet": "^5.1.
|
|
58
|
+
"cache-manager-redis-yet": "^5.1.5",
|
|
59
59
|
"rimraf": "^6.0.1",
|
|
60
60
|
"tsup": "^8.3.0",
|
|
61
61
|
"typescript": "^5.6.2",
|