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(class-properties): replace new.target in static properties with undefined #13560

Merged
merged 7 commits into from Jul 16, 2021

Commits on Jul 15, 2021

  1. fix(class-properties): replace new.target in static properties with…

    … `undefined`
    
    non-static prop is not affected
    
    fix babel#12737
    colinaaa committed Jul 15, 2021
    Copy the full SHA
    30e10b8 View commit details
    Browse the repository at this point in the history
  2. Update packages/babel-helper-create-class-features-plugin/src/fields.ts

    fix typo
    
    Co-authored-by: Brian Ng <bng412@gmail.com>
    colinaaa and existentialism committed Jul 15, 2021
    Copy the full SHA
    b8cfb73 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    ebcf56f View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Copy the full SHA
    828285e View commit details
    Browse the repository at this point in the history
  2. feat: move new-target replace into thisContextVisitor

    defaults to replace new.target, do not replace within function
    colinaaa committed Jul 16, 2021
    Copy the full SHA
    9925cbc View commit details
    Browse the repository at this point in the history
  3. feat: simplify thisContextVisitor

    remove function visitor since environmentVisitor is skipping arrow function
    colinaaa committed Jul 16, 2021
    Copy the full SHA
    8210c00 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    f5cbf58 View commit details
    Browse the repository at this point in the history