Improve logging across all js files

- Based on "winston" logging library
- Removed no longer needed lodash
- Locked npm dependencies to most recent major versions to avoid installs breaking due to node module updates
This commit is contained in:
Victor Hagelbäck 2021-01-21 21:31:37 +01:00
parent ba27dd6d18
commit 4176cfb714
9 changed files with 434 additions and 214 deletions

View file

@ -1,13 +1,13 @@
{
"dependencies": {
"@abandonware/bluetooth-hci-socket": "0.5.3-3",
"axios": "^0.21.1",
"buffer-xor": "^2.0.2",
"dbus-next": "^0.8.1",
"axios": "~0.21.1",
"buffer-xor": "~2.0.2",
"dbus-next": "~0.9.1",
"fs": "0.0.1-security",
"jspack": "0.0.4",
"lodash": "^4.17.19",
"mqtt": "^3.0.0",
"sleep": "^6.1.0"
"jspack": "~0.0.4",
"mqtt": "~3.0.0",
"sleep": "~6.1.0",
"winston": "~3.3.3"
}
}