eslint-plugin-unicorn
has 63 transitive dependencies: https://npm.anvaka.com/#/view/2d/eslint-plugin-unicorn
39 of them come from read-pkg-up
: https://npm.anvaka.com/#/view/2d/read-pkg-up
This functionality isn't super complicated and could probably be done without any dependencies. E.g. here's Vite's implementation, which resides in a single file and is more complicated than than the current implementation in some ways since it has caching built-in: https://github.com/vitejs/vite/blob/ff3ce312a572ec126808afb97b5d3f0a6f9adcb1/packages/vite/src/node/packages.ts#L117
As an example of why we could do this with less code, read-pkg-up
pulls in some dependencies to normalize the package data, but this plugin uses the {normalize: false}
option, so that functionality would not be necessary.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too