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: babel/babel-loader
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b89dfbd3bca9154ebee6d8ea10f99b7722a0125c
Choose a base ref
...
head repository: babel/babel-loader
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1a9240b228d7735101d469bdb99b1a1e9991760f
Choose a head ref
  • 13 commits
  • 27 files changed
  • 4 contributors

Commits on Jul 18, 2023

  1. migrate to c8 (#996)

    * migrate to c8
    
    * remove cross-env
    
    * report coverages from lib/*.js only
    
    * bump codecov-action to v3
    
    * merge coverage job with lint job
    
    * remap coverage to source files
    
    * add lcov reporter
    JLHwung authored Jul 18, 2023
    Copy the full SHA
    df36cba View commit details

Commits on Jul 19, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    70f74d8 View commit details

Commits on Jul 27, 2023

  1. Bump dev dependencies (#1001)

    * migrate to @babel/eslint-parser
    
    * bump prettier and eslint-prettier
    
    * bump rimraf to 5
    
    * pin minipass to 6.0.2
    
    minipass 7 uses node builtin import specifier `node:`, which does not support Node.js 14.15
    
    * bump yarn to 3.6.1
    
    * pin minipass to 6.0.2
    JLHwung authored Jul 27, 2023
    Copy the full SHA
    c9d65eb View commit details

Commits on Nov 17, 2023

  1. Remove caller option check (#1007)

    * Remove caller option check
    
    Babel 7.12+ supports .caller options
    
    * update deps
    
    * add Node 20 to CI matrix
    
    * Update yarn to 3.6.4
    JLHwung authored Nov 17, 2023
    Copy the full SHA
    a186b8b View commit details

Commits on Jun 20, 2024

  1. Update tests (#1003)

    JLHwung authored Jun 20, 2024
    Copy the full SHA
    c5df50c View commit details

Commits on Jul 2, 2024

  1. Bump braces from 3.0.2 to 3.0.3 (#1020)

    Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
    - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
    - [Commits](micromatch/braces@3.0.2...3.0.3)
    
    ---
    updated-dependencies:
    - dependency-name: braces
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 2, 2024
    Copy the full SHA
    955e577 View commit details

Commits on Jul 10, 2024

  1. Update metadata test (#1024)

    * remove pnp-webpack-plugin
    
    * rewrite metadata test
    
    * remove react-intl dev deps
    
    * remove unused fixtures
    JLHwung authored Jul 10, 2024
    Copy the full SHA
    943f412 View commit details
  2. Update deps (#1025)

    * update all deps
    
    * migrate Babel config
    
    * remove react from dev deps
    
    * remove semver from dev deps
    
    * update eslint to 9.6.0
    
    * replace rimraf by native fs calls
    JLHwung authored Jul 10, 2024
    Copy the full SHA
    06c3ad8 View commit details

Commits on Jul 11, 2024

  1. docs: clarify that cacheIdentifier is computed from the merged opti…

    …ons (#1000)
    JLHwung authored Jul 11, 2024
    Copy the full SHA
    e449287 View commit details

Commits on Sep 16, 2024

  1. backport #1034 to 9.x (#1037)

    JLHwung authored Sep 16, 2024
    Copy the full SHA
    a1a24ca View commit details
  2. 9.2.0

    nicolo-ribaudo committed Sep 16, 2024
    Copy the full SHA
    d280ee3 View commit details
  3. Avoid error on missing getLogger (v9) (#1045)

    nicolo-ribaudo authored Sep 16, 2024
    Copy the full SHA
    5e5dd0c View commit details
  4. 9.2.1

    nicolo-ribaudo committed Sep 16, 2024
    Copy the full SHA
    1a9240b View commit details
6 changes: 6 additions & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"all": true,
"src": ["./src"],
"include": ["lib/**"],
"reporter": ["lcov", "text"]
}
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

50 changes: 24 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -6,55 +6,53 @@ permissions:
contents: read # to fetch code (actions/checkout)

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: latest
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Lint
run: yarn run lint
test:
name: Test - ${{ matrix.os }} - Node ${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [14, 16, 18]
webpack-version: ['5']
node-version: [14, 16, 18, 20]
webpack-version: ["5"]
include:
- node-version: "14.15.0" # The minimum supported node version
webpack-version: latest
webpack-version: "5.0.0" # The minimum supported webpack version
os: ubuntu-latest
- node-version: latest
webpack-version: latest
os: ubuntu-latest
coverage: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache: "yarn"
- name: Install dependencies
run: yarn
- name: Install webpack ${{ matrix.webpack-version }}
run: yarn add -D webpack@${{ matrix.webpack-version }}
- name: Build babel-loader
run: yarn run build
env:
BABEL_ENV: test
- name: Run tests for webpack version ${{ matrix.webpack-version }}
run: yarn test-only

lint-coverage:
name: Lint and Coverage - ${{ matrix.os }} - Node ${{ matrix.node-version }}, Webpack 5
strategy:
matrix:
os: [ubuntu-latest]
node-version: [latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install dependencies
run: yarn
- name: Run lint and coverage tests
run: yarn test
- name: Submit coverage data to codecov
uses: codecov/codecov-action@v1
if: ${{ matrix.coverage }}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

Loading