Skip to content

Commit 55b2718

Browse files
CMCDragonkaitegefaulkes
authored andcommitted
fix: @matrixai/db 5.* supports @matrixai/logger at 3.*
1 parent 83315cb commit 55b2718

11 files changed

+0
-15
lines changed

benches/db_1KiB.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ async function main() {
3838
},
3939
},
4040
dbPath: dbPath1,
41-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
4241
logger,
4342
});
4443
// Db2 uses workers
@@ -52,7 +51,6 @@ async function main() {
5251
},
5352
},
5453
dbPath: dbPath2,
55-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
5654
logger,
5755
});
5856
db2.setWorkerManager(workerManager);

benches/db_1MiB.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ async function main() {
3838
},
3939
},
4040
dbPath: dbPath1,
41-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
4241
logger,
4342
});
4443
// Db2 uses workers
@@ -52,7 +51,6 @@ async function main() {
5251
},
5352
},
5453
dbPath: dbPath2,
55-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
5654
logger,
5755
});
5856
db2.setWorkerManager(workerManager);

benches/db_24KiB.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ async function main() {
3838
},
3939
},
4040
dbPath: dbPath1,
41-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
4241
logger,
4342
});
4443
// Db2 uses workers
@@ -52,7 +51,6 @@ async function main() {
5251
},
5352
},
5453
dbPath: dbPath2,
55-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
5654
logger,
5755
});
5856
db2.setWorkerManager(workerManager);

src/EncryptedFS.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ class EncryptedFS {
104104
decrypt: utils.decrypt,
105105
},
106106
},
107-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
108107
logger: logger.getChild(DB.name),
109108
fresh,
110109
});

tests/EncryptedFS.concurrent.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
5353
decrypt: utils.decrypt,
5454
},
5555
},
56-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
5756
logger: logger.getChild(DB.name),
5857
});
5958
iNodeMgr = await INodeManager.createINodeManager({

tests/fd/FileDescriptor.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ describe('File Descriptor', () => {
3333
decrypt: utils.decrypt,
3434
},
3535
},
36-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
3736
logger,
3837
});
3938
await db.start();

tests/fd/FileDescriptorManager.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ describe('File Descriptor Manager', () => {
3232
decrypt: utils.decrypt,
3333
},
3434
},
35-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
3635
logger,
3736
});
3837
await db.start();

tests/inodes/INodeManager.dir.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ describe('INodeManager Directory', () => {
2828
decrypt: utils.decrypt,
2929
},
3030
},
31-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
3231
logger,
3332
});
3433
await db.start();

tests/inodes/INodeManager.file.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ describe('INodeManager File', () => {
3030
decrypt: utils.decrypt,
3131
},
3232
},
33-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
3433
logger,
3534
});
3635
await db.start();

tests/inodes/INodeManager.symlink.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ describe('INodeManager Symlink', () => {
2626
decrypt: utils.decrypt,
2727
},
2828
},
29-
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
3029
logger,
3130
});
3231
await db.start();

0 commit comments

Comments
 (0)