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

Replace read-package-up with find-up-simple #2619

Merged
merged 12 commits into from
Apr 9, 2025

Conversation

beeequeue
Copy link
Contributor

@beeequeue beeequeue commented Apr 1, 2025

Fixes #2151

I decided to use lukeed/empathic over find-up due to it being smaller, simpler, and dependency free.
Changed to find-up-simple as I missed the comment mentioning it.

I also extracted the similar logic into a shared utility (I wasn't sure whether to put it in shared/ or utils/) and added some simple caching for it.

@sindresorhus
Copy link
Owner

Per the issue:

We'll probably switch to sindresorhus/find-up-simple

@beeequeue
Copy link
Contributor Author

Ah I only saw the find-up comment

@beeequeue beeequeue changed the title Replace read-package-up with empathic Replace read-package-up with find-up-simple Apr 1, 2025
@beeequeue
Copy link
Contributor Author

The last test is failing on main as well.

@fisker fisker merged commit 756dbbf into sindresorhus:main Apr 9, 2025
17 checks passed
@beeequeue beeequeue deleted the empathic branch April 9, 2025 12:41
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.

Suggestion on slimming down dependencies
3 participants