DEV: Introduce ember-router-service-refresh-polyfill (#23261)

This provides a `refresh()` function on Ember's public router service. The feature was added to Ember in v4.1.0, but this polyfill will allow us to start using it straight away under 3.28
This commit is contained in:
David Taylor 2023-08-25 09:32:54 +01:00 committed by GitHub
parent 93c2de3ba5
commit b26fd03692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -78,6 +78,7 @@
"ember-on-resize-modifier": "^2.0.2",
"ember-production-deprecations": "1.0.0",
"ember-qunit": "^6.2.0",
"ember-router-service-refresh-polyfill": "^1.1.0",
"ember-template-imports": "^3.4.2",
"ember-test-selectors": "^6.0.0",
"eslint": "^8.47.0",

View File

@ -4340,6 +4340,14 @@ ember-router-generator@^2.0.0:
"@babel/traverse" "^7.4.5"
recast "^0.18.1"
ember-router-service-refresh-polyfill@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/ember-router-service-refresh-polyfill/-/ember-router-service-refresh-polyfill-1.1.0.tgz#cfed655c68040ad163a4d17225eae6d666da5454"
integrity sha512-MhrJnpyTTie+Uo9PWiEX4f0t5y70vBjjgcS56aLOvwlSwfInNCtOEgQ/zH89J2dnYUVidebm/1FTubQ2meSjbw==
dependencies:
"@embroider/macros" "^1.0.0"
ember-cli-babel "^7.26.11"
ember-source-channel-url@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/ember-source-channel-url/-/ember-source-channel-url-3.0.0.tgz#bcd5be72c63fa0b8c390b3121783b462063e2a1b"