Bump dependencies to make it work on Node 20 #36
Merged
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.
Motivation and modifications:
I started bumping dependencies because I initially got this error on
yarn install
:This is caused by newer Python versions: nodejs/node-gyp#2219
So I bumped
node-sass
(which depends on gyp) to the newest version, along withyarn upgrade
.But bumping
react-virtualized-auto-sizer
resulted in this:So I pinned that to the current version. I think the problem is that newer versions need a newer version of React, but that's a whole other can of worms.
The newer
flexsearch
version resulted in this:Also pinned that to the current version. Apparently it's a known problem: nextapps-de/flexsearch#341
Result:
Hopefully all the features still work. Please help test this :).