ember-source 4.3.0-beta.1 → 4.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blueprints/acceptance-test/mocha-files/tests/acceptance/__name__-test.js +4 -4
- package/blueprints/acceptance-test/mocha-rfc-232-files/tests/acceptance/__name__-test.js +2 -2
- package/blueprints/acceptance-test/qunit-files/tests/acceptance/__name__-test.js +2 -2
- package/blueprints/acceptance-test/qunit-rfc-232-files/tests/acceptance/__name__-test.js +2 -2
- package/blueprints/component/index.js +2 -2
- package/blueprints/component-class/index.js +2 -2
- package/blueprints/component-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +4 -4
- package/blueprints/component-test/mocha-files/__root__/__testType__/__path__/__test__.js +7 -5
- package/blueprints/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +4 -4
- package/blueprints/component-test/qunit-files/__root__/__testType__/__path__/__test__.js +4 -4
- package/blueprints/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +4 -4
- package/blueprints/controller/files/__root__/__path__/__name__.js +1 -2
- package/blueprints/controller-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints/controller-test/mocha-files/__root__/__testType__/__path__/__test__.js +5 -3
- package/blueprints/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints/controller-test/qunit-files/__root__/__testType__/__path__/__test__.js +1 -1
- package/blueprints/controller-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints/helper/files/__root__/__collection__/__name__.js +1 -1
- package/blueprints/helper/mu-files/__root__/__collection__/__name__.js +1 -1
- package/blueprints/helper-test/mocha-0.12-files/__root__/__testType__/__collection__/__name__-test.js +3 -3
- package/blueprints/helper-test/mocha-files/__root__/__testType__/__collection__/__name__-test.js +6 -4
- package/blueprints/helper-test/mocha-rfc-232-files/__root__/__testType__/__collection__/__name__-test.js +2 -2
- package/blueprints/helper-test/qunit-files/__root__/__testType__/__collection__/__name__-test.js +2 -2
- package/blueprints/helper-test/qunit-rfc-232-files/__root__/__testType__/__collection__/__name__-test.js +2 -2
- package/blueprints/initializer/files/__root__/initializers/__name__.js +2 -3
- package/blueprints/initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +6 -7
- package/blueprints/initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +5 -5
- package/blueprints/initializer-test/qunit-files/__root__/__testType__/__path__/__name__-test.js +3 -4
- package/blueprints/instance-initializer/files/__root__/instance-initializers/__name__.js +2 -3
- package/blueprints/instance-initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +5 -5
- package/blueprints/instance-initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +5 -5
- package/blueprints/instance-initializer-test/qunit-files/__root__/__testType__/__path__/__name__-test.js +2 -2
- package/blueprints/mixin/files/__root__/mixins/__name__.js +1 -2
- package/blueprints/mixin-test/mocha-files/__root__/__testType__/__name__-test.js +2 -2
- package/blueprints/mixin-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.js +2 -2
- package/blueprints/mixin-test/qunit-files/__root__/__testType__/__name__-test.js +1 -1
- package/blueprints/mixin-test/qunit-rfc-232-files/__root__/__testType__/__name__-test.js +1 -1
- package/blueprints/route/files/__root__/__path__/__name__.js +2 -2
- package/blueprints/route-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints/route-test/mocha-files/__root__/__testType__/__path__/__test__.js +5 -3
- package/blueprints/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints/route-test/qunit-files/__root__/__testType__/__path__/__test__.js +1 -1
- package/blueprints/route-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints/service/files/__root__/__path__/__name__.js +1 -2
- package/blueprints/service-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints/service-test/mocha-files/__root__/__testType__/__path__/__test__.js +5 -3
- package/blueprints/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints/service-test/qunit-files/__root__/__testType__/__path__/__test__.js +1 -1
- package/blueprints/service-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints/util-test/mocha-files/__root__/__testType__/__name__-test.js +2 -2
- package/blueprints/util-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.js +2 -2
- package/blueprints/util-test/qunit-files/__root__/__testType__/__name__-test.js +1 -1
- package/blueprints/util-test/qunit-rfc-232-files/__root__/__testType__/__name__-test.js +2 -3
- package/build-metadata.json +3 -3
- package/dist/dependencies/router_js.js +1 -1
- package/dist/ember-template-compiler.js +17 -144
- package/dist/ember-template-compiler.map +1 -1
- package/dist/ember-testing.js +4 -2
- package/dist/ember-testing.map +1 -1
- package/dist/ember.debug.js +843 -772
- package/dist/ember.debug.map +1 -1
- package/dist/header/license.js +1 -1
- package/dist/packages/@ember/-internals/container/index.js +3 -3
- package/dist/packages/@ember/-internals/glimmer/index.js +55 -29
- package/dist/packages/@ember/-internals/metal/index.js +18 -28
- package/dist/packages/@ember/-internals/routing/lib/location/hash_location.js +1 -1
- package/dist/packages/@ember/-internals/routing/lib/services/router.js +67 -12
- package/dist/packages/@ember/-internals/routing/lib/services/routing.js +2 -0
- package/dist/packages/@ember/-internals/routing/lib/system/generate_controller.js +3 -1
- package/dist/packages/@ember/-internals/routing/lib/system/route.js +16 -9
- package/dist/packages/@ember/-internals/routing/lib/system/router.js +15 -20
- package/dist/packages/@ember/-internals/routing/lib/utils.js +2 -1
- package/dist/packages/@ember/-internals/runtime/lib/compare.js +19 -5
- package/dist/packages/@ember/-internals/runtime/lib/mixins/comparable.js +4 -4
- package/dist/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +29 -29
- package/dist/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +51 -50
- package/dist/packages/@ember/-internals/utils/index.js +1 -1
- package/dist/packages/@ember/application/instance.js +3 -3
- package/dist/packages/@ember/canary-features/index.js +6 -14
- package/dist/packages/@ember/debug/lib/capture-render-tree.js +2 -0
- package/dist/packages/@ember/debug/lib/handlers.js +1 -1
- package/dist/packages/@ember/runloop/index.js +31 -528
- package/dist/packages/@ember/runloop/type-tests.ts/begin-end.test.js +5 -0
- package/dist/packages/@ember/runloop/type-tests.ts/bind.test.js +59 -0
- package/dist/packages/@ember/runloop/type-tests.ts/cancel.test.js +5 -0
- package/dist/packages/@ember/runloop/type-tests.ts/debounce.test.js +77 -0
- package/dist/packages/@ember/runloop/type-tests.ts/join.test.js +38 -0
- package/dist/packages/@ember/runloop/type-tests.ts/later.test.js +38 -0
- package/dist/packages/@ember/runloop/type-tests.ts/next.test.js +38 -0
- package/dist/packages/@ember/runloop/type-tests.ts/once.test.js +38 -0
- package/dist/packages/@ember/runloop/type-tests.ts/run.test.js +38 -0
- package/dist/packages/@ember/runloop/type-tests.ts/schedule-once.test.js +39 -0
- package/dist/packages/@ember/runloop/type-tests.ts/schedule.test.js +39 -0
- package/dist/packages/@ember/runloop/type-tests.ts/throttle.test.js +77 -0
- package/dist/packages/ember/index.js +4 -14
- package/dist/packages/ember/version.js +1 -1
- package/docs/data.json +330 -245
- package/package.json +4 -4
|
@@ -2,7 +2,7 @@ import EmberObject from '@ember/object';
|
|
|
2
2
|
import <%= classifiedModuleName %>Mixin from '<%= projectName %>/mixins/<%= dasherizedModuleName %>';
|
|
3
3
|
import { module, test } from 'qunit';
|
|
4
4
|
|
|
5
|
-
module('<%= friendlyTestName %>', function() {
|
|
5
|
+
module('<%= friendlyTestName %>', function () {
|
|
6
6
|
// TODO: Replace this with your real tests.
|
|
7
7
|
test('it works', function (assert) {
|
|
8
8
|
let <%= classifiedModuleName %>Object = EmberObject.extend(<%= classifiedModuleName %>Mixin);
|
|
@@ -2,13 +2,13 @@ import { expect } from 'chai';
|
|
|
2
2
|
import { describe, it } from 'mocha';
|
|
3
3
|
import { setupTest } from 'ember-mocha';
|
|
4
4
|
|
|
5
|
-
describe('<%= friendlyTestDescription %>', function() {
|
|
5
|
+
describe('<%= friendlyTestDescription %>', function () {
|
|
6
6
|
setupTest('route:<%= moduleName %>', {
|
|
7
7
|
// Specify the other units that are required for this test.
|
|
8
8
|
// needs: ['controller:foo']
|
|
9
9
|
});
|
|
10
10
|
|
|
11
|
-
it('exists', function() {
|
|
11
|
+
it('exists', function () {
|
|
12
12
|
let route = this.subject();
|
|
13
13
|
expect(route).to.be.ok;
|
|
14
14
|
});
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { expect } from 'chai';
|
|
2
2
|
import { describeModule, it } from 'ember-mocha';
|
|
3
3
|
|
|
4
|
-
describeModule(
|
|
4
|
+
describeModule(
|
|
5
|
+
'route:<%= moduleName %>',
|
|
6
|
+
'<%= friendlyTestDescription %>',
|
|
5
7
|
{
|
|
6
8
|
// Specify the other units that are required for this test.
|
|
7
9
|
// needs: ['controller:foo']
|
|
8
10
|
},
|
|
9
|
-
function() {
|
|
10
|
-
it('exists', function() {
|
|
11
|
+
function () {
|
|
12
|
+
it('exists', function () {
|
|
11
13
|
let route = this.subject();
|
|
12
14
|
expect(route).to.be.ok;
|
|
13
15
|
});
|
package/blueprints/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js
CHANGED
|
@@ -2,10 +2,10 @@ import { expect } from 'chai';
|
|
|
2
2
|
import { describe, it } from 'mocha';
|
|
3
3
|
import { setupTest } from 'ember-mocha';
|
|
4
4
|
|
|
5
|
-
describe('<%= friendlyTestDescription %>', function() {
|
|
5
|
+
describe('<%= friendlyTestDescription %>', function () {
|
|
6
6
|
setupTest();
|
|
7
7
|
|
|
8
|
-
it('exists', function() {
|
|
8
|
+
it('exists', function () {
|
|
9
9
|
let route = this.owner.lookup('route:<%= dasherizedModuleName %>');
|
|
10
10
|
expect(route).to.be.ok;
|
|
11
11
|
});
|
package/blueprints/route-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { module, test } from 'qunit';
|
|
2
2
|
import { setupTest } from 'ember-qunit';
|
|
3
3
|
|
|
4
|
-
module('<%= friendlyTestDescription %>', function(hooks) {
|
|
4
|
+
module('<%= friendlyTestDescription %>', function (hooks) {
|
|
5
5
|
setupTest(hooks);
|
|
6
6
|
|
|
7
|
-
test('it exists', function(assert) {
|
|
7
|
+
test('it exists', function (assert) {
|
|
8
8
|
let route = this.owner.lookup('route:<%= moduleName %>');
|
|
9
9
|
assert.ok(route);
|
|
10
10
|
});
|
|
@@ -2,14 +2,14 @@ import { expect } from 'chai';
|
|
|
2
2
|
import { describe, it } from 'mocha';
|
|
3
3
|
import { setupTest } from 'ember-mocha';
|
|
4
4
|
|
|
5
|
-
describe('<%= friendlyTestDescription %>', function() {
|
|
5
|
+
describe('<%= friendlyTestDescription %>', function () {
|
|
6
6
|
setupTest('service:<%= dasherizedModuleName %>', {
|
|
7
7
|
// Specify the other units that are required for this test.
|
|
8
8
|
// needs: ['service:foo']
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
// TODO: Replace this with your real tests.
|
|
12
|
-
it('exists', function() {
|
|
12
|
+
it('exists', function () {
|
|
13
13
|
let service = this.subject();
|
|
14
14
|
expect(service).to.be.ok;
|
|
15
15
|
});
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { expect } from 'chai';
|
|
2
2
|
import { describeModule, it } from 'ember-mocha';
|
|
3
3
|
|
|
4
|
-
describeModule(
|
|
4
|
+
describeModule(
|
|
5
|
+
'service:<%= dasherizedModuleName %>',
|
|
6
|
+
'<%= friendlyTestDescription %>',
|
|
5
7
|
{
|
|
6
8
|
// Specify the other units that are required for this test.
|
|
7
9
|
// needs: ['service:foo']
|
|
8
10
|
},
|
|
9
|
-
function() {
|
|
11
|
+
function () {
|
|
10
12
|
// TODO: Replace this with your real tests.
|
|
11
|
-
it('exists', function() {
|
|
13
|
+
it('exists', function () {
|
|
12
14
|
let service = this.subject();
|
|
13
15
|
expect(service).to.be.ok;
|
|
14
16
|
});
|
package/blueprints/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js
CHANGED
|
@@ -2,11 +2,11 @@ import { expect } from 'chai';
|
|
|
2
2
|
import { describe, it } from 'mocha';
|
|
3
3
|
import { setupTest } from 'ember-mocha';
|
|
4
4
|
|
|
5
|
-
describe('<%= friendlyTestDescription %>', function() {
|
|
5
|
+
describe('<%= friendlyTestDescription %>', function () {
|
|
6
6
|
setupTest();
|
|
7
7
|
|
|
8
8
|
// TODO: Replace this with your real tests.
|
|
9
|
-
it('exists', function() {
|
|
9
|
+
it('exists', function () {
|
|
10
10
|
let service = this.owner.lookup('service:<%= dasherizedModuleName %>');
|
|
11
11
|
expect(service).to.be.ok;
|
|
12
12
|
});
|
|
@@ -6,7 +6,7 @@ moduleFor('service:<%= dasherizedModuleName %>', '<%= friendlyTestDescription %>
|
|
|
6
6
|
});
|
|
7
7
|
|
|
8
8
|
// TODO: Replace this with your real tests.
|
|
9
|
-
test('it exists', function(assert) {
|
|
9
|
+
test('it exists', function (assert) {
|
|
10
10
|
let service = this.subject();
|
|
11
11
|
assert.ok(service);
|
|
12
12
|
});
|
package/blueprints/service-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { module, test } from 'qunit';
|
|
2
2
|
import { setupTest } from 'ember-qunit';
|
|
3
3
|
|
|
4
|
-
module('<%= friendlyTestDescription %>', function(hooks) {
|
|
4
|
+
module('<%= friendlyTestDescription %>', function (hooks) {
|
|
5
5
|
setupTest(hooks);
|
|
6
6
|
|
|
7
7
|
// TODO: Replace this with your real tests.
|
|
8
|
-
test('it exists', function(assert) {
|
|
8
|
+
test('it exists', function (assert) {
|
|
9
9
|
let service = this.owner.lookup('service:<%= dasherizedModuleName %>');
|
|
10
10
|
assert.ok(service);
|
|
11
11
|
});
|
|
@@ -2,9 +2,9 @@ import { expect } from 'chai';
|
|
|
2
2
|
import { describe, it } from 'mocha';
|
|
3
3
|
import <%= camelizedModuleName %> from '<%= dasherizedPackageName %>/utils/<%= dasherizedModuleName %>';
|
|
4
4
|
|
|
5
|
-
describe('<%= friendlyTestName %>', function() {
|
|
5
|
+
describe('<%= friendlyTestName %>', function () {
|
|
6
6
|
// TODO: Replace this with your real tests.
|
|
7
|
-
it('works', function() {
|
|
7
|
+
it('works', function () {
|
|
8
8
|
let result = <%= camelizedModuleName %>();
|
|
9
9
|
expect(result).to.be.ok;
|
|
10
10
|
});
|
|
@@ -2,9 +2,9 @@ import { expect } from 'chai';
|
|
|
2
2
|
import { describe, it } from 'mocha';
|
|
3
3
|
import <%= camelizedModuleName %> from '<%= dasherizedPackageName %>/utils/<%= dasherizedModuleName %>';
|
|
4
4
|
|
|
5
|
-
describe('<%= friendlyTestName %>', function() {
|
|
5
|
+
describe('<%= friendlyTestName %>', function () {
|
|
6
6
|
// TODO: Replace this with your real tests.
|
|
7
|
-
it('works', function() {
|
|
7
|
+
it('works', function () {
|
|
8
8
|
let result = <%= camelizedModuleName %>();
|
|
9
9
|
expect(result).to.be.ok;
|
|
10
10
|
});
|
|
@@ -4,7 +4,7 @@ import { module, test } from 'qunit';
|
|
|
4
4
|
module('<%= friendlyTestName %>');
|
|
5
5
|
|
|
6
6
|
// TODO: Replace this with your real tests.
|
|
7
|
-
test('it works', function(assert) {
|
|
7
|
+
test('it works', function (assert) {
|
|
8
8
|
let result = <%= camelizedModuleName %>();
|
|
9
9
|
assert.ok(result);
|
|
10
10
|
});
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import <%= camelizedModuleName %> from '<%= dasherizedModulePrefix %>/utils/<%= dasherizedModuleName %>';
|
|
2
2
|
import { module, test } from 'qunit';
|
|
3
3
|
|
|
4
|
-
module('<%= friendlyTestName %>', function() {
|
|
5
|
-
|
|
4
|
+
module('<%= friendlyTestName %>', function () {
|
|
6
5
|
// TODO: Replace this with your real tests.
|
|
7
|
-
test('it works', function(assert) {
|
|
6
|
+
test('it works', function (assert) {
|
|
8
7
|
let result = <%= camelizedModuleName %>();
|
|
9
8
|
assert.ok(result);
|
|
10
9
|
});
|
package/build-metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.
|
|
2
|
+
"version": "4.4.0-alpha.3",
|
|
3
3
|
"buildType": "tag",
|
|
4
|
-
"SHA": "
|
|
5
|
-
"assetPath": "/tag/shas/
|
|
4
|
+
"SHA": "adf9adf73624ff25975fe3566f64ca0d468f46d9",
|
|
5
|
+
"assetPath": "/tag/shas/adf9adf73624ff25975fe3566f64ca0d468f46d9.tgz"
|
|
6
6
|
}
|
|
@@ -1386,7 +1386,7 @@ class Router {
|
|
|
1386
1386
|
doTransition(name, modelsArray = [], isIntermediate = false) {
|
|
1387
1387
|
let lastArg = modelsArray[modelsArray.length - 1];
|
|
1388
1388
|
let queryParams = {};
|
|
1389
|
-
if (lastArg
|
|
1389
|
+
if (lastArg && Object.prototype.hasOwnProperty.call(lastArg, 'queryParams')) {
|
|
1390
1390
|
// We just checked this.
|
|
1391
1391
|
// TODO: Use an assertion?
|
|
1392
1392
|
queryParams = modelsArray.pop().queryParams;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
|
7
7
|
* @license Licensed under MIT license
|
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
|
9
|
-
* @version 4.
|
|
9
|
+
* @version 4.4.0-alpha.3
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/* eslint-disable no-var */
|
|
@@ -1019,7 +1019,7 @@ define("@ember/-internals/utils/index", ["exports", "@glimmer/util", "@ember/deb
|
|
|
1019
1019
|
|
|
1020
1020
|
|
|
1021
1021
|
function canInvoke(obj, methodName) {
|
|
1022
|
-
return obj
|
|
1022
|
+
return obj != null && typeof obj[methodName] === 'function';
|
|
1023
1023
|
}
|
|
1024
1024
|
/**
|
|
1025
1025
|
@module @ember/utils
|
|
@@ -1292,7 +1292,7 @@ define("@ember/canary-features/index", ["exports", "@ember/-internals/environmen
|
|
|
1292
1292
|
Object.defineProperty(_exports, "__esModule", {
|
|
1293
1293
|
value: true
|
|
1294
1294
|
});
|
|
1295
|
-
_exports.FEATURES = _exports.
|
|
1295
|
+
_exports.FEATURES = _exports.EMBER_UNIQUE_ID_HELPER = _exports.EMBER_ROUTING_ROUTER_SERVICE_REFRESH = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_CACHED = _exports.DEFAULT_FEATURES = void 0;
|
|
1296
1296
|
_exports.isEnabled = isEnabled;
|
|
1297
1297
|
|
|
1298
1298
|
/**
|
|
@@ -1306,15 +1306,11 @@ define("@ember/canary-features/index", ["exports", "@ember/-internals/environmen
|
|
|
1306
1306
|
@public
|
|
1307
1307
|
*/
|
|
1308
1308
|
var DEFAULT_FEATURES = {
|
|
1309
|
-
EMBER_LIBRARIES_ISREGISTERED:
|
|
1310
|
-
EMBER_IMPROVED_INSTRUMENTATION:
|
|
1311
|
-
EMBER_NAMED_BLOCKS: true,
|
|
1312
|
-
EMBER_GLIMMER_HELPER_MANAGER: true,
|
|
1313
|
-
EMBER_GLIMMER_INVOKE_HELPER: true,
|
|
1314
|
-
EMBER_STRICT_MODE: true,
|
|
1315
|
-
EMBER_DYNAMIC_HELPERS_AND_MODIFIERS: true,
|
|
1309
|
+
EMBER_LIBRARIES_ISREGISTERED: null,
|
|
1310
|
+
EMBER_IMPROVED_INSTRUMENTATION: null,
|
|
1316
1311
|
EMBER_ROUTING_ROUTER_SERVICE_REFRESH: true,
|
|
1317
|
-
EMBER_CACHED: true
|
|
1312
|
+
EMBER_CACHED: true,
|
|
1313
|
+
EMBER_UNIQUE_ID_HELPER: null
|
|
1318
1314
|
};
|
|
1319
1315
|
/**
|
|
1320
1316
|
The hash of enabled Canary features. Add to this, any canary features
|
|
@@ -1370,20 +1366,12 @@ define("@ember/canary-features/index", ["exports", "@ember/-internals/environmen
|
|
|
1370
1366
|
_exports.EMBER_LIBRARIES_ISREGISTERED = EMBER_LIBRARIES_ISREGISTERED;
|
|
1371
1367
|
var EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);
|
|
1372
1368
|
_exports.EMBER_IMPROVED_INSTRUMENTATION = EMBER_IMPROVED_INSTRUMENTATION;
|
|
1373
|
-
var EMBER_NAMED_BLOCKS = featureValue(FEATURES.EMBER_NAMED_BLOCKS);
|
|
1374
|
-
_exports.EMBER_NAMED_BLOCKS = EMBER_NAMED_BLOCKS;
|
|
1375
|
-
var EMBER_GLIMMER_HELPER_MANAGER = featureValue(FEATURES.EMBER_GLIMMER_HELPER_MANAGER);
|
|
1376
|
-
_exports.EMBER_GLIMMER_HELPER_MANAGER = EMBER_GLIMMER_HELPER_MANAGER;
|
|
1377
|
-
var EMBER_GLIMMER_INVOKE_HELPER = featureValue(FEATURES.EMBER_GLIMMER_INVOKE_HELPER);
|
|
1378
|
-
_exports.EMBER_GLIMMER_INVOKE_HELPER = EMBER_GLIMMER_INVOKE_HELPER;
|
|
1379
|
-
var EMBER_STRICT_MODE = featureValue(FEATURES.EMBER_STRICT_MODE);
|
|
1380
|
-
_exports.EMBER_STRICT_MODE = EMBER_STRICT_MODE;
|
|
1381
|
-
var EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = featureValue(FEATURES.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS);
|
|
1382
|
-
_exports.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = EMBER_DYNAMIC_HELPERS_AND_MODIFIERS;
|
|
1383
1369
|
var EMBER_ROUTING_ROUTER_SERVICE_REFRESH = featureValue(FEATURES.EMBER_ROUTING_ROUTER_SERVICE_REFRESH);
|
|
1384
1370
|
_exports.EMBER_ROUTING_ROUTER_SERVICE_REFRESH = EMBER_ROUTING_ROUTER_SERVICE_REFRESH;
|
|
1385
1371
|
var EMBER_CACHED = featureValue(FEATURES.EMBER_CACHED);
|
|
1386
1372
|
_exports.EMBER_CACHED = EMBER_CACHED;
|
|
1373
|
+
var EMBER_UNIQUE_ID_HELPER = featureValue(FEATURES.EMBER_UNIQUE_ID_HELPER);
|
|
1374
|
+
_exports.EMBER_UNIQUE_ID_HELPER = EMBER_UNIQUE_ID_HELPER;
|
|
1387
1375
|
});
|
|
1388
1376
|
define("@ember/debug/container-debug-adapter", ["exports", "@ember/-internals/extension-support"], function (_exports, _extensionSupport) {
|
|
1389
1377
|
"use strict";
|
|
@@ -1779,6 +1767,8 @@ define("@ember/debug/lib/capture-render-tree", ["exports", "@glimmer/util"], fun
|
|
|
1779
1767
|
@since 3.14.0
|
|
1780
1768
|
*/
|
|
1781
1769
|
function captureRenderTree(app) {
|
|
1770
|
+
// SAFETY: Ideally we'd assert here but that causes awkward circular requires since this is also in @ember/debug.
|
|
1771
|
+
// This is only for debug stuff so not very risky.
|
|
1782
1772
|
var renderer = (0, _util.expect)(app.lookup('renderer:-dom'), "BUG: owner is missing renderer");
|
|
1783
1773
|
return renderer.debugRenderTree.capture();
|
|
1784
1774
|
}
|
|
@@ -1982,7 +1972,7 @@ define("@ember/debug/lib/handlers", ["exports"], function (_exports) {
|
|
|
1982
1972
|
var HANDLERS = {};
|
|
1983
1973
|
_exports.HANDLERS = HANDLERS;
|
|
1984
1974
|
|
|
1985
|
-
var registerHandler = ()
|
|
1975
|
+
var registerHandler = function registerHandler(_type, _callback) {};
|
|
1986
1976
|
|
|
1987
1977
|
_exports.registerHandler = registerHandler;
|
|
1988
1978
|
|
|
@@ -17668,106 +17658,6 @@ define("ember-template-compiler/lib/plugins/assert-against-attrs", ["exports", "
|
|
|
17668
17658
|
return false;
|
|
17669
17659
|
}
|
|
17670
17660
|
});
|
|
17671
|
-
define("ember-template-compiler/lib/plugins/assert-against-dynamic-helpers-modifiers", ["exports", "@ember/debug", "ember-template-compiler/lib/system/calculate-location-display", "ember-template-compiler/lib/plugins/utils"], function (_exports, _debug, _calculateLocationDisplay, _utils) {
|
|
17672
|
-
"use strict";
|
|
17673
|
-
|
|
17674
|
-
Object.defineProperty(_exports, "__esModule", {
|
|
17675
|
-
value: true
|
|
17676
|
-
});
|
|
17677
|
-
_exports.default = assertAgainstDynamicHelpersModifiers;
|
|
17678
|
-
|
|
17679
|
-
function assertAgainstDynamicHelpersModifiers(env) {
|
|
17680
|
-
var _a;
|
|
17681
|
-
|
|
17682
|
-
var moduleName = (_a = env.meta) === null || _a === void 0 ? void 0 : _a.moduleName;
|
|
17683
|
-
var {
|
|
17684
|
-
hasLocal,
|
|
17685
|
-
node
|
|
17686
|
-
} = (0, _utils.trackLocals)();
|
|
17687
|
-
return {
|
|
17688
|
-
name: 'assert-against-dynamic-helpers-modifiers',
|
|
17689
|
-
visitor: {
|
|
17690
|
-
Program: node,
|
|
17691
|
-
ElementNode: {
|
|
17692
|
-
keys: {
|
|
17693
|
-
children: node
|
|
17694
|
-
}
|
|
17695
|
-
},
|
|
17696
|
-
|
|
17697
|
-
MustacheStatement(node) {
|
|
17698
|
-
if ((0, _utils.isPath)(node.path)) {
|
|
17699
|
-
var name = node.path.parts[0];
|
|
17700
|
-
(true && !(name !== 'helper' && name !== 'modifier' || isLocalVariable(node.path, hasLocal)) && (0, _debug.assert)(messageFor(name) + " " + (0, _calculateLocationDisplay.default)(moduleName, node.loc), name !== 'helper' && name !== 'modifier' || isLocalVariable(node.path, hasLocal)));
|
|
17701
|
-
}
|
|
17702
|
-
},
|
|
17703
|
-
|
|
17704
|
-
SubExpression(node) {
|
|
17705
|
-
if ((0, _utils.isPath)(node.path)) {
|
|
17706
|
-
var name = node.path.parts[0];
|
|
17707
|
-
(true && !(name !== 'helper' && name !== 'modifier' || isLocalVariable(node.path, hasLocal)) && (0, _debug.assert)(messageFor(name) + " " + (0, _calculateLocationDisplay.default)(moduleName, node.loc), name !== 'helper' && name !== 'modifier' || isLocalVariable(node.path, hasLocal)));
|
|
17708
|
-
}
|
|
17709
|
-
}
|
|
17710
|
-
|
|
17711
|
-
}
|
|
17712
|
-
};
|
|
17713
|
-
}
|
|
17714
|
-
|
|
17715
|
-
function isLocalVariable(node, hasLocal) {
|
|
17716
|
-
return !node.this && node.parts.length === 1 && hasLocal(node.parts[0]);
|
|
17717
|
-
}
|
|
17718
|
-
|
|
17719
|
-
function messageFor(name) {
|
|
17720
|
-
return "Cannot use the (" + name + ") keyword yet, as it has not been implemented.";
|
|
17721
|
-
}
|
|
17722
|
-
});
|
|
17723
|
-
define("ember-template-compiler/lib/plugins/assert-against-named-blocks", ["exports", "@ember/debug", "ember-template-compiler/lib/system/calculate-location-display"], function (_exports, _debug, _calculateLocationDisplay) {
|
|
17724
|
-
"use strict";
|
|
17725
|
-
|
|
17726
|
-
Object.defineProperty(_exports, "__esModule", {
|
|
17727
|
-
value: true
|
|
17728
|
-
});
|
|
17729
|
-
_exports.default = assertAgainstNamedBlocks;
|
|
17730
|
-
|
|
17731
|
-
/**
|
|
17732
|
-
@module ember
|
|
17733
|
-
*/
|
|
17734
|
-
|
|
17735
|
-
/**
|
|
17736
|
-
Prevents usage of named blocks
|
|
17737
|
-
|
|
17738
|
-
@private
|
|
17739
|
-
@class AssertAgainstNamedBlocks
|
|
17740
|
-
*/
|
|
17741
|
-
function assertAgainstNamedBlocks(env) {
|
|
17742
|
-
var _a;
|
|
17743
|
-
|
|
17744
|
-
var moduleName = (_a = env.meta) === null || _a === void 0 ? void 0 : _a.moduleName;
|
|
17745
|
-
return {
|
|
17746
|
-
name: 'assert-against-named-blocks',
|
|
17747
|
-
visitor: {
|
|
17748
|
-
ElementNode(node) {
|
|
17749
|
-
if (node.tag[0] === ':') {
|
|
17750
|
-
var sourceInformation = (0, _calculateLocationDisplay.default)(moduleName, node.loc);
|
|
17751
|
-
(true && !(false) && (0, _debug.assert)("Named blocks are not currently available, attempted to use the <" + node.tag + "> named block. " + sourceInformation));
|
|
17752
|
-
}
|
|
17753
|
-
},
|
|
17754
|
-
|
|
17755
|
-
MustacheStatement(node) {
|
|
17756
|
-
if (node.path.type === 'PathExpression' && node.path.original === 'yield') {
|
|
17757
|
-
var to = node.hash.pairs.filter(pair => pair.key === 'to')[0]; // Glimmer template compiler ensures yield must receive a string literal,
|
|
17758
|
-
// so we only need to check if it is not "default" or "inverse"
|
|
17759
|
-
|
|
17760
|
-
if (to && to.value.type === 'StringLiteral' && to.value.original !== 'default' && to.value.original !== 'inverse') {
|
|
17761
|
-
var sourceInformation = (0, _calculateLocationDisplay.default)(moduleName, node.loc);
|
|
17762
|
-
(true && !(false) && (0, _debug.assert)("Named blocks are not currently available, attempted to yield to a named block other than \"default\" or \"inverse\": {{yield to=\"" + to.value.original + "\"}}. " + sourceInformation));
|
|
17763
|
-
}
|
|
17764
|
-
}
|
|
17765
|
-
}
|
|
17766
|
-
|
|
17767
|
-
}
|
|
17768
|
-
};
|
|
17769
|
-
}
|
|
17770
|
-
});
|
|
17771
17661
|
define("ember-template-compiler/lib/plugins/assert-against-named-outlets", ["exports", "@ember/debug", "ember-template-compiler/lib/system/calculate-location-display"], function (_exports, _debug, _calculateLocationDisplay) {
|
|
17772
17662
|
"use strict";
|
|
17773
17663
|
|
|
@@ -17934,7 +17824,7 @@ define("ember-template-compiler/lib/plugins/assert-splattribute-expression", ["e
|
|
|
17934
17824
|
return '`...attributes` can only be used in the element position e.g. `<div ...attributes />`. It cannot be used as a path.';
|
|
17935
17825
|
}
|
|
17936
17826
|
});
|
|
17937
|
-
define("ember-template-compiler/lib/plugins/index", ["exports", "ember-template-compiler/lib/plugins/assert-against-attrs", "ember-template-compiler/lib/plugins/assert-against-
|
|
17827
|
+
define("ember-template-compiler/lib/plugins/index", ["exports", "ember-template-compiler/lib/plugins/assert-against-attrs", "ember-template-compiler/lib/plugins/assert-against-named-outlets", "ember-template-compiler/lib/plugins/assert-input-helper-without-block", "ember-template-compiler/lib/plugins/assert-reserved-named-arguments", "ember-template-compiler/lib/plugins/assert-splattribute-expression", "ember-template-compiler/lib/plugins/transform-action-syntax", "ember-template-compiler/lib/plugins/transform-each-in-into-each", "ember-template-compiler/lib/plugins/transform-each-track-array", "ember-template-compiler/lib/plugins/transform-in-element", "ember-template-compiler/lib/plugins/transform-quoted-bindings-into-just-bindings", "ember-template-compiler/lib/plugins/transform-resolutions", "ember-template-compiler/lib/plugins/transform-wrap-mount-and-outlet"], function (_exports, _assertAgainstAttrs, _assertAgainstNamedOutlets, _assertInputHelperWithoutBlock, _assertReservedNamedArguments, _assertSplattributeExpression, _transformActionSyntax, _transformEachInIntoEach, _transformEachTrackArray, _transformInElement, _transformQuotedBindingsIntoJustBindings, _transformResolutions, _transformWrapMountAndOutlet) {
|
|
17938
17828
|
"use strict";
|
|
17939
17829
|
|
|
17940
17830
|
Object.defineProperty(_exports, "__esModule", {
|
|
@@ -17942,17 +17832,9 @@ define("ember-template-compiler/lib/plugins/index", ["exports", "ember-template-
|
|
|
17942
17832
|
});
|
|
17943
17833
|
_exports.STRICT_MODE_TRANSFORMS = _exports.RESOLUTION_MODE_TRANSFORMS = void 0;
|
|
17944
17834
|
// order of plugins is important
|
|
17945
|
-
var RESOLUTION_MODE_TRANSFORMS = Object.freeze([_transformQuotedBindingsIntoJustBindings.default, _assertReservedNamedArguments.default, _transformActionSyntax.default, _assertAgainstAttrs.default, _transformEachInIntoEach.default, _assertInputHelperWithoutBlock.default, _transformInElement.default, _assertSplattributeExpression.default, _transformEachTrackArray.default, _assertAgainstNamedOutlets.default, _transformWrapMountAndOutlet.default,
|
|
17946
|
-
/* EMBER_NAMED_BLOCKS */
|
|
17947
|
-
? _assertAgainstNamedBlocks.default : null, true
|
|
17948
|
-
/* EMBER_DYNAMIC_HELPERS_AND_MODIFIERS */
|
|
17949
|
-
? _transformResolutions.default : _assertAgainstDynamicHelpersModifiers.default].filter(notNull));
|
|
17835
|
+
var RESOLUTION_MODE_TRANSFORMS = Object.freeze([_transformQuotedBindingsIntoJustBindings.default, _assertReservedNamedArguments.default, _transformActionSyntax.default, _assertAgainstAttrs.default, _transformEachInIntoEach.default, _assertInputHelperWithoutBlock.default, _transformInElement.default, _assertSplattributeExpression.default, _transformEachTrackArray.default, _assertAgainstNamedOutlets.default, _transformWrapMountAndOutlet.default, _transformResolutions.default].filter(notNull));
|
|
17950
17836
|
_exports.RESOLUTION_MODE_TRANSFORMS = RESOLUTION_MODE_TRANSFORMS;
|
|
17951
|
-
var STRICT_MODE_TRANSFORMS = Object.freeze([_transformQuotedBindingsIntoJustBindings.default, _assertReservedNamedArguments.default, _transformActionSyntax.default, _transformEachInIntoEach.default, _transformInElement.default, _assertSplattributeExpression.default, _transformEachTrackArray.default, _assertAgainstNamedOutlets.default, _transformWrapMountAndOutlet.default
|
|
17952
|
-
/* EMBER_NAMED_BLOCKS */
|
|
17953
|
-
? _assertAgainstNamedBlocks.default : null, !true
|
|
17954
|
-
/* EMBER_DYNAMIC_HELPERS_AND_MODIFIERS */
|
|
17955
|
-
? _assertAgainstDynamicHelpersModifiers.default : null].filter(notNull));
|
|
17837
|
+
var STRICT_MODE_TRANSFORMS = Object.freeze([_transformQuotedBindingsIntoJustBindings.default, _assertReservedNamedArguments.default, _transformActionSyntax.default, _transformEachInIntoEach.default, _transformInElement.default, _assertSplattributeExpression.default, _transformEachTrackArray.default, _assertAgainstNamedOutlets.default, _transformWrapMountAndOutlet.default].filter(notNull));
|
|
17956
17838
|
_exports.STRICT_MODE_TRANSFORMS = STRICT_MODE_TRANSFORMS;
|
|
17957
17839
|
|
|
17958
17840
|
function notNull(value) {
|
|
@@ -18660,13 +18542,6 @@ define("ember-template-compiler/lib/system/compile-options", ["exports", "@ember
|
|
|
18660
18542
|
|
|
18661
18543
|
});
|
|
18662
18544
|
|
|
18663
|
-
if (!true
|
|
18664
|
-
/* EMBER_STRICT_MODE */
|
|
18665
|
-
) {
|
|
18666
|
-
options.strictMode = false;
|
|
18667
|
-
options.locals = undefined;
|
|
18668
|
-
}
|
|
18669
|
-
|
|
18670
18545
|
if ('locals' in options && !options.locals) {
|
|
18671
18546
|
// Glimmer's precompile options declare `locals` like:
|
|
18672
18547
|
// locals?: string[]
|
|
@@ -18688,9 +18563,7 @@ define("ember-template-compiler/lib/system/compile-options", ["exports", "@ember
|
|
|
18688
18563
|
}
|
|
18689
18564
|
|
|
18690
18565
|
function transformsFor(options) {
|
|
18691
|
-
return
|
|
18692
|
-
/* EMBER_STRICT_MODE */
|
|
18693
|
-
&& options.strictMode ? _index.STRICT_MODE_TRANSFORMS : _index.RESOLUTION_MODE_TRANSFORMS;
|
|
18566
|
+
return options.strictMode ? _index.STRICT_MODE_TRANSFORMS : _index.RESOLUTION_MODE_TRANSFORMS;
|
|
18694
18567
|
}
|
|
18695
18568
|
|
|
18696
18569
|
function compileOptions(_options) {
|
|
@@ -18857,7 +18730,7 @@ define("ember/version", ["exports"], function (_exports) {
|
|
|
18857
18730
|
value: true
|
|
18858
18731
|
});
|
|
18859
18732
|
_exports.default = void 0;
|
|
18860
|
-
var _default = "4.
|
|
18733
|
+
var _default = "4.4.0-alpha.3";
|
|
18861
18734
|
_exports.default = _default;
|
|
18862
18735
|
});
|
|
18863
18736
|
define("simple-html-tokenizer", ["exports"], function (_exports) {
|