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.
Files changed (67) hide show
  1. package/CHANGELOG.md +4 -10
  2. package/blueprints/test-framework-detector.js +0 -22
  3. package/build-metadata.json +3 -3
  4. package/dist/ember-template-compiler.js +3 -2
  5. package/dist/ember-template-compiler.map +1 -1
  6. package/dist/ember-testing.js +2 -1
  7. package/dist/ember-testing.map +1 -1
  8. package/dist/ember.debug.js +5 -8
  9. package/dist/ember.debug.map +1 -1
  10. package/dist/header/license.js +1 -1
  11. package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +1 -3
  12. package/dist/packages/@ember/debug/lib/deprecate.js +1 -0
  13. package/dist/packages/@ember/object/observable.js +1 -3
  14. package/dist/packages/ember/version.js +1 -1
  15. package/docs/data.json +2 -2
  16. package/package.json +3 -3
  17. package/types/stable/@ember/object/observable.d.ts +2 -2
  18. package/blueprints/acceptance-test/mocha-files/tests/acceptance/__name__-test.js +0 -24
  19. package/blueprints/acceptance-test/mocha-rfc-232-files/tests/acceptance/__name__-test.ts +0 -13
  20. package/blueprints/component-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -34
  21. package/blueprints/component-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -36
  22. package/blueprints/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +0 -38
  23. package/blueprints/controller-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -16
  24. package/blueprints/controller-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -18
  25. package/blueprints/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +0 -13
  26. package/blueprints/helper-test/mocha-0.12-files/__root__/__testType__/helpers/__name__-test.js +0 -26
  27. package/blueprints/helper-test/mocha-files/__root__/__testType__/helpers/__name__-test.js +0 -28
  28. package/blueprints/helper-test/mocha-rfc-232-files/__root__/__testType__/helpers/__name__-test.ts +0 -18
  29. package/blueprints/initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +0 -28
  30. package/blueprints/initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.ts +0 -31
  31. package/blueprints/instance-initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +0 -30
  32. package/blueprints/instance-initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.ts +0 -32
  33. package/blueprints/mixin-test/mocha-files/__root__/__testType__/__name__-test.js +0 -13
  34. package/blueprints/mixin-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.js +0 -13
  35. package/blueprints/route-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -15
  36. package/blueprints/route-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -17
  37. package/blueprints/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +0 -12
  38. package/blueprints/service-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -16
  39. package/blueprints/service-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -18
  40. package/blueprints/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.ts +0 -13
  41. package/blueprints/util-test/mocha-files/__root__/__testType__/__name__-test.js +0 -11
  42. package/blueprints/util-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.ts +0 -11
  43. package/blueprints-js/acceptance-test/mocha-files/tests/acceptance/__name__-test.js +0 -24
  44. package/blueprints-js/acceptance-test/mocha-rfc-232-files/tests/acceptance/__name__-test.js +0 -13
  45. package/blueprints-js/component-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -34
  46. package/blueprints-js/component-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -36
  47. package/blueprints-js/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +0 -38
  48. package/blueprints-js/controller-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -16
  49. package/blueprints-js/controller-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -18
  50. package/blueprints-js/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +0 -13
  51. package/blueprints-js/helper-test/mocha-0.12-files/__root__/__testType__/helpers/__name__-test.js +0 -26
  52. package/blueprints-js/helper-test/mocha-files/__root__/__testType__/helpers/__name__-test.js +0 -28
  53. package/blueprints-js/helper-test/mocha-rfc-232-files/__root__/__testType__/helpers/__name__-test.js +0 -18
  54. package/blueprints-js/initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +0 -28
  55. package/blueprints-js/initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +0 -31
  56. package/blueprints-js/instance-initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +0 -30
  57. package/blueprints-js/instance-initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +0 -32
  58. package/blueprints-js/mixin-test/mocha-files/__root__/__testType__/__name__-test.js +0 -13
  59. package/blueprints-js/mixin-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.js +0 -13
  60. package/blueprints-js/route-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -15
  61. package/blueprints-js/route-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -17
  62. package/blueprints-js/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +0 -12
  63. package/blueprints-js/service-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +0 -16
  64. package/blueprints-js/service-test/mocha-files/__root__/__testType__/__path__/__test__.js +0 -18
  65. package/blueprints-js/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +0 -13
  66. package/blueprints-js/util-test/mocha-files/__root__/__testType__/__name__-test.js +0 -11
  67. 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-beta.3 (March 13, 2023)
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';
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "5.0.0-alpha.5",
2
+ "version": "5.0.0-alpha.7",
3
3
  "buildType": "tag",
4
- "SHA": "173a11f8e86a78f842384c73a425797a3e7879a9",
5
- "assetPath": "/tag/shas/173a11f8e86a78f842384c73a425797a3e7879a9.tgz"
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.5
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.5";
16366
+ var _default = "5.0.0-alpha.7";
16366
16367
  _exports.default = _default;
16367
16368
  });
16368
16369
  define("simple-html-tokenizer", ["exports"], function (_exports) {