ember-source 5.0.0-alpha.5 → 5.0.0-alpha.7
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 +4 -10
- package/blueprints/test-framework-detector.js +0 -22
- package/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +3 -2
- package/dist/ember-template-compiler.map +1 -1
- package/dist/ember-testing.js +2 -1
- package/dist/ember-testing.map +1 -1
- package/dist/ember.debug.js +5 -8
- package/dist/ember.debug.map +1 -1
- package/dist/header/license.js +1 -1
- package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +1 -3
- package/dist/packages/@ember/debug/lib/deprecate.js +1 -0
- package/dist/packages/@ember/object/observable.js +1 -3
- package/dist/packages/ember/version.js +1 -1
- package/docs/data.json +2 -2
- package/package.json +3 -3
- package/types/stable/@ember/object/observable.d.ts +2 -2
- package/blueprints/acceptance-test/mocha-files/tests/acceptance/__name__-test.js +0 -24
- package/blueprints/acceptance-test/mocha-rfc-232-files/tests/acceptance/__name__-test.ts +0 -13
- package/blueprints/component-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -34
- package/blueprints/component-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -36
- package/blueprints/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +0 -38
- package/blueprints/controller-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -16
- package/blueprints/controller-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -18
- package/blueprints/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +0 -13
- package/blueprints/helper-test/mocha-0.12-files/__root__/__testType__/helpers/__name__-test.js +0 -26
- package/blueprints/helper-test/mocha-files/__root__/__testType__/helpers/__name__-test.js +0 -28
- package/blueprints/helper-test/mocha-rfc-232-files/__root__/__testType__/helpers/__name__-test.ts +0 -18
- package/blueprints/initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +0 -28
- package/blueprints/initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.ts +0 -31
- package/blueprints/instance-initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +0 -30
- package/blueprints/instance-initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.ts +0 -32
- package/blueprints/mixin-test/mocha-files/__root__/__testType__/__name__-test.js +0 -13
- package/blueprints/mixin-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.js +0 -13
- package/blueprints/route-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -15
- package/blueprints/route-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -17
- package/blueprints/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +0 -12
- package/blueprints/service-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -16
- package/blueprints/service-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -18
- package/blueprints/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +0 -13
- package/blueprints/util-test/mocha-files/__root__/__testType__/__name__-test.js +0 -11
- package/blueprints/util-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.ts +0 -11
- package/blueprints-js/acceptance-test/mocha-files/tests/acceptance/__name__-test.js +0 -24
- package/blueprints-js/acceptance-test/mocha-rfc-232-files/tests/acceptance/__name__-test.js +0 -13
- package/blueprints-js/component-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -34
- package/blueprints-js/component-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -36
- package/blueprints-js/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +0 -38
- package/blueprints-js/controller-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -16
- package/blueprints-js/controller-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -18
- package/blueprints-js/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +0 -13
- package/blueprints-js/helper-test/mocha-0.12-files/__root__/__testType__/helpers/__name__-test.js +0 -26
- package/blueprints-js/helper-test/mocha-files/__root__/__testType__/helpers/__name__-test.js +0 -28
- package/blueprints-js/helper-test/mocha-rfc-232-files/__root__/__testType__/helpers/__name__-test.js +0 -18
- package/blueprints-js/initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +0 -28
- package/blueprints-js/initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +0 -31
- package/blueprints-js/instance-initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +0 -30
- package/blueprints-js/instance-initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +0 -32
- package/blueprints-js/mixin-test/mocha-files/__root__/__testType__/__name__-test.js +0 -13
- package/blueprints-js/mixin-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.js +0 -13
- package/blueprints-js/route-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -15
- package/blueprints-js/route-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -17
- package/blueprints-js/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +0 -12
- package/blueprints-js/service-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -16
- package/blueprints-js/service-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -18
- package/blueprints-js/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +0 -13
- package/blueprints-js/util-test/mocha-files/__root__/__testType__/__name__-test.js +0 -11
- package/blueprints-js/util-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.js +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
# Ember Changelog
|
|
2
2
|
|
|
3
|
-
## v4.12.0
|
|
4
|
-
|
|
5
|
-
- [#20388](https://github.com/emberjs/ember.js/pull/20388) [BUGFIX] Don't run getters while applying mixins
|
|
6
|
-
- [#20398](https://github.com/emberjs/ember.js/pull/20398) [BUGFIX] Fix runloop types on TS 5.0+
|
|
7
|
-
|
|
8
|
-
## v4.12.0-beta.2 (February 27, 2023)
|
|
9
|
-
|
|
10
|
-
- [#20385](https://github.com/emberjs/ember.js/pull/20385) [BUGFIX] Improve error for owner methods called after destroy
|
|
11
|
-
|
|
12
|
-
## v4.12.0-beta.1 (February 20, 2023)
|
|
3
|
+
## v4.12.0 (April 3, 2023)
|
|
13
4
|
|
|
14
5
|
- [#20352](https://github.com/emberjs/ember.js/pull/20352) [FEATURE] Enable generating Typescript blueprints when `isTypeScriptProject` is true without additional environment variables per [RFC #800](https://rfcs.emberjs.com/id/0800-ts-adoption-plan).
|
|
15
6
|
- [#20355](https://github.com/emberjs/ember.js/pull/20355) [FEATURE] Enhance the Typescript blueprint for generated services per [RFC #800](https://rfcs.emberjs.com/id/0800-ts-adoption-plan).
|
|
16
7
|
- [#20356](https://github.com/emberjs/ember.js/pull/20356) [FEATURE] Generate signature in Typescript component blueprints per [RFC #800](https://rfcs.emberjs.com/id/0800-ts-adoption-plan).
|
|
8
|
+
- [#20388](https://github.com/emberjs/ember.js/pull/20388) [BUGFIX] Don't run getters while applying mixins
|
|
9
|
+
- [#20398](https://github.com/emberjs/ember.js/pull/20398) [BUGFIX] Fix runloop types on TS 5.0+
|
|
10
|
+
- [#20385](https://github.com/emberjs/ember.js/pull/20385) [BUGFIX] Improve error for owner methods called after destroy
|
|
17
11
|
|
|
18
12
|
## v4.11.0 (February 20, 2023)
|
|
19
13
|
|
|
@@ -12,8 +12,6 @@ module.exports = function (blueprint) {
|
|
|
12
12
|
blueprint.filesPath = function () {
|
|
13
13
|
let type;
|
|
14
14
|
const qunitRfcVersion = 'qunit-rfc-232';
|
|
15
|
-
const mochaRfcVersion = 'mocha-rfc-232';
|
|
16
|
-
const mochaVersion = 'mocha-0.12';
|
|
17
15
|
|
|
18
16
|
let dependencies = this.project.dependencies();
|
|
19
17
|
if ('ember-qunit' in dependencies) {
|
|
@@ -28,26 +26,6 @@ module.exports = function (blueprint) {
|
|
|
28
26
|
} else {
|
|
29
27
|
type = 'qunit';
|
|
30
28
|
}
|
|
31
|
-
} else if ('ember-mocha' in dependencies) {
|
|
32
|
-
let checker = new VersionChecker(this.project);
|
|
33
|
-
if (
|
|
34
|
-
fs.existsSync(`${this.path}/${mochaRfcVersion}-files`) &&
|
|
35
|
-
checker.for('ember-mocha', 'npm').gte('0.14.0')
|
|
36
|
-
) {
|
|
37
|
-
type = mochaRfcVersion;
|
|
38
|
-
} else {
|
|
39
|
-
type = mochaVersion;
|
|
40
|
-
}
|
|
41
|
-
} else if ('ember-cli-mocha' in dependencies) {
|
|
42
|
-
let checker = new VersionChecker(this.project);
|
|
43
|
-
if (
|
|
44
|
-
fs.existsSync(`${this.path}/${mochaVersion}-files`) &&
|
|
45
|
-
checker.for('ember-cli-mocha', 'npm').gte('0.12.0')
|
|
46
|
-
) {
|
|
47
|
-
type = mochaVersion;
|
|
48
|
-
} else {
|
|
49
|
-
type = 'mocha';
|
|
50
|
-
}
|
|
51
29
|
} else {
|
|
52
30
|
this.ui.writeLine("Couldn't determine test style - using QUnit");
|
|
53
31
|
type = 'qunit';
|
package/build-metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.0.0-alpha.
|
|
2
|
+
"version": "5.0.0-alpha.7",
|
|
3
3
|
"buildType": "tag",
|
|
4
|
-
"SHA": "
|
|
5
|
-
"assetPath": "/tag/shas/
|
|
4
|
+
"SHA": "034a1ae978f2cf9fc8727193591b5494a4f38fb9",
|
|
5
|
+
"assetPath": "/tag/shas/034a1ae978f2cf9fc8727193591b5494a4f38fb9.tgz"
|
|
6
6
|
}
|
|
@@ -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 5.0.0-alpha.
|
|
9
|
+
* @version 5.0.0-alpha.7
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/* eslint-disable no-var */
|
|
@@ -2034,6 +2034,7 @@ define("@ember/debug/lib/deprecate", ["exports", "@ember/-internals/environment"
|
|
|
2034
2034
|
captureErrorForStack = () => {
|
|
2035
2035
|
try {
|
|
2036
2036
|
__fail__.fail();
|
|
2037
|
+
return;
|
|
2037
2038
|
} catch (e) {
|
|
2038
2039
|
return e;
|
|
2039
2040
|
}
|
|
@@ -16362,7 +16363,7 @@ define("ember/version", ["exports"], function (_exports) {
|
|
|
16362
16363
|
value: true
|
|
16363
16364
|
});
|
|
16364
16365
|
_exports.default = void 0;
|
|
16365
|
-
var _default = "5.0.0-alpha.
|
|
16366
|
+
var _default = "5.0.0-alpha.7";
|
|
16366
16367
|
_exports.default = _default;
|
|
16367
16368
|
});
|
|
16368
16369
|
define("simple-html-tokenizer", ["exports"], function (_exports) {
|