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
If it is Node.js v10.13, fs.promises can be used. It is available to use fs.Dirent too, which is faster than fs.stat to check whether an entry is a file or a directory.
Another idea is that the minimum required version will be Node.js v12 for #105 .
Node.js v12 has already been LTS.
If minimum required Node.js version is updated, it will be a breaking change.
Are you planning to update Node.js minimum required version?
The text was updated successfully, but these errors were encountered:
Have you checked the actual readdirp code? We are using Dirent already. And we are using bigint inodes for win32, which are only available on node 10+.
We fallback to old methods for v8. Readdirp 3 was released one year ago, and so far we haven’t even switched half of users to it. The reason being: the packages support even older nodes, like v6. It’s a very lengthy task, and bumping min req to node10 won’t help much here.
Thank you for your reply. I did not know this has already used Dirent. I should have read code more carefully.
I understood what you wrote. So I will close this issue.
Thank you for your great works.
Uh oh!
There was an error while loading. Please reload this page.
According to package.json, this package seems to support Node.js v8.
readdirp/package.json
Line 21 in d9c7213
However, Node.js v8 has already been end-of-life on Dec 31, 2019.
https://github.com/nodejs/Release
If it is Node.js v10.13,
fs.promises
can be used. It is available to usefs.Dirent
too, which is faster thanfs.stat
to check whether an entry is a file or a directory.Another idea is that the minimum required version will be Node.js v12 for #105 .
Node.js v12 has already been LTS.
If minimum required Node.js version is updated, it will be a breaking change.
Are you planning to update Node.js minimum required version?
The text was updated successfully, but these errors were encountered: