Upgrade dependencies to get rid of deprecation warnings #46
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.
Running
npm install --omit "dev"
before this PR:And after:
Warnings were caused by dependencies from flat-cache. Previously eleventy-fetch was blocked from updating because of the supported Node.js version, but now that 18+ is required we align with flat-cache again.
Overall these upgrades half our number of dependencies and get rid of all the warnings! 🥳
Additional notes:
p-queue has gone ESM-only. For now, eleventy-fetch has not made that step. This PR pins the p-queue dependency to the exact last non-ESM version.
AVA is upgraded to the latest version of the test runner. This will result in an Unsupported engine warning on Node.js below version 18.18. However I was able to run the eleventy-fetch tests with AVA on Node.js v18.0.0 no problem, and I think it is worth the warning (for developers only) to be able to keep dependencies in check.