cache-manager 5.2.0 → 5.2.2

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 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
- var stores_1 = require("./stores");
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
- var store;
47
- var _this = this;
48
- return __generator(this, function (_a) {
49
- switch (_a.label) {
50
- case 0:
51
- if (!(factory === 'memory')) return [3 /*break*/, 1];
52
- store = (0, stores_1.memoryStore)(args);
53
- return [3 /*break*/, 4];
54
- case 1:
55
- if (!(typeof factory === 'function')) return [3 /*break*/, 3];
56
- return [4 /*yield*/, factory(args)];
57
- case 2:
58
- store = _a.sent();
59
- return [3 /*break*/, 4];
60
- case 3:
61
- store = factory;
62
- _a.label = 4;
63
- case 4: return [2 /*return*/, {
64
- /**
65
- * Wraps a function in cache. I.e., the first time the function is run,
66
- * its results are stored in cache so subsequent calls retrieve from cache
67
- * instead of calling the function.
68
-
69
- * @example
70
- * const result = await cache.wrap('key', () => Promise.resolve(1));
71
- *
72
- */
73
- wrap: function (key, fn, ttl) { return __awaiter(_this, void 0, void 0, function () {
74
- var value, result;
75
- return __generator(this, function (_a) {
76
- switch (_a.label) {
77
- case 0: return [4 /*yield*/, store.get(key)];
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;
@@ -1 +1 @@
1
- {"version":3,"file":"caching.js","sourceRoot":"","sources":["../src/caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAkE;AAyDlE;;GAEG;AACH,SAAsB,OAAO,CAC3B,OAAqB,EACrB,IAAuB;;;;;;;yBAGnB,CAAA,OAAO,KAAK,QAAQ,CAAA,EAApB,wBAAoB;oBAAE,KAAK,GAAG,IAAA,oBAAW,EAAC,IAAoB,CAAC,CAAC;;;yBAC3D,CAAA,OAAO,OAAO,KAAK,UAAU,CAAA,EAA7B,wBAA6B;oBAC5B,qBAAM,OAAO,CAAC,IAAwB,CAAC,EAAA;;oBAA/C,KAAK,GAAG,SAAuC,CAAC;;;oBAC7C,KAAK,GAAG,OAAO,CAAC;;wBAErB,sBAAO;wBACL;;;;;;;;2BAQG;wBACH,IAAI,EAAE,UAAU,GAAW,EAAE,EAAoB,EAAE,GAAkB;;;;4CACrD,qBAAM,KAAK,CAAC,GAAG,CAAI,GAAG,CAAC,EAAA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AoB,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"}
@@ -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
- var _this = this;
81
- var get = function (key) { return __awaiter(_this, void 0, void 0, function () {
82
- var caches_1, caches_1_1, cache, val, e_1, e_2_1;
83
- var e_2, _a;
84
- return __generator(this, function (_b) {
85
- switch (_b.label) {
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: get,
135
- set: set,
136
- del: function (key) { return __awaiter(_this, void 0, void 0, function () {
137
- return __generator(this, function (_a) {
138
- switch (_a.label) {
139
- case 0: return [4 /*yield*/, Promise.all(caches.map(function (cache) { return cache.del(key); }))];
140
- case 1:
141
- _a.sent();
142
- return [2 /*return*/];
143
- }
144
- });
145
- }); },
146
- wrap: function (key, fn, ttl) {
147
- return __awaiter(this, void 0, void 0, function () {
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
- mget: function () {
200
- var keys = [];
201
- for (var _i = 0; _i < arguments.length; _i++) {
202
- keys[_i] = arguments[_i];
203
- }
204
- return __awaiter(_this, void 0, void 0, function () {
205
- var values, caches_2, caches_2_1, cache, val, e_4, e_5_1;
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
- mset: function (args, ttl) { return __awaiter(_this, void 0, void 0, function () {
255
- return __generator(this, function (_a) {
256
- switch (_a.label) {
257
- case 0: return [4 /*yield*/, Promise.all(caches.map(function (cache) { return cache.store.mset(args, ttl); }))];
258
- case 1:
259
- _a.sent();
260
- return [2 /*return*/];
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 __awaiter(_this, void 0, void 0, function () {
270
- return __generator(this, function (_a) {
271
- switch (_a.label) {
272
- case 0: return [4 /*yield*/, Promise.all(caches.map(function (cache) {
273
- var _a;
274
- return (_a = cache.store).mdel.apply(_a, __spreadArray([], __read(keys), false));
275
- }))];
276
- case 1:
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;;GAEG;AACH,SAAgB,YAAY,CAC1B,MAAc;IADhB,iBAuEC;IApEC,IAAM,GAAG,GAAG,UAAU,GAAW;;;;;;;oBACX,WAAA,SAAA,MAAM,CAAA;;;;oBAAf,KAAK;;;;oBAEA,qBAAM,KAAK,CAAC,GAAG,CAAI,GAAG,CAAC,EAAA;;oBAA7B,GAAG,GAAG,SAAuB;oBACnC,IAAI,GAAG,KAAK,SAAS;wBAAE,sBAAO,GAAG,EAAC;;;;;;;;;;;;;;;;;;;;;;SAGvC,CAAC;IACF,IAAM,GAAG,GAAG,UACV,GAAW,EACX,IAAO,EACP,GAA8B;;;wBAE9B,qBAAM,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,EAAzB,CAAyB,CAAC,CAAC,EAAA;;oBAAnE,SAAmE,CAAC;;;;SACrE,CAAC;IACF,OAAO;QACL,GAAG,KAAA;QACH,G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C5C,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;wBACnB,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,SAAS;4BAAE,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;oBAChE,CAAC,CAAC,CAAC;iBACJ;gBAAC,OAAO,CAAC,EAAE,GAAE;aACf;YACD,OAAO,MAAM,CAAC;QAChB,CAAC,CAAA;QACD,IAAI,EAAE,CAAO,IAAyB,EAAE,GAAkB,EAAE,EAAE;YAC5D,MAAM,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;QACxE,CAAC,CAAA;QACD,IAAI,EAAE,CAAO,GAAG,IAAc,EAAE,EAAE;YAChC,MAAM,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACtE,CAAC,CAAA;KACF,CAAC;AACJ,CAAC;AAvED,oCAuEC"}
@@ -1,15 +1,17 @@
1
- import LRUCache, { Options } from 'lru-cache';
1
+ import { LRUCache } from 'lru-cache';
2
2
  import { Config, Cache, Store } from '../caching';
3
- type Lru = LRUCache<string, unknown>;
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
- sizeCalculation?: (key: string, value: unknown) => number;
8
+ sizeCalculation?: (value: unknown, key: string) => number;
7
9
  shouldCloneBeforeSet?: boolean;
8
- } & Options<string, unknown> & Config;
10
+ } & Options & Config;
9
11
  export type MemoryStore = Store & {
10
- keyCount: () => number;
11
- dump: Lru['dump'];
12
- load: Lru['load'];
12
+ get size(): number;
13
+ dump: LRU['dump'];
14
+ load: LRU['load'];
13
15
  };
14
16
  export type MemoryCache = Cache<MemoryStore>;
15
17
  /**
@@ -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
- var lru_cache_1 = __importDefault(require("lru-cache"));
91
- var lodash_clonedeep_1 = __importDefault(require("lodash.clonedeep"));
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
- var shouldCloneBeforeSet = (args === null || args === void 0 ? void 0 : args.shouldCloneBeforeSet) !== false; // clone by default
105
- var isCacheable = (_a = args === null || args === void 0 ? void 0 : args.isCacheable) !== null && _a !== void 0 ? _a : (function (val) { return val !== undefined; });
106
- var lruOpts = __assign(__assign({}, 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 });
107
- var lruCache = new lru_cache_1.default(lruOpts);
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: function (key) {
110
- return __awaiter(this, void 0, void 0, function () {
111
- return __generator(this, function (_a) {
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: function (key) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
118
- return [2 /*return*/, lruCache.get(key)];
119
- }); }); },
120
- keys: function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
121
- return [2 /*return*/, __spreadArray([], __read(lruCache.keys()), false)];
122
- }); }); },
123
- mget: function () {
124
- var args = [];
125
- for (var _i = 0; _i < arguments.length; _i++) {
126
- args[_i] = arguments[_i];
127
- }
128
- return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
129
- return [2 /*return*/, args.map(function (x) { return lruCache.get(x); })];
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: function () {
161
- var args = [];
162
- for (var _i = 0; _i < arguments.length; _i++) {
163
- args[_i] = arguments[_i];
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: function () {
187
- return __awaiter(this, void 0, void 0, function () {
188
- return __generator(this, function (_a) {
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: function (key) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
195
- return [2 /*return*/, lruCache.getRemainingTTL(key)];
196
- }); }); },
197
- set: function (key, value, opt) {
198
- return __awaiter(this, void 0, void 0, function () {
199
- var ttl;
200
- return __generator(this, function (_a) {
201
- if (!isCacheable(value))
202
- throw new Error("no cacheable value ".concat(JSON.stringify(value)));
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
- keyCount: function () { return lruCache.size; },
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: function () { return lruCache.dump(); },
86
+ dump: () => lruCache.dump(),
219
87
  /**
220
88
  * This method is not available in the caching modules.
221
89
  */
222
- load: function () {
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAA8C;AAC9C,sEAAyC;AAMzC,SAAS,KAAK,CAAI,MAAS;IACzB,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,EAAE;QACjD,OAAO,IAAA,0BAAS,EAAC,MAAM,CAAC,CAAC;KAC1B;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAgBD;;GA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ib/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@20.2.5/node_modules/@types/node/assert.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/assert/strict.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/globals.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/async_hooks.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/buffer.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/child_process.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/cluster.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/console.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/constants.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/crypto.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/dgram.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/dns.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/dns/promises.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/domain.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/dom-events.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/events.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/fs.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/fs/promises.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/http.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/http2.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/https.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/inspector.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/module.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/net.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/os.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/path.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/perf_hooks.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/process.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/punycode.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/querystring.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/readline.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/readline/promises.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/repl.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/stream.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/stream/promises.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/stream/consumers.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/stream/web.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/string_decoder.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/test.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/timers.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/timers/promises.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/tls.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/trace_events.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/tty.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/url.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/util.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/v8.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/vm.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/wasi.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/worker_threads.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/zlib.d.ts","../node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/globals.global.d.ts","../node_modules/.pnpm/@types+node@20.2.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":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"cb656e57ac7dcb4a0850d3063f6f2618b11bdefcbf241fdd7ebf5b52107b17a0","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"1ecdcf09ff556c7be88a5969071d09fdf173da75b7502ee2ae3d368b0e33a87f",{"version":"d0492a5c8e22f1723e49aa3dc847ec7e8f12a1725ee468af8f889581407b3a93","signature":"94682ea344a5708d73ece44f723c334f2f77ccdfe95f9146168c99367a7108ee"},"3d989d2dc4d3a3c297f5c31115963026a481e7ecc54f0e356b3bbebededdc50a",{"version":"40b6f02bbc4f1c0609f102238438dfd28eb7d21cd2826544deed046fea3ee60c","signature":"3042e8d01db2d7ff1d68631f1ce3bc9d951c744b930bbca718fa0a6f4568df93"},{"version":"c0d4dd74eb038787b587e2741293bcadcebc3705bad5d2820ac13dd8dc4238a5","signature":"341ed35aafffc2d36fd8cac57eccb90f7cf5230181d3f54d9480b42e33e377ec"},"4489f8f01affdc619f5893de6db5d21f594603addb6329d2cbdb2453d2837879","587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true},"7a435e0c814f58f23e9a0979045ec0ef5909aac95a70986e8bcce30c27dff228",{"version":"241a2e19e03fd1d884e0f304429378d05bc2c1b26b5693c84868f7ad0674982d","affectsGlobalScope":true},"db71be322f07f769200108aa19b79a75dd19a187c9dca2a30c4537b233aa2863","0b70ce7a20fa21c7201a5a972b7f2288cb90ace8a2dde9f3344b5dfc6504abaf",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","3fd0f1af75fb7abe0ea376aa71541daaf489f3d87c394b1165db684ea44b48be","3690133deae19c8127c5505fcb67b04bdc9eb053796008538a9b9abbb70d85aa","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"b85c02e14ecb2a873dad5a1de72319b265160ba48f1b83661aeb3bba1366c1bc","affectsGlobalScope":true},"f1a0b2dde686cb8a995d4ed11848be5eaf76fd5d56532942e0737b39d4a02c6d","fc3764040518a1008dd04bdc80964591b566b896283e00df85c95851c1f46237","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","790623a47c5eda62910098884ecb154dc0e5f3a23fc36c1bfb3b5b9ed44e2c2d","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","354612fe1d49ecc9551ea3a27d94eef2887b64ef4a71f72ca444efe0f2f0ba80",{"version":"125af9d85cb9d5e508353f10a8d52f01652d2d48b2cea54789a33e5b4d289c1c","affectsGlobalScope":true},"6a325d4c96569bdd5a9a59f819a672e2d5644ee6cf98ab910e0064402557af8d","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"14a50dafe3f45713f7f27cb6320dff07c6ac31678f07959c2134260061bf91ff","affectsGlobalScope":true},{"version":"5761c90b0cabdd6bd1f5fb1c3bf942088fdd39e18ed35dbe39b0c34bc733bf13","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","0cab4d7d4edc40cd3af9eea7c3ed6d1016910c0954c49c4297e479bf3822a625","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270","1fb6c5ec52332a8b531a8d7a5300ac9301f98c4fe62f68e744e0841ccba65e7e",{"version":"ab294c4b7279318ee2a8fdf681305457ecc05970c94108d304933f18823eeac1","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","bbda6ea452a2386093a1eda18a6e26a989e98869f1b9f37e46f510a986d2e740","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","244cdeb8c344eb42e6142cbb0727752b9b735443fba7007c11b14ca06ebed97c",{"version":"75dd741ca6a6c8d2437a6ca8349b64b816421dbf9fe82dd026afaba965576962","affectsGlobalScope":true},{"version":"8799401a7ab57764f0d464513a7fa7c72e1d70a226b172ec60fff534ea94d108","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","92db194ef7d208d5e4b6242a3434573fd142a621ff996d84cc9dbba3553277d0","69f5747ad0887c24c76858ed458712101771349f2287e21871fcd1562daa7dc0",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"220717df86539e219f619d31965d177e7235185e4bc6f6e6ed7e11a9b004d5ca"],"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,96,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],[114,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,52],[120,53],[121,54],[122,55],[123,56],[124,57],[125,58],[126,59],[127,60],[128,61],[129,62],[130,63],[131,64],[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,65],[79,66],[78,67],[76,68],[75,69]],"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,52],[120,53],[121,54],[122,55],[123,56],[124,57],[125,58],[126,59],[127,60],[128,61],[129,62],[130,63],[131,64],[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,70],[79,66],[78,71],[76,68],[75,72]],"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.0",
3
+ "version": "5.2.2",
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": "~7.18.3"
33
+ "lru-cache": "~9.1.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@commitlint/cli": "17.4.4",
37
- "@commitlint/config-conventional": "17.4.4",
38
- "@faker-js/faker": "7.6.0",
36
+ "@commitlint/cli": "17.6.3",
37
+ "@commitlint/config-conventional": "17.6.3",
38
+ "@faker-js/faker": "8.0.2",
39
39
  "@release-it/conventional-changelog": "5.1.1",
40
40
  "@types/lodash.clonedeep": "4.5.7",
41
- "@types/node": "18.15.5",
42
- "@typescript-eslint/eslint-plugin": "5.56.0",
43
- "@typescript-eslint/parser": "5.56.0",
44
- "@vitest/coverage-c8": "0.29.7",
45
- "dotenv-cli": "7.1.0",
46
- "eslint": "8.36.0",
41
+ "@types/node": "20.2.5",
42
+ "@typescript-eslint/eslint-plugin": "5.59.7",
43
+ "@typescript-eslint/parser": "5.59.7",
44
+ "@vitest/coverage-c8": "0.31.1",
45
+ "dotenv-cli": "7.2.1",
46
+ "eslint": "8.41.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.0",
51
- "prettier": "2.8.5",
52
- "release-it": "15.9.0",
53
- "typescript": "5.0.2",
54
- "vitest": "0.29.7"
50
+ "lint-staged": "13.2.2",
51
+ "prettier": "2.8.8",
52
+ "release-it": "15.10.3",
53
+ "typescript": "5.0.4",
54
+ "vitest": "0.31.1"
55
55
  },
56
56
  "lint-staged": {
57
57
  "*.{ts,js,mts,mjs}": "eslint --cache --fix",