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

@babel/traverse: Fix NodePath.getData #9415

Merged
merged 3 commits into from Mar 26, 2019
Merged

@babel/traverse: Fix NodePath.getData #9415

merged 3 commits into from Mar 26, 2019

Commits on Jan 26, 2019

  1. @babel/traverse: Fix NodePath.getData

    Currently, if the obtained value is `false`, it will be replaced by the given default value, which is invalid. This makes sure that we only set the default value when the value is `undefined`, instead of falsy.
    71 committed Jan 26, 2019
    Copy the full SHA
    0ae7e9f View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2019

  1. Copy the full SHA
    196b24d View commit details
    Browse the repository at this point in the history
  2. Allow false as default value

    danez committed Mar 26, 2019
    Copy the full SHA
    16909be View commit details
    Browse the repository at this point in the history