Bumped ember core dependencies to 3.6.x

This commit is contained in:
Kevin Ansfield 2019-03-06 17:15:44 +00:00
parent db7c40b327
commit a0dacf5231
4 changed files with 58 additions and 82 deletions

View File

@ -2,18 +2,10 @@ import EmberRouter from '@ember/routing/router';
import config from './config/environment';
import documentTitle from 'ghost-admin/utils/document-title';
import ghostPaths from 'ghost-admin/utils/ghost-paths';
import {on} from '@ember/object/evented';
import {inject as service} from '@ember/service';
const Router = EmberRouter.extend({
location: config.locationType, // use HTML5 History API instead of hash-tag based URLs
rootURL: ghostPaths().adminRoot, // admin interface lives under sub-directory /ghost
notifications: service(),
displayDelayedNotifications: on('didTransition', function () {
this.notifications.displayDelayed();
})
rootURL: ghostPaths().adminRoot // admin interface lives under sub-directory /ghost
});
documentTitle();

View File

@ -42,6 +42,13 @@ export default Route.extend(ApplicationRouteMixin, ShortcutsRoute, {
routeAfterAuthentication: 'posts',
init() {
this._super(...arguments);
this.router.on('routeDidChange', () => {
this.notifications.displayDelayed();
});
},
beforeModel() {
return this.config.fetchUnauthenticated();
},

View File

@ -47,7 +47,7 @@
"ember-ajax": "4.0.2",
"ember-assign-helper": "0.2.0",
"ember-auto-import": "1.2.21",
"ember-cli": "3.5.1",
"ember-cli": "3.6.1",
"ember-cli-app-version": "3.2.0",
"ember-cli-babel": "7.5.0",
"ember-cli-chai": "0.5.0",
@ -68,7 +68,7 @@
"ember-cli-uglify": "2.1.0",
"ember-composable-helpers": "2.2.0",
"ember-concurrency": "0.8.27",
"ember-data": "3.5.2",
"ember-data": "3.6.0",
"ember-drag-drop": "0.4.8",
"ember-export-application-global": "2.0.0",
"ember-fetch": "6.4.0",
@ -87,7 +87,7 @@
"ember-route-action-helper": "2.0.6",
"ember-simple-auth": "1.8.1",
"ember-sinon": "3.1.0",
"ember-source": "3.5.1",
"ember-source": "3.6.0",
"ember-sticky-element": "0.2.3",
"ember-svg-jar": "1.2.2",
"ember-test-selectors": "2.0.0",

View File

@ -608,7 +608,7 @@
globals "^11.1.0"
lodash "^4.17.11"
"@babel/types@^7.0.0", "@babel/types@^7.1.6", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.4":
"@babel/types@^7.0.0", "@babel/types@^7.1.5", "@babel/types@^7.1.6", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.4":
version "7.3.4"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.3.4.tgz#bf482eaeaffb367a28abbf9357a94963235d90ed"
integrity sha512-WEkp8MsLftM7O/ty580wAmZzN1nDmCACc5+jFzUt+GUFNNIi3LdRlueYz0YIlmJhlZx1QYDMZL5vdWCL0fNjFQ==
@ -656,7 +656,7 @@
silent-error "^1.1.0"
util.promisify "^1.0.0"
"@ember/ordered-set@^2.0.0":
"@ember/ordered-set@^2.0.3":
version "2.0.3"
resolved "https://registry.yarnpkg.com/@ember/ordered-set/-/ordered-set-2.0.3.tgz#2ac1ca73b3bd116063cae814898832ef434a57f9"
integrity sha512-F4yfVk6WMc4AUHxeZsC3CaKyTvO0qSZJy7WWHCFTlVDQw6vubn+FvnGdhzpN1F00EiXMI4Tv1tJdSquHcCnYrA==
@ -1506,10 +1506,13 @@ babel-plugin-feature-flags@^0.3.1:
resolved "https://registry.yarnpkg.com/babel-plugin-feature-flags/-/babel-plugin-feature-flags-0.3.1.tgz#9c827cf9a4eb9a19f725ccb239e85cab02036fc1"
integrity sha1-nIJ8+aTrmhn3JcyyOehcqwIDb8E=
babel-plugin-filter-imports@^0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/babel-plugin-filter-imports/-/babel-plugin-filter-imports-0.3.1.tgz#e7859b56886b175dd2616425d277b219e209ea8b"
integrity sha1-54WbVohrF13SYWQl0neyGeIJ6os=
babel-plugin-filter-imports@^2.0.3:
version "2.0.4"
resolved "https://registry.yarnpkg.com/babel-plugin-filter-imports/-/babel-plugin-filter-imports-2.0.4.tgz#9209b708ed3b228349c4e6f660358bf02685e803"
integrity sha512-Ra4VylqMFsmTJCUeLRJ/OP2ZqO0cCJQK2HKihNTnoKP4f8IhxHKL4EkbmfkwGjXCeDyXd0xQ6UTK8Nd+h9V/SQ==
dependencies:
"@babel/types" "^7.1.5"
lodash "^4.17.11"
babel-plugin-htmlbars-inline-precompile@^0.2.5:
version "0.2.6"
@ -1575,7 +1578,7 @@ babel-plugin-transform-es2015-block-scoped-functions@^6.22.0:
dependencies:
babel-runtime "^6.22.0"
babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.24.1, babel-plugin-transform-es2015-block-scoping@^6.26.0:
babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.24.1:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f"
integrity sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=
@ -2183,7 +2186,7 @@ broccoli-clean-css@^1.1.0:
inline-source-map-comment "^1.0.5"
json-stable-stringify "^1.0.0"
broccoli-concat@3.7.3, broccoli-concat@^3.2.2, broccoli-concat@^3.5.1:
broccoli-concat@3.7.3, broccoli-concat@^3.2.2, broccoli-concat@^3.7.3:
version "3.7.3"
resolved "https://registry.yarnpkg.com/broccoli-concat/-/broccoli-concat-3.7.3.tgz#0dca01311567ffb13180e6b4eb111824628e4885"
integrity sha512-2Ma9h81EJ0PRb9n4sW0i8KZlcnpTQfKxcj87zvi5DFe1fd8CTDEdseHDotK2beuA2l+LbgVPfd8EHaBJKm/Y8g==
@ -4109,7 +4112,7 @@ ember-cli-app-version@3.2.0:
ember-cli-babel "^6.12.0"
git-repo-version "^1.0.2"
ember-cli-babel@7.5.0, ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.0, ember-cli-babel@^7.1.3, ember-cli-babel@^7.2.0, ember-cli-babel@^7.4.0:
ember-cli-babel@7.5.0, ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.0, ember-cli-babel@^7.1.2, ember-cli-babel@^7.1.3, ember-cli-babel@^7.2.0, ember-cli-babel@^7.4.0:
version "7.5.0"
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.5.0.tgz#af654dcef23630391d2efe85aaa3bdf8b6ca17b7"
integrity sha512-wWXqPPQNRxCtEHvYaLBNiIVgCVCy8YqZ0tM8Dpql1D5nGnPDbaK073sS1vlOYBP7xe5Ab2nXhvQkFwUxFacJ2g==
@ -4133,7 +4136,7 @@ ember-cli-babel@7.5.0, ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.0, ember-cli
ensure-posix-path "^1.0.2"
semver "^5.5.0"
ember-cli-babel@^6.0.0-beta.4, ember-cli-babel@^6.0.0-beta.7, ember-cli-babel@^6.10.0, ember-cli-babel@^6.11.0, ember-cli-babel@^6.12.0, ember-cli-babel@^6.16.0, ember-cli-babel@^6.17.2, ember-cli-babel@^6.18.0, ember-cli-babel@^6.3.0, ember-cli-babel@^6.6.0, ember-cli-babel@^6.7.2, ember-cli-babel@^6.8.0, ember-cli-babel@^6.8.1, ember-cli-babel@^6.8.2:
ember-cli-babel@^6.0.0-beta.4, ember-cli-babel@^6.0.0-beta.7, ember-cli-babel@^6.10.0, ember-cli-babel@^6.11.0, ember-cli-babel@^6.12.0, ember-cli-babel@^6.16.0, ember-cli-babel@^6.18.0, ember-cli-babel@^6.3.0, ember-cli-babel@^6.6.0, ember-cli-babel@^6.7.2, ember-cli-babel@^6.8.0, ember-cli-babel@^6.8.1, ember-cli-babel@^6.8.2:
version "6.18.0"
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-6.18.0.tgz#3f6435fd275172edeff2b634ee7b29ce74318957"
integrity sha512-7ceC8joNYxY2wES16iIBlbPSxwKDBhYwC8drU3ZEvuPDMwVv1KzxCNu1fvxyFEBWhwaRNTUxSCsEVoTd9nosGA==
@ -4468,13 +4471,6 @@ ember-cli-uglify@2.1.0:
broccoli-uglify-sourcemap "^2.1.1"
lodash.defaultsdeep "^4.6.0"
ember-cli-valid-component-name@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/ember-cli-valid-component-name/-/ember-cli-valid-component-name-1.0.0.tgz#71550ce387e0233065f30b30b1510aa2dfbe87ef"
integrity sha1-cVUM44fgIzBl8wswsVEKot++h+8=
dependencies:
silent-error "^1.0.0"
ember-cli-version-checker@^2.0.0, ember-cli-version-checker@^2.1.0, ember-cli-version-checker@^2.1.1, ember-cli-version-checker@^2.1.2:
version "2.2.0"
resolved "https://registry.yarnpkg.com/ember-cli-version-checker/-/ember-cli-version-checker-2.2.0.tgz#47771b731fe0962705e27c8199a9e3825709f3b3"
@ -4491,10 +4487,10 @@ ember-cli-version-checker@^3.0.0:
resolve-package-path "^1.1.1"
semver "^5.6.0"
ember-cli@3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/ember-cli/-/ember-cli-3.5.1.tgz#a1c7295eed935726891d40a81e0cc389f2d15fdf"
integrity sha512-oJylJwBIIH5IdgrnSXjA/Z64SSu7gZMyqtMBfMA8aGcBh2Bcb5dMDHpwwWXV4Crp1TGImhdtbwOtMAkzZT6Qpw==
ember-cli@3.6.1:
version "3.6.1"
resolved "https://registry.yarnpkg.com/ember-cli/-/ember-cli-3.6.1.tgz#2a8394bb6d3859d3cdb9e6e79d6d7455f80db9e1"
integrity sha512-66q6pyeJP5SotkLX6HgKTBEOqDBm4u0BzkdT2JQPZ1Syey9/M8aek6tUnEun2rjJaLhee1tXwgQgAw4QJqscTA==
dependencies:
amd-name-resolver "^1.2.0"
babel-plugin-transform-es2015-modules-amd "^6.24.1"
@ -4504,7 +4500,7 @@ ember-cli@3.5.1:
broccoli-amd-funnel "^2.0.1"
broccoli-babel-transpiler "^6.5.0"
broccoli-builder "^0.18.14"
broccoli-concat "^3.5.1"
broccoli-concat "^3.7.3"
broccoli-config-loader "^1.0.1"
broccoli-config-replace "^1.1.2"
broccoli-debug "^0.6.4"
@ -4534,7 +4530,7 @@ ember-cli@3.5.1:
ember-cli-preprocess-registry "^3.1.2"
ember-cli-string-utils "^1.1.0"
ensure-posix-path "^1.0.2"
execa "^0.10.0"
execa "^1.0.0"
exit "^0.1.2"
express "^4.16.3"
filesize "^3.6.1"
@ -4634,25 +4630,24 @@ ember-copy@^1.0.0:
dependencies:
ember-cli-babel "^6.6.0"
ember-data@3.5.2:
version "3.5.2"
resolved "https://registry.yarnpkg.com/ember-data/-/ember-data-3.5.2.tgz#6ec84ba85e28d7e1da6039202f65c38f8b1e43ad"
integrity sha512-0aloRoOp9zgLCFJ0qfgNDD++Ai9d1xB5jHL1OI+uNjXhX8r4dG1PiCdvtwVW0OlrZOu9VBodv3kYoRG1SLZU7g==
ember-data@3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/ember-data/-/ember-data-3.6.0.tgz#6853983d6ab21f578b62b41b14f45c7b6f502aff"
integrity sha512-N1jMJ8hHu/84MfbBg+RXobQXpczIv8xtFs4f+R/KzfX1vLSNwoxmNzw1OUKQnKnl3PrZCl3+5bojlK1SD7sPWw==
dependencies:
"@ember/ordered-set" "^2.0.0"
"@ember/ordered-set" "^2.0.3"
babel-plugin-feature-flags "^0.3.1"
babel-plugin-filter-imports "^0.3.1"
babel-plugin-transform-es2015-block-scoping "^6.26.0"
babel-plugin-filter-imports "^2.0.3"
babel6-plugin-strip-class-callcheck "^6.0.0"
babel6-plugin-strip-heimdall "^6.0.1"
broccoli-debug "^0.6.4"
broccoli-debug "^0.6.5"
broccoli-file-creator "^2.1.1"
broccoli-funnel "^2.0.1"
broccoli-merge-trees "^3.0.0"
broccoli-merge-trees "^3.0.1"
broccoli-rollup "^2.1.1"
calculate-cache-key-for-tree "^1.1.0"
chalk "^2.4.1"
ember-cli-babel "^6.17.2"
ember-cli-babel "^7.1.2"
ember-cli-path-utils "^1.0.0"
ember-cli-string-utils "^1.1.0"
ember-cli-test-info "^1.0.0"
@ -4663,8 +4658,8 @@ ember-data@3.5.2:
inflection "^1.12.0"
npm-git-info "^1.0.3"
resolve "^1.8.1"
semver "^5.5.0"
silent-error "^1.1.0"
semver "^5.6.0"
silent-error "^1.1.1"
ember-drag-drop@0.4.8:
version "0.4.8"
@ -5003,20 +4998,20 @@ ember-sinon@3.1.0:
ember-cli-babel "^7.1.3"
sinon "^7.1.1"
ember-source@3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/ember-source/-/ember-source-3.5.1.tgz#fed88dc675f031b499642dd19819f7f4d558d3fd"
integrity sha512-V+HEMiUu74DFWYBuqw1S1ZLBJcSnDDR48iLbN7SuUCYAW4UtTC091xUFzhNYVuZtPOfsmIZXhLaHyqrzQb9YeA==
ember-source@3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/ember-source/-/ember-source-3.6.0.tgz#0229b4fe6802dcfadb81e27ebcf50fff166889ec"
integrity sha512-Es6BE/lYxwiLPHZpFOcl2tQaOppvabIffQfcOJR9OzdM8ZgM06UR+tqdxrhO05UmD8MqHGc1FT/RmQlKuGZg0Q==
dependencies:
broccoli-funnel "^2.0.1"
broccoli-merge-trees "^2.0.0"
chalk "^2.3.0"
ember-cli-babel "^7.1.3"
ember-cli-get-component-path-option "^1.0.0"
ember-cli-is-package-missing "^1.0.0"
ember-cli-normalize-entity-name "^1.0.0"
ember-cli-path-utils "^1.0.0"
ember-cli-string-utils "^1.1.0"
ember-cli-valid-component-name "^1.0.0"
ember-cli-version-checker "^2.1.0"
ember-router-generator "^1.2.3"
inflection "^1.12.0"
@ -5537,19 +5532,6 @@ exec-sh@^0.3.2:
resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.2.tgz#6738de2eb7c8e671d0366aea0b0db8c6f7d7391b"
integrity sha512-9sLAvzhI5nc8TpuQUh4ahMdCrWT00wPWz7j47/emR5+2qEfoZP5zzUXvx+vdx+H6ohhnsYC31iX04QLYJK8zTg==
execa@^0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-0.10.0.tgz#ff456a8f53f90f8eccc71a96d11bdfc7f082cb50"
integrity sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw==
dependencies:
cross-spawn "^6.0.0"
get-stream "^3.0.0"
is-stream "^1.1.0"
npm-run-path "^2.0.0"
p-finally "^1.0.0"
signal-exit "^3.0.0"
strip-eof "^1.0.0"
execa@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8"
@ -6172,11 +6154,6 @@ get-stdin@^4.0.1:
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=
get-stream@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"
integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=
get-stream@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
@ -9918,10 +9895,10 @@ reframe.js@2.2.5:
resolved "https://registry.yarnpkg.com/reframe.js/-/reframe.js-2.2.5.tgz#38a11ec5574587fa3d3719dc6374fcdd940fbd2c"
integrity sha512-xYiBMcTV+7p3HdZAa/UCutP9vr7n76eGyz2fo3rd03Y9pcE3VPBeCNE2WxI3Cx3Ag14CabfNUUq3OA1hr0k5PQ==
regenerate-unicode-properties@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.0.0.tgz#01fc6d6c286fcc932c30f7025ca4a9928bbbb68c"
integrity sha512-tlYkVh6F/QXtosuyOZV2SkOtA248fjMAUWjGf8aYBvQK1ZMarbMvFBvkguSt93HhdXh20m15sc4b5EIBxXLHQQ==
regenerate-unicode-properties@^8.0.1:
version "8.0.1"
resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.0.1.tgz#58a4a74e736380a7ab3c5f7e03f303a941b31289"
integrity sha512-HTjMafphaH5d5QDHuwW8Me6Hbc/GhXg8luNqTkPVwZ/oCZhnoifjWhGYsu2BzepMELTlbnoVcXvV0f+2uDDvoQ==
dependencies:
regenerate "^1.4.0"
@ -9994,12 +9971,12 @@ regexpu-core@^2.0.0:
regjsparser "^0.1.4"
regexpu-core@^4.1.3, regexpu-core@^4.2.0:
version "4.5.2"
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.5.2.tgz#9fcee72782f4fea6f8f428f7f14c8f242ca3dc82"
integrity sha512-CgGxXmuX0Cf57z7KahSHe4kaNY8gBRCFFEretQ5AHsnlLx/5VdCrQOoOz1POxLdZjPbwE5ncTspPJwp2WHPcHA==
version "4.5.3"
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.5.3.tgz#72f572e03bb8b9f4f4d895a0ccc57e707f4af2e4"
integrity sha512-LON8666bTAlViVEPXMv65ZqiaR3rMNLz36PIaQ7D+er5snu93k0peR7FSvO0QteYbZ3GOkvfHKbGr/B1xDu9FA==
dependencies:
regenerate "^1.4.0"
regenerate-unicode-properties "^8.0.0"
regenerate-unicode-properties "^8.0.1"
regjsgen "^0.5.0"
regjsparser "^0.6.0"
unicode-match-property-ecmascript "^1.0.4"
@ -10111,9 +10088,9 @@ resolve-from@^4.0.0:
integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==
resolve-package-path@^1.0.11, resolve-package-path@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/resolve-package-path/-/resolve-package-path-1.1.1.tgz#39db6201f7db8800207d8f82cc8005ee30c9200e"
integrity sha512-6vg7LnxKY3NhmlH/K/CfudgPDx7ah4RPgHjhMCcP3L1LPsoxOXeClUBFpF5c2FRlQScVQ4VL8GTbB5FjHQ3ISQ==
version "1.2.2"
resolved "https://registry.yarnpkg.com/resolve-package-path/-/resolve-package-path-1.2.2.tgz#0c6f7cfeffdd96215c97a0082eadd6dc98a1de57"
integrity sha512-Rva99mD09iKulXPC7JnH3CAtdD3n5pZtTHtyhqknXcPKyu+bVkYUvUV0qxaO/+STvY8/JQsZdlmcBEgbPdFU4w==
dependencies:
path-root "^0.1.1"
resolve "^1.10.0"
@ -10506,7 +10483,7 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=
silent-error@^1.0.0, silent-error@^1.0.1, silent-error@^1.1.0:
silent-error@^1.0.0, silent-error@^1.0.1, silent-error@^1.1.0, silent-error@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/silent-error/-/silent-error-1.1.1.tgz#f72af5b0d73682a2ba1778b7e32cd8aa7c2d8662"
integrity sha512-n4iEKyNcg4v6/jpb3c0/iyH2G1nzUNl7Gpqtn/mHIJK9S/q/7MCfoO4rwVOoO59qPFIc0hVHvMbiOJ0NdtxKKw==