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

Upgrade to core-js@3. #38660

Merged
merged 9 commits into from
Jan 15, 2020
Merged

Upgrade to core-js@3. #38660

merged 9 commits into from
Jan 15, 2020

Commits on Jan 13, 2020

  1. Upgrade to core-js@3.

    This entails not only updating the package, but also:
    - Setting the core-js version in the babel config.
    - Dropping @babel/polyfill and using core-js directly.
    - Removing superfluous polyfills (e.g. URL).
    - Removing superfluous runtime module replacements in evergreen.
    - Modifying several entry points to use boot/polyfills rather than their
    own code, including the server entry point.
    - Minor lint fixes.
    
    Remove polyfill-specific lib/url tests.
    
    Don't use boot in standalone notifications.
    
    Don't depend on boot from packages.
    
    Update core-js to 3.6.2 to fix regex bugs.
    
    Switch corejs option in preset-env to `3`.
    
    Update core-js to 3.6.3.
    sgomes committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    c8a96a0 View commit details
    Browse the repository at this point in the history
  2. Explicitly include globalThis polyfill.

    For some reason, it's not included in `stable` as it should be.
    
    Also ensure that gridicons are transpiled.
    sgomes committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    bd91261 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Switch back to core-js: 3.6 in config.

    This helps avoid the globalThis workaround.
    sgomes committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    b274846 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24f3769 View commit details
    Browse the repository at this point in the history
  3. Turn polyfills into a package.

    sgomes committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    da74522 View commit details
    Browse the repository at this point in the history
  4. Changes after review.

    sgomes committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    5a01300 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2020

  1. Configuration menu
    Copy the full SHA
    7d1f84f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ee9bcf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6bdc4eb View commit details
    Browse the repository at this point in the history