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: rails/importmap-rails
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.2
Choose a base ref
...
head repository: rails/importmap-rails
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.3
Choose a head ref
  • 8 commits
  • 30 files changed
  • 1 contributor

Commits on Jul 31, 2025

  1. Fix pin_all_from incorrectly removing "js" substring from filenames

    When using pin_all_from, filenames containing "js" as a substring
    (like "foo.jszip.js" or "bar.jsmin.js") were having the substring
    incorrectly removed, resulting in malformed module names like
    "foozip" and "barmin" instead of "foo.jszip" and "bar.jsmin".
    
    Fixed the logic to only remove the file extension from the end
    of the filename, preserving any "js" substrings that appear
    elsewhere in the name.
    
    Fixes #282
    rafaelfranca committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    7ffedcb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e94dfa View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2025

  1. Merge pull request #313 from rails/rm-fix-282

    Fix `pin_all_from` incorrectly removing "js" substring from filenames
    rafaelfranca authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    51c1a53 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2026

  1. Configuration menu
    Copy the full SHA
    e37bea6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #323 from rails/rmf-test-ruby-4

    Test with Ruby 4.0 and Rails 8.1
    rafaelfranca authored Jan 7, 2026
    Configuration menu
    Copy the full SHA
    9b0a9e0 View commit details
    Browse the repository at this point in the history
  3. Handle package names with nested paths in import maps

    Packages with nested paths (e.g., "photoswipe/lightbox" or
    "@github/webauthn-json/browser-ponyfill") were not being correctly
    identified, leading to issues when checking for outdated versions. This
    update modifies the package name extraction logic to correctly handle
    such cases.
    
    Fixes #321,
    rafaelfranca committed Jan 7, 2026
    Configuration menu
    Copy the full SHA
    a04dd30 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #322 from rails/rmf-fix-321

    Handle package names with nested paths in import maps
    rafaelfranca authored Jan 7, 2026
    Configuration menu
    Copy the full SHA
    682e058 View commit details
    Browse the repository at this point in the history
  5. Prepare for 2.2.3

    rafaelfranca committed Jan 7, 2026
    Configuration menu
    Copy the full SHA
    6fb2bd5 View commit details
    Browse the repository at this point in the history
Loading