mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-12-12 01:42:19 +00:00
`node-libgpiod` uses deprecated NAN which is incompatible with Electron v39+. `serialport` uses N-API ensuring compatibility with current and future Electron versions. `node-libgpiod` is only used by 1 of ~1300 3rd-party-modules (MMM-PresenceScreenControl), while serialport is used by at least 4 modules (MMM-Serial-Notification, MMM-RadarPresence, MMM-LKY-TIC and MMM-Gestures), making it a better test candidate. Also updates Electron to v39. Fixes #3933