@tachybase/cache 0.23.40 → 0.23.47
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.
|
@@ -23,7 +23,6 @@ __export(memory_bloom_filter_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(memory_bloom_filter_exports);
|
|
24
24
|
var import_bloom_filters = require("bloom-filters");
|
|
25
25
|
const _MemoryBloomFilter = class _MemoryBloomFilter {
|
|
26
|
-
cache;
|
|
27
26
|
constructor(cache) {
|
|
28
27
|
this.cache = cache;
|
|
29
28
|
}
|
package/lib/cache-manager.js
CHANGED
|
@@ -40,11 +40,10 @@ var import_redis_bloom_filter = require("./bloom-filter/redis-bloom-filter");
|
|
|
40
40
|
var import_cache = require("./cache");
|
|
41
41
|
var import_utils = require("./utils");
|
|
42
42
|
const _CacheManager = class _CacheManager {
|
|
43
|
-
defaultStore;
|
|
44
|
-
stores = /* @__PURE__ */ new Map();
|
|
45
|
-
storeTypes = /* @__PURE__ */ new Map();
|
|
46
|
-
caches = /* @__PURE__ */ new Map();
|
|
47
43
|
constructor(options) {
|
|
44
|
+
this.stores = /* @__PURE__ */ new Map();
|
|
45
|
+
this.storeTypes = /* @__PURE__ */ new Map();
|
|
46
|
+
this.caches = /* @__PURE__ */ new Map();
|
|
48
47
|
const defaultOptions = {
|
|
49
48
|
defaultStore: "memory",
|
|
50
49
|
stores: {
|
package/lib/cache.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/cache",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.47",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/lodash": "^4.17.13",
|
|
17
17
|
"redis": "^4.7.0",
|
|
18
|
-
"vitest": "^
|
|
18
|
+
"vitest": "^3.0.5"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "tachybase-build --no-dts @tachybase/cache"
|