Skip to content

Commit

Permalink
fix: @matrixai/db 5.* supports @matrixai/logger at 3.*
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai authored and tegefaulkes committed Aug 19, 2022
1 parent 83315cb commit 55b2718
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions benches/db_1KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ async function main() {
},
},
dbPath: dbPath1,
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
// Db2 uses workers
Expand All @@ -52,7 +51,6 @@ async function main() {
},
},
dbPath: dbPath2,
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
db2.setWorkerManager(workerManager);
Expand Down
2 changes: 0 additions & 2 deletions benches/db_1MiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ async function main() {
},
},
dbPath: dbPath1,
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
// Db2 uses workers
Expand All @@ -52,7 +51,6 @@ async function main() {
},
},
dbPath: dbPath2,
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
db2.setWorkerManager(workerManager);
Expand Down
2 changes: 0 additions & 2 deletions benches/db_24KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ async function main() {
},
},
dbPath: dbPath1,
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
// Db2 uses workers
Expand All @@ -52,7 +51,6 @@ async function main() {
},
},
dbPath: dbPath2,
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
db2.setWorkerManager(workerManager);
Expand Down
1 change: 0 additions & 1 deletion src/EncryptedFS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ class EncryptedFS {
decrypt: utils.decrypt,
},
},
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger: logger.getChild(DB.name),
fresh,
});
Expand Down
1 change: 0 additions & 1 deletion tests/EncryptedFS.concurrent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
decrypt: utils.decrypt,
},
},
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger: logger.getChild(DB.name),
});
iNodeMgr = await INodeManager.createINodeManager({
Expand Down
1 change: 0 additions & 1 deletion tests/fd/FileDescriptor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ describe('File Descriptor', () => {
decrypt: utils.decrypt,
},
},
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
await db.start();
Expand Down
1 change: 0 additions & 1 deletion tests/fd/FileDescriptorManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ describe('File Descriptor Manager', () => {
decrypt: utils.decrypt,
},
},
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
await db.start();
Expand Down
1 change: 0 additions & 1 deletion tests/inodes/INodeManager.dir.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ describe('INodeManager Directory', () => {
decrypt: utils.decrypt,
},
},
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
await db.start();
Expand Down
1 change: 0 additions & 1 deletion tests/inodes/INodeManager.file.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ describe('INodeManager File', () => {
decrypt: utils.decrypt,
},
},
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
await db.start();
Expand Down
1 change: 0 additions & 1 deletion tests/inodes/INodeManager.symlink.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ describe('INodeManager Symlink', () => {
decrypt: utils.decrypt,
},
},
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
await db.start();
Expand Down
2 changes: 0 additions & 2 deletions tests/inodes/INodeManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ describe('INodeManager', () => {
decrypt: utils.decrypt,
},
},
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
});
Expand Down Expand Up @@ -64,7 +63,6 @@ describe('INodeManager', () => {
decrypt: utils.decrypt,
},
},
// @ts-ignore - version of js-logger is incompatible (remove when js-db updates to 5.* here)
logger,
});
iNodeMgr = await INodeManager.createINodeManager({
Expand Down

0 comments on commit 55b2718

Please sign in to comment.