{"id":13807571,"url":"https://github.com/ember-polyfills/ember-router-service-polyfill","last_synced_at":"2025-08-21T04:31:28.957Z","repository":{"id":57224265,"uuid":"95493673","full_name":"ember-polyfills/ember-router-service-polyfill","owner":"ember-polyfills","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-10T22:34:17.000Z","size":137,"stargazers_count":36,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-20T20:14:06.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ember-polyfills.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-26T22:09:28.000Z","updated_at":"2021-07-04T03:07:42.000Z","dependencies_parsed_at":"2022-08-30T02:40:51.569Z","dependency_job_id":null,"html_url":"https://github.com/ember-polyfills/ember-router-service-polyfill","commit_stats":null,"previous_names":["rwjblue/ember-router-service-polyfill"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ember-polyfills/ember-router-service-polyfill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-polyfills%2Fember-router-service-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-polyfills%2Fember-router-service-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-polyfills%2Fember-router-service-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-polyfills%2Fember-router-service-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ember-polyfills","download_url":"https://codeload.github.com/ember-polyfills/ember-router-service-polyfill/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-polyfills%2Fember-router-service-polyfill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271425127,"owners_count":24757418,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-04T01:01:27.021Z","updated_at":"2025-08-21T04:31:28.680Z","avatar_url":"https://github.com/ember-polyfills.png","language":"JavaScript","funding_links":[],"categories":["Packages"],"sub_categories":["Polyfills"],"readme":"# ember-router-service-polyfill\n\nThis addon provides a best effort polyfill for the `ember-routing-router-service` feature added in Ember 2.15.\n\nPlease review [emberjs/rfcs#95](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md) for more details.\n\n[![Build Status](https://travis-ci.org/rwjblue/ember-router-service-polyfill.svg?branch=master)](https://travis-ci.org/rwjblue/ember-router-service-polyfill)\n\n## Installation\n\n```sh\nember install ember-router-service-polyfill\n```\n\n## Usage\n\n```javascript\nimport Ember from 'ember';\n\nexport default Ember.Component.extend({\n  router: Ember.inject.service(),\n\n  actions: {\n    next() {\n      this.get('router').transitionTo('other.route');\n    }\n  }\n});\n```\n\n## Known Incompatibilities\n\nThis addon provides the router service and the primary APIs that shipped in Ember 2.15. Unfortunately, there is\nat least one scenario that is not easily polyfilled: avoiding the eliding of default query param values during\n`routerService.transitionTo` / `routerService.replaceWith`.\n\n## Migration\n\n### Applications\n\nAfter you upgrade your application to Ember 2.15 or higher, you should remove `ember-router-service-polyfill` from\nyour `package.json`.\n\n### Addons\n\nAddons generally support many different Ember versions, so leaving `ember-router-service-polyfill` in\nplace for consumers of your addon is perfectly normal.  When the addon no longer supports Ember\nversions older than 2.15, we recommend removing `ember-router-service-polyfill` from your `package.json`\nand doing a major version bump.\n\n## Compatibility\n\nThis addon is tested against quite a few past Ember versions. Check `config/ember-try.js` for the current list, but\nthe list of supported Ember versions at the time of authoring was:\n\n* 2.4\n* 2.8\n* 2.12\n* 2.13\n* 2.14\n* 2.15 (canary at the time)\n\n## Addon Maintenance\n\n### Installation\n\n* `git clone \u003crepository-url\u003e` this repository\n* `cd ember-router-service-polyfill`\n* `npm install`\n\n### Running\n\n* `ember serve`\n* Visit your app at [http://localhost:4200](http://localhost:4200).\n\n### Running Tests\n\n* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)\n* `ember test`\n* `ember test --server`\n\n### Building\n\n* `ember build`\n\nFor more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-polyfills%2Fember-router-service-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fember-polyfills%2Fember-router-service-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-polyfills%2Fember-router-service-polyfill/lists"}