Update deps for modern Node.js versions #72
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.
About
This PR updates all dependencies to the latest version, replaces
unzip
withunzipper
(unlike to #69 I've also removed theresolutions
, I believe those are no longer needed to be specified) and replaces the use ofrmdir
with Node'sfs.rm( /*(...)*/, {recursive:true, force:true}, /*(...)*/)
. Outside of fixing the build for modern Node.js builds, this also resolves all vulnerability warnings innpm audit
).It should also be pointed out that since I've updated some libraries, there might be no support for older Node versions (which I suppose is fine, I believe the oldest version functional should be Node 14 and I find that as a quite old version as well).
Changelog (took from commit description)
unzip
package withunzipper
.rmdir
package (literallyonce-linerone-liner in Node API can replace [it], maybe in the past it was useful but now it's literally junk library).