ember.js v4.0.0 -> v4.0.1 (#793)

This commit is contained in:
nobody 2021-12-04 08:02:37 +01:00
parent 1026d85c51
commit bfe4008248
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
5 changed files with 8 additions and 8 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/2.18.2/ember.debug.js
https://cdnjs.cloudflare.com/ajax/libs/ember.js/3.28.6/ember.debug.js
https://cdnjs.cloudflare.com/ajax/libs/ember.js/4.0.0/ember.debug.js
https://cdnjs.cloudflare.com/ajax/libs/ember.js/4.0.1/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

View File

@ -262,7 +262,7 @@ targets.setLastVersion = function (type, version) {
} else if (type.startsWith('/ember.js/3.')) {
return '3.28.6';
} else if (type.startsWith('/ember.js/4.')) {
return '4.0.0';
return '4.0.1';
} else if (type.startsWith('/ethjs')) {
return '0.4.0';
} else if (type.startsWith('/exif-js/2.')) {

View File

@ -32,6 +32,7 @@
<li>angular-ui-router v1.0.29 -> v1.0.30 (<a href="https://codeberg.org/nobody/LocalCDN/issues/790">#790</a>)</li>
<li>bootstrap-icons v1.7.1 -> v1.7.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/791">#791</a>)</li>
<li>clappr v0.4.6 -> v0.4.7 (<a href="https://codeberg.org/nobody/LocalCDN/issues/792">#792</a>)</li>
<li>ember.js v4.0.0 -> v4.0.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/793">#793</a>)</li>
</ul>
<p>Mapping</p>
<ul>

View File

@ -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.0.0
* @version 4.0.1
*/
/* eslint-disable no-var */
@ -15919,7 +15919,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", {
@ -17255,18 +17255,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);
}
@ -55087,7 +55086,7 @@ define("ember/version", ["exports"], function (_exports) {
value: true
});
_exports.default = void 0;
var _default = "4.0.0";
var _default = "4.0.1";
_exports.default = _default;
});
define("route-recognizer", ["exports"], function (_exports) {