You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The popular fs-extra library (over 100 million weekly downloads) recently released version 11.3.0, which now relies on fs.opendir for its copy method. Because Bun currently lacks an implementation of fs.opendir, this update breaks compatibility for Bun users.
Given how widely fs-extra is used—and the fact that many projects pin it using a caret range—this issue is likely to affect a large number of users.
What is the feature you are proposing to solve the problem?
Please consider prioritizing the implementation of fs.opendir in Bun to maintain compatibility with the latest fs-extra releases. Thank you for your time and consideration!
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered:
As @paperclover mentioned, we did ship a lot of node:fs improvements in 1.2. I tried a small example using fs-extra version 11.3.0's copy function on Bun v1.2 and it seems to work fine. But it also worked for me in older Bun versions, so maybe there is a particular edge case in copy that didn't work.
Could you share a minimal example program using copy that doesn't work in older Bun versions, and tell us whether it has been fixed in Bun v1.2? Even if your use case works now, it's worth ensuring that this is in our test suite so that we don't regress this behavior in the future.
What is the problem this feature would solve?
The popular fs-extra library (over 100 million weekly downloads) recently released version 11.3.0, which now relies on fs.opendir for its copy method. Because Bun currently lacks an implementation of
fs.opendir
, this update breaks compatibility for Bun users.Given how widely
fs-extra
is used—and the fact that many projects pin it using a caret range—this issue is likely to affect a large number of users.What is the feature you are proposing to solve the problem?
Please consider prioritizing the implementation of
fs.opendir
in Bun to maintain compatibility with the latestfs-extra
releases. Thank you for your time and consideration!What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: