Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rollup/rollup
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.52.7
Choose a base ref
...
head repository: rollup/rollup
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.52.8
Choose a head ref
  • 3 commits
  • 44 files changed
  • 2 contributors

Commits on Jul 7, 2021

  1. Fix var/const/let variable use before declaration (#4148)

    * Fix var/const/let variable use before declaration
    * Also retains TDZ violations present in input
    * Enabled by default when treeshake is active
    * Low overhead - uses existing treeshaking simulated
      execution to mark declarations as reached
    
    * successfully run tests from #4149
    without treeshake.correctVarBeforeDeclaration
    
    * Fix pattern handling
    
    * Handle TDZ class access
    
    * Improve field name
    
    * Fix TDZ caching
    
    * Only include entry point exports after first treeshaking pass
    
    * No longer make TDZ var access a side effect but treat as unknown value
    
    * Remove special logic for TDZ var assignments
    
    * Improve self-reference in declaration handling
    
    * Deprecate treeshake.correctVarValueBeforeDeclaration
    
    * Make deprecation non-active until next major version
    
    * Undeprecate correctVarValueBeforeDeclaration
    
    * Fix deoptimization regression for call expressions
    
    * Improve coverage
    
    Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
    kzc and lukastaegert authored Jul 7, 2021
    Configuration menu
    Copy the full SHA
    752d4fe View commit details
    Browse the repository at this point in the history
  2. Update changelog

    lukastaegert committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    7ee5d44 View commit details
    Browse the repository at this point in the history
  3. 2.52.8

    lukastaegert committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    b3d5f7d View commit details
    Browse the repository at this point in the history
Loading