Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps for modern Node.js versions #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SpacingBat3
Copy link

@SpacingBat3 SpacingBat3 commented Nov 4, 2023

About

This PR updates all dependencies to the latest version, replaces unzip with unzipper (unlike to #69 I've also removed the resolutions, I believe those are no longer needed to be specified) and replaces the use of rmdir with Node's fs.rm( /*(...)*/, {recursive:true, force:true}, /*(...)*/). Outside of fixing the build for modern Node.js builds, this also resolves all vulnerability warnings in npm 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)

  • Replace unzip package with unzipper.
  • Remove rmdir package (literally once-liner one-liner in Node API can replace [it], maybe in the past it was useful but now it's literally junk library).
  • Overall update dependencies to the latest version available (except devDependencies for now).

• Replace `unzip` package with `unzipper`.
• Remove `rmdir` package (literally once-liner in Node API can replace,
  maybe in the past it was useful but now it's literally junk library).
• Overall update dependencies to the latest version available (except
  devDependencies for now).
@SpacingBat3 SpacingBat3 changed the title Update deps for modern Node.js versions. Update deps for modern Node.js versions Nov 4, 2023
@SpacingBat3
Copy link
Author

SpacingBat3 commented Nov 4, 2023

This should also fix #68.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant