diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt
index a36bb6d2..94c7d88b 100644
--- a/THIRD_PARTY.txt
+++ b/THIRD_PARTY.txt
@@ -380,7 +380,7 @@ https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.15.7/theme-chalk/index.min.c
https://cdnjs.cloudflare.com/ajax/libs/ember.js/1.13.13/ember.debug.js
https://cdnjs.cloudflare.com/ajax/libs/ember.js/2.18.2/ember.debug.js
https://cdnjs.cloudflare.com/ajax/libs/ember.js/3.28.8/ember.debug.js
-https://cdnjs.cloudflare.com/ajax/libs/ember.js/4.1.0/ember.debug.js
+https://cdnjs.cloudflare.com/ajax/libs/ember.js/4.2.0/ember.debug.js
https://cdnjs.cloudflare.com/ajax/libs/exif-js/2.3.0/exif.min.js
https://cdnjs.cloudflare.com/ajax/libs/ext-core/3.1.0/ext-core.js
https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.7/css/jquery.fancybox.min.css
diff --git a/modules/internal/targets.js b/modules/internal/targets.js
index b111e7ac..5f645a46 100644
--- a/modules/internal/targets.js
+++ b/modules/internal/targets.js
@@ -182,7 +182,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/ember.js/1.')) return '1.13.13';
if (type.startsWith('/ember.js/2.')) return '2.18.2';
if (type.startsWith('/ember.js/3.')) return '3.28.8';
- if (type.startsWith('/ember.js/4.')) return '4.1.0';
+ if (type.startsWith('/ember.js/4.')) return '4.2.0';
if (type.startsWith('/ethjs')) return '0.4.0';
if (type.startsWith('/exif-js/2.')) return '2.3.0';
if (type.startsWith('/ext-core/3.')) return '3.1.0';
diff --git a/pages/updates/updates.html b/pages/updates/updates.html
index 505a0709..facb32a3 100644
--- a/pages/updates/updates.html
+++ b/pages/updates/updates.html
@@ -38,6 +38,7 @@
findify-bundle v7.1.25 -> v7.1.27 (#870)
hls.js v1.1.3 -> v1.1.4 (#871)
Chart.js v3.7.0 -> v3.7.1 (#872)
+ ember.js v4.1.0 -> v4.2.0 (#873)
Added
diff --git a/resources/ember.js/4.1.0/ember.min.jsm b/resources/ember.js/4.2.0/ember.min.jsm
similarity index 99%
rename from resources/ember.js/4.1.0/ember.min.jsm
rename to resources/ember.js/4.2.0/ember.min.jsm
index ecefd46d..47d0d82f 100644
--- a/resources/ember.js/4.1.0/ember.min.jsm
+++ b/resources/ember.js/4.2.0/ember.min.jsm
@@ -6,7 +6,7 @@
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
- * @version 4.1.0
+ * @version 4.2.0
*/
/* eslint-disable no-var */
@@ -5757,7 +5757,7 @@ define("@ember/-internals/glimmer/index", ["exports", "@glimmer/opcode-compiler"
}
getDebugName(definition) {
- return (0, _utils.getDebugName)(definition.class['prototype']);
+ return (0, _utils.getDebugName)((definition.class || definition)['prototype']);
}
}
@@ -15984,7 +15984,7 @@ define("@ember/-internals/routing/lib/system/route-info", [], function () {
@public
*/
});
-define("@ember/-internals/routing/lib/system/route", ["exports", "@ember/-internals/container", "@ember/-internals/metal", "@ember/-internals/owner", "@ember/-internals/runtime", "@ember/-internals/utils", "@ember/debug", "@ember/object/compat", "@ember/runloop", "@ember/string", "router_js", "@ember/-internals/routing/lib/utils", "@ember/-internals/routing/lib/system/generate_controller"], function (_exports, _container, _metal, _owner, _runtime, _utils, _debug, _compat, _runloop, _string, _router_js, _utils2, _generate_controller) {
+define("@ember/-internals/routing/lib/system/route", ["exports", "@ember/-internals/container", "@ember/-internals/metal", "@ember/-internals/owner", "@ember/-internals/runtime", "@ember/-internals/utils", "@ember/debug", "@ember/object/compat", "@ember/runloop", "router_js", "@ember/-internals/routing/lib/utils", "@ember/-internals/routing/lib/system/generate_controller"], function (_exports, _container, _metal, _owner, _runtime, _utils, _debug, _compat, _runloop, _router_js, _utils2, _generate_controller) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
@@ -17322,18 +17322,17 @@ define("@ember/-internals/routing/lib/system/route", ["exports", "@ember/-intern
get store() {
var owner = (0, _owner.getOwner)(this);
var routeName = this.routeName;
- var namespace = (0, _metal.get)(this, '_router.namespace');
return {
find(name, value) {
var modelClass = owner.factoryFor(`model:${name}`);
- (true && !(Boolean(modelClass)) && (0, _debug.assert)(`You used the dynamic segment ${name}_id in your route ${routeName}, but ${namespace}.${(0, _string.classify)(name)} did not exist and you did not override your route's \`model\` hook.`, Boolean(modelClass)));
+ (true && !(Boolean(modelClass)) && (0, _debug.assert)(`You used the dynamic segment \`${name}_id\` in your route ` + `\`${routeName}\` for which Ember requires you provide a ` + `data-loading implementation. Commonly, that is done by ` + `adding a model hook implementation on the route ` + `(\`model({${name}_id}) {\`) or by injecting an implemention of ` + `a data store: \`@service store;\`.`, Boolean(modelClass)));
if (!modelClass) {
return;
}
modelClass = modelClass.class;
- (true && !(typeof modelClass.find === 'function') && (0, _debug.assert)(`${(0, _string.classify)(name)} has no method \`find\`.`, typeof modelClass.find === 'function'));
+ (true && !(typeof modelClass.find === 'function') && (0, _debug.assert)(`You used the dynamic segment \`${name}_id\` in your route ` + `\`${routeName}\` for which Ember requires you provide a ` + `data-loading implementation. Commonly, that is done by ` + `adding a model hook implementation on the route ` + `(\`model({${name}_id}) {\`) or by injecting an implemention of ` + `a data store: \`@service store;\`.\n\n` + `Rarely, applications may attempt to use a legacy behavior where ` + `the model class (in this case \`${name}\`) is resolved and the ` + `\`find\` method on that class is invoked to load data. In this ` + `application, a model of \`${name}\` was found but it did not ` + `provide a \`find\` method. You should not add a \`find\` ` + `method to your model. Instead, please implement an appropriate ` + `\`model\` hook on the \`${routeName}\` route.`, typeof modelClass.find === 'function'));
return modelClass.find(value);
}
@@ -55215,7 +55214,7 @@ define("ember/version", ["exports"], function (_exports) {
value: true
});
_exports.default = void 0;
- var _default = "4.1.0";
+ var _default = "4.2.0";
_exports.default = _default;
});
define("route-recognizer", ["exports"], function (_exports) {
diff --git a/resources/ember.js/4.1.0/note b/resources/ember.js/4.2.0/note
similarity index 100%
rename from resources/ember.js/4.1.0/note
rename to resources/ember.js/4.2.0/note