cache-manager 5.7.4 → 5.7.5

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.
Files changed (2) hide show
  1. package/README.md +11 -9
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,13 +1,15 @@
1
+ [<img align="center" src="https://jaredwray.com/images/cacheable_white.svg" alt="keyv">](https://github.com/jaredwray/cacheable)
2
+
1
3
  # cache-manager
2
- [![codecov](https://codecov.io/gh/jaredwray/cache-manager/graph/badge.svg?token=lWZ9OBQ7GM)](https://codecov.io/gh/jaredwray/cache-manager)
3
- [![tests](https://github.com/jaredwray/cache-manager/actions/workflows/test.yml/badge.svg)](https://github.com/jaredwray/cache-manager/actions/workflows/test.yml)
4
- [![license](https://img.shields.io/github/license/jaredwray/cache-manager)](https://github.com/jaredwray/cache-manager/blob/main/LICENSE)
4
+ [![codecov](https://codecov.io/gh/jaredwray/cacheable/graph/badge.svg?token=lWZ9OBQ7GM)](https://codecov.io/gh/jaredwray/cacheable)
5
+ [![tests](https://github.com/jaredwray/cacheable/actions/workflows/tests.yml/badge.svg)](https://github.com/jaredwray/cacheable/actions/workflows/tests.yml)
6
+ [![license](https://img.shields.io/github/license/jaredwray/cacheable)](https://github.com/jaredwray/cacheable/blob/main/LICENSE)
5
7
  [![npm](https://img.shields.io/npm/dm/cache-manager)](https://npmjs.com/package/cache-manager)
6
8
  ![npm](https://img.shields.io/npm/v/cache-manager)
7
9
 
8
10
  # Flexible NodeJS cache module
9
11
 
10
- A cache module for nodejs that allows easy wrapping of functions in cache, tiered caches, and a consistent interface.
12
+ A cache module for nodejs that allows easy wrapping of functions in cache, tiered caches, and a consistent interface. This module is now part of the [Cacheable](https://cacheable.org) project.
11
13
 
12
14
  ## Table of Contents
13
15
  * [Features](#features)
@@ -92,9 +94,9 @@ await memoryCache.store.mdel('foo', 'foo2');
92
94
 
93
95
  You can use your own custom store by creating one with the same API as the built-in memory stores.
94
96
 
95
- - [Example Custom Store lru-cache](https://github.com/jaredwray/cache-manager/blob/main/packages/cache-manager/src/stores/memory.ts)
96
- - [Example Custom Store redis](https://github.com/jaredwray/cache-manager/tree/main/packages/cache-manager-redis-yet)
97
- - [Example Custom Store ioredis](https://github.com/jaredwray/cache-manager/tree/main/packages/cache-manager-ioredis-yet)
97
+ - [Example Custom Store lru-cache](https://github.com/jaredwray/cacheable/blob/main/packages/cache-manager/src/stores/memory.ts)
98
+ - [Example Custom Store redis](https://github.com/jaredwray/cacheable/tree/main/packages/cache-manager-redis-yet)
99
+ - [Example Custom Store ioredis](https://github.com/jaredwray/cacheable/tree/main/packages/cache-manager-ioredis-yet)
98
100
 
99
101
  #### Create single cache store synchronously
100
102
 
@@ -303,9 +305,9 @@ app.listen(port, () => {
303
305
 
304
306
  ### Official and updated to last version
305
307
 
306
- - [node-cache-manager-redis-yet](https://github.com/jaredwray/cache-manager/packages/cache-manager-redis-yet) (uses [node_redis](https://github.com/NodeRedis/node_redis))
308
+ - [node-cache-manager-redis-yet](https://github.com/jaredwray/cacheable/packages/cache-manager-redis-yet) (uses [node_redis](https://github.com/NodeRedis/node_redis))
307
309
 
308
- - [node-cache-manager-ioredis-yet](https://github.com/jaredwray/cache-manager/packages/cache-manager-ioredis-yet) (uses [ioredis](https://github.com/luin/ioredis))
310
+ - [node-cache-manager-ioredis-yet](https://github.com/jaredwray/cacheable/packages/cache-manager-ioredis-yet) (uses [ioredis](https://github.com/luin/ioredis))
309
311
 
310
312
  ### Third party
311
313
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cache-manager",
3
- "version": "5.7.4",
3
+ "version": "5.7.5",
4
4
  "description": "Cache module for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "https://github.com/jaredwray/cache-manager.git"
17
+ "url": "https://github.com/jaredwray/cacheable.git"
18
18
  },
19
19
  "keywords": [
20
20
  "cache",
@@ -49,11 +49,11 @@
49
49
  "@types/node": "^22.0.0",
50
50
  "@typescript-eslint/eslint-plugin": "^7.17.0",
51
51
  "@typescript-eslint/parser": "^7.17.0",
52
- "@vitest/coverage-v8": "^2.0.4",
52
+ "@vitest/coverage-v8": "^2.0.5",
53
53
  "eslint-config-xo-typescript": "^5.0.0",
54
54
  "rimraf": "^6.0.1",
55
55
  "typescript": "^5.5.4",
56
- "vitest": "^2.0.4",
56
+ "vitest": "^2.0.5",
57
57
  "xo": "^0.59.3"
58
58
  },
59
59
  "xo": {