Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update project dependencies
Description
Electron-settings has an updated API. Changed any calls to
get
,set
,has
togetSync
,setSync
,hasSync
respectfully because the old calls are now async and the code relies on these calls in a synchronous fashion.duplicate-package-checker-webpack-plugin is no longer maintained, switched to @cerner/duplicate-package-checker-webpack-plugin which is currently being maintained
Updated moment and changed any calls of
.lang
to the updated.locale
Updated webpack to V5 which has a few changes in their API.
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: