Skip to content

Update deps for modern Node.js versions#72

Open
SpacingBat3 wants to merge 1 commit intomozilla:masterfrom
SpacingBat3:fix/modern-node
Open

Update deps for modern Node.js versions#72
SpacingBat3 wants to merge 1 commit intomozilla:masterfrom
SpacingBat3:fix/modern-node

Conversation

@SpacingBat3
Copy link
Copy Markdown

@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
Copy Markdown
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