-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Cleanup NodePath methods #16443
Copy link
Copy link
Closed
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Milestone
Metadata
Metadata
Assignees
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
There are a lot of methods on
NodePaththat aren't really meant to be public -- it's just that we expose all the function exported by the internal files that implement the variousNodePathactually-public methods.We should go through all of them and only expose those that are actually used outside of
@babel/traverse, ideally with an explicit list rather than doingbabel/packages/babel-traverse/src/path/index.ts
Lines 220 to 233 in 941cee2