@ooneex/cache 0.0.13 → 0.0.14
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/index.js +226 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,228 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
var
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
8
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
9
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
10
|
+
for (let key of __getOwnPropNames(mod))
|
|
11
|
+
if (!__hasOwnProp.call(to, key))
|
|
12
|
+
__defProp(to, key, {
|
|
13
|
+
get: () => mod[key],
|
|
14
|
+
enumerable: true
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __require = import.meta.require;
|
|
3
19
|
|
|
4
|
-
|
|
20
|
+
// src/CacheException.ts
|
|
21
|
+
import { Exception } from "@ooneex/exception";
|
|
22
|
+
import { HttpStatus } from "@ooneex/http-status";
|
|
23
|
+
|
|
24
|
+
class CacheException extends Exception {
|
|
25
|
+
constructor(message, data = {}) {
|
|
26
|
+
super(message, {
|
|
27
|
+
status: HttpStatus.Code.InternalServerError,
|
|
28
|
+
data
|
|
29
|
+
});
|
|
30
|
+
this.name = "CacheException";
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
// src/decorators.ts
|
|
34
|
+
import { container, EContainerScope } from "@ooneex/container";
|
|
35
|
+
var decorator = {
|
|
36
|
+
cache: (scope = EContainerScope.Singleton) => {
|
|
37
|
+
return (target) => {
|
|
38
|
+
container.add(target, scope);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
// src/FilesystemCache.ts
|
|
43
|
+
class FilesystemCache {
|
|
44
|
+
cacheDir;
|
|
45
|
+
maxFileSize;
|
|
46
|
+
constructor(options = {}) {
|
|
47
|
+
this.cacheDir = options.cacheDir || `${process.cwd()}/.cache`;
|
|
48
|
+
this.maxFileSize = options.maxFileSize || 10 * 1024 * 1024;
|
|
49
|
+
}
|
|
50
|
+
async connect() {
|
|
51
|
+
try {
|
|
52
|
+
const { mkdir, stat } = await import("fs/promises");
|
|
53
|
+
await mkdir(this.cacheDir, { recursive: true });
|
|
54
|
+
const stats = await stat(this.cacheDir);
|
|
55
|
+
if (!stats.isDirectory()) {
|
|
56
|
+
throw new CacheException("Failed to create cache directory");
|
|
57
|
+
}
|
|
58
|
+
} catch (error) {
|
|
59
|
+
throw new CacheException(`Failed to initialize filesystem cache: ${error}`);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
async get(key) {
|
|
63
|
+
try {
|
|
64
|
+
await this.connect();
|
|
65
|
+
const entry = await this.readCacheEntry(key);
|
|
66
|
+
return entry?.value;
|
|
67
|
+
} catch (error) {
|
|
68
|
+
throw new CacheException(`Failed to get key "${key}": ${error}`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
async set(key, value, ttl) {
|
|
72
|
+
try {
|
|
73
|
+
await this.connect();
|
|
74
|
+
const entry = {
|
|
75
|
+
value,
|
|
76
|
+
createdAt: Date.now(),
|
|
77
|
+
originalKey: key,
|
|
78
|
+
...ttl !== undefined && { ttl }
|
|
79
|
+
};
|
|
80
|
+
await this.writeCacheEntry(key, entry);
|
|
81
|
+
} catch (error) {
|
|
82
|
+
throw new CacheException(`Failed to set key "${key}": ${error}`);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
async delete(key) {
|
|
86
|
+
try {
|
|
87
|
+
await this.connect();
|
|
88
|
+
const file = Bun.file(this.getFilePath(key));
|
|
89
|
+
if (!await file.exists()) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
await file.delete();
|
|
93
|
+
return true;
|
|
94
|
+
} catch (error) {
|
|
95
|
+
throw new CacheException(`Failed to delete key "${key}": ${error}`);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
async has(key) {
|
|
99
|
+
try {
|
|
100
|
+
await this.connect();
|
|
101
|
+
const entry = await this.readCacheEntry(key);
|
|
102
|
+
return entry !== undefined;
|
|
103
|
+
} catch (error) {
|
|
104
|
+
throw new CacheException(`Failed to check if key "${key}" exists: ${error}`);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
getFilePath(key) {
|
|
108
|
+
if (key.length > 200) {
|
|
109
|
+
const hash = Bun.hash(key);
|
|
110
|
+
return `${this.cacheDir}/${hash.toString(36)}.cache`;
|
|
111
|
+
}
|
|
112
|
+
const sanitizedKey = key.replace(/[<>:"/\\|?*\x00-\x1f]/g, "_");
|
|
113
|
+
return `${this.cacheDir}/${sanitizedKey}.cache`;
|
|
114
|
+
}
|
|
115
|
+
isExpired(entry) {
|
|
116
|
+
if (!entry.ttl)
|
|
117
|
+
return false;
|
|
118
|
+
if (entry.ttl === 0) {
|
|
119
|
+
return false;
|
|
120
|
+
}
|
|
121
|
+
return entry.createdAt + entry.ttl * 1000 < Date.now();
|
|
122
|
+
}
|
|
123
|
+
async readCacheEntry(key) {
|
|
124
|
+
try {
|
|
125
|
+
const file = Bun.file(this.getFilePath(key));
|
|
126
|
+
if (!await file.exists()) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
const content = await file.text();
|
|
130
|
+
const entry = JSON.parse(content);
|
|
131
|
+
if (this.isExpired(entry)) {
|
|
132
|
+
await file.delete().catch(() => {});
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
return entry;
|
|
136
|
+
} catch {
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
async writeCacheEntry(key, entry) {
|
|
141
|
+
const content = JSON.stringify(entry);
|
|
142
|
+
if (Buffer.byteLength(content, "utf-8") > this.maxFileSize) {
|
|
143
|
+
throw new CacheException(`Cache entry exceeds maximum file size of ${this.maxFileSize} bytes`);
|
|
144
|
+
}
|
|
145
|
+
await Bun.write(this.getFilePath(key), content);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
// src/RedisCache.ts
|
|
149
|
+
class RedisCache {
|
|
150
|
+
client;
|
|
151
|
+
constructor(options = {}) {
|
|
152
|
+
const connectionString = options.connectionString || Bun.env.CACHE_REDIS_URL;
|
|
153
|
+
if (!connectionString) {
|
|
154
|
+
throw new CacheException("Redis connection string is required. Please provide a connection string either through the constructor options or set the CACHE_REDIS_URL environment variable.");
|
|
155
|
+
}
|
|
156
|
+
const { connectionString: _, ...userOptions } = options;
|
|
157
|
+
const defaultOptions = {
|
|
158
|
+
connectionTimeout: 1e4,
|
|
159
|
+
idleTimeout: 30000,
|
|
160
|
+
autoReconnect: true,
|
|
161
|
+
maxRetries: 3,
|
|
162
|
+
enableOfflineQueue: true,
|
|
163
|
+
enableAutoPipelining: true
|
|
164
|
+
};
|
|
165
|
+
const clientOptions = { ...defaultOptions, ...userOptions };
|
|
166
|
+
this.client = new Bun.RedisClient(connectionString, clientOptions);
|
|
167
|
+
}
|
|
168
|
+
async connect() {
|
|
169
|
+
if (!this.client.connected) {
|
|
170
|
+
await this.client.connect();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
async get(key) {
|
|
174
|
+
try {
|
|
175
|
+
await this.connect();
|
|
176
|
+
const value = await this.client.get(key);
|
|
177
|
+
if (value === null) {
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
try {
|
|
181
|
+
return JSON.parse(value);
|
|
182
|
+
} catch {
|
|
183
|
+
return value;
|
|
184
|
+
}
|
|
185
|
+
} catch (error) {
|
|
186
|
+
throw new CacheException(`Failed to get key "${key}": ${error}`);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
async set(key, value, ttl) {
|
|
190
|
+
try {
|
|
191
|
+
await this.connect();
|
|
192
|
+
const normalizedValue = value === undefined ? null : value;
|
|
193
|
+
const serializedValue = typeof normalizedValue === "string" ? normalizedValue : JSON.stringify(normalizedValue);
|
|
194
|
+
await this.client.set(key, serializedValue);
|
|
195
|
+
if (ttl && ttl > 0) {
|
|
196
|
+
await this.client.expire(key, ttl);
|
|
197
|
+
}
|
|
198
|
+
} catch (error) {
|
|
199
|
+
throw new CacheException(`Failed to set key "${key}": ${error}`);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
async delete(key) {
|
|
203
|
+
try {
|
|
204
|
+
await this.connect();
|
|
205
|
+
const result = await this.client.del(key);
|
|
206
|
+
return result > 0;
|
|
207
|
+
} catch (error) {
|
|
208
|
+
throw new CacheException(`Failed to delete key "${key}": ${error}`);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
async has(key) {
|
|
212
|
+
try {
|
|
213
|
+
await this.connect();
|
|
214
|
+
const result = await this.client.exists(key);
|
|
215
|
+
return result;
|
|
216
|
+
} catch (error) {
|
|
217
|
+
throw new CacheException(`Failed to check if key "${key}" exists: ${error}`);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
export {
|
|
222
|
+
decorator,
|
|
223
|
+
RedisCache,
|
|
224
|
+
FilesystemCache,
|
|
225
|
+
CacheException
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
//# debugId=2694BF573ECA1C5F64756E2164756E21
|
package/dist/index.js.map
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"import { CacheException } from \"./CacheException\";\nimport type { FilesystemCacheOptionsType, ICache } from \"./types\";\n\ntype CacheEntryType<T = unknown> = {\n value: T;\n ttl?: number;\n createdAt: number;\n originalKey: string;\n};\n\nexport class FilesystemCache implements ICache {\n private cacheDir: string;\n private maxFileSize: number;\n\n constructor(options: FilesystemCacheOptionsType = {}) {\n this.cacheDir = options.cacheDir || `${process.cwd()}/.cache`;\n this.maxFileSize = options.maxFileSize || 10 * 1024 * 1024; // 10MB default\n }\n\n private async connect(): Promise<void> {\n try {\n const { mkdir, stat } = await import(\"node:fs/promises\");\n await mkdir(this.cacheDir, { recursive: true });\n\n const stats = await stat(this.cacheDir);\n if (!stats.isDirectory()) {\n throw new CacheException(\"Failed to create cache directory\");\n }\n } catch (error) {\n throw new CacheException(`Failed to initialize filesystem cache: ${error}`);\n }\n }\n\n public async get<T = unknown>(key: string): Promise<T | undefined> {\n try {\n await this.connect();\n const entry = await this.readCacheEntry<T>(key);\n\n return entry?.value;\n } catch (error) {\n throw new CacheException(`Failed to get key \"${key}\": ${error}`);\n }\n }\n\n public async set<T = unknown>(key: string, value: T, ttl?: number): Promise<void> {\n try {\n await this.connect();\n\n const entry: CacheEntryType<T> = {\n value,\n createdAt: Date.now(),\n originalKey: key,\n ...(ttl !== undefined && { ttl }),\n };\n\n await this.writeCacheEntry(key, entry);\n } catch (error) {\n throw new CacheException(`Failed to set key \"${key}\": ${error}`);\n }\n }\n\n public async delete(key: string): Promise<boolean> {\n try {\n await this.connect();\n\n const file = Bun.file(this.getFilePath(key));\n\n if (!(await file.exists())) {\n return false;\n }\n\n await file.delete();\n\n return true;\n } catch (error) {\n throw new CacheException(`Failed to delete key \"${key}\": ${error}`);\n }\n }\n\n public async has(key: string): Promise<boolean> {\n try {\n await this.connect();\n const entry = await this.readCacheEntry(key);\n\n return entry !== undefined;\n } catch (error) {\n throw new CacheException(`Failed to check if key \"${key}\" exists: ${error}`);\n }\n }\n\n private getFilePath(key: string): string {\n if (key.length > 200) {\n const hash = Bun.hash(key);\n return `${this.cacheDir}/${hash.toString(36)}.cache`;\n }\n\n const sanitizedKey = key.replace(/[<>:\"/\\\\|?*\\x00-\\x1f]/g, \"_\");\n\n return `${this.cacheDir}/${sanitizedKey}.cache`;\n }\n\n private isExpired(entry: CacheEntryType): boolean {\n if (!entry.ttl) return false;\n\n if (entry.ttl === 0) {\n return false;\n }\n\n return entry.createdAt + entry.ttl * 1000 < Date.now();\n }\n\n private async readCacheEntry<T>(key: string): Promise<CacheEntryType<T> | undefined> {\n try {\n const file = Bun.file(this.getFilePath(key));\n\n if (!(await file.exists())) {\n return;\n }\n\n const content = await file.text();\n const entry: CacheEntryType<T> = JSON.parse(content);\n\n if (this.isExpired(entry)) {\n await file.delete().catch(() => {});\n return;\n }\n\n return entry;\n } catch {\n return;\n }\n }\n\n private async writeCacheEntry<T>(key: string, entry: CacheEntryType<T>): Promise<void> {\n const content = JSON.stringify(entry);\n\n if (Buffer.byteLength(content, \"utf-8\") > this.maxFileSize) {\n throw new CacheException(`Cache entry exceeds maximum file size of ${this.maxFileSize} bytes`);\n }\n\n await Bun.write(this.getFilePath(key), content);\n }\n}\n",
|
|
8
8
|
"import { CacheException } from \"./CacheException\";\nimport type { ICache, RedisCacheOptionsType } from \"./types\";\n\nexport class RedisCache implements ICache {\n private client: Bun.RedisClient;\n\n constructor(options: RedisCacheOptionsType = {}) {\n const connectionString = options.connectionString || Bun.env.CACHE_REDIS_URL;\n\n if (!connectionString) {\n throw new CacheException(\n \"Redis connection string is required. Please provide a connection string either through the constructor options or set the CACHE_REDIS_URL environment variable.\",\n );\n }\n\n const { connectionString: _, ...userOptions } = options;\n\n const defaultOptions = {\n connectionTimeout: 10_000,\n idleTimeout: 30_000,\n autoReconnect: true,\n maxRetries: 3,\n enableOfflineQueue: true,\n enableAutoPipelining: true,\n };\n\n const clientOptions = { ...defaultOptions, ...userOptions };\n\n this.client = new Bun.RedisClient(connectionString, clientOptions);\n }\n\n private async connect(): Promise<void> {\n if (!this.client.connected) {\n await this.client.connect();\n }\n }\n\n public async get<T = unknown>(key: string): Promise<T | undefined> {\n try {\n await this.connect();\n const value = await this.client.get(key);\n\n if (value === null) {\n return;\n }\n\n try {\n return JSON.parse(value);\n } catch {\n return value as T;\n }\n } catch (error) {\n throw new CacheException(`Failed to get key \"${key}\": ${error}`);\n }\n }\n\n public async set<T = unknown>(key: string, value: T, ttl?: number): Promise<void> {\n try {\n await this.connect();\n\n const normalizedValue = value === undefined ? null : value;\n const serializedValue = typeof normalizedValue === \"string\" ? normalizedValue : JSON.stringify(normalizedValue);\n\n await this.client.set(key, serializedValue);\n\n if (ttl && ttl > 0) {\n await this.client.expire(key, ttl);\n }\n } catch (error) {\n throw new CacheException(`Failed to set key \"${key}\": ${error}`);\n }\n }\n\n public async delete(key: string): Promise<boolean> {\n try {\n await this.connect();\n const result = await this.client.del(key);\n\n return result > 0;\n } catch (error) {\n throw new CacheException(`Failed to delete key \"${key}\": ${error}`);\n }\n }\n\n public async has(key: string): Promise<boolean> {\n try {\n await this.connect();\n const result = await this.client.exists(key);\n\n return result;\n } catch (error) {\n throw new CacheException(`Failed to check if key \"${key}\" exists: ${error}`);\n }\n }\n}\n"
|
|
9
9
|
],
|
|
10
|
-
"mappings": ";
|
|
11
|
-
"debugId": "
|
|
10
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAAA;AAEO,MAAM,uBAAuB,UAAU;AAAA,EAC5C,WAAW,CAAC,SAAiB,OAAgC,CAAC,GAAG;AAAA,IAC/D,MAAM,SAAS;AAAA,MACb,QAAQ,WAAW,KAAK;AAAA,MACxB;AAAA,IACF,CAAC;AAAA,IACD,KAAK,OAAO;AAAA;AAEhB;;ACXA;AAGO,IAAM,YAAY;AAAA,EACvB,OAAO,CAAC,QAAyB,gBAAgB,cAAc;AAAA,IAC7D,OAAO,CAAC,WAAiC;AAAA,MACvC,UAAU,IAAI,QAAQ,KAAK;AAAA;AAAA;AAGjC;;ACCO,MAAM,gBAAkC;AAAA,EACrC;AAAA,EACA;AAAA,EAER,WAAW,CAAC,UAAsC,CAAC,GAAG;AAAA,IACpD,KAAK,WAAW,QAAQ,YAAY,GAAG,QAAQ,IAAI;AAAA,IACnD,KAAK,cAAc,QAAQ,eAAe,KAAK,OAAO;AA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