Skip to content

replace deprecated dirent.path with dirent.parentPath (on main). fixes #1111#1113

Merged
ksen0 merged 1 commit intoprocessing:mainfrom
nbogie:fix-1111-for-main-dirent-path
Feb 3, 2026
Merged

replace deprecated dirent.path with dirent.parentPath (on main). fixes #1111#1113
ksen0 merged 1 commit intoprocessing:mainfrom
nbogie:fix-1111-for-main-dirent-path

Conversation

@nbogie
Copy link
Copy Markdown
Contributor

@nbogie nbogie commented Jan 27, 2026

Fixes #1111 on main branch, allows building contributor-docs on current version of node (v24)

* dirent.path is removed in node v24
* Per deprecation warning: https://nodejs.org/docs/latest-v20.x/api/fs.html#direntpath
* dirent.path has been an alias for dirent.parentPath since node v20
@nbogie
Copy link
Copy Markdown
Contributor Author

nbogie commented Jan 27, 2026

Fixed for 2.0 branch in #1112

@ksen0 ksen0 merged commit e4a8574 into processing:main Feb 3, 2026
4 checks passed
@nbogie nbogie deleted the fix-1111-for-main-dirent-path branch February 4, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build:contributor-docs fails on node.js v24 due to now-removed dirent.path (was deprecated)

2 participants