ember.js v4.1.0 -> v4.2.0 (#873)

This commit is contained in:
nobody 2022-02-13 07:49:27 +01:00
parent 408abd361d
commit 8c1e585560
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
5 changed files with 9 additions and 9 deletions

View File

@ -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/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/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/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/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/ext-core/3.1.0/ext-core.js
https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.7/css/jquery.fancybox.min.css https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.7/css/jquery.fancybox.min.css

View File

@ -182,7 +182,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/ember.js/1.')) return '1.13.13'; 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/2.')) return '2.18.2';
if (type.startsWith('/ember.js/3.')) return '3.28.8'; 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('/ethjs')) return '0.4.0';
if (type.startsWith('/exif-js/2.')) return '2.3.0'; if (type.startsWith('/exif-js/2.')) return '2.3.0';
if (type.startsWith('/ext-core/3.')) return '3.1.0'; if (type.startsWith('/ext-core/3.')) return '3.1.0';

View File

@ -38,6 +38,7 @@
<li>findify-bundle v7.1.25 -> v7.1.27 (<a href="https://codeberg.org/nobody/LocalCDN/issues/870">#870</a>)</li> <li>findify-bundle v7.1.25 -> v7.1.27 (<a href="https://codeberg.org/nobody/LocalCDN/issues/870">#870</a>)</li>
<li>hls.js v1.1.3 -> v1.1.4 (<a href="https://codeberg.org/nobody/LocalCDN/issues/871">#871</a>)</li> <li>hls.js v1.1.3 -> v1.1.4 (<a href="https://codeberg.org/nobody/LocalCDN/issues/871">#871</a>)</li>
<li>Chart.js v3.7.0 -> v3.7.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/872">#872</a>)</li> <li>Chart.js v3.7.0 -> v3.7.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/872">#872</a>)</li>
<li>ember.js v4.1.0 -> v4.2.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/873">#873</a>)</li>
</ul> </ul>
<p>Added</p> <p>Added</p>
<ul> <ul>

View File

@ -6,7 +6,7 @@
* Portions Copyright 2008-2011 Apple Inc. All rights reserved. * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license * @license Licensed under MIT license
* See https://raw.github.com/emberjs/ember.js/master/LICENSE * See https://raw.github.com/emberjs/ember.js/master/LICENSE
* @version 4.1.0 * @version 4.2.0
*/ */
/* eslint-disable no-var */ /* eslint-disable no-var */
@ -5757,7 +5757,7 @@ define("@ember/-internals/glimmer/index", ["exports", "@glimmer/opcode-compiler"
} }
getDebugName(definition) { 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 @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"; "use strict";
Object.defineProperty(_exports, "__esModule", { Object.defineProperty(_exports, "__esModule", {
@ -17322,18 +17322,17 @@ define("@ember/-internals/routing/lib/system/route", ["exports", "@ember/-intern
get store() { get store() {
var owner = (0, _owner.getOwner)(this); var owner = (0, _owner.getOwner)(this);
var routeName = this.routeName; var routeName = this.routeName;
var namespace = (0, _metal.get)(this, '_router.namespace');
return { return {
find(name, value) { find(name, value) {
var modelClass = owner.factoryFor(`model:${name}`); 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) { if (!modelClass) {
return; return;
} }
modelClass = modelClass.class; 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); return modelClass.find(value);
} }
@ -55215,7 +55214,7 @@ define("ember/version", ["exports"], function (_exports) {
value: true value: true
}); });
_exports.default = void 0; _exports.default = void 0;
var _default = "4.1.0"; var _default = "4.2.0";
_exports.default = _default; _exports.default = _default;
}); });
define("route-recognizer", ["exports"], function (_exports) { define("route-recognizer", ["exports"], function (_exports) {