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: bvaughn/react-error-boundary
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.1.2
Choose a base ref
...
head repository: bvaughn/react-error-boundary
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.0.0
Choose a head ref
  • 5 commits
  • 11 files changed
  • 3 contributors

Commits on Oct 28, 2024

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

Commits on Dec 21, 2024

  1. Configuration menu
    Copy the full SHA
    5c8d234 View commit details
    Browse the repository at this point in the history
  2. chore(eslint): migrate eslint configuration .eslintrc.js to eslint.co…

    …nfig.mjs (#205)
    
    This pr converts the existing .eslintrc.js configuration file to the latest eslint format, eslint.config.mjs, and includes necessary updates to related libraries to support this change. a .nvmrc file specifying v20.9.0 has also been added to ensure compatibility with eslint’s minimum version requirements. the update ensures that the original eslint configuration is adapted to the flat config format while maintaining consistent functionality with typescript, react, and prettier plugins and recommended rules.
    
    **Why**:
    
    the main goal of this change is to adopt eslint’s latest configuration style, making maintenance easier and leveraging the flexibility of the flat config structure. this approach is expected to bring several benefits:
    
    * adoption of the latest module standard: the flat config format uses the latest ecmascript module (esm) standard, allowing for more flexible application of javascript features in configuration.
    * improved maintainability and extensibility: by updating plugins, we are now using versions optimized for flat config. this transition also prepares us to more easily adapt to future eslint version updates.
    * node version compatibility: a .nvmrc file specifying v20.9.0 has been added to ensure compatibility with [eslint’s minimum version requirements, as the latest eslint requires node.js version 18.18.0, 20.9.0, or 21.1.0 and above](https://eslint.org/docs/latest/use/getting-started#prerequisites). this change helps ensure that all environments using this repository align with the required node version.
    
    **How**:
    
    * configuration migration: all configurations from .eslintrc.js were transferred to eslint.config.mjs and adapted to the flat config format, ensuring functional parity with the previous setup.
    * library updates: major eslint-related plugins (typescript, react, prettier) were updated to their latest versions, supporting the new configuration style.
    * node version specification: a .nvmrc file was added with v20.9.0 to meet eslint’s minimum node version requirements, ensuring compatibility across environments.
    * environment and global variable consistency: the environment variables and global options (browser, es2021, node) from the previous configuration were applied consistently in the flat config, ensuring that the setup performs identically to the former .eslintrc.js configuration.
    
    this transition modularizes the eslint configuration with the latest standards, improving maintainability and allowing for greater flexibility in accommodating future eslint and plugin updates.
    sukvvon authored Dec 21, 2024
    Configuration menu
    Copy the full SHA
    e1a6a0a View commit details
    Browse the repository at this point in the history
  3. Update withErrorBoundary types for forwards compat (#211)

    Co-authored-by: Brian Vaughn <[email protected]>
    henryqdineen and bvaughn authored Dec 21, 2024
    Configuration menu
    Copy the full SHA
    4368fc0 View commit details
    Browse the repository at this point in the history
  4. 4.1.2 -> 5.0.0

    bvaughn committed Dec 21, 2024
    Configuration menu
    Copy the full SHA
    3ed17cc View commit details
    Browse the repository at this point in the history
Loading