Title: `BigIntStats` not actually exported from `fs`. · Issue #51674 · nodejs/node · GitHub
Open Graph Title: `BigIntStats` not actually exported from `fs`. · Issue #51674 · nodejs/node
X Title: `BigIntStats` not actually exported from `fs`. · Issue #51674 · nodejs/node
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 'cons...
Open Graph 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 reprodu...
X 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 reprodu...
Opengraph URL: https://github.com/nodejs/node/issues/51674
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`BigIntStats` not actually exported from `fs`.","articleBody":"### Version\r\n\r\nv21.4.0\r\n\r\n### Platform\r\n\r\nDarwin 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\r\n\r\n### Subsystem\r\n\r\nfs\r\n\r\n### What steps will reproduce the bug?\r\n\r\nShell command: `node -e 'console.log(fs.BigIntStats)'`\r\n\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nAlways reproduces.\r\n\r\n### What is the expected behavior? Why is that the expected behavior?\r\n\r\nI 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 \u003chttps://nodejs.org/docs/latest/api/fs.html#class-fsstats> under \"`bigint` version.\"\r\n\r\n(What I _actually_ want to do is stuff like `if (stats instanceof fs.BigIntStats) ...`.)\r\n\r\n### What do you see instead?\r\n\r\n```console\r\n$ node -e 'console.log(fs.BigIntStats)'\r\nundefined\r\n$\r\n```\r\n\r\n### Additional information\r\n\r\nCompare to:\r\n\r\n```console\r\n$ node -e 'console.log(fs.Stats)'\r\n[Function: Stats]\r\n$\r\n```","author":{"url":"https://github.com/danfuzz","@type":"Person","name":"danfuzz"},"datePublished":"2024-02-06T04:39:35Z","url":"https://github.com/nodejs/node/issues/51674"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:642043ac-9e62-ac56-bb8a-7eaf09af523b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9688:1258EF:731F7C:9595F2:6AED3145 |
| html-safe-nonce | 6702e05cc4e30466abdc12bc238aa5f4bcb268291922eab142903a9fde5dde41 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Njg4OjEyNThFRjo3MzFGN0M6OTU5NUYyOjZBRUQzMTQ1IiwidmlzaXRvcl9pZCI6IjgwNjE3NjQ5ODQ4ODc5MTQ4MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | eccc4a24a7a10947b380ac9b8267dcd2c35130d0ef447846a320d60615eb5b86 |
| hovercard-subject-tag | issue:2119947859 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/51674/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c27cd8ff885df6df3c4230cba5291e21c2f4f571ad663536f46c3c7d92c096ef/nodejs/node/issues/51674 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c27cd8ff885df6df3c4230cba5291e21c2f4f571ad663536f46c3c7d92c096ef/nodejs/node/issues/51674 |
| og:image:alt | 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 reprodu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | danfuzz |
| hostname | github.com |
| expected-hostname | github.com |
| None | e51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ebb7b901cc154ecc179a44f266fcf69f343b30 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width