Old Node.JS versions were converting 64bit integer values to 64bit float values so some precision was lost. Since these values were used for file inodes, this means two files could have the same ID, see #365
fs.stat has a new bigint option that will use the new bigint type instead of the old limited number type. Every FileDescriptor properties of type number should be updated to use bigint instead.
Old Node.JS versions were converting 64bit integer values to 64bit float values so some precision was lost. Since these values were used for file inodes, this means two files could have the same ID, see #365
fs.stat
has a newbigint
option that will use the newbigint
type instead of the old limitednumber
type. EveryFileDescriptor
properties of typenumber
should be updated to usebigint
instead.