update dependencies via ncu -u, lowdb: pass defaultData

dotenv                          ^16.0.3  →  ^16.3.1
  enquirer                         ^2.3.6  →   ^2.4.1
  lowdb                            ^5.1.0  →   ^6.0.1
  playwright-firefox              ^1.31.0  →  ^1.37.1
  puppeteer-extra-plugin-stealth  ^2.11.1  →  ^2.11.2

https://github.com/typicode/lowdb/releases/tag/v6.0.0
> Require defaultData parameter for Low and LowSync constructors to improve TypeScript experience
This commit is contained in:
Ralf Vogler 2023-08-24 13:13:54 +02:00
parent 3d1168f653
commit 6a7cca31a4
7 changed files with 143 additions and 110 deletions

View file

@ -12,8 +12,7 @@ const URL_LOGIN = 'https://www.epicgames.com/id/login?lang=en-US&noHostRedirect=
console.log(datetime(), 'started checking epic-games');
const db = await jsonDb('epic-games.json');
db.data ||= {};
const db = await jsonDb('epic-games.json', {});
handleSIGINT();