fs: use consistent defaults in sync stat functions
This commit updates the default options used by statSync()
, lstatSync()
, and fstatSync()
to be identical to the defaults used by the callback- and Promise-based versions.
Technically, the binding layer treats bigint
values of undefined
and false
the same, but we might as well be consistent.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines