warpdesign / react-explorer

File manager written in TypeScript, React, Blueprint and packaged with Electron
MIT License
234 stars 34 forks source link

add support for bigint stat properties #366

Closed warpdesign closed 1 year ago

warpdesign commented 1 year ago

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.