hql287 / Manta

🎉 Flexible invoicing desktop app with beautiful & customizable templates.
https://www.getmanta.app
GNU Lesser General Public License v3.0
5.28k stars 477 forks source link

Update Project Dependencies #361

Open itsMikey opened 3 years ago

itsMikey commented 3 years ago

Update project dependencies

Description

Electron-settings has an updated API. Changed any calls to get, set, has to getSync, setSync, hasSync respectfully because the old calls are now async and the code relies on these calls in a synchronous fashion.

webPreferences: {
      nodeIntegration: true,
      enableRemoteModule: true,
  } 

Related Issue

359 #348

Motivation and Context

This is an amazing app and it has helped many of us in our daily lives. A lot of the dependencies used are out of date, some are not maintained anymore (duplicate package checker) and a lot of the API's have changed since this was last updated and I also had to use a much older version of Node to get this running. There's a lot of discussion about how this project is unmaintained and I thought I'd do my part by updating the dependencies and bringing this project up to date. Alas, I hope this will invite people to hop on in and we can all maintain this as a community.

How Has This Been Tested?

No logic has changed but the API of some dependencies (electron-settings, moment) has changed a bit. Existing tests still pass.

Types of changes

Checklist: