[openstreetmap/openstreetmap-website] Replace qs with URLSearchParams (PR #5592)

Tom Hughes notifications at github.com
Sun Feb 2 11:59:43 UTC 2025


As javascript now has a builtin way to parse URL search parameters we don't really need the qs module any more, so replace it with the builtin support.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5592

-- Commit Summary --

  * Replace qs with URLSearchParams

-- File Changes --

    M app/assets/javascripts/application.js (27)
    M app/assets/javascripts/auth_providers.js (8)
    M app/assets/javascripts/edit/id.js.erb (52)
    M app/assets/javascripts/index.js (19)
    M app/assets/javascripts/index/contextmenu.js (16)
    M app/assets/javascripts/index/directions.js (29)
    M app/assets/javascripts/index/new_note.js (8)
    M app/assets/javascripts/index/query.js (13)
    M app/assets/javascripts/index/search.js (17)
    M app/assets/javascripts/leaflet.map.js (16)
    M app/assets/javascripts/osm.js.erb (9)
    M package.json (3)
    M yarn.lock (145)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5592.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5592.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5592
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5592 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250202/f49a42dc/attachment.htm>


More information about the rails-dev mailing list