Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: migrate to dirent.parentPath #17007

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Dec 5, 2024

Q                       A
Fixed Issues? Deprecation warning due to the dirent.path usage
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

According to the docs, dirent.path has been deprecated since: v21.5.0, v20.12.0, v18.20.0. Since both usage are from Babel 8 and Babel 8 supports ^18.20.0 || ^20.17.0 || >=22.8.0, we can directly migrate to dirent.parentPath.

@JLHwung JLHwung added the PR: Internal (next major) 🏠 A type of pull request used for our changelog categories for next major release label Dec 5, 2024
@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/58418

@JLHwung JLHwung merged commit 5080cc7 into babel:main Dec 5, 2024
54 checks passed
@JLHwung JLHwung deleted the use-dirent-parent-path branch December 5, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Internal (next major) 🏠 A type of pull request used for our changelog categories for next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants