There are also 49 prototype pollution vulnerabilities related to tap's use of lodash. You should be able to fix it by updating tap.
https://github.com/JoshuaWise/better-sqlite3/issues/262#issuecomment-549872386 https://www.sqlite.org/wal.html Just do it. It should near instanly make Bibliogram faster.