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

add skipTransparentExprWrapperNodes helper #13687

Merged

Commits on Aug 20, 2021

  1. overload skipTransparentExprWrappers

    * fixes isSimpleMemberExpression
      in @babel/plugin-proposal-optional-chaining
    
    * use skipTransparentExprWrappers<Expression> instead of the NodePath
      overload where possible in @babel/plugin-proposal-optional-chaining
    lightmare committed Aug 20, 2021
    Copy the full SHA
    fad4759 View commit details
    Browse the repository at this point in the history
  2. Revert "overload skipTransparentExprWrappers"

    This reverts commit fad4759.
    lightmare committed Aug 20, 2021
    Copy the full SHA
    3ec1256 View commit details
    Browse the repository at this point in the history
  3. add helper skipTransparentExprWrapperNodes

    * avoids constructing NodePaths when only the Node is needed
    
    * fixes isSimpleMemberExpression
      in @babel/plugin-proposal-optional-chaining
    
    * use this new helper instead of skipTransparentExprWrappers
      where possible in @babel/plugin-proposal-optional-chaining
    lightmare committed Aug 20, 2021
    Copy the full SHA
    8f26798 View commit details
    Browse the repository at this point in the history