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

Migrate to ESM only #1002

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Migrate to ESM only #1002

wants to merge 10 commits into from

Commits on Jul 28, 2023

  1. Configuration menu
    Copy the full SHA
    d975dd3 View commit details
    Browse the repository at this point in the history
  2. Use promises in test cases

    JLHwung committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    f1047a7 View commit details
    Browse the repository at this point in the history
  3. add node 20 to CI jobs

    JLHwung committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    6c2618d View commit details
    Browse the repository at this point in the history
  4. test: remove isWebpack5 helper

    babel-loader 9 only supports webpack 5
    JLHwung committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    0d361b3 View commit details
    Browse the repository at this point in the history
  5. find fixture basic index at runtime

    In webpack 5.0.0, the mapObj.sources are
    
    [
      'webpack://babel-loader/./test/fixtures/basic.js',
      'webpack://babel-loader/./test/fixtures/constant.js',
      'webpack://babel-loader/./test/fixtures/import.js',
      'webpack://babel-loader/webpack/bootstrap',
      'webpack://babel-loader/webpack/startup'
    ]
    
    In later versions the `'webpack://babel-loader/./test/fixtures/basic.js'` is moved after webpack bootstrap, causing different indices across different webpack versions.
    JLHwung committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    2d15893 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. bump ava to 5.3.1

    JLHwung committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    4b3d7f1 View commit details
    Browse the repository at this point in the history
  2. migrate to ESM

    JLHwung committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    0bb2a14 View commit details
    Browse the repository at this point in the history
  3. drop node < 16.17 support

    JLHwung committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    501a9ee View commit details
    Browse the repository at this point in the history
  4. update lockfile

    JLHwung committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    f7c9584 View commit details
    Browse the repository at this point in the history
  5. fix merging error

    JLHwung committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    19f999b View commit details
    Browse the repository at this point in the history