fs: runtime deprecate fs.F_OK, fs.R_OK, fs.W_OK, fs.X_OK#49686
Conversation
7a9498e to
956fcf1
Compare
|
Given that we've only just doc-deprecated these #49683 (not in a release yet) I think it would be premature to runtime deprecate in Node.js 21. I'd have no objections to runtime deprecation in Node.js 22. |
|
Sure; converting back to draft until v21.x is released. The main point of opening it now was to see if there are any objections or suggestions to the implementation. |
be1b1c3 to
c865ced
Compare
This comment was marked as outdated.
This comment was marked as outdated.
|
@LiviaMedeiros this may needs rebase, this is a good timing for v24.x I think (?) |
c865ced to
d5b465c
Compare
|
Rebased on cc @nodejs/tsc since it's
semver-major
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #49686 +/- ##
==========================================
- Coverage 88.41% 88.40% -0.02%
==========================================
Files 654 654
Lines 187594 187696 +102
Branches 36090 36114 +24
==========================================
+ Hits 165870 165936 +66
- Misses 14980 14996 +16
- Partials 6744 6764 +20
|
|
CITGM ( No related failure AFAICT |
|
Landed in b02cd41 |
Follow-up from: #49683 (doc-only deprecation)
Opening this ahead of time to point out that the getters here are non-enumerable.
cc @nodejs/fs