Skip to content

fs: fix enumerability of Date properties on Stats objects#63328

Open
LiviaMedeiros wants to merge 1 commit into
nodejs:mainfrom
LiviaMedeiros:stats-date-enumerable
Open

fs: fix enumerability of Date properties on Stats objects#63328
LiviaMedeiros wants to merge 1 commit into
nodejs:mainfrom
LiviaMedeiros:stats-date-enumerable

Conversation

@LiviaMedeiros
Copy link
Copy Markdown
Member

This basically implements suggestions for Temporal version of these properties: #60789 (comment) (prefer setOwnProperty() in setter which also makes accessed properties enumerable), #60789 (comment) (prefer setOwnProperty() in getter to avoid triggering setter).

/cc @aduh95

@nodejs-github-bot nodejs-github-bot added fs Issues and PRs related to the fs subsystem / file system. needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module. labels May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fs Issues and PRs related to the fs subsystem / file system. needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants