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: v9.2.1
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: v10.0.0
Choose a head ref
  • 17 commits
  • 24 files changed
  • 5 contributors

Commits on Jul 12, 2024

  1. [Breaking] Ensure stability of filename cache-keys (#909)

    * [Bugfix] Ensure stability of filename cache-keys
    
    `JSON.stringify(structure)` isn’t inherently stable as it relies on
    various internal details of how `structure` was created.
    
    As written, if a given babel configuration is create in an dynamic
    manner, it is possible for babel-loader to have spurious cache misses.
    
    To address this, we can use one of the many stable stringify
    alternatives.
    
    For this PR I have selected
    [fast-stable-stringify](https://www.npmjs.com/package/fast-stable-stringify)
    for that task, as it appears both popular and it’s benchmarks look
      promising.
    
    This PR does not explicitly include tests, as testing this is both
    tricky to test in this context, and the important tests are contained
    within fast-stable-stringify itself.
    
    * update yarn.lock
    
    * perf: avoid serialize options twice
    
    The options will be serialized in the cache#filename function with the cache identifier, so we don't have to include options in the cache identifier.
    
    * polish: use our own config serializer
    
    * update cacheIdentifier docs
    
    ---------
    
    Co-authored-by: Huáng Jùnliàng <[email protected]>
    stefanpenner and JLHwung authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    3c63b4e View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. bump node requirement to ^18.20.0 || ^20.10.0 || >=22.0.0 and webpa…

    …ck requirement to `>= 5.61.0` (#1026)
    
    * bump node requirements to ^18.20.0 || ^20.10.0 || >=22.0.0
    
    * bump webpack requirement to 5.61.0
    JLHwung authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    7cba007 View commit details
    Browse the repository at this point in the history
  2. Migrate to node test runner (#1028)

    * migrate to node test runner
    
    * add unit test for serialize
    JLHwung authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    8b3ccab View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    faafb08 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    2b83a9c View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    d85f420 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Create SECURITY.md (#1032)

    JLHwung authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    94ff4eb View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    70a3710 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2a90e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7fcb533 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Support cache with external dependencies (#1033)

    * Add tests from #984
    
    # Conflicts:
    #	.yarnrc.yml
    #	src/index.js
    
    * migrate test to node test styles
    
    * feat: enable cache where there are external deps
    
    * chore: fix dead links in comments
    
    * fix lint errors
    
    * save dep and timestamp as tuple
    
    * simplify handleExternalDependencies interface
    
    * chore: create getFileTimestamp only when cache is enabled
    
    ---------
    
    Co-authored-by: liuxingbaoyu <[email protected]>
    JLHwung and liuxingbaoyu authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    d4181b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    a0c450d View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    b582028 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f765949 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Bump cross-spawn from 7.0.3 to 7.0.6 (#1049)

    Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
    - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
    - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)
    
    ---
    updated-dependencies:
    - dependency-name: cross-spawn
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    8f88667 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2025

  1. Configuration menu
    Copy the full SHA
    5a223cf View commit details
    Browse the repository at this point in the history
  2. 10.0.0

    nicolo-ribaudo committed Feb 27, 2025
    Configuration menu
    Copy the full SHA
    10456d3 View commit details
    Browse the repository at this point in the history
Loading