@trebired/logger 2.0.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +15 -2
- package/dist/core/create_log.d.ts.map +1 -1
- package/dist/core/create_log.js +16 -0
- package/dist/core/create_log.js.map +1 -1
- package/dist/format/console.d.ts.map +1 -1
- package/dist/format/console.js +38 -4
- package/dist/format/console.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/backend/index.d.ts +6 -0
- package/dist/storage/backend/index.d.ts.map +1 -0
- package/dist/storage/backend/index.js +19 -0
- package/dist/storage/backend/index.js.map +1 -0
- package/dist/storage/backend/js.d.ts +4 -0
- package/dist/storage/backend/js.d.ts.map +1 -0
- package/dist/storage/backend/js.js +179 -0
- package/dist/storage/backend/js.js.map +1 -0
- package/dist/storage/backend/native.d.ts +6 -0
- package/dist/storage/backend/native.d.ts.map +1 -0
- package/dist/storage/backend/native.js +89 -0
- package/dist/storage/backend/native.js.map +1 -0
- package/dist/storage/backend/types.d.ts +57 -0
- package/dist/storage/backend/types.d.ts.map +1 -0
- package/dist/storage/backend/types.js +2 -0
- package/dist/storage/backend/types.js.map +1 -0
- package/dist/storage/export.d.ts +5 -0
- package/dist/storage/export.d.ts.map +1 -0
- package/dist/storage/export.js +124 -0
- package/dist/storage/export.js.map +1 -0
- package/dist/storage/partitions/delete.d.ts +5 -0
- package/dist/storage/partitions/delete.d.ts.map +1 -0
- package/dist/storage/partitions/delete.js +121 -0
- package/dist/storage/partitions/delete.js.map +1 -0
- package/dist/storage/partitions/files.d.ts +12 -0
- package/dist/storage/partitions/files.d.ts.map +1 -0
- package/dist/storage/partitions/files.js +142 -0
- package/dist/storage/partitions/files.js.map +1 -0
- package/dist/storage/partitions/internal.d.ts +47 -0
- package/dist/storage/partitions/internal.d.ts.map +1 -0
- package/dist/storage/partitions/internal.js +35 -0
- package/dist/storage/partitions/internal.js.map +1 -0
- package/dist/storage/partitions/markers.d.ts +8 -0
- package/dist/storage/partitions/markers.d.ts.map +1 -0
- package/dist/storage/partitions/markers.js +88 -0
- package/dist/storage/partitions/markers.js.map +1 -0
- package/dist/storage/partitions/public.d.ts +11 -0
- package/dist/storage/partitions/public.d.ts.map +1 -0
- package/dist/storage/partitions/public.js +79 -0
- package/dist/storage/partitions/public.js.map +1 -0
- package/dist/storage/partitions/records.d.ts +9 -0
- package/dist/storage/partitions/records.d.ts.map +1 -0
- package/dist/storage/partitions/records.js +73 -0
- package/dist/storage/partitions/records.js.map +1 -0
- package/dist/storage/partitions/transforms.d.ts +6 -0
- package/dist/storage/partitions/transforms.d.ts.map +1 -0
- package/dist/storage/partitions/transforms.js +59 -0
- package/dist/storage/partitions/transforms.js.map +1 -0
- package/dist/storage/partitions.d.ts +3 -29
- package/dist/storage/partitions.d.ts.map +1 -1
- package/dist/storage/partitions.js +3 -563
- package/dist/storage/partitions.js.map +1 -1
- package/dist/types/browser.d.ts +54 -0
- package/dist/types/browser.d.ts.map +1 -0
- package/dist/types/browser.js +2 -0
- package/dist/types/browser.js.map +1 -0
- package/dist/types/common.d.ts +73 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/common.js +2 -0
- package/dist/types/common.js.map +1 -0
- package/dist/types/export.d.ts +53 -0
- package/dist/types/export.d.ts.map +1 -0
- package/dist/types/export.js +2 -0
- package/dist/types/export.js.map +1 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/partitions.d.ts +92 -0
- package/dist/types/partitions.d.ts.map +1 -0
- package/dist/types/partitions.js +2 -0
- package/dist/types/partitions.js.map +1 -0
- package/dist/types/query.d.ts +49 -0
- package/dist/types/query.d.ts.map +1 -0
- package/dist/types/query.js +2 -0
- package/dist/types/query.js.map +1 -0
- package/dist/types/server.d.ts +79 -0
- package/dist/types/server.d.ts.map +1 -0
- package/dist/types/server.js +2 -0
- package/dist/types/server.js.map +1 -0
- package/dist/types.d.ts +1 -326
- package/dist/types.d.ts.map +1 -1
- package/native/darwin-arm64.node +0 -0
- package/native/darwin-x64.node +0 -0
- package/native/linux-x64-gnu.node +0 -0
- package/package.json +16 -7
package/dist/types.d.ts
CHANGED
|
@@ -1,327 +1,2 @@
|
|
|
1
|
-
type
|
|
2
|
-
type LogLevelConfig = {
|
|
3
|
-
weight: number;
|
|
4
|
-
label?: string;
|
|
5
|
-
color?: string;
|
|
6
|
-
stream?: LogStreamName;
|
|
7
|
-
showStack?: boolean;
|
|
8
|
-
bold?: boolean;
|
|
9
|
-
};
|
|
10
|
-
type ConsoleOptions = {
|
|
11
|
-
enabled?: boolean;
|
|
12
|
-
colors?: boolean;
|
|
13
|
-
timestamp?: boolean;
|
|
14
|
-
group?: boolean;
|
|
15
|
-
metadata?: boolean;
|
|
16
|
-
locale?: string;
|
|
17
|
-
};
|
|
18
|
-
type WriteOptions = {
|
|
19
|
-
mode?: "async" | "sync";
|
|
20
|
-
maxQueue?: number;
|
|
21
|
-
overflow?: "drop-newest" | "drop-oldest" | "throw";
|
|
22
|
-
};
|
|
23
|
-
type RetentionOptions = {
|
|
24
|
-
enabled?: boolean;
|
|
25
|
-
maxAgeDays?: number;
|
|
26
|
-
maxPartitions?: number;
|
|
27
|
-
maxFileSize?: string | number;
|
|
28
|
-
compressOldFiles?: boolean;
|
|
29
|
-
cleanupIntervalMs?: number;
|
|
30
|
-
};
|
|
31
|
-
type RedactTransformArgs = {
|
|
32
|
-
path: string;
|
|
33
|
-
key: string;
|
|
34
|
-
value: unknown;
|
|
35
|
-
replacement: string;
|
|
36
|
-
};
|
|
37
|
-
type RedactOptions = {
|
|
38
|
-
paths?: Array<string | RegExp>;
|
|
39
|
-
replacement?: string;
|
|
40
|
-
includeDefaultSensitiveKeys?: boolean;
|
|
41
|
-
transform?: (args: RedactTransformArgs) => unknown;
|
|
42
|
-
};
|
|
43
|
-
type RequestLoggerOptions = {
|
|
44
|
-
group?: string;
|
|
45
|
-
idHeader?: string;
|
|
46
|
-
attach?: boolean;
|
|
47
|
-
};
|
|
48
|
-
type PartitionSanitizer = (value: string) => string;
|
|
49
|
-
type PartitionTimeValue = string | number | Date;
|
|
50
|
-
type PartitionSanitizeOptions = {
|
|
51
|
-
sanitizer?: PartitionSanitizer;
|
|
52
|
-
};
|
|
53
|
-
type PartitionNameOptions = {
|
|
54
|
-
at?: PartitionTimeValue;
|
|
55
|
-
timeZone?: string;
|
|
56
|
-
suffix?: string | null;
|
|
57
|
-
sanitizeSuffix?: PartitionSanitizer | false;
|
|
58
|
-
};
|
|
59
|
-
type CreatePartitionOptions = {
|
|
60
|
-
temporary?: boolean;
|
|
61
|
-
};
|
|
62
|
-
type SetPartitionOptions = {
|
|
63
|
-
temporary?: boolean;
|
|
64
|
-
};
|
|
65
|
-
type PromotePartitionOptions = {
|
|
66
|
-
merge?: boolean;
|
|
67
|
-
};
|
|
68
|
-
type PartitionTotals = {
|
|
69
|
-
logs: number;
|
|
70
|
-
dirs: number;
|
|
71
|
-
files: number;
|
|
72
|
-
bytes: number;
|
|
73
|
-
};
|
|
74
|
-
type PartitionInfo = {
|
|
75
|
-
name: string;
|
|
76
|
-
path: string;
|
|
77
|
-
temporary: boolean;
|
|
78
|
-
created_at: string;
|
|
79
|
-
updated_at: string;
|
|
80
|
-
last_activity_at: string | null;
|
|
81
|
-
total: PartitionTotals;
|
|
82
|
-
};
|
|
83
|
-
type RenamePartitionOptions = {
|
|
84
|
-
from: string;
|
|
85
|
-
to: string;
|
|
86
|
-
};
|
|
87
|
-
type MovePartitionOptions = {
|
|
88
|
-
fromDir: string;
|
|
89
|
-
from: string;
|
|
90
|
-
toDir: string;
|
|
91
|
-
to?: string;
|
|
92
|
-
};
|
|
93
|
-
type CopyPartitionOptions = {
|
|
94
|
-
fromDir: string;
|
|
95
|
-
from: string;
|
|
96
|
-
toDir: string;
|
|
97
|
-
to?: string;
|
|
98
|
-
};
|
|
99
|
-
type MergePartitionOptions = {
|
|
100
|
-
from: string;
|
|
101
|
-
to: string;
|
|
102
|
-
};
|
|
103
|
-
type DeletePartitionsOptions = {
|
|
104
|
-
partitions?: string[];
|
|
105
|
-
temporaryOnly?: boolean;
|
|
106
|
-
olderThanDays?: number;
|
|
107
|
-
};
|
|
108
|
-
type DeletePartitionResult = {
|
|
109
|
-
partitions: number;
|
|
110
|
-
files: number;
|
|
111
|
-
logs: number;
|
|
112
|
-
bytes: number;
|
|
113
|
-
items: string[];
|
|
114
|
-
};
|
|
115
|
-
type DeleteLogsOptions = {
|
|
116
|
-
partition?: string | null;
|
|
117
|
-
acrossPartitions?: boolean;
|
|
118
|
-
groupKey?: string;
|
|
119
|
-
day?: string;
|
|
120
|
-
hour?: string;
|
|
121
|
-
level?: string;
|
|
122
|
-
olderThanDays?: number;
|
|
123
|
-
temporaryOnly?: boolean;
|
|
124
|
-
};
|
|
125
|
-
type DeleteLogFileSummary = {
|
|
126
|
-
path: string;
|
|
127
|
-
partition: string | null;
|
|
128
|
-
logs: number;
|
|
129
|
-
bytes: number;
|
|
130
|
-
};
|
|
131
|
-
type DeleteLogsResult = {
|
|
132
|
-
partitions: number;
|
|
133
|
-
files: number;
|
|
134
|
-
logs: number;
|
|
135
|
-
bytes: number;
|
|
136
|
-
items: DeleteLogFileSummary[];
|
|
137
|
-
};
|
|
138
|
-
type CreateLogOptions = {
|
|
139
|
-
dir?: string;
|
|
140
|
-
partition?: string;
|
|
141
|
-
temporaryPartition?: boolean;
|
|
142
|
-
save?: boolean;
|
|
143
|
-
console?: boolean | ConsoleOptions;
|
|
144
|
-
quiet?: boolean;
|
|
145
|
-
timeZone?: string;
|
|
146
|
-
source?: string;
|
|
147
|
-
levels?: Record<string, LogLevelConfig>;
|
|
148
|
-
minLevel?: string | number;
|
|
149
|
-
write?: WriteOptions;
|
|
150
|
-
retention?: RetentionOptions;
|
|
151
|
-
redact?: RedactOptions;
|
|
152
|
-
serializers?: Record<string, (value: unknown) => unknown>;
|
|
153
|
-
sample?: number | ((entry: LogEntry) => boolean);
|
|
154
|
-
request?: RequestLoggerOptions;
|
|
155
|
-
};
|
|
156
|
-
type LogOrigin = {
|
|
157
|
-
source: string;
|
|
158
|
-
instance: string | null;
|
|
159
|
-
};
|
|
160
|
-
type LogEntry = {
|
|
161
|
-
recorded_at: string;
|
|
162
|
-
level: string;
|
|
163
|
-
group: string;
|
|
164
|
-
message: string;
|
|
165
|
-
origin: LogOrigin;
|
|
166
|
-
partition?: string | null;
|
|
167
|
-
metadata?: Record<string, unknown>;
|
|
168
|
-
};
|
|
169
|
-
type LogQueryOptions = {
|
|
170
|
-
level?: string;
|
|
171
|
-
groupKey?: string;
|
|
172
|
-
day?: string;
|
|
173
|
-
hour?: string;
|
|
174
|
-
limit?: number;
|
|
175
|
-
partition?: string | null;
|
|
176
|
-
acrossPartitions?: boolean;
|
|
177
|
-
levels?: Record<string, LogLevelConfig>;
|
|
178
|
-
};
|
|
179
|
-
type LogQueryTotals = {
|
|
180
|
-
logs: number;
|
|
181
|
-
dirs: number;
|
|
182
|
-
files: number;
|
|
183
|
-
};
|
|
184
|
-
type LogPartitionTotals = LogQueryTotals & {
|
|
185
|
-
partitions: number;
|
|
186
|
-
};
|
|
187
|
-
type LogPartitionSummary = {
|
|
188
|
-
partition: string | null;
|
|
189
|
-
count: number;
|
|
190
|
-
total: LogQueryTotals;
|
|
191
|
-
};
|
|
192
|
-
type LogQueryResult = {
|
|
193
|
-
logs: LogEntry[];
|
|
194
|
-
levels: Record<string, LogLevelConfig>;
|
|
195
|
-
metadata: {
|
|
196
|
-
dir: string;
|
|
197
|
-
partition: string | null;
|
|
198
|
-
count: number;
|
|
199
|
-
total: LogQueryTotals;
|
|
200
|
-
query: {
|
|
201
|
-
level: string;
|
|
202
|
-
groupKey: string;
|
|
203
|
-
day: string;
|
|
204
|
-
hour: string;
|
|
205
|
-
limit: number;
|
|
206
|
-
partition: string | null;
|
|
207
|
-
acrossPartitions: boolean;
|
|
208
|
-
};
|
|
209
|
-
partitions: {
|
|
210
|
-
items: LogPartitionSummary[];
|
|
211
|
-
all: LogPartitionTotals;
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
type LogStats = {
|
|
216
|
-
mode: "async" | "sync";
|
|
217
|
-
queued: number;
|
|
218
|
-
written: number;
|
|
219
|
-
dropped: number;
|
|
220
|
-
failed: number;
|
|
221
|
-
queueLength: number;
|
|
222
|
-
closed: boolean;
|
|
223
|
-
};
|
|
224
|
-
type BrowserBatchOptions = {
|
|
225
|
-
size?: number;
|
|
226
|
-
delayMs?: number;
|
|
227
|
-
maxQueue?: number;
|
|
228
|
-
overflow?: "drop-newest" | "drop-oldest" | "throw";
|
|
229
|
-
};
|
|
230
|
-
type BrowserTransportContext = {
|
|
231
|
-
runtime: "browser";
|
|
232
|
-
transports: string[];
|
|
233
|
-
};
|
|
234
|
-
type BrowserTransport = {
|
|
235
|
-
name: string;
|
|
236
|
-
available?: () => boolean;
|
|
237
|
-
write(entries: LogEntry[], context: BrowserTransportContext): void | Promise<void>;
|
|
238
|
-
flush?(): void | Promise<void>;
|
|
239
|
-
close?(): void | Promise<void>;
|
|
240
|
-
};
|
|
241
|
-
type BrowserConsoleTransportOptions = {
|
|
242
|
-
console?: boolean | ConsoleOptions;
|
|
243
|
-
timeZone?: string;
|
|
244
|
-
levels?: Record<string, LogLevelConfig>;
|
|
245
|
-
};
|
|
246
|
-
type BrowserLogOptions = {
|
|
247
|
-
console?: boolean | ConsoleOptions;
|
|
248
|
-
quiet?: boolean;
|
|
249
|
-
timeZone?: string;
|
|
250
|
-
source?: string;
|
|
251
|
-
group?: string;
|
|
252
|
-
metadata?: Record<string, unknown>;
|
|
253
|
-
levels?: Record<string, LogLevelConfig>;
|
|
254
|
-
minLevel?: string | number;
|
|
255
|
-
redact?: RedactOptions;
|
|
256
|
-
serializers?: Record<string, (value: unknown) => unknown>;
|
|
257
|
-
sample?: number | ((entry: LogEntry) => boolean);
|
|
258
|
-
transports?: Array<"console" | BrowserTransport>;
|
|
259
|
-
batch?: BrowserBatchOptions;
|
|
260
|
-
};
|
|
261
|
-
type BrowserLogStats = {
|
|
262
|
-
queued: number;
|
|
263
|
-
written: number;
|
|
264
|
-
dropped: number;
|
|
265
|
-
failed: number;
|
|
266
|
-
queueLength: number;
|
|
267
|
-
closed: boolean;
|
|
268
|
-
transports: string[];
|
|
269
|
-
};
|
|
270
|
-
type ServerLogStreamContext = {
|
|
271
|
-
runtime: "server";
|
|
272
|
-
dir: string;
|
|
273
|
-
};
|
|
274
|
-
type BrowserLogStreamContext = BrowserTransportContext;
|
|
275
|
-
type LogStreamContext = ServerLogStreamContext | BrowserLogStreamContext;
|
|
276
|
-
type LogStreamHandler = (entry: LogEntry, context: LogStreamContext) => void;
|
|
277
|
-
type BrowserLogInstance = Record<string, any> & {
|
|
278
|
-
group(groupName?: string): Record<string, any>;
|
|
279
|
-
withScope(source?: string | null, groupName?: string, instance?: string | number | null): Record<string, any>;
|
|
280
|
-
setEnabled(flag: boolean): void;
|
|
281
|
-
logError(error: unknown, metadata?: Record<string, unknown>, source?: string): void;
|
|
282
|
-
flush(): Promise<void>;
|
|
283
|
-
close(): Promise<void>;
|
|
284
|
-
getStats(): BrowserLogStats;
|
|
285
|
-
};
|
|
286
|
-
type LogInstance = Record<string, any> & {
|
|
287
|
-
group(groupName?: string): Record<string, any>;
|
|
288
|
-
withScope(source?: string | null, groupName?: string, instance?: string | number | null): Record<string, any>;
|
|
289
|
-
setEnabled(flag: boolean): void;
|
|
290
|
-
getDir(): string;
|
|
291
|
-
setDir(nextDir: string): void;
|
|
292
|
-
getPartition(): string | null;
|
|
293
|
-
setPartition(partition: string | null, options?: SetPartitionOptions): Promise<void>;
|
|
294
|
-
promotePartition(partition: string, options?: PromotePartitionOptions): Promise<void>;
|
|
295
|
-
listPartitions(): Promise<PartitionInfo[]>;
|
|
296
|
-
getPartitionInfo(partition?: string): Promise<PartitionInfo | null>;
|
|
297
|
-
requestLogger(options?: RequestLoggerOptions): (req: any, res: any, next: () => void) => void;
|
|
298
|
-
logError(error: unknown, metadata?: Record<string, unknown>, source?: string): void;
|
|
299
|
-
getAllLogs(options?: LogQueryOptions): Promise<LogQueryResult>;
|
|
300
|
-
getAllLogsAcrossPartitions(options?: LogQueryOptions): Promise<LogQueryResult>;
|
|
301
|
-
flush(): Promise<void>;
|
|
302
|
-
close(): Promise<void>;
|
|
303
|
-
getStats(): LogStats;
|
|
304
|
-
};
|
|
305
|
-
type NormalizedConsoleOptions = {
|
|
306
|
-
enabled: boolean;
|
|
307
|
-
colors: boolean;
|
|
308
|
-
timestamp: boolean;
|
|
309
|
-
group: boolean;
|
|
310
|
-
metadata: boolean;
|
|
311
|
-
locale?: string;
|
|
312
|
-
};
|
|
313
|
-
type NormalizedWriteOptions = {
|
|
314
|
-
mode: "async" | "sync";
|
|
315
|
-
maxQueue: number;
|
|
316
|
-
overflow: "drop-newest" | "drop-oldest" | "throw";
|
|
317
|
-
};
|
|
318
|
-
type NormalizedRetentionOptions = {
|
|
319
|
-
enabled: boolean;
|
|
320
|
-
maxAgeDays: number | null;
|
|
321
|
-
maxPartitions: number | null;
|
|
322
|
-
maxFileSize: number;
|
|
323
|
-
compressOldFiles: boolean;
|
|
324
|
-
cleanupIntervalMs: number;
|
|
325
|
-
};
|
|
326
|
-
export type { BrowserBatchOptions, BrowserConsoleTransportOptions, BrowserLogInstance, BrowserLogOptions, BrowserLogStats, BrowserLogStreamContext, BrowserTransport, BrowserTransportContext, ConsoleOptions, CopyPartitionOptions, CreatePartitionOptions, CreateLogOptions, DeleteLogFileSummary, DeleteLogsOptions, DeleteLogsResult, DeletePartitionResult, DeletePartitionsOptions, LogEntry, LogInstance, LogLevelConfig, LogOrigin, LogQueryOptions, LogQueryResult, LogQueryTotals, LogPartitionTotals, LogPartitionSummary, LogStats, LogStreamContext, LogStreamHandler, LogStreamName, MergePartitionOptions, MovePartitionOptions, NormalizedConsoleOptions, NormalizedRetentionOptions, NormalizedWriteOptions, PartitionInfo, PartitionNameOptions, PartitionSanitizeOptions, PartitionSanitizer, PartitionTimeValue, PartitionTotals, PromotePartitionOptions, RedactOptions, RedactTransformArgs, RenamePartitionOptions, RequestLoggerOptions, RetentionOptions, ServerLogStreamContext, SetPartitionOptions, WriteOptions, };
|
|
1
|
+
export type * from "./types/index.js";
|
|
327
2
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEzC,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,aAAa,GAAG,aAAa,GAAG,OAAO,CAAC;CACpD,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU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,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,YAAY,EACV,mBAAmB,EACnB,8BAA8B,EAC9B,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,QAAQ,EACR,WAAW,EACX,cAAc,EACd,SAAS,EACT,eAAe,EACf,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,YAAY,GACb,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,mBAAmB,kBAAkB,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trebired/logger",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.1.1",
|
|
4
|
+
"description": "Local-first JSONL logger with durable writes, partitions, export archives, native storage acceleration, redaction, query helpers, and browser runtimes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"logger",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
],
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "
|
|
19
|
+
"url": "https://github.com/Trebired/logger"
|
|
20
20
|
},
|
|
21
21
|
"bugs": {
|
|
22
|
-
"url": "https://github.com/
|
|
22
|
+
"url": "https://github.com/Trebired/logger/issues"
|
|
23
23
|
},
|
|
24
|
-
"homepage": "https://github.com/
|
|
24
|
+
"homepage": "https://github.com/Trebired/logger#readme",
|
|
25
25
|
"type": "module",
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=18",
|
|
@@ -50,16 +50,20 @@
|
|
|
50
50
|
},
|
|
51
51
|
"files": [
|
|
52
52
|
"dist",
|
|
53
|
+
"native/*.node",
|
|
53
54
|
"CHANGELOG.md",
|
|
54
55
|
"LICENSE",
|
|
55
56
|
"README.md"
|
|
56
57
|
],
|
|
57
58
|
"scripts": {
|
|
58
59
|
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|
|
60
|
+
"build:native": "node ./scripts/build-native.mjs",
|
|
61
|
+
"build:native:matrix": "node ./scripts/build-native-matrix.mjs",
|
|
59
62
|
"demo": "bun run examples/dummy.ts",
|
|
60
|
-
"prepublishOnly": "bun run typecheck && bun test && bun run build",
|
|
63
|
+
"prepublishOnly": "bun run typecheck && bun test && bun run build && node ./scripts/verify-publish.mjs",
|
|
61
64
|
"test": "bun test",
|
|
62
|
-
"typecheck": "tsc --noEmit"
|
|
65
|
+
"typecheck": "tsc --noEmit",
|
|
66
|
+
"verify:pack": "node ./scripts/verify-pack.mjs"
|
|
63
67
|
},
|
|
64
68
|
"peerDependencies": {
|
|
65
69
|
"react": ">=18"
|
|
@@ -74,8 +78,13 @@
|
|
|
74
78
|
"@types/node": "^24.10.1",
|
|
75
79
|
"@types/react": "^19.2.2",
|
|
76
80
|
"@types/react-test-renderer": "^19.1.0",
|
|
81
|
+
"@types/tar-stream": "^3.1.4",
|
|
77
82
|
"react": "^19.2.0",
|
|
78
83
|
"react-test-renderer": "^19.2.0",
|
|
79
84
|
"typescript": "^6.0.2"
|
|
85
|
+
},
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"fflate": "^0.8.3",
|
|
88
|
+
"tar-stream": "^3.2.0"
|
|
80
89
|
}
|
|
81
90
|
}
|