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.
Greetings!
This PR updates the various dependencies to their latest versions and slightly modifies
index.js
. In particular, several of the depended packages are quite old and I noticed quite a fewnpm audit
warnings related to some of them (related to #19) on a project that depended on this.This effort is somewhat of a continuation of the work of #15. It promisifies
options.delFn
to work like the newerdel
(without an additional dependency), it updates the tested node versions, it fixes some inconsistencies in formatting (such as some places having spaces AND tabs), and it makes use ofconst
/let
and arrow functions.The last few items are ultimately unnecessary for this PR but I included them partially because of my lovely editor throwing squiggles everywhere. If you want them removed, I can easily do that and squash the changes to a single commit.
Alternatively, if this remains sitting for a while, I may go ahead and maintain a separate fork (with full credits and a link to this project, naturally) because my compulsiveness wants me to remove those audit errors from the other project.