[Bug] Cannot use stale-dep in bun.
alexzhang1030 opened this issue · comments
Alex commented
Describe the bug
We cannot use stale-dep in bun, cause @antfu/ni
use readline
(It's a node internal module) , and this module does not implement in Bun.
I think we can write detect
function by manually instead of import from @antfu/ni
.
Reproduction
None
System Info
System:
OS: macOS 13.0.1
CPU: (10) arm64 Apple M1 Pro
Memory: 444.70 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.10.0 - ~/Library/Caches/fnm_multishells/48101_1672726572934/bin/node
npm: 8.19.2 - ~/Library/Caches/fnm_multishells/48101_1672726572934/bin/npm
Browsers:
Chrome: 108.0.5359.124
Firefox: 107.0
Safari: 16.1
Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.