You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[v18.x] Wrong path returned by fs.readdir withFileTypes=true #52441
changed the title [-]Wrong path returned by fs.readdir withFileTypes=true[/-][+][v18.x] Wrong path returned by fs.readdir withFileTypes=true[/+]on Apr 12, 2024
Just had a quick scan, looks like the current main does not have path property any more? was that intentional? (it was still there in v20.x, v22.x and I couldn't see it mentioned in the changelog or docs
Activity
H4ad commentedon Apr 9, 2024
The issue was probably introduced by this change introduced by #51021:
node/lib/internal/fs/utils.js
Lines 200 to 205 in f75dc41
The main PR #50976 didn't include these changes.
richardlau commentedon Apr 10, 2024
cc @aduh95
[-]Wrong path returned by fs.readdir withFileTypes=true[/-][+][v18.x] Wrong path returned by fs.readdir withFileTypes=true[/+]lcgani commentedon May 20, 2024
hi guys, what's the status of this issue? I can look into it if it wasn't assigned to anyone yet
H4ad commentedon May 22, 2024
@gm-al Basically waiting for a PR, feel free to work on it if you want :) You can ping me when you had something to review
jakecastelli commentedon Jun 11, 2024
Just had a quick scan, looks like the current main does not have
pathproperty any more? was that intentional? (it was still there inv20.x,v22.xand I couldn't see it mentioned in the changelog or docssonsurim commentedon Jul 16, 2024
Hello! May I try to resolve this issue?
dario-piotrowicz commentedon Jan 25, 2025
The dirent.path field has been deprecated in #51020 and removed in #55548 (like @jakecastelli mentioned above)
Precisely for reasons like the one presented here I assume
So this issue is no longer applicable and should be closed
cc. @aduh95
H4ad commentedon Jan 29, 2025
@dario-piotrowicz Thanks for the reminder, closing since this is no longer applicable.