{"id":20235053,"url":"https://github.com/noredink/http-upgrade-shim","last_synced_at":"2025-03-03T14:14:48.483Z","repository":{"id":57674675,"uuid":"195247098","full_name":"NoRedInk/http-upgrade-shim","owner":"NoRedInk","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-04T13:46:07.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T00:43:08.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NoRedInk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-04T13:28:43.000Z","updated_at":"2019-10-31T13:17:21.000Z","dependencies_parsed_at":"2022-09-11T17:51:20.804Z","dependency_job_id":null,"html_url":"https://github.com/NoRedInk/http-upgrade-shim","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoRedInk%2Fhttp-upgrade-shim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoRedInk%2Fhttp-upgrade-shim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoRedInk%2Fhttp-upgrade-shim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoRedInk%2Fhttp-upgrade-shim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NoRedInk","download_url":"https://codeload.github.com/NoRedInk/http-upgrade-shim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241678154,"owners_count":20001682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T08:14:27.276Z","updated_at":"2025-03-03T14:14:48.464Z","avatar_url":"https://github.com/NoRedInk.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NoRedInk/http-upgrade-shim\n\n## Helping you gradually upgrade your application to the elm/http 2.0 API!\n\nThe APIs between elm/http 1.0 and 2.0 changed a lot. This shim consumes elm/http 2.0 and exposes an API that's mostly compatible with elm/http 1.0\n\n## Upgrading elm/http from 1.0 to 2.0\n1. Use [elm-json](https://github.com/zwilias/elm-json) to find out if any packages are preventing you from upgrading.\n```\n$ elm-json install elm/http@2.0.0\n\n-- NO VALID PACKAGE VERSIONS FOUND ---------------------------------------------\n\nBecause NoRedInk/elm-string-conversions 1.0.0 depends on elm/http\n1.0.0 \u003c= v \u003c 2.0.0 and this project depends on elm/http 2.0.0,\nNoRedInk/elm-string-conversions 1.0.0 is incompatible with this project.\n\nAnd because this project depends on NoRedInk/elm-string-conversions 1.0.0,\nno valid set of package versions could be found.\n```\n2. Copy the source code of any of those packages directly into your codebase, and, remove the packages from your `elm.json`\n3. Upgrade to elm/http 2.0 `elm install elm/http`\n4. In your code base as well as the packages copied over, replace `import Http` with `import Http.Legacy as Http`\n5. Done!\n\n## Limitations\n- This doesn't support `Http.Progress`\n- This hasn't been tested\n\n---\n[![NoRedInk](https://cloud.githubusercontent.com/assets/1094080/9069346/99522418-3a9d-11e5-8175-1c2bfd7a2ffe.png)](http://noredink.com/about/team)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoredink%2Fhttp-upgrade-shim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoredink%2Fhttp-upgrade-shim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoredink%2Fhttp-upgrade-shim/lists"}