File tree Expand file tree Collapse file tree 3 files changed +5
-39
lines changed Expand file tree Collapse file tree 3 files changed +5
-39
lines changed Original file line number Diff line number Diff line change @@ -3615,6 +3615,9 @@ Please use `value instanceof WebAssembly.Module` instead.
36153615
36163616<!-- YAML
36173617changes:
3618+ - version: REPLACEME
3619+ pr-url: https://github.com/nodejs/node/pull/55548
3620+ description: End-of-Life.
36183621 - version: v23.0.0
36193622 pr-url: https://github.com/nodejs/node/pull/51050
36203623 description: Runtime deprecation.
@@ -3626,9 +3629,9 @@ changes:
36263629 description: Documentation-only deprecation.
36273630-->
36283631
3629- Type: Runtime
3632+ Type: End-of-Life
36303633
3631- The [ ` dirent.path ` ] [ ] is deprecated due to its lack of consistency across
3634+ The [ ` dirent.path ` ] [ ] has been removed due to its lack of consistency across
36323635release lines. Please use [ ` dirent.parentPath ` ] [ ] instead.
36333636
36343637### DEP0179: ` Hash ` constructor
Original file line number Diff line number Diff line change @@ -6811,31 +6811,6 @@ added:
68116811
68126812The path to the parent directory of the file this {fs.Dirent} object refers to.
68136813
6814- #### ` dirent .path `
6815-
6816- <!-- YAML
6817- added:
6818- - v20.1.0
6819- - v18.17.0
6820- deprecated:
6821- - v21.5.0
6822- - v20.12.0
6823- - v18.20.0
6824- changes:
6825- - version: REPLACEME
6826- pr-url: https://github.com/nodejs/node/pull/55547
6827- description: The property is no longer read-only.
6828- - version: v23.0.0
6829- pr-url: https://github.com/nodejs/node/pull/51050
6830- description: Accessing this property emits a warning. It is now read-only.
6831- -->
6832-
6833- > Stability: 0 - Deprecated: Use [` dirent .parentPath ` ][] instead.
6834-
6835- * {string}
6836-
6837- Alias for ` dirent .parentPath ` .
6838-
68396814### Class: ` fs .FSWatcher `
68406815
68416816<!-- YAML
Original file line number Diff line number Diff line change @@ -210,18 +210,6 @@ for (const name of ReflectOwnKeys(Dirent.prototype)) {
210210 } ;
211211}
212212
213- ObjectDefineProperty ( Dirent . prototype , 'path' , {
214- __proto__ : null ,
215- get : deprecate ( function ( ) {
216- return this . parentPath ;
217- } , 'dirent.path is deprecated in favor of dirent.parentPath' , 'DEP0178' ) ,
218- set ( value ) {
219- setOwnProperty ( this , 'path' , value ) ;
220- } ,
221- configurable : true ,
222- enumerable : false ,
223- } ) ;
224-
225213function copyObject ( source ) {
226214 const target = { } ;
227215 for ( const key in source )
You can’t perform that action at this time.
0 commit comments