ember-source 4.4.0-alpha.3 → 4.4.0-alpha.6
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/CHANGELOG.md +5 -1
- package/blueprints/-addon-import.js +9 -0
- package/blueprints/-maybe-polyfill-typescript-blueprints.js +17 -0
- package/blueprints/acceptance-test/index.js +8 -0
- package/blueprints/acceptance-test/mocha-rfc-232-files/tests/acceptance/{__name__-test.js → __name__-test.ts} +1 -1
- package/blueprints/acceptance-test/qunit-rfc-232-files/tests/acceptance/{__name__-test.js → __name__-test.ts} +1 -1
- package/blueprints/component/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/component/index.js +6 -1
- package/blueprints/component-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/component-addon/index.js +9 -0
- package/blueprints/component-class/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/component-class/index.js +5 -0
- package/blueprints/component-class-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/component-class-addon/index.js +9 -0
- package/blueprints/component-test/index.js +8 -0
- package/blueprints/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +2 -2
- package/blueprints/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +3 -3
- package/blueprints/controller/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/controller/index.js +10 -0
- package/blueprints/controller-test/index.js +10 -0
- package/blueprints/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
- package/blueprints/controller-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
- package/blueprints/helper/files/__root__/__collection__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/helper/index.js +9 -0
- package/blueprints/helper-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/helper-test/index.js +9 -0
- package/blueprints/helper-test/mocha-rfc-232-files/__root__/__testType__/__collection__/{__name__-test.js → __name__-test.ts} +1 -1
- package/blueprints/helper-test/qunit-rfc-232-files/__root__/__testType__/__collection__/{__name__-test.js → __name__-test.ts} +1 -1
- package/blueprints/initializer/files/__root__/initializers/__name__.ts +6 -0
- package/blueprints/initializer/index.js +9 -0
- package/blueprints/initializer-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/initializer-test/index.js +8 -0
- package/blueprints/initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__name__-test.js → __name__-test.ts} +3 -1
- package/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.ts +37 -0
- package/blueprints/instance-initializer/files/__root__/instance-initializers/__name__.ts +6 -0
- package/blueprints/instance-initializer/index.js +9 -0
- package/blueprints/instance-initializer-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/instance-initializer-test/index.js +8 -0
- package/blueprints/instance-initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__name__-test.js → __name__-test.ts} +5 -1
- package/blueprints/instance-initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__name__-test.js → __name__-test.ts} +6 -1
- package/blueprints/route/files/__root__/__path__/{__name__.js → __name__.ts} +2 -4
- package/blueprints/route/index.js +9 -0
- package/blueprints/route-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/route-addon/index.js +9 -0
- package/blueprints/route-test/index.js +9 -0
- package/blueprints/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
- package/blueprints/route-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
- package/blueprints/service/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
- package/blueprints/service/index.js +10 -0
- package/blueprints/service-test/index.js +8 -0
- package/blueprints/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
- package/blueprints/service-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
- package/blueprints/util/files/__root__/utils/{__name__.js → __name__.ts} +0 -0
- package/blueprints/util/index.js +10 -0
- package/blueprints/util-test/index.js +8 -0
- package/blueprints/util-test/mocha-rfc-232-files/__root__/__testType__/{__name__-test.js → __name__-test.ts} +0 -0
- package/blueprints/util-test/qunit-rfc-232-files/__root__/__testType__/{__name__-test.js → __name__-test.ts} +0 -0
- package/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +15 -13
- package/dist/ember-template-compiler.map +1 -1
- package/dist/ember-testing.js +8 -4
- package/dist/ember-testing.map +1 -1
- package/dist/ember.debug.js +478 -1149
- package/dist/ember.debug.map +1 -1
- package/dist/header/license.js +1 -1
- package/dist/packages/@ember/-internals/container/index.js +1 -25
- package/dist/packages/@ember/-internals/extension-support/lib/container_debug_adapter.js +10 -19
- package/dist/packages/@ember/-internals/extension-support/lib/data_adapter.js +113 -112
- package/dist/packages/@ember/-internals/glimmer/index.js +117 -749
- package/dist/packages/@ember/-internals/metal/index.js +17 -22
- package/dist/packages/@ember/-internals/routing/lib/services/router.js +140 -145
- package/dist/packages/@ember/-internals/routing/lib/system/router.js +3 -1
- package/dist/packages/@ember/-internals/runtime/lib/ext/rsvp.js +8 -4
- package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +1 -1
- package/dist/packages/@ember/-internals/runtime/lib/mixins/array.js +1 -1
- package/dist/packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js +16 -16
- package/dist/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +8 -8
- package/dist/packages/@ember/-internals/views/lib/system/utils.js +4 -2
- package/dist/packages/@ember/-internals/views/lib/views/core_view.js +5 -22
- package/dist/packages/@ember/canary-features/index.js +1 -5
- package/dist/packages/@ember/debug/index.js +1 -1
- package/dist/packages/@ember/debug/lib/deprecate.js +6 -2
- package/dist/packages/@ember/renderer/index.js +21 -0
- package/dist/packages/ember/version.js +1 -1
- package/docs/data.json +447 -260
- package/package.json +15 -12
- package/blueprints/initializer/files/__root__/initializers/__name__.js +0 -5
- package/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +0 -34
- package/blueprints/instance-initializer/files/__root__/instance-initializers/__name__.js +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-source",
|
|
3
|
-
"version": "4.4.0-alpha.
|
|
3
|
+
"version": "4.4.0-alpha.6",
|
|
4
4
|
"description": "A JavaScript framework for creating ambitious web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -42,7 +42,9 @@
|
|
|
42
42
|
"lint:tsc": "tsc --noEmit",
|
|
43
43
|
"lint:fix": "npm-run-all lint:*:fix",
|
|
44
44
|
"test": "node bin/run-tests.js",
|
|
45
|
-
"test:blueprints": "mocha node-tests/blueprints/**/*-test.js",
|
|
45
|
+
"test:blueprints:js": "mocha node-tests/blueprints/**/*-test.js",
|
|
46
|
+
"test:blueprints:ts": "EMBER_TYPESCRIPT_BLUEPRINTS=true yarn test:blueprints:js",
|
|
47
|
+
"test:blueprints": "yarn test:blueprints:js && yarn test:blueprints:ts",
|
|
46
48
|
"test:node": "qunit tests/node/**/*-test.js",
|
|
47
49
|
"test:browserstack": "node bin/run-browserstack-tests.js"
|
|
48
50
|
},
|
|
@@ -59,23 +61,24 @@
|
|
|
59
61
|
"broccoli-funnel": "^3.0.8",
|
|
60
62
|
"broccoli-merge-trees": "^4.2.0",
|
|
61
63
|
"chalk": "^4.0.0",
|
|
62
|
-
"ember-auto-import": "^2.
|
|
64
|
+
"ember-auto-import": "^2.4.0",
|
|
63
65
|
"ember-cli-babel": "^7.23.0",
|
|
64
66
|
"ember-cli-get-component-path-option": "^1.0.0",
|
|
65
67
|
"ember-cli-is-package-missing": "^1.0.0",
|
|
66
68
|
"ember-cli-normalize-entity-name": "^1.0.0",
|
|
67
69
|
"ember-cli-path-utils": "^1.0.0",
|
|
68
70
|
"ember-cli-string-utils": "^1.1.0",
|
|
71
|
+
"ember-cli-typescript-blueprint-polyfill": "^0.1.0",
|
|
69
72
|
"ember-cli-version-checker": "^5.1.2",
|
|
70
73
|
"ember-router-generator": "^2.0.0",
|
|
71
|
-
"inflection": "^1.13.
|
|
74
|
+
"inflection": "^1.13.2",
|
|
72
75
|
"resolve": "^1.22.0",
|
|
73
76
|
"semver": "^7.3.4",
|
|
74
77
|
"silent-error": "^1.1.1"
|
|
75
78
|
},
|
|
76
79
|
"devDependencies": {
|
|
77
80
|
"@babel/preset-env": "^7.16.11",
|
|
78
|
-
"@glimmer/compiler": "0.
|
|
81
|
+
"@glimmer/compiler": "0.84.0",
|
|
79
82
|
"@glimmer/destroyable": "0.83.1",
|
|
80
83
|
"@glimmer/env": "^0.1.7",
|
|
81
84
|
"@glimmer/global-context": "0.83.1",
|
|
@@ -83,7 +86,7 @@
|
|
|
83
86
|
"@glimmer/manager": "0.83.1",
|
|
84
87
|
"@glimmer/node": "0.83.1",
|
|
85
88
|
"@glimmer/opcode-compiler": "0.83.1",
|
|
86
|
-
"@glimmer/owner": "0.
|
|
89
|
+
"@glimmer/owner": "0.84.0",
|
|
87
90
|
"@glimmer/program": "0.83.1",
|
|
88
91
|
"@glimmer/reference": "0.83.1",
|
|
89
92
|
"@glimmer/runtime": "0.83.1",
|
|
@@ -92,9 +95,9 @@
|
|
|
92
95
|
"@types/qunit": "^2.11.3",
|
|
93
96
|
"@types/rsvp": "^4.0.4",
|
|
94
97
|
"@typescript-eslint/eslint-plugin": "^5.10.0",
|
|
95
|
-
"@typescript-eslint/parser": "^5.
|
|
98
|
+
"@typescript-eslint/parser": "^5.13.0",
|
|
96
99
|
"auto-dist-tag": "^2.1.1",
|
|
97
|
-
"aws-sdk": "^2.
|
|
100
|
+
"aws-sdk": "^2.1083.0",
|
|
98
101
|
"babel-template": "^6.26.0",
|
|
99
102
|
"backburner.js": "^2.7.0",
|
|
100
103
|
"broccoli-babel-transpiler": "^7.8.0",
|
|
@@ -127,7 +130,7 @@
|
|
|
127
130
|
"expect-type": "^0.13.0",
|
|
128
131
|
"express": "^4.17.1",
|
|
129
132
|
"finalhandler": "^1.1.2",
|
|
130
|
-
"fs-extra": "^10.0.
|
|
133
|
+
"fs-extra": "^10.0.1",
|
|
131
134
|
"git-repo-info": "^2.1.1",
|
|
132
135
|
"github": "^0.2.3",
|
|
133
136
|
"glob": "^7.2.0",
|
|
@@ -137,7 +140,7 @@
|
|
|
137
140
|
"mocha": "^9.2.0",
|
|
138
141
|
"npm-run-all": "^4.1.5",
|
|
139
142
|
"prettier": "^2.1.2",
|
|
140
|
-
"puppeteer": "^
|
|
143
|
+
"puppeteer": "^13.4.1",
|
|
141
144
|
"qunit": "^2.14.0",
|
|
142
145
|
"rollup-plugin-commonjs": "^9.3.4",
|
|
143
146
|
"rollup-plugin-node-resolve": "^4.2.4",
|
|
@@ -148,7 +151,7 @@
|
|
|
148
151
|
"simple-dom": "^1.4.0",
|
|
149
152
|
"testem": "^3.6.0",
|
|
150
153
|
"testem-failure-only-reporter": "^1.0.0",
|
|
151
|
-
"typescript": "
|
|
154
|
+
"typescript": "~4.6.0"
|
|
152
155
|
},
|
|
153
156
|
"engines": {
|
|
154
157
|
"node": ">= 12.*"
|
|
@@ -156,7 +159,7 @@
|
|
|
156
159
|
"ember-addon": {
|
|
157
160
|
"after": "ember-cli-legacy-blueprints"
|
|
158
161
|
},
|
|
159
|
-
"_originalVersion": "4.4.0-alpha.
|
|
162
|
+
"_originalVersion": "4.4.0-alpha.6",
|
|
160
163
|
"_versionPreviouslyCalculated": true,
|
|
161
164
|
"publishConfig": {
|
|
162
165
|
"tag": "alpha"
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import Application from '@ember/application';
|
|
2
|
-
|
|
3
|
-
import config from '<%= modulePrefix %>/config/environment';
|
|
4
|
-
import { initialize } from '<%= modulePrefix %>/initializers/<%= dasherizedModuleName %>';
|
|
5
|
-
import { module, test } from 'qunit';
|
|
6
|
-
import Resolver from 'ember-resolver';
|
|
7
|
-
<% if (destroyAppExists) { %>import destroyApp from '../../helpers/destroy-app';<% } else { %>import { run } from '@ember/runloop';<% } %>
|
|
8
|
-
|
|
9
|
-
module('<%= friendlyTestName %>', function (hooks) {
|
|
10
|
-
hooks.beforeEach(function () {
|
|
11
|
-
this.TestApplication = class TestApplication extends Application {
|
|
12
|
-
modulePrefix = config.modulePrefix;
|
|
13
|
-
podModulePrefix = config.podModulePrefix;
|
|
14
|
-
Resolver = Resolver;
|
|
15
|
-
};
|
|
16
|
-
this.TestApplication.initializer({
|
|
17
|
-
name: 'initializer under test',
|
|
18
|
-
initialize,
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
this.application = this.TestApplication.create({ autoboot: false });
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
hooks.afterEach(function () {
|
|
25
|
-
<% if (destroyAppExists) { %>destroyApp(this.application);<% } else { %>run(this.application, 'destroy');<% } %>
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
// TODO: Replace this with your real tests.
|
|
29
|
-
test('it works', async function (assert) {
|
|
30
|
-
await this.application.boot();
|
|
31
|
-
|
|
32
|
-
assert.ok(true);
|
|
33
|
-
});
|
|
34
|
-
});
|