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

enable optional chaining by default in @babel/parser #10817

Closed
wants to merge 19 commits into from
Closed

enable optional chaining by default in @babel/parser #10817

wants to merge 19 commits into from

Commits on Dec 5, 2019

  1. Copy the full SHA
    73afad3 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2019

  1. fix: Promise.any requires global.AggregateError (#10930)

    * fix: promise.any requires global.AggregateError
    
    * address review comments
    JLHwung committed Dec 27, 2019
    Copy the full SHA
    e9dc74e View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2019

  1. helper-module-transforms: dereference imported template tag (#10934)

    * Dereference imported template tag
    
    * apply fix for OptionalCallExpression as well
    ajafff authored and JLHwung committed Dec 28, 2019
    Copy the full SHA
    b91720c View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. chore: update test262 (#10943)

    * chore: update test262
    
    * chore: ignore untoggleable features
    JLHwung committed Dec 30, 2019
    Copy the full SHA
    3145133 View commit details
    Browse the repository at this point in the history
  2. Remove unused parser methods (#10942)

    * chore: remove unused isStrictBody
    
    * chore: remove unused eatRelational
    JLHwung committed Dec 30, 2019
    Copy the full SHA
    197a8da View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    86245a8 View commit details
    Browse the repository at this point in the history
  4. Refactor parseSubscript (#10937)

    * refactor: unify optionalMemberExpression generation
    
    * test: add optional calls invalid typecasts
    
    * fix: do not parse async arrow when call is optional
    
    * test: update test fixtures
    JLHwung committed Dec 30, 2019
    Copy the full SHA
    30449fe View commit details
    Browse the repository at this point in the history
  5. refactor: remove unused invalidTemplateEscapePosition tokenizer state (

    …#10935)
    
    * refactor: remove unused invalidTemplateEscapePosition tokenizer state
    
    * fix flow error
    JLHwung committed Dec 30, 2019
    Copy the full SHA
    2f3f779 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    0238244 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2019

  1. fix: Class Field Initializer should not allow await expression as imm…

    …ediate child (#10946)
    
    * fix: scope.inAsync should exclude reference in class property initializers
    
    * chore: add test on await in computed class property
    
    * fix flow error :(
    JLHwung committed Dec 31, 2019
    Copy the full SHA
    26eb891 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2020

  1. Override toString in case this function is printed (#10949)

    * Override toString in case this function is printed
    
    Related to https://stackoverflow.com/questions/59543968/unexpected-return-value-from-visitor-method
    
    * Don't override `toString` if `wrapper` is true
    
    Override `toString` immediately before returning a newFn, otherwise it will be overridden if wrapper is true
    
    #10949 (comment)
    
    * prettier
    jayenashar authored and nicolo-ribaudo committed Jan 1, 2020
    Copy the full SHA
    daaa206 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2020

  1. Copy the full SHA
    9f832c2 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2020

  1. Add integration test: e2e-vue-cli (#10919)

    * chore: add e2e-vue-cli test
    
    * chore: add node-browsers-executor
    
    * chore: state why node-browsers-executor is required
    JLHwung authored and nicolo-ribaudo committed Jan 3, 2020
    1
    Copy the full SHA
    e504805 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6ee8c97 View commit details
    Browse the repository at this point in the history
  3. When reading a new string, U+2028/2029 should correctly set th… (#10944)

    * test: add test on template
    
    * fix: update lineStart when string contains U+2028/U+2029
    JLHwung authored and nicolo-ribaudo committed Jan 3, 2020
    Copy the full SHA
    467667a View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    a283537 View commit details
    Browse the repository at this point in the history
  5. test: add invalid-lone-import test (#10950)

    * test: add lone import test
    
    * polish: raise recoverable error
    JLHwung authored and nicolo-ribaudo committed Jan 3, 2020
    Copy the full SHA
    455d782 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    a11281f View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    7665a54 View commit details
    Browse the repository at this point in the history