cache-manager 5.2.0 → 5.2.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/dist/caching.js +34 -85
- package/dist/caching.js.map +1 -1
- package/dist/multi-caching.js +59 -258
- package/dist/multi-caching.js.map +1 -1
- package/dist/stores/memory.d.ts +8 -6
- package/dist/stores/memory.js +44 -182
- package/dist/stores/memory.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +15 -15
package/dist/caching.js
CHANGED
|
@@ -8,97 +8,46 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
12
|
exports.caching = void 0;
|
|
40
|
-
|
|
13
|
+
const stores_1 = require("./stores");
|
|
41
14
|
/**
|
|
42
15
|
* Generic caching interface that wraps any caching library with a compatible interface.
|
|
43
16
|
*/
|
|
44
17
|
function caching(factory, args) {
|
|
45
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
case 1:
|
|
79
|
-
value = _a.sent();
|
|
80
|
-
if (!(value === undefined)) return [3 /*break*/, 4];
|
|
81
|
-
return [4 /*yield*/, fn()];
|
|
82
|
-
case 2:
|
|
83
|
-
result = _a.sent();
|
|
84
|
-
return [4 /*yield*/, store.set(key, result, ttl)];
|
|
85
|
-
case 3:
|
|
86
|
-
_a.sent();
|
|
87
|
-
return [2 /*return*/, result];
|
|
88
|
-
case 4: return [2 /*return*/, value];
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
}); },
|
|
92
|
-
store: store,
|
|
93
|
-
del: function (key) { return store.del(key); },
|
|
94
|
-
get: function (key) { return store.get(key); },
|
|
95
|
-
set: function (key, value, ttl) {
|
|
96
|
-
return store.set(key, value, ttl);
|
|
97
|
-
},
|
|
98
|
-
reset: function () { return store.reset(); },
|
|
99
|
-
}];
|
|
100
|
-
}
|
|
101
|
-
});
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
let store;
|
|
20
|
+
if (factory === 'memory')
|
|
21
|
+
store = (0, stores_1.memoryStore)(args);
|
|
22
|
+
else if (typeof factory === 'function')
|
|
23
|
+
store = yield factory(args);
|
|
24
|
+
else
|
|
25
|
+
store = factory;
|
|
26
|
+
return {
|
|
27
|
+
/**
|
|
28
|
+
* Wraps a function in cache. I.e., the first time the function is run,
|
|
29
|
+
* its results are stored in cache so subsequent calls retrieve from cache
|
|
30
|
+
* instead of calling the function.
|
|
31
|
+
|
|
32
|
+
* @example
|
|
33
|
+
* const result = await cache.wrap('key', () => Promise.resolve(1));
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
wrap: (key, fn, ttl) => __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
const value = yield store.get(key);
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
const result = yield fn();
|
|
40
|
+
yield store.set(key, result, ttl);
|
|
41
|
+
return result;
|
|
42
|
+
}
|
|
43
|
+
return value;
|
|
44
|
+
}),
|
|
45
|
+
store: store,
|
|
46
|
+
del: (key) => store.del(key),
|
|
47
|
+
get: (key) => store.get(key),
|
|
48
|
+
set: (key, value, ttl) => store.set(key, value, ttl),
|
|
49
|
+
reset: () => store.reset(),
|
|
50
|
+
};
|
|
102
51
|
});
|
|
103
52
|
}
|
|
104
53
|
exports.caching = caching;
|
package/dist/caching.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caching.js","sourceRoot":"","sources":["../src/caching.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"caching.js","sourceRoot":"","sources":["../src/caching.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAkE;AAyDlE;;GAEG;AACH,SAAsB,OAAO,CAC3B,OAAqB,EACrB,IAAuB;;QAEvB,IAAI,KAAY,CAAC;QACjB,IAAI,OAAO,KAAK,QAAQ;YAAE,KAAK,GAAG,IAAA,oBAAW,EAAC,IAAoB,CAAC,CAAC;aAC/D,IAAI,OAAO,OAAO,KAAK,UAAU;YACpC,KAAK,GAAG,MAAM,OAAO,CAAC,IAAwB,CAAC,CAAC;;YAC7C,KAAK,GAAG,OAAO,CAAC;QAErB,OAAO;YACL;;;;;;;;eAQG;YACH,IAAI,EAAE,CAAU,GAAW,EAAE,EAAoB,EAAE,GAAkB,EAAE,EAAE;gBACvE,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,GAAG,CAAI,GAAG,CAAC,CAAC;gBACtC,IAAI,KAAK,KAAK,SAAS,EAAE;oBACvB,MAAM,MAAM,GAAG,MAAM,EAAE,EAAE,CAAC;oBAC1B,MAAM,KAAK,CAAC,GAAG,CAAI,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;oBACrC,OAAO,MAAM,CAAC;iBACf;gBACD,OAAO,KAAK,CAAC;YACf,CAAC,CAAA;YACD,KAAK,EAAE,KAAU;YACjB,GAAG,EAAE,CAAC,GAAW,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC;YACpC,GAAG,EAAE,CAAI,GAAW,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAI,GAAG,CAAC;YAC1C,GAAG,EAAE,CAAC,GAAW,EAAE,KAAc,EAAE,GAAkB,EAAE,EAAE,CACvD,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC;YAC5B,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE;SAC3B,CAAC;IACJ,CAAC;CAAA;AApCD,0BAoCC"}
|
package/dist/multi-caching.js
CHANGED
|
@@ -8,278 +8,79 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
var __values = (this && this.__values) || function(o) {
|
|
39
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
40
|
-
if (m) return m.call(o);
|
|
41
|
-
if (o && typeof o.length === "number") return {
|
|
42
|
-
next: function () {
|
|
43
|
-
if (o && i >= o.length) o = void 0;
|
|
44
|
-
return { value: o && o[i++], done: !o };
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
48
|
-
};
|
|
49
|
-
var __read = (this && this.__read) || function (o, n) {
|
|
50
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
51
|
-
if (!m) return o;
|
|
52
|
-
var i = m.call(o), r, ar = [], e;
|
|
53
|
-
try {
|
|
54
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
55
|
-
}
|
|
56
|
-
catch (error) { e = { error: error }; }
|
|
57
|
-
finally {
|
|
58
|
-
try {
|
|
59
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
60
|
-
}
|
|
61
|
-
finally { if (e) throw e.error; }
|
|
62
|
-
}
|
|
63
|
-
return ar;
|
|
64
|
-
};
|
|
65
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
66
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
67
|
-
if (ar || !(i in from)) {
|
|
68
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
69
|
-
ar[i] = from[i];
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
73
|
-
};
|
|
74
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
75
12
|
exports.multiCaching = void 0;
|
|
76
13
|
/**
|
|
77
14
|
* Module that lets you specify a hierarchy of caches.
|
|
78
15
|
*/
|
|
79
16
|
function multiCaching(caches) {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
case 0:
|
|
87
|
-
_b.trys.push([0, 7, 8, 9]);
|
|
88
|
-
caches_1 = __values(caches), caches_1_1 = caches_1.next();
|
|
89
|
-
_b.label = 1;
|
|
90
|
-
case 1:
|
|
91
|
-
if (!!caches_1_1.done) return [3 /*break*/, 6];
|
|
92
|
-
cache = caches_1_1.value;
|
|
93
|
-
_b.label = 2;
|
|
94
|
-
case 2:
|
|
95
|
-
_b.trys.push([2, 4, , 5]);
|
|
96
|
-
return [4 /*yield*/, cache.get(key)];
|
|
97
|
-
case 3:
|
|
98
|
-
val = _b.sent();
|
|
99
|
-
if (val !== undefined)
|
|
100
|
-
return [2 /*return*/, val];
|
|
101
|
-
return [3 /*break*/, 5];
|
|
102
|
-
case 4:
|
|
103
|
-
e_1 = _b.sent();
|
|
104
|
-
return [3 /*break*/, 5];
|
|
105
|
-
case 5:
|
|
106
|
-
caches_1_1 = caches_1.next();
|
|
107
|
-
return [3 /*break*/, 1];
|
|
108
|
-
case 6: return [3 /*break*/, 9];
|
|
109
|
-
case 7:
|
|
110
|
-
e_2_1 = _b.sent();
|
|
111
|
-
e_2 = { error: e_2_1 };
|
|
112
|
-
return [3 /*break*/, 9];
|
|
113
|
-
case 8:
|
|
114
|
-
try {
|
|
115
|
-
if (caches_1_1 && !caches_1_1.done && (_a = caches_1.return)) _a.call(caches_1);
|
|
116
|
-
}
|
|
117
|
-
finally { if (e_2) throw e_2.error; }
|
|
118
|
-
return [7 /*endfinally*/];
|
|
119
|
-
case 9: return [2 /*return*/];
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
}); };
|
|
123
|
-
var set = function (key, data, ttl) { return __awaiter(_this, void 0, void 0, function () {
|
|
124
|
-
return __generator(this, function (_a) {
|
|
125
|
-
switch (_a.label) {
|
|
126
|
-
case 0: return [4 /*yield*/, Promise.all(caches.map(function (cache) { return cache.set(key, data, ttl); }))];
|
|
127
|
-
case 1:
|
|
128
|
-
_a.sent();
|
|
129
|
-
return [2 /*return*/];
|
|
17
|
+
const get = (key) => __awaiter(this, void 0, void 0, function* () {
|
|
18
|
+
for (const cache of caches) {
|
|
19
|
+
try {
|
|
20
|
+
const val = yield cache.get(key);
|
|
21
|
+
if (val !== undefined)
|
|
22
|
+
return val;
|
|
130
23
|
}
|
|
131
|
-
|
|
132
|
-
|
|
24
|
+
catch (e) { }
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
const set = (key, data, ttl) => __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
yield Promise.all(caches.map((cache) => cache.set(key, data, ttl)));
|
|
29
|
+
});
|
|
133
30
|
return {
|
|
134
|
-
get
|
|
135
|
-
set
|
|
136
|
-
del:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
var value, i, e_3, result;
|
|
149
|
-
return __generator(this, function (_a) {
|
|
150
|
-
switch (_a.label) {
|
|
151
|
-
case 0:
|
|
152
|
-
i = 0;
|
|
153
|
-
_a.label = 1;
|
|
154
|
-
case 1:
|
|
155
|
-
if (!(i < caches.length)) return [3 /*break*/, 6];
|
|
156
|
-
_a.label = 2;
|
|
157
|
-
case 2:
|
|
158
|
-
_a.trys.push([2, 4, , 5]);
|
|
159
|
-
return [4 /*yield*/, caches[i].get(key)];
|
|
160
|
-
case 3:
|
|
161
|
-
value = _a.sent();
|
|
162
|
-
if (value !== undefined)
|
|
163
|
-
return [3 /*break*/, 6];
|
|
164
|
-
return [3 /*break*/, 5];
|
|
165
|
-
case 4:
|
|
166
|
-
e_3 = _a.sent();
|
|
167
|
-
return [3 /*break*/, 5];
|
|
168
|
-
case 5:
|
|
169
|
-
i++;
|
|
170
|
-
return [3 /*break*/, 1];
|
|
171
|
-
case 6:
|
|
172
|
-
if (!(value === undefined)) return [3 /*break*/, 9];
|
|
173
|
-
return [4 /*yield*/, fn()];
|
|
174
|
-
case 7:
|
|
175
|
-
result = _a.sent();
|
|
176
|
-
return [4 /*yield*/, set(key, result, ttl)];
|
|
177
|
-
case 8:
|
|
178
|
-
_a.sent();
|
|
179
|
-
return [2 /*return*/, result];
|
|
180
|
-
case 9: return [4 /*yield*/, Promise.all(caches.slice(0, i).map(function (cache) { return cache.set(key, value, ttl); }))];
|
|
181
|
-
case 10:
|
|
182
|
-
_a.sent();
|
|
183
|
-
_a.label = 11;
|
|
184
|
-
case 11: return [2 /*return*/, value];
|
|
31
|
+
get,
|
|
32
|
+
set,
|
|
33
|
+
del: (key) => __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
yield Promise.all(caches.map((cache) => cache.del(key)));
|
|
35
|
+
}),
|
|
36
|
+
wrap(key, fn, ttl) {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
let value;
|
|
39
|
+
let i = 0;
|
|
40
|
+
for (; i < caches.length; i++) {
|
|
41
|
+
try {
|
|
42
|
+
value = yield caches[i].get(key);
|
|
43
|
+
if (value !== undefined)
|
|
44
|
+
break;
|
|
185
45
|
}
|
|
186
|
-
|
|
187
|
-
});
|
|
188
|
-
},
|
|
189
|
-
reset: function () { return __awaiter(_this, void 0, void 0, function () {
|
|
190
|
-
return __generator(this, function (_a) {
|
|
191
|
-
switch (_a.label) {
|
|
192
|
-
case 0: return [4 /*yield*/, Promise.all(caches.map(function (x) { return x.reset(); }))];
|
|
193
|
-
case 1:
|
|
194
|
-
_a.sent();
|
|
195
|
-
return [2 /*return*/];
|
|
46
|
+
catch (e) { }
|
|
196
47
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
var e_5, _a, _b;
|
|
207
|
-
return __generator(this, function (_c) {
|
|
208
|
-
switch (_c.label) {
|
|
209
|
-
case 0:
|
|
210
|
-
values = new Array(keys.length).fill(undefined);
|
|
211
|
-
_c.label = 1;
|
|
212
|
-
case 1:
|
|
213
|
-
_c.trys.push([1, 8, 9, 10]);
|
|
214
|
-
caches_2 = __values(caches), caches_2_1 = caches_2.next();
|
|
215
|
-
_c.label = 2;
|
|
216
|
-
case 2:
|
|
217
|
-
if (!!caches_2_1.done) return [3 /*break*/, 7];
|
|
218
|
-
cache = caches_2_1.value;
|
|
219
|
-
if (values.every(function (x) { return x !== undefined; }))
|
|
220
|
-
return [3 /*break*/, 7];
|
|
221
|
-
_c.label = 3;
|
|
222
|
-
case 3:
|
|
223
|
-
_c.trys.push([3, 5, , 6]);
|
|
224
|
-
return [4 /*yield*/, (_b = cache.store).mget.apply(_b, __spreadArray([], __read(keys), false))];
|
|
225
|
-
case 4:
|
|
226
|
-
val = _c.sent();
|
|
227
|
-
val.forEach(function (v, i) {
|
|
228
|
-
if (values[i] === undefined && v !== undefined)
|
|
229
|
-
values[i] = v;
|
|
230
|
-
});
|
|
231
|
-
return [3 /*break*/, 6];
|
|
232
|
-
case 5:
|
|
233
|
-
e_4 = _c.sent();
|
|
234
|
-
return [3 /*break*/, 6];
|
|
235
|
-
case 6:
|
|
236
|
-
caches_2_1 = caches_2.next();
|
|
237
|
-
return [3 /*break*/, 2];
|
|
238
|
-
case 7: return [3 /*break*/, 10];
|
|
239
|
-
case 8:
|
|
240
|
-
e_5_1 = _c.sent();
|
|
241
|
-
e_5 = { error: e_5_1 };
|
|
242
|
-
return [3 /*break*/, 10];
|
|
243
|
-
case 9:
|
|
244
|
-
try {
|
|
245
|
-
if (caches_2_1 && !caches_2_1.done && (_a = caches_2.return)) _a.call(caches_2);
|
|
246
|
-
}
|
|
247
|
-
finally { if (e_5) throw e_5.error; }
|
|
248
|
-
return [7 /*endfinally*/];
|
|
249
|
-
case 10: return [2 /*return*/, values];
|
|
250
|
-
}
|
|
251
|
-
});
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
const result = yield fn();
|
|
50
|
+
yield set(key, result, ttl);
|
|
51
|
+
return result;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
yield Promise.all(caches.slice(0, i).map((cache) => cache.set(key, value, ttl)));
|
|
55
|
+
}
|
|
56
|
+
return value;
|
|
252
57
|
});
|
|
253
58
|
},
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
59
|
+
reset: () => __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
yield Promise.all(caches.map((x) => x.reset()));
|
|
61
|
+
}),
|
|
62
|
+
mget: (...keys) => __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const values = new Array(keys.length).fill(undefined);
|
|
64
|
+
for (const cache of caches) {
|
|
65
|
+
if (values.every((x) => x !== undefined))
|
|
66
|
+
break;
|
|
67
|
+
try {
|
|
68
|
+
const val = yield cache.store.mget(...keys);
|
|
69
|
+
val.forEach((v, i) => {
|
|
70
|
+
if (values[i] === undefined && v !== undefined)
|
|
71
|
+
values[i] = v;
|
|
72
|
+
});
|
|
261
73
|
}
|
|
262
|
-
|
|
263
|
-
}); },
|
|
264
|
-
mdel: function () {
|
|
265
|
-
var keys = [];
|
|
266
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
267
|
-
keys[_i] = arguments[_i];
|
|
74
|
+
catch (e) { }
|
|
268
75
|
}
|
|
269
|
-
return
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
_a.sent();
|
|
278
|
-
return [2 /*return*/];
|
|
279
|
-
}
|
|
280
|
-
});
|
|
281
|
-
});
|
|
282
|
-
},
|
|
76
|
+
return values;
|
|
77
|
+
}),
|
|
78
|
+
mset: (args, ttl) => __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
yield Promise.all(caches.map((cache) => cache.store.mset(args, ttl)));
|
|
80
|
+
}),
|
|
81
|
+
mdel: (...keys) => __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
yield Promise.all(caches.map((cache) => cache.store.mdel(...keys)));
|
|
83
|
+
}),
|
|
283
84
|
};
|
|
284
85
|
}
|
|
285
86
|
exports.multiCaching = multiCaching;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-caching.js","sourceRoot":"","sources":["../src/multi-caching.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"multi-caching.js","sourceRoot":"","sources":["../src/multi-caching.ts"],"names":[],"mappings":"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"}
|
package/dist/stores/memory.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { LRUCache } from 'lru-cache';
|
|
2
2
|
import { Config, Cache, Store } from '../caching';
|
|
3
|
-
type
|
|
3
|
+
type LRU = LRUCache<string, any, unknown>;
|
|
4
|
+
type Pre = LRUCache.OptionsTTLLimit<string, any, unknown>;
|
|
5
|
+
type Options = Omit<Pre, 'ttlAutopurge'> & Partial<Pick<Pre, 'ttlAutopurge'>>;
|
|
4
6
|
export type MemoryConfig = {
|
|
5
7
|
max?: number;
|
|
6
8
|
sizeCalculation?: (key: string, value: unknown) => number;
|
|
7
9
|
shouldCloneBeforeSet?: boolean;
|
|
8
|
-
} & Options
|
|
10
|
+
} & Options & Config;
|
|
9
11
|
export type MemoryStore = Store & {
|
|
10
|
-
|
|
11
|
-
dump:
|
|
12
|
-
load:
|
|
12
|
+
get size(): number;
|
|
13
|
+
dump: LRU['dump'];
|
|
14
|
+
load: LRU['load'];
|
|
13
15
|
};
|
|
14
16
|
export type MemoryCache = Cache<MemoryStore>;
|
|
15
17
|
/**
|
package/dist/stores/memory.js
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -19,76 +8,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
19
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
9
|
});
|
|
21
10
|
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
var __read = (this && this.__read) || function (o, n) {
|
|
50
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
51
|
-
if (!m) return o;
|
|
52
|
-
var i = m.call(o), r, ar = [], e;
|
|
53
|
-
try {
|
|
54
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
55
|
-
}
|
|
56
|
-
catch (error) { e = { error: error }; }
|
|
57
|
-
finally {
|
|
58
|
-
try {
|
|
59
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
60
|
-
}
|
|
61
|
-
finally { if (e) throw e.error; }
|
|
62
|
-
}
|
|
63
|
-
return ar;
|
|
64
|
-
};
|
|
65
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
66
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
67
|
-
if (ar || !(i in from)) {
|
|
68
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
69
|
-
ar[i] = from[i];
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
73
|
-
};
|
|
74
|
-
var __values = (this && this.__values) || function(o) {
|
|
75
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
76
|
-
if (m) return m.call(o);
|
|
77
|
-
if (o && typeof o.length === "number") return {
|
|
78
|
-
next: function () {
|
|
79
|
-
if (o && i >= o.length) o = void 0;
|
|
80
|
-
return { value: o && o[i++], done: !o };
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
84
|
-
};
|
|
85
11
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
86
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
87
13
|
};
|
|
88
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
89
15
|
exports.memoryStore = void 0;
|
|
90
|
-
|
|
91
|
-
|
|
16
|
+
const lru_cache_1 = require("lru-cache");
|
|
17
|
+
const lodash_clonedeep_1 = __importDefault(require("lodash.clonedeep"));
|
|
92
18
|
function clone(object) {
|
|
93
19
|
if (typeof object === 'object' && object !== null) {
|
|
94
20
|
return (0, lodash_clonedeep_1.default)(object);
|
|
@@ -99,133 +25,69 @@ function clone(object) {
|
|
|
99
25
|
* Wrapper for lru-cache.
|
|
100
26
|
*/
|
|
101
27
|
function memoryStore(args) {
|
|
102
|
-
var _this = this;
|
|
103
28
|
var _a;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
29
|
+
const shouldCloneBeforeSet = (args === null || args === void 0 ? void 0 : args.shouldCloneBeforeSet) !== false; // clone by default
|
|
30
|
+
const isCacheable = (_a = args === null || args === void 0 ? void 0 : args.isCacheable) !== null && _a !== void 0 ? _a : ((val) => val !== undefined);
|
|
31
|
+
const lruOpts = Object.assign(Object.assign({ ttlAutopurge: true }, args), { max: (args === null || args === void 0 ? void 0 : args.max) || 500, ttl: (args === null || args === void 0 ? void 0 : args.ttl) !== undefined ? args.ttl : 0 });
|
|
32
|
+
const lruCache = new lru_cache_1.LRUCache(lruOpts);
|
|
108
33
|
return {
|
|
109
|
-
del
|
|
110
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
111
|
-
|
|
112
|
-
lruCache.delete(key);
|
|
113
|
-
return [2 /*return*/];
|
|
114
|
-
});
|
|
34
|
+
del(key) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
lruCache.delete(key);
|
|
115
37
|
});
|
|
116
38
|
},
|
|
117
|
-
get:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
return
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
},
|
|
132
|
-
mset: function (args, ttl) {
|
|
133
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
134
|
-
var opt, args_1, args_1_1, _a, key, value;
|
|
135
|
-
var e_1, _b;
|
|
136
|
-
return __generator(this, function (_c) {
|
|
137
|
-
opt = { ttl: ttl !== undefined ? ttl : lruOpts.ttl };
|
|
138
|
-
try {
|
|
139
|
-
for (args_1 = __values(args), args_1_1 = args_1.next(); !args_1_1.done; args_1_1 = args_1.next()) {
|
|
140
|
-
_a = __read(args_1_1.value, 2), key = _a[0], value = _a[1];
|
|
141
|
-
if (!isCacheable(value))
|
|
142
|
-
throw new Error("no cacheable value ".concat(JSON.stringify(value)));
|
|
143
|
-
if (shouldCloneBeforeSet)
|
|
144
|
-
lruCache.set(key, clone(value), opt);
|
|
145
|
-
else
|
|
146
|
-
lruCache.set(key, value, opt);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
150
|
-
finally {
|
|
151
|
-
try {
|
|
152
|
-
if (args_1_1 && !args_1_1.done && (_b = args_1.return)) _b.call(args_1);
|
|
153
|
-
}
|
|
154
|
-
finally { if (e_1) throw e_1.error; }
|
|
155
|
-
}
|
|
156
|
-
return [2 /*return*/];
|
|
157
|
-
});
|
|
39
|
+
get: (key) => __awaiter(this, void 0, void 0, function* () { return lruCache.get(key); }),
|
|
40
|
+
keys: () => __awaiter(this, void 0, void 0, function* () { return [...lruCache.keys()]; }),
|
|
41
|
+
mget: (...args) => __awaiter(this, void 0, void 0, function* () { return args.map((x) => lruCache.get(x)); }),
|
|
42
|
+
mset(args, ttl) {
|
|
43
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
const opt = { ttl: ttl !== undefined ? ttl : lruOpts.ttl };
|
|
45
|
+
for (const [key, value] of args) {
|
|
46
|
+
if (!isCacheable(value))
|
|
47
|
+
throw new Error(`no cacheable value ${JSON.stringify(value)}`);
|
|
48
|
+
if (shouldCloneBeforeSet)
|
|
49
|
+
lruCache.set(key, clone(value), opt);
|
|
50
|
+
else
|
|
51
|
+
lruCache.set(key, value, opt);
|
|
52
|
+
}
|
|
158
53
|
});
|
|
159
54
|
},
|
|
160
|
-
mdel
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
166
|
-
var args_2, args_2_1, key;
|
|
167
|
-
var e_2, _a;
|
|
168
|
-
return __generator(this, function (_b) {
|
|
169
|
-
try {
|
|
170
|
-
for (args_2 = __values(args), args_2_1 = args_2.next(); !args_2_1.done; args_2_1 = args_2.next()) {
|
|
171
|
-
key = args_2_1.value;
|
|
172
|
-
lruCache.delete(key);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
176
|
-
finally {
|
|
177
|
-
try {
|
|
178
|
-
if (args_2_1 && !args_2_1.done && (_a = args_2.return)) _a.call(args_2);
|
|
179
|
-
}
|
|
180
|
-
finally { if (e_2) throw e_2.error; }
|
|
181
|
-
}
|
|
182
|
-
return [2 /*return*/];
|
|
183
|
-
});
|
|
55
|
+
mdel(...args) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
for (const key of args)
|
|
58
|
+
lruCache.delete(key);
|
|
184
59
|
});
|
|
185
60
|
},
|
|
186
|
-
reset
|
|
187
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
188
|
-
|
|
189
|
-
lruCache.clear();
|
|
190
|
-
return [2 /*return*/];
|
|
191
|
-
});
|
|
61
|
+
reset() {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
lruCache.clear();
|
|
192
64
|
});
|
|
193
65
|
},
|
|
194
|
-
ttl:
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
if (shouldCloneBeforeSet)
|
|
204
|
-
value = clone(value);
|
|
205
|
-
ttl = opt !== undefined ? opt : lruOpts.ttl;
|
|
206
|
-
lruCache.set(key, value, { ttl: ttl });
|
|
207
|
-
return [2 /*return*/];
|
|
208
|
-
});
|
|
66
|
+
ttl: (key) => __awaiter(this, void 0, void 0, function* () { return lruCache.getRemainingTTL(key); }),
|
|
67
|
+
set(key, value, opt) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
if (!isCacheable(value))
|
|
70
|
+
throw new Error(`no cacheable value ${JSON.stringify(value)}`);
|
|
71
|
+
if (shouldCloneBeforeSet)
|
|
72
|
+
value = clone(value);
|
|
73
|
+
const ttl = opt !== undefined ? opt : lruOpts.ttl;
|
|
74
|
+
lruCache.set(key, value, { ttl });
|
|
209
75
|
});
|
|
210
76
|
},
|
|
211
77
|
/**
|
|
212
78
|
* This method is not available in the caching modules.
|
|
213
79
|
*/
|
|
214
|
-
|
|
80
|
+
get size() {
|
|
81
|
+
return lruCache.size;
|
|
82
|
+
},
|
|
215
83
|
/**
|
|
216
84
|
* This method is not available in the caching modules.
|
|
217
85
|
*/
|
|
218
|
-
dump:
|
|
86
|
+
dump: () => lruCache.dump(),
|
|
219
87
|
/**
|
|
220
88
|
* This method is not available in the caching modules.
|
|
221
89
|
*/
|
|
222
|
-
load:
|
|
223
|
-
var args = [];
|
|
224
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
225
|
-
args[_i] = arguments[_i];
|
|
226
|
-
}
|
|
227
|
-
return lruCache.load.apply(lruCache, __spreadArray([], __read(args), false));
|
|
228
|
-
},
|
|
90
|
+
load: (...args) => lruCache.load(...args),
|
|
229
91
|
};
|
|
230
92
|
}
|
|
231
93
|
exports.memoryStore = memoryStore;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../src/stores/memory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../src/stores/memory.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es5.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/.pnpm/lru-cache@7.18.3/node_modules/lru-cache/index.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/common.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/array.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/collection.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/date.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/function.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/lang.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/math.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/number.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/object.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/seq.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/string.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/util.d.ts","../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/index.d.ts","../node_modules/.pnpm/@types+lodash.clonedeep@4.5.7/node_modules/@types/lodash.clonedeep/index.d.ts","../src/stores/memory.ts","../src/stores/index.ts","../src/caching.ts","../src/multi-caching.ts","../src/index.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/assert.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/assert/strict.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/globals.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/async_hooks.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/buffer.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/child_process.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/cluster.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/console.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/constants.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/crypto.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/dgram.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/dns.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/dns/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/domain.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/dom-events.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/events.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/fs.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/fs/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/http.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/http2.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/https.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/inspector.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/module.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/net.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/os.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/path.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/perf_hooks.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/process.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/punycode.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/querystring.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/readline.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/readline/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/repl.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/stream.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/stream/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/stream/consumers.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/stream/web.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/string_decoder.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/test.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/timers.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/timers/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/tls.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/trace_events.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/tty.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/url.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/util.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/v8.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/vm.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/wasi.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/worker_threads.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/zlib.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/globals.global.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"95f22ce5f9dbcfc757ff850e7326a1ba1bc69806f1e70f48caefa824819d6f4f","affectsGlobalScope":true},"69fad132b41289d40e3d373ad0ef1065cbae26c78f11d2f1aa574a3eb9b7cb7e","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"1ecdcf09ff556c7be88a5969071d09fdf173da75b7502ee2ae3d368b0e33a87f",{"version":"b9bfce872affe34ef6248f4cb440e4077fb9fc7826895253b17a51f57508c06b","signature":"9edc1042e3bb5860fb8a2cfb6dcf98cc0c4c26f456f792c8ec9427eea1fa6272"},"3d989d2dc4d3a3c297f5c31115963026a481e7ecc54f0e356b3bbebededdc50a",{"version":"40b6f02bbc4f1c0609f102238438dfd28eb7d21cd2826544deed046fea3ee60c","signature":"3042e8d01db2d7ff1d68631f1ce3bc9d951c744b930bbca718fa0a6f4568df93"},{"version":"c0d4dd74eb038787b587e2741293bcadcebc3705bad5d2820ac13dd8dc4238a5","signature":"341ed35aafffc2d36fd8cac57eccb90f7cf5230181d3f54d9480b42e33e377ec"},"4489f8f01affdc619f5893de6db5d21f594603addb6329d2cbdb2453d2837879","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"54ba7456adb777a685250cd144115ea51379784012ba1311255b715c6bdcff2a","affectsGlobalScope":true},"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f",{"version":"e193e634a99c9c1d71f1c6e4e1567a4a73584328d21ea02dd5cddbaad6693f61","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"80473bd0dd90ca1e166514c2dfead9d5803f9c51418864ca35abbeec6e6847e1","1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","7d55d78cd47cf5280643b53434b16c2d9d11d144126932759fbdd51da525eec4","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","09326ae5f7e3d49be5cd9ea00eb814770e71870a438faa2efd8bdd9b4db21320",{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"d8d555f3d607ecaa18d55de6995ea8f206342ecc93305919eac945c7c78c78c6"],"root":[[75,79]],"options":{"declaration":true,"downlevelIteration":true,"esModuleInterop":true,"module":1,"outDir":"./","sourceMap":true,"strict":true},"fileIdsList":[[73,126],[61,63,64,65,66,67,68,69,70,71,72,73,126],[61,62,64,65,66,67,68,69,70,71,72,73,126],[62,63,64,65,66,67,68,69,70,71,72,73,126],[61,62,63,65,66,67,68,69,70,71,72,73,126],[61,62,63,64,66,67,68,69,70,71,72,73,126],[61,62,63,64,65,67,68,69,70,71,72,73,126],[61,62,63,64,65,66,68,69,70,71,72,73,126],[61,62,63,64,65,66,67,69,70,71,72,73,126],[61,62,63,64,65,66,67,68,70,71,72,73,126],[61,62,63,64,65,66,67,68,69,71,72,73,126],[61,62,63,64,65,66,67,68,69,70,72,73,126],[61,62,63,64,65,66,67,68,69,70,71,73,126],[61,62,63,64,65,66,67,68,69,70,71,72,126],[80,126],[83,126],[84,89,117,126],[85,96,97,104,114,125,126],[85,86,96,104,126],[87,126],[88,89,97,105,126],[89,114,122,126],[90,92,96,104,126],[91,126],[92,93,126],[96,126],[94,96,126],[96,97,98,114,125,126],[96,97,98,111,114,117,126],[126,130],[126],[92,99,104,114,125,126],[96,97,99,100,104,114,122,125,126],[99,101,114,122,125,126],[80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],[96,102,126],[103,125,126],[92,96,104,114,126],[105,126],[106,126],[83,107,126],[108,124,126,130],[109,126],[110,126],[96,111,112,126],[111,113,126,128],[84,96,114,115,116,117,126],[84,114,116,126],[114,115,126],[117,126],[118,126],[96,120,121,126],[120,121,126],[89,104,114,122,126],[123,126],[104,124,126],[84,99,110,125,126],[89,126],[114,126,127],[126,128],[126,129],[84,89,96,98,107,114,125,126,128,130],[114,126,131],[76,126],[76,77,78,126],[77,126],[75,126],[60,74,77,126],[76],[77],[60,77]],"referencedMap":[[74,1],[62,2],[63,3],[61,4],[64,5],[65,6],[66,7],[67,8],[68,9],[69,10],[70,11],[71,12],[72,13],[73,14],[80,15],[81,15],[83,16],[84,17],[85,18],[86,19],[87,20],[88,21],[89,22],[90,23],[91,24],[92,25],[93,25],[95,26],[94,27],[96,26],[97,28],[98,29],[82,30],[132,31],[99,32],[100,33],[101,34],[133,35],[102,36],[103,37],[104,38],[105,39],[106,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,45],[113,46],[114,47],[116,48],[115,49],[117,50],[118,51],[119,31],[120,52],[121,53],[122,54],[123,55],[124,56],[125,57],[126,58],[127,59],[128,60],[129,61],[130,62],[131,63],[60,31],[58,31],[59,31],[13,31],[12,31],[2,31],[14,31],[15,31],[16,31],[17,31],[18,31],[19,31],[20,31],[21,31],[3,31],[4,31],[25,31],[22,31],[23,31],[24,31],[26,31],[27,31],[28,31],[5,31],[29,31],[30,31],[31,31],[32,31],[6,31],[36,31],[33,31],[34,31],[35,31],[37,31],[7,31],[38,31],[43,31],[44,31],[39,31],[40,31],[41,31],[42,31],[8,31],[48,31],[45,31],[46,31],[47,31],[49,31],[9,31],[50,31],[51,31],[52,31],[55,31],[53,31],[54,31],[56,31],[10,31],[1,31],[11,31],[57,31],[77,64],[79,65],[78,66],[76,67],[75,68]],"exportedModulesMap":[[74,1],[62,2],[63,3],[61,4],[64,5],[65,6],[66,7],[67,8],[68,9],[69,10],[70,11],[71,12],[72,13],[73,14],[80,15],[81,15],[83,16],[84,17],[85,18],[86,19],[87,20],[88,21],[89,22],[90,23],[91,24],[92,25],[93,25],[95,26],[94,27],[96,26],[97,28],[98,29],[82,30],[132,31],[99,32],[100,33],[101,34],[133,35],[102,36],[103,37],[104,38],[105,39],[106,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,45],[113,46],[114,47],[116,48],[115,49],[117,50],[118,51],[119,31],[120,52],[121,53],[122,54],[123,55],[124,56],[125,57],[126,58],[127,59],[128,60],[129,61],[130,62],[131,63],[60,31],[58,31],[59,31],[13,31],[12,31],[2,31],[14,31],[15,31],[16,31],[17,31],[18,31],[19,31],[20,31],[21,31],[3,31],[4,31],[25,31],[22,31],[23,31],[24,31],[26,31],[27,31],[28,31],[5,31],[29,31],[30,31],[31,31],[32,31],[6,31],[36,31],[33,31],[34,31],[35,31],[37,31],[7,31],[38,31],[43,31],[44,31],[39,31],[40,31],[41,31],[42,31],[8,31],[48,31],[45,31],[46,31],[47,31],[49,31],[9,31],[50,31],[51,31],[52,31],[55,31],[53,31],[54,31],[56,31],[10,31],[1,31],[11,31],[57,31],[77,69],[79,65],[78,70],[76,67],[75,71]],"semanticDiagnosticsPerFile":[74,62,63,61,64,65,66,67,68,69,70,71,72,73,80,81,83,84,85,86,87,88,89,90,91,92,93,95,94,96,97,98,82,132,99,100,101,133,102,103,104,105,106,107,108,109,110,111,112,113,114,116,115,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,60,58,59,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,55,53,54,56,10,1,11,57,77,79,78,76,75]},"version":"5.0.2"}
|
|
1
|
+
{"program":{"fileNames":["../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es5.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/.pnpm/lru-cache@9.1.1/node_modules/lru-cache/dist/cjs/index.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/common.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/array.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/collection.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/date.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/function.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/lang.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/math.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/number.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/object.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/seq.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/string.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/common/util.d.ts","../node_modules/.pnpm/@types+lodash@4.14.194/node_modules/@types/lodash/index.d.ts","../node_modules/.pnpm/@types+lodash.clonedeep@4.5.7/node_modules/@types/lodash.clonedeep/index.d.ts","../src/stores/memory.ts","../src/stores/index.ts","../src/caching.ts","../src/multi-caching.ts","../src/index.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/assert.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/assert/strict.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/globals.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/async_hooks.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/buffer.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/child_process.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/cluster.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/console.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/constants.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/crypto.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/dgram.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/dns.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/dns/promises.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/domain.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/dom-events.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/events.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/fs.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/fs/promises.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/http.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/http2.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/https.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/inspector.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/module.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/net.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/os.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/path.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/perf_hooks.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/process.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/punycode.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/querystring.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/readline.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/readline/promises.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/repl.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/stream.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/stream/promises.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/stream/consumers.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/stream/web.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/string_decoder.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/test.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/timers.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/timers/promises.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/tls.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/trace_events.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/tty.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/url.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/util.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/v8.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/vm.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/wasi.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/worker_threads.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/zlib.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/globals.global.d.ts","../node_modules/.pnpm/@types+node@18.16.0/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"cb656e57ac7dcb4a0850d3063f6f2618b11bdefcbf241fdd7ebf5b52107b17a0","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"1ecdcf09ff556c7be88a5969071d09fdf173da75b7502ee2ae3d368b0e33a87f",{"version":"903bbe3d50108b67074767228b5119b0ffd45251051647059f1f4d9460a97902","signature":"56d302de2b748f5663dae033f29b9ffba46fa5f338cfe271f193bf8853442d0f"},"3d989d2dc4d3a3c297f5c31115963026a481e7ecc54f0e356b3bbebededdc50a",{"version":"40b6f02bbc4f1c0609f102238438dfd28eb7d21cd2826544deed046fea3ee60c","signature":"3042e8d01db2d7ff1d68631f1ce3bc9d951c744b930bbca718fa0a6f4568df93"},{"version":"c0d4dd74eb038787b587e2741293bcadcebc3705bad5d2820ac13dd8dc4238a5","signature":"341ed35aafffc2d36fd8cac57eccb90f7cf5230181d3f54d9480b42e33e377ec"},"4489f8f01affdc619f5893de6db5d21f594603addb6329d2cbdb2453d2837879","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"8d81612302e009aacd595b125ae1530b6342f690eb83da7788503617d1362185","affectsGlobalScope":true},"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3",{"version":"211e3f15fbced4ab4be19f49ffa990b9ff20d749d33b65ff753be691e7616239","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","216717f17c095cde1dc19375e1ab3af0a4a485355860c077a4f9d6ea59fab5b5","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"00dee7cdca8b8420c47ea4a31a34b8e8294013ebc4f463fd941e867e7bf05029","affectsGlobalScope":true},"80473bd0dd90ca1e166514c2dfead9d5803f9c51418864ca35abbeec6e6847e1","1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","e6c86d83bd526c8bdb5d0bf935b8e72ce983763d600743f74d812fdf4abf4df6","a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","4f3fdeba4e28e21aa719c081b8dc8f91d47e12e773389b9d35679c08151c9d37","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7",{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","3d6c3d6b3bd42f1175d65cb74051c5f4ee2c1d2fbeb1facc5385e2161ce93005","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"a73ae8c0e62103bb9e21bb6538700881bf135b9a8b125b857ec68edfa0da4ed3","affectsGlobalScope":true},{"version":"e1c1b2fbe236bf7ee3e342eeae7e20efb8988a0ac7da1cbbfa2c1f66b76c3423","affectsGlobalScope":true},"6de4a219df57d2b27274d59b67708f13c2cbf7ed211abe57d8f9ab8b25cde776","0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a6dd3dba8e665ac43d279e0fdf5219edda0eed69b5e9a5061f46cd6a65c4f7a1"],"root":[[75,79]],"options":{"declaration":true,"downlevelIteration":true,"esModuleInterop":true,"module":1,"outDir":"./","sourceMap":true,"strict":true,"target":2},"fileIdsList":[[73,126],[61,63,64,65,66,67,68,69,70,71,72,73,126],[61,62,64,65,66,67,68,69,70,71,72,73,126],[62,63,64,65,66,67,68,69,70,71,72,73,126],[61,62,63,65,66,67,68,69,70,71,72,73,126],[61,62,63,64,66,67,68,69,70,71,72,73,126],[61,62,63,64,65,67,68,69,70,71,72,73,126],[61,62,63,64,65,66,68,69,70,71,72,73,126],[61,62,63,64,65,66,67,69,70,71,72,73,126],[61,62,63,64,65,66,67,68,70,71,72,73,126],[61,62,63,64,65,66,67,68,69,71,72,73,126],[61,62,63,64,65,66,67,68,69,70,72,73,126],[61,62,63,64,65,66,67,68,69,70,71,73,126],[61,62,63,64,65,66,67,68,69,70,71,72,126],[80,126],[83,126],[84,89,117,126],[85,96,97,104,114,125,126],[85,86,96,104,126],[87,126],[88,89,97,105,126],[89,114,122,126],[90,92,96,104,126],[91,126],[92,93,126],[96,126],[94,96,126],[96,97,98,114,125,126],[96,97,98,111,114,117,126],[126,130],[126],[92,99,104,114,125,126],[96,97,99,100,104,114,122,125,126],[99,101,114,122,125,126],[80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],[96,102,126],[103,125,126],[92,96,104,114,126],[105,126],[106,126],[83,107,126],[108,124,126,130],[109,126],[110,126],[96,111,112,126],[111,113,126,128],[84,96,114,115,116,117,126],[84,114,116,126],[114,115,126],[117,126],[118,126],[96,120,121,126],[120,121,126],[89,104,114,122,126],[123,126],[104,124,126],[84,99,110,125,126],[89,126],[114,126,127],[126,128],[126,129],[84,89,96,98,107,114,125,126,128,130],[114,126,131],[76,126],[76,77,78,126],[77,126],[75,126],[60,74,77,126],[76],[77],[60,77]],"referencedMap":[[74,1],[62,2],[63,3],[61,4],[64,5],[65,6],[66,7],[67,8],[68,9],[69,10],[70,11],[71,12],[72,13],[73,14],[80,15],[81,15],[83,16],[84,17],[85,18],[86,19],[87,20],[88,21],[89,22],[90,23],[91,24],[92,25],[93,25],[95,26],[94,27],[96,26],[97,28],[98,29],[82,30],[132,31],[99,32],[100,33],[101,34],[133,35],[102,36],[103,37],[104,38],[105,39],[106,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,45],[113,46],[114,47],[116,48],[115,49],[117,50],[118,51],[119,31],[120,52],[121,53],[122,54],[123,55],[124,56],[125,57],[126,58],[127,59],[128,60],[129,61],[130,62],[131,63],[60,31],[58,31],[59,31],[13,31],[12,31],[2,31],[14,31],[15,31],[16,31],[17,31],[18,31],[19,31],[20,31],[21,31],[3,31],[4,31],[25,31],[22,31],[23,31],[24,31],[26,31],[27,31],[28,31],[5,31],[29,31],[30,31],[31,31],[32,31],[6,31],[36,31],[33,31],[34,31],[35,31],[37,31],[7,31],[38,31],[43,31],[44,31],[39,31],[40,31],[41,31],[42,31],[8,31],[48,31],[45,31],[46,31],[47,31],[49,31],[9,31],[50,31],[51,31],[52,31],[55,31],[53,31],[54,31],[56,31],[10,31],[1,31],[11,31],[57,31],[77,64],[79,65],[78,66],[76,67],[75,68]],"exportedModulesMap":[[74,1],[62,2],[63,3],[61,4],[64,5],[65,6],[66,7],[67,8],[68,9],[69,10],[70,11],[71,12],[72,13],[73,14],[80,15],[81,15],[83,16],[84,17],[85,18],[86,19],[87,20],[88,21],[89,22],[90,23],[91,24],[92,25],[93,25],[95,26],[94,27],[96,26],[97,28],[98,29],[82,30],[132,31],[99,32],[100,33],[101,34],[133,35],[102,36],[103,37],[104,38],[105,39],[106,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,45],[113,46],[114,47],[116,48],[115,49],[117,50],[118,51],[119,31],[120,52],[121,53],[122,54],[123,55],[124,56],[125,57],[126,58],[127,59],[128,60],[129,61],[130,62],[131,63],[60,31],[58,31],[59,31],[13,31],[12,31],[2,31],[14,31],[15,31],[16,31],[17,31],[18,31],[19,31],[20,31],[21,31],[3,31],[4,31],[25,31],[22,31],[23,31],[24,31],[26,31],[27,31],[28,31],[5,31],[29,31],[30,31],[31,31],[32,31],[6,31],[36,31],[33,31],[34,31],[35,31],[37,31],[7,31],[38,31],[43,31],[44,31],[39,31],[40,31],[41,31],[42,31],[8,31],[48,31],[45,31],[46,31],[47,31],[49,31],[9,31],[50,31],[51,31],[52,31],[55,31],[53,31],[54,31],[56,31],[10,31],[1,31],[11,31],[57,31],[77,69],[79,65],[78,70],[76,67],[75,71]],"semanticDiagnosticsPerFile":[74,62,63,61,64,65,66,67,68,69,70,71,72,73,80,81,83,84,85,86,87,88,89,90,91,92,93,95,94,96,97,98,82,132,99,100,101,133,102,103,104,105,106,107,108,109,110,111,112,113,114,116,115,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,60,58,59,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,55,53,54,56,10,1,11,57,77,79,78,76,75]},"version":"5.0.4"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cache-manager",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "Cache module for Node.js",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,28 +30,28 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"lodash.clonedeep": "^4.5.0",
|
|
33
|
-
"lru-cache": "~
|
|
33
|
+
"lru-cache": "~9.1.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@commitlint/cli": "17.
|
|
37
|
-
"@commitlint/config-conventional": "17.
|
|
36
|
+
"@commitlint/cli": "17.6.1",
|
|
37
|
+
"@commitlint/config-conventional": "17.6.1",
|
|
38
38
|
"@faker-js/faker": "7.6.0",
|
|
39
39
|
"@release-it/conventional-changelog": "5.1.1",
|
|
40
40
|
"@types/lodash.clonedeep": "4.5.7",
|
|
41
|
-
"@types/node": "18.
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
43
|
-
"@typescript-eslint/parser": "5.
|
|
44
|
-
"@vitest/coverage-c8": "0.
|
|
45
|
-
"dotenv-cli": "7.1
|
|
46
|
-
"eslint": "8.
|
|
41
|
+
"@types/node": "18.16.0",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "5.59.0",
|
|
43
|
+
"@typescript-eslint/parser": "5.59.0",
|
|
44
|
+
"@vitest/coverage-c8": "0.30.1",
|
|
45
|
+
"dotenv-cli": "7.2.1",
|
|
46
|
+
"eslint": "8.39.0",
|
|
47
47
|
"eslint-config-prettier": "8.8.0",
|
|
48
48
|
"eslint-plugin-prettier": "4.2.1",
|
|
49
49
|
"husky": "8.0.3",
|
|
50
|
-
"lint-staged": "13.2.
|
|
51
|
-
"prettier": "2.8.
|
|
52
|
-
"release-it": "15.
|
|
53
|
-
"typescript": "5.0.
|
|
54
|
-
"vitest": "0.
|
|
50
|
+
"lint-staged": "13.2.1",
|
|
51
|
+
"prettier": "2.8.8",
|
|
52
|
+
"release-it": "15.10.1",
|
|
53
|
+
"typescript": "5.0.4",
|
|
54
|
+
"vitest": "0.30.1"
|
|
55
55
|
},
|
|
56
56
|
"lint-staged": {
|
|
57
57
|
"*.{ts,js,mts,mjs}": "eslint --cache --fix",
|