tbleckert / react-select-search

⚡️ Lightweight select component for React
https://react-select-search.com
MIT License
676 stars 149 forks source link

Updated dependencies for React 17. #153

Closed kylejb closed 3 years ago

kylejb commented 3 years ago

RE: React 17 support #135

Summary of Changes:

This is my first contribution! Let me know if there is anything that I can do to improve.


Detailed Report:

WARNING: Since __tests__ relies on enzyme-adapter-react-16, I replaced the package with @wojtekmaj/enzyme-adapter-react-17 to ensure tests continue to work with React 17. This package is very similar to the previous version; it only incorporates changes to the adapter so that the package remains compatible with React 17.

The maintainer of this package intends to depreciate it once enzyme releases their official adapter for React 17. This should be tracked and replaced as soon as possible.

After updating package dependencies, I ran npm test. All tests passed:

Screenshot depicting npm test output

I also ran npm audit fix to resolve potential issues with two packages:


FYI -

I want to flag three warnings that arose while running npm test:

Three warnings generated after running npm test

Although it may be correctable by updating syntax, I wanted to bring this to your intention in case this points to potentially larger problems.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tbleckert/react-select-search/p0wf8991w
✅ Preview: https://react-select-search-p0wf8991w.vercel.app

tbleckert commented 3 years ago

Sorry to have to close this, really appreciate the work. The v3 release I worked on simultaneously already moved to React 17 and removed enzyme. Otherwise great work.

kylejb commented 3 years ago

Thanks for the update. I appreciate your feedback.