@taicode/common-base 3.0.1 → 3.1.0
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/output/batching-buffer/batching-buffer.test.js +1 -1
- package/output/batching-buffer/index.d.ts +2 -2
- package/output/batching-buffer/index.d.ts.map +1 -1
- package/output/batching-buffer/index.js +1 -1
- package/output/catch/catch.test.js +1 -1
- package/output/catch/index.d.ts +1 -1
- package/output/catch/index.d.ts.map +1 -1
- package/output/catch/index.js +1 -1
- package/output/color/color.d.ts.map +1 -1
- package/output/color/color.js +0 -1
- package/output/color/color.test.js +1 -1
- package/output/color/index.d.ts +1 -1
- package/output/color/index.d.ts.map +1 -1
- package/output/color/index.js +1 -1
- package/output/debounce/debounce.test.js +1 -1
- package/output/debounce/index.d.ts +1 -1
- package/output/debounce/index.d.ts.map +1 -1
- package/output/debounce/index.js +1 -1
- package/output/disposer/disposer.d.ts.map +1 -1
- package/output/disposer/disposer.js +2 -1
- package/output/disposer/disposer.test.js +1 -1
- package/output/disposer/index.d.ts +1 -1
- package/output/disposer/index.d.ts.map +1 -1
- package/output/disposer/index.js +1 -1
- package/output/error/error.test.js +1 -1
- package/output/error/index.d.ts +2 -2
- package/output/error/index.d.ts.map +1 -1
- package/output/error/index.js +1 -1
- package/output/event-emitter/event-emitter.test.js +1 -1
- package/output/event-emitter/index.d.ts +1 -1
- package/output/event-emitter/index.d.ts.map +1 -1
- package/output/event-emitter/index.js +1 -1
- package/output/flow-queue/flow-queue.d.ts.map +1 -1
- package/output/flow-queue/flow-queue.js +4 -5
- package/output/flow-queue/flow-queue.test.js +2 -2
- package/output/flow-queue/index.d.ts +2 -2
- package/output/flow-queue/index.d.ts.map +1 -1
- package/output/flow-queue/index.js +1 -1
- package/output/index.d.ts +17 -17
- package/output/index.d.ts.map +1 -1
- package/output/index.js +17 -17
- package/output/logger/formatter.js +1 -1
- package/output/logger/formatter.test.js +3 -3
- package/output/logger/index.d.ts +3 -3
- package/output/logger/index.d.ts.map +1 -1
- package/output/logger/index.js +3 -3
- package/output/logger/logger.d.ts +2 -2
- package/output/logger/logger.d.ts.map +1 -1
- package/output/logger/logger.js +1 -1
- package/output/logger/logger.test.js +4 -4
- package/output/logger/transport.d.ts +1 -1
- package/output/logger/transport.d.ts.map +1 -1
- package/output/logger/transport.js +1 -1
- package/output/logger/transport.test.js +2 -2
- package/output/lru-cache/index.d.ts +1 -1
- package/output/lru-cache/index.d.ts.map +1 -1
- package/output/lru-cache/index.js +1 -1
- package/output/lru-cache/lru-cache.test.js +1 -1
- package/output/number/index.d.ts +1 -1
- package/output/number/index.d.ts.map +1 -1
- package/output/number/index.js +1 -1
- package/output/number/number.test.js +1 -1
- package/output/object/index.d.ts +1 -1
- package/output/object/index.d.ts.map +1 -1
- package/output/object/index.js +1 -1
- package/output/object/object.test.js +1 -1
- package/output/ring-cache/index.d.ts +1 -1
- package/output/ring-cache/index.d.ts.map +1 -1
- package/output/ring-cache/index.js +1 -1
- package/output/ring-cache/ring-cache.test.js +1 -1
- package/output/scheduler/index.d.ts +2 -0
- package/output/scheduler/index.d.ts.map +1 -0
- package/output/scheduler/index.js +1 -0
- package/output/scheduler/scheduler.d.ts +222 -0
- package/output/scheduler/scheduler.d.ts.map +1 -0
- package/output/scheduler/scheduler.js +348 -0
- package/output/scheduler/scheduler.test.d.ts +2 -0
- package/output/scheduler/scheduler.test.d.ts.map +1 -0
- package/output/scheduler/scheduler.test.js +341 -0
- package/output/service/index.d.ts +1 -1
- package/output/service/index.d.ts.map +1 -1
- package/output/service/index.js +1 -1
- package/output/string/index.d.ts +1 -1
- package/output/string/index.d.ts.map +1 -1
- package/output/string/index.js +1 -1
- package/output/string/string.test.js +1 -1
- package/output/throttle/index.d.ts +1 -1
- package/output/throttle/index.d.ts.map +1 -1
- package/output/throttle/index.js +1 -1
- package/output/throttle/throttle.test.js +1 -1
- package/output/ttl-cache/index.d.ts +1 -1
- package/output/ttl-cache/index.d.ts.map +1 -1
- package/output/ttl-cache/index.js +1 -1
- package/output/ttl-cache/ttl-cache.test.js +1 -1
- package/package.json +7 -5
- package/output/events/disposer.d.ts +0 -6
- package/output/events/disposer.d.ts.map +0 -1
- package/output/events/disposer.js +0 -19
- package/output/events/disposer.test.d.ts +0 -2
- package/output/events/disposer.test.d.ts.map +0 -1
- package/output/events/disposer.test.js +0 -192
- package/output/events/event-emitter.d.ts +0 -33
- package/output/events/event-emitter.d.ts.map +0 -1
- package/output/events/event-emitter.js +0 -66
- package/output/events/event-emitter.test.d.ts +0 -2
- package/output/events/event-emitter.test.d.ts.map +0 -1
- package/output/events/event-emitter.test.js +0 -213
- package/output/events/index.d.ts +0 -3
- package/output/events/index.d.ts.map +0 -1
- package/output/events/index.js +0 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BatchingBuffer } from './batching-buffer';
|
|
2
|
-
export type { BatchingBufferOptions } from './batching-buffer';
|
|
1
|
+
export { BatchingBuffer } from './batching-buffer.js';
|
|
2
|
+
export type { BatchingBufferOptions } from './batching-buffer.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/batching-buffer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/batching-buffer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,YAAY,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { BatchingBuffer } from './batching-buffer';
|
|
1
|
+
export { BatchingBuffer } from './batching-buffer.js';
|
package/output/catch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './catch';
|
|
1
|
+
export * from './catch.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/catch/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/catch/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
package/output/catch/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './catch';
|
|
1
|
+
export * from './catch.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../source/color/color.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;AAcvC,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,IAMpC,QAAQ,SAAS,EAAE,QAAO,MAAY,
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../source/color/color.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;AAcvC,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,IAMpC,QAAQ,SAAS,EAAE,QAAO,MAAY,YAM/C;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,YAO/E;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,IAgBrE,OAAO,MAAM,KAAG,MAAM,CAgB/B;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
|
package/output/color/color.js
CHANGED
|
@@ -14,7 +14,6 @@ export function getRandomColor(seed) {
|
|
|
14
14
|
const lightness = 45; // 明度(0-100)
|
|
15
15
|
return (offset, range = 360) => {
|
|
16
16
|
const normalizedOffset = normalizeSeed(offset);
|
|
17
|
-
console.log('normalizedOffset', offset, normalizedOffset);
|
|
18
17
|
const finalHue = (hue + normalizedOffset) % range;
|
|
19
18
|
return `hsl(${finalHue}, ${saturation}%, ${lightness}%)`;
|
|
20
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
|
|
2
|
-
import { getRandomColor, getRandomColors, interpolateColors } from './color';
|
|
2
|
+
import { getRandomColor, getRandomColors, interpolateColors } from './color.js';
|
|
3
3
|
describe('getRandomColor 函数', () => {
|
|
4
4
|
// Mock console.log to avoid noise in tests
|
|
5
5
|
beforeEach(() => {
|
package/output/color/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './color';
|
|
1
|
+
export * from './color.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/color/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/color/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
package/output/color/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './color';
|
|
1
|
+
export * from './color.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './debounce';
|
|
1
|
+
export * from './debounce.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/debounce/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/debounce/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
package/output/debounce/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './debounce';
|
|
1
|
+
export * from './debounce.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disposer.d.ts","sourceRoot":"","sources":["../../source/disposer/disposer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"disposer.d.ts","sourceRoot":"","sources":["../../source/disposer/disposer.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IACnB,OAAO,CAAC,gBAAgB,CAAyB;IAGjD,WAAW,CAAC,SAAS,EAAE,MAAM,OAAO,GAAG,IAAI;IAK3C,OAAO,IAAI,IAAI;CAUhB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { logger } from '../logger/index.js';
|
|
1
2
|
export class Disposer {
|
|
2
3
|
cleanupFunctions = [];
|
|
3
4
|
// 添加清理函数
|
|
@@ -11,7 +12,7 @@ export class Disposer {
|
|
|
11
12
|
cleanupFn();
|
|
12
13
|
}
|
|
13
14
|
catch (error) {
|
|
14
|
-
|
|
15
|
+
logger.error('Error during cleanup:', error);
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
this.cleanupFunctions = []; // 清空清理函数列表
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './disposer';
|
|
1
|
+
export * from './disposer.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/disposer/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/disposer/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
package/output/disposer/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './disposer';
|
|
1
|
+
export * from './disposer.js';
|
package/output/error/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { UserError, SystemError } from './error';
|
|
2
|
-
export type { ErrorContext } from './error';
|
|
1
|
+
export { UserError, SystemError } from './error.js';
|
|
2
|
+
export type { ErrorContext } from './error.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/error/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/error/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACZ,MAAM,YAAY,CAAA;AAEnB,YAAY,EACV,YAAY,EACb,MAAM,YAAY,CAAA"}
|
package/output/error/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { UserError, SystemError } from './error';
|
|
1
|
+
export { UserError, SystemError } from './error.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './event-emitter';
|
|
1
|
+
export * from './event-emitter.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/event-emitter/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/event-emitter/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './event-emitter';
|
|
1
|
+
export * from './event-emitter.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-queue.d.ts","sourceRoot":"","sources":["../../source/flow-queue/flow-queue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;
|
|
1
|
+
{"version":3,"file":"flow-queue.d.ts","sourceRoot":"","sources":["../../source/flow-queue/flow-queue.ts"],"names":[],"mappings":"AA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 -78,7 +78,8 @@
|
|
|
78
78
|
* - **并发控制**:支持配置并发处理数量,默认为 1
|
|
79
79
|
* - **链式调用**:支持流畅的链式 API 调用
|
|
80
80
|
*/
|
|
81
|
-
import { catchIt } from '../catch';
|
|
81
|
+
import { catchIt } from '../catch/index.js';
|
|
82
|
+
import { logger } from '../logger/index.js';
|
|
82
83
|
function delay(arg0) {
|
|
83
84
|
return new Promise(resolve => setTimeout(() => resolve(), arg0));
|
|
84
85
|
}
|
|
@@ -365,7 +366,7 @@ export class FlowQueue {
|
|
|
365
366
|
}
|
|
366
367
|
}
|
|
367
368
|
catch (error) {
|
|
368
|
-
|
|
369
|
+
logger.error('Error in processFlow:', error);
|
|
369
370
|
}
|
|
370
371
|
finally {
|
|
371
372
|
// 减少正在处理的任务计数
|
|
@@ -381,7 +382,7 @@ export class FlowQueue {
|
|
|
381
382
|
for (const callback of this.onGenerates.values()) {
|
|
382
383
|
const result = await catchIt(() => callback(output));
|
|
383
384
|
if (result.isError()) {
|
|
384
|
-
|
|
385
|
+
logger.error('Error in onGenerate callback:', result.error);
|
|
385
386
|
}
|
|
386
387
|
}
|
|
387
388
|
}
|
|
@@ -527,13 +528,11 @@ export class FlowQueue {
|
|
|
527
528
|
}
|
|
528
529
|
// 如果已经标记为输入关闭且没有待处理的输入和正在处理的任务,立即返回 resolved Promise
|
|
529
530
|
if (this.isInputClosed && this.pendingInputs.length === 0 && this.processingCount === 0) {
|
|
530
|
-
console.log('所有输入已处理完毕');
|
|
531
531
|
return Promise.resolve();
|
|
532
532
|
}
|
|
533
533
|
// 创建新的 Promise
|
|
534
534
|
this.completionPromise = new Promise((resolve) => {
|
|
535
535
|
this.completionResolve = () => {
|
|
536
|
-
console.log('所有输入已处理完毕');
|
|
537
536
|
resolve();
|
|
538
537
|
};
|
|
539
538
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { describe, it, expect, vi, beforeEach } from 'vitest';
|
|
2
|
-
import { FlowQueue } from './flow-queue';
|
|
1
|
+
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
|
|
2
|
+
import { FlowQueue } from './flow-queue.js';
|
|
3
3
|
describe('FlowQueue', () => {
|
|
4
4
|
let flowQueue;
|
|
5
5
|
let mockProcessor;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { FlowQueue } from './flow-queue';
|
|
2
|
-
export type { FlowQueueOptions, FlowQueueProcessor, FlowQueueRetryStrategy, FlowQueueRetryConfig, FlowQueueDelayConfig, FlowQueueOnGenerate } from './flow-queue';
|
|
1
|
+
export { FlowQueue } from './flow-queue.js';
|
|
2
|
+
export type { FlowQueueOptions, FlowQueueProcessor, FlowQueueRetryStrategy, FlowQueueRetryConfig, FlowQueueDelayConfig, FlowQueueOnGenerate } from './flow-queue.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/flow-queue/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/flow-queue/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,iBAAiB,CAAA"}
|
package/output/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export * from './disposer';
|
|
2
|
-
export * from './event-emitter';
|
|
3
|
-
export * from './logger';
|
|
4
|
-
export * from './error';
|
|
5
|
-
export * from './service';
|
|
6
|
-
export * from './ttl-cache';
|
|
7
|
-
export * from './lru-cache';
|
|
8
|
-
export * from './ring-cache';
|
|
9
|
-
export * from './batching-buffer';
|
|
10
|
-
export * from './string';
|
|
11
|
-
export * from './color';
|
|
12
|
-
export * from './object';
|
|
13
|
-
export * from './number';
|
|
14
|
-
export * from './catch';
|
|
15
|
-
export * from './debounce';
|
|
16
|
-
export * from './throttle';
|
|
17
|
-
export * from './flow-queue';
|
|
1
|
+
export * from './disposer/index.js';
|
|
2
|
+
export * from './event-emitter/index.js';
|
|
3
|
+
export * from './logger/index.js';
|
|
4
|
+
export * from './error/index.js';
|
|
5
|
+
export * from './service/index.js';
|
|
6
|
+
export * from './ttl-cache/index.js';
|
|
7
|
+
export * from './lru-cache/index.js';
|
|
8
|
+
export * from './ring-cache/index.js';
|
|
9
|
+
export * from './batching-buffer/index.js';
|
|
10
|
+
export * from './string/index.js';
|
|
11
|
+
export * from './color/index.js';
|
|
12
|
+
export * from './object/index.js';
|
|
13
|
+
export * from './number/index.js';
|
|
14
|
+
export * from './catch/index.js';
|
|
15
|
+
export * from './debounce/index.js';
|
|
16
|
+
export * from './throttle/index.js';
|
|
17
|
+
export * from './flow-queue/index.js';
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
package/output/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AACA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AACA,cAAc,qBAAqB,CAAA;AAGnC,cAAc,0BAA0B,CAAA;AAGxC,cAAc,mBAAmB,CAAA;AAGjC,cAAc,kBAAkB,CAAA;AAGhC,cAAc,oBAAoB,CAAA;AAGlC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AAGrC,cAAc,4BAA4B,CAAA;AAG1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAGhC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AAEnC,cAAc,uBAAuB,CAAA"}
|
package/output/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
// === 资源管理 ===
|
|
2
|
-
export * from './disposer';
|
|
2
|
+
export * from './disposer/index.js';
|
|
3
3
|
// === 事件系统 ===
|
|
4
|
-
export * from './event-emitter';
|
|
4
|
+
export * from './event-emitter/index.js';
|
|
5
5
|
// === 日志系统 ===
|
|
6
|
-
export * from './logger';
|
|
6
|
+
export * from './logger/index.js';
|
|
7
7
|
// === 错误处理 ===
|
|
8
|
-
export * from './error';
|
|
8
|
+
export * from './error/index.js';
|
|
9
9
|
// === 服务管理 ===
|
|
10
|
-
export * from './service';
|
|
10
|
+
export * from './service/index.js';
|
|
11
11
|
// === 缓存系统 ===
|
|
12
|
-
export * from './ttl-cache';
|
|
13
|
-
export * from './lru-cache';
|
|
14
|
-
export * from './ring-cache';
|
|
12
|
+
export * from './ttl-cache/index.js';
|
|
13
|
+
export * from './lru-cache/index.js';
|
|
14
|
+
export * from './ring-cache/index.js';
|
|
15
15
|
// === 数据管理 ===
|
|
16
|
-
export * from './batching-buffer';
|
|
16
|
+
export * from './batching-buffer/index.js';
|
|
17
17
|
// === 基础工具 ===
|
|
18
|
-
export * from './string';
|
|
19
|
-
export * from './color';
|
|
20
|
-
export * from './object';
|
|
21
|
-
export * from './number';
|
|
22
|
-
export * from './catch';
|
|
18
|
+
export * from './string/index.js';
|
|
19
|
+
export * from './color/index.js';
|
|
20
|
+
export * from './object/index.js';
|
|
21
|
+
export * from './number/index.js';
|
|
22
|
+
export * from './catch/index.js';
|
|
23
23
|
// === 函数增强 ===
|
|
24
|
-
export * from './debounce';
|
|
25
|
-
export * from './throttle';
|
|
26
|
-
export * from './flow-queue';
|
|
24
|
+
export * from './debounce/index.js';
|
|
25
|
+
export * from './throttle/index.js';
|
|
26
|
+
export * from './flow-queue/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { describe, it, expect, beforeEach } from 'vitest';
|
|
2
|
-
import { DefaultLogFormatter } from './formatter';
|
|
3
|
-
import { UserError, SystemError } from '../error';
|
|
1
|
+
import { describe, it, expect, vi, beforeEach } from 'vitest';
|
|
2
|
+
import { DefaultLogFormatter } from './formatter.js';
|
|
3
|
+
import { UserError, SystemError } from '../error/index.js';
|
|
4
4
|
describe('DefaultLogFormatter', () => {
|
|
5
5
|
let formatter;
|
|
6
6
|
beforeEach(() => {
|
package/output/logger/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './logger';
|
|
2
|
-
export * from './formatter';
|
|
3
|
-
export * from './transport';
|
|
1
|
+
export * from './logger.js';
|
|
2
|
+
export * from './formatter.js';
|
|
3
|
+
export * from './transport.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/logger/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/logger/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
|
package/output/logger/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './logger';
|
|
2
|
-
export * from './formatter';
|
|
3
|
-
export * from './transport';
|
|
1
|
+
export * from './logger.js';
|
|
2
|
+
export * from './formatter.js';
|
|
3
|
+
export * from './transport.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LogTransport } from './transport';
|
|
2
|
-
import { LogFormatter } from './formatter';
|
|
1
|
+
import type { LogTransport } from './transport.js';
|
|
2
|
+
import { type LogFormatter } from './formatter.js';
|
|
3
3
|
export type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
|
|
4
4
|
export interface LoggerOptions {
|
|
5
5
|
level?: LogLevel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../source/logger/logger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../source/logger/logger.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAa,MAAM,gBAAgB,CAAA;AAC7D,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAEvE,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;AAE9E,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,QAAQ,CAAA;IAChB,oCAAoC;IACpC,UAAU,CAAC,EAAE,YAAY,EAAE,CAAA;IAC3B,aAAa;IACb,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAA;CAClD;AAED,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAU;IACxB,OAAO,CAAC,SAAS,CAAc;IAC/B,OAAO,CAAC,UAAU,CAAgB;IAClC,OAAO,CAAC,KAAK,CAAC,CAA2C;gBAE7C,OAAO,GAAE,aAAkB;IAYvC,OAAO,CAAC,YAAY;IA0BpB,OAAO,CAAC,SAAS;IAKjB;;OAEG;IACH,OAAO,CAAC,eAAe;IA2BvB;;OAEG;IACH,OAAO,CAAC,UAAU;IAUlB,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE;IAOpB,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE;IAOpB,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE;IAOnB,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE;IAOnB,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE;IAOpB,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE;IAOpB,MAAM;IAIN;;OAEG;IACH,YAAY,CAAC,SAAS,EAAE,YAAY,GAAG,IAAI;IAI3C;;OAEG;IACH,eAAe,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI;IAI5C;;OAEG;IACH,aAAa,IAAI,SAAS,YAAY,EAAE;IAIxC;;OAEG;IACG,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IAQtC;;;OAGG;IACH,KAAK,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,MAAM;IAkB/E;;OAEG;IACH,IAAI,KAAK,IAAI,QAAQ,CAEpB;IAED,IAAI,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAE3B;CACF;AAED,eAAO,MAAM,MAAM,QAAe,CAAA"}
|
package/output/logger/logger.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { describe, it, expect, vi } from 'vitest';
|
|
2
|
-
import { Logger } from './logger';
|
|
3
|
-
import { DefaultLogFormatter } from './formatter';
|
|
4
|
-
import { UserError, SystemError } from '../error';
|
|
5
|
-
import { MemoryTransport } from './transport'; // 测试向后兼容性
|
|
2
|
+
import { Logger } from './logger.js';
|
|
3
|
+
import { DefaultLogFormatter } from './formatter.js';
|
|
4
|
+
import { UserError, SystemError } from '../error/index.js';
|
|
5
|
+
import { MemoryTransport } from './transport.js'; // 测试向后兼容性
|
|
6
6
|
describe('Logger', () => {
|
|
7
7
|
it('应该默认记录 info 及以上级别', () => {
|
|
8
8
|
const print = vi.fn();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../source/logger/transport.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,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AAO,CAAQ;IAE/B,OAAO,CAAC,KAAK,CAAsB;IACnC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAoE;gBAE1F,OAAO,GAAE,sBAA2B;IAQhD;;OAEG;IACH,OAAO,CAAC,SAAS;IAeV,GAAG,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI;IAQnC;;OAEG;IACI,UAAU,IAAI,SAAS,cAAc,EAAE;IAO9C;;OAEG;IACI,iBAAiB,CAAC,KAAK,EAAE,QAAQ,GAAG,cAAc,EAAE;IAQ3D;;OAEG;IACI,qBAAqB,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,cAAc,EAAE;IAQtE;;;OAGG;IACI,aAAa,CAAC,SAAS,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,OAAO,GAAG,cAAc,EAAE;IAItF;;;OAGG;IACI,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,EAAE;IAsB5D;;OAEG;IACI,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc,EAAE;IAOxD;;OAEG;IACI,QAAQ,IAAI;QACjB,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;QACjC,eAAe,CAAC,EAAE,IAAI,CAAA;QACtB,eAAe,CAAC,EAAE,IAAI,CAAA;KACvB;IA4BD;;OAEG;IACI,KAAK,IAAI,IAAI;IAIpB;;OAEG;IACI,YAAY,IAAI,MAAM;IAI7B;;OAEG;IACI,KAAK,IAAI,IAAI;CAGrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { describe, it, expect, beforeEach } from 'vitest';
|
|
2
|
-
import { MemoryTransport } from './transport';
|
|
1
|
+
import { describe, it, expect, beforeEach, vi } from 'vitest';
|
|
2
|
+
import { MemoryTransport } from './transport.js';
|
|
3
3
|
// 创建一个测试用的 Transport 实现
|
|
4
4
|
class TestTransport {
|
|
5
5
|
name;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LruCache } from './lru-cache';
|
|
1
|
+
export { LruCache } from './lru-cache.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/lru-cache/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/lru-cache/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { LruCache } from './lru-cache';
|
|
1
|
+
export { LruCache } from './lru-cache.js';
|
package/output/number/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './number';
|
|
1
|
+
export * from './number.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/number/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/number/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
package/output/number/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './number';
|
|
1
|
+
export * from './number.js';
|
package/output/object/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './object';
|
|
1
|
+
export * from './object.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/object/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/object/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
package/output/object/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './object';
|
|
1
|
+
export * from './object.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/ring-cache/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/ring-cache/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,iBAAiB,CAAA"}
|