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: IanVS/prettier-plugin-sort-imports
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.6.1
Choose a base ref
...
head repository: IanVS/prettier-plugin-sort-imports
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.6.2
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Aug 13, 2025

  1. fix: conditionally register ember and oxc parsers when dependencies a…

    …vailable (#234)
    
    Prevents errors when prettier-plugin-ember-template-tag or
    @prettier/plugin-oxc are not installed. The previous getter-based lazy
    loading caused errors during parser enumeration by other plugins (like
    prettier-plugin-toml), breaking compatibility. Now parsers are only
    registered when dependencies exist.
    
    resolves #233
    
    ## Testing
    
    I tested by removing the spread operators and confirmed relevant tests
    fail.
    I also tested with my
    [repro](https://github.com/jahands/prettier-sort-imports-plugin-repro#)
    posted in #233 and confirmed it no longer errors
    jahands authored Aug 13, 2025
    Configuration menu
    Copy the full SHA
    593fe17 View commit details
    Browse the repository at this point in the history
  2. 4.6.2

    IanVS committed Aug 13, 2025
    Configuration menu
    Copy the full SHA
    af7af0e View commit details
    Browse the repository at this point in the history
Loading