Closed as not planned
Description
Version
v21.4.0
Platform
Darwin chug.lan 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov 7 21:42:27 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_ARM64_T8103 arm64
Subsystem
fs
What steps will reproduce the bug?
Shell command: node -e 'console.log(fs.BigIntStats)'
How often does it reproduce? Is there a required condition?
Always reproduces.
What is the expected behavior? Why is that the expected behavior?
I would expect this to output the usual representation of a class / constructor named BigIntStats, which is a class named in the documentation for the fs module, e.g. at https://nodejs.org/docs/latest/api/fs.html#class-fsstats under "bigint version."
(What I actually want to do is stuff like if (stats instanceof fs.BigIntStats) ....)
What do you see instead?
$ node -e 'console.log(fs.BigIntStats)'
undefined
$Additional information
Compare to:
$ node -e 'console.log(fs.Stats)'
[Function: Stats]
$
Activity
github-actions commentedon May 23, 2026
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
LiviaMedeiros commentedon May 23, 2026
Closing this as no planned, since exposing
fs.Statswas deprecated in #51879