-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
fs.stat() with options doesn't work #158
Comments
I think this would need minor code fixes in the following places:
I suspect the harder part would be to update the tests |
same for readdir btw… |
I opened the above issue (jprichardson/node-fs-extra#703) in fs-extra but the issue might lie in this project, I'm not sure. Even after upgrading both packages I'm inconsistently getting the |
@JustinLivi It's likely a result of having two different versions of |
@isaacs thanks - you were right. I was having a collision between jest and fs-extra. Installing graceful-fs as a direct dependency resolved the issue 👍 |
fs.stat()
and its relatives accept an additional options objectfs.stat(path[, options], callback)
since node v10.5.0.https://nodejs.org/api/fs.html#fs_fs_stat_path_options_callback
seems like
graceful-fs
hasn't been updated yet! This will cause issues for projects that depend ongraceful-fs
. I am one of the maintainers of fs-extra and this prevents us from usingfs.stat()
withbigint
option!The text was updated successfully, but these errors were encountered: