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.
Files changed (89) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/blueprints/-addon-import.js +9 -0
  3. package/blueprints/-maybe-polyfill-typescript-blueprints.js +17 -0
  4. package/blueprints/acceptance-test/index.js +8 -0
  5. package/blueprints/acceptance-test/mocha-rfc-232-files/tests/acceptance/{__name__-test.js → __name__-test.ts} +1 -1
  6. package/blueprints/acceptance-test/qunit-rfc-232-files/tests/acceptance/{__name__-test.js → __name__-test.ts} +1 -1
  7. package/blueprints/component/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  8. package/blueprints/component/index.js +6 -1
  9. package/blueprints/component-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  10. package/blueprints/component-addon/index.js +9 -0
  11. package/blueprints/component-class/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  12. package/blueprints/component-class/index.js +5 -0
  13. package/blueprints/component-class-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  14. package/blueprints/component-class-addon/index.js +9 -0
  15. package/blueprints/component-test/index.js +8 -0
  16. package/blueprints/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +2 -2
  17. package/blueprints/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +3 -3
  18. package/blueprints/controller/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  19. package/blueprints/controller/index.js +10 -0
  20. package/blueprints/controller-test/index.js +10 -0
  21. package/blueprints/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
  22. package/blueprints/controller-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
  23. package/blueprints/helper/files/__root__/__collection__/{__name__.js → __name__.ts} +0 -0
  24. package/blueprints/helper/index.js +9 -0
  25. package/blueprints/helper-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  26. package/blueprints/helper-test/index.js +9 -0
  27. package/blueprints/helper-test/mocha-rfc-232-files/__root__/__testType__/__collection__/{__name__-test.js → __name__-test.ts} +1 -1
  28. package/blueprints/helper-test/qunit-rfc-232-files/__root__/__testType__/__collection__/{__name__-test.js → __name__-test.ts} +1 -1
  29. package/blueprints/initializer/files/__root__/initializers/__name__.ts +6 -0
  30. package/blueprints/initializer/index.js +9 -0
  31. package/blueprints/initializer-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  32. package/blueprints/initializer-test/index.js +8 -0
  33. package/blueprints/initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__name__-test.js → __name__-test.ts} +3 -1
  34. package/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.ts +37 -0
  35. package/blueprints/instance-initializer/files/__root__/instance-initializers/__name__.ts +6 -0
  36. package/blueprints/instance-initializer/index.js +9 -0
  37. package/blueprints/instance-initializer-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  38. package/blueprints/instance-initializer-test/index.js +8 -0
  39. package/blueprints/instance-initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__name__-test.js → __name__-test.ts} +5 -1
  40. package/blueprints/instance-initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__name__-test.js → __name__-test.ts} +6 -1
  41. package/blueprints/route/files/__root__/__path__/{__name__.js → __name__.ts} +2 -4
  42. package/blueprints/route/index.js +9 -0
  43. package/blueprints/route-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  44. package/blueprints/route-addon/index.js +9 -0
  45. package/blueprints/route-test/index.js +9 -0
  46. package/blueprints/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
  47. package/blueprints/route-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
  48. package/blueprints/service/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  49. package/blueprints/service/index.js +10 -0
  50. package/blueprints/service-test/index.js +8 -0
  51. package/blueprints/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
  52. package/blueprints/service-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
  53. package/blueprints/util/files/__root__/utils/{__name__.js → __name__.ts} +0 -0
  54. package/blueprints/util/index.js +10 -0
  55. package/blueprints/util-test/index.js +8 -0
  56. package/blueprints/util-test/mocha-rfc-232-files/__root__/__testType__/{__name__-test.js → __name__-test.ts} +0 -0
  57. package/blueprints/util-test/qunit-rfc-232-files/__root__/__testType__/{__name__-test.js → __name__-test.ts} +0 -0
  58. package/build-metadata.json +3 -3
  59. package/dist/ember-template-compiler.js +15 -13
  60. package/dist/ember-template-compiler.map +1 -1
  61. package/dist/ember-testing.js +8 -4
  62. package/dist/ember-testing.map +1 -1
  63. package/dist/ember.debug.js +478 -1149
  64. package/dist/ember.debug.map +1 -1
  65. package/dist/header/license.js +1 -1
  66. package/dist/packages/@ember/-internals/container/index.js +1 -25
  67. package/dist/packages/@ember/-internals/extension-support/lib/container_debug_adapter.js +10 -19
  68. package/dist/packages/@ember/-internals/extension-support/lib/data_adapter.js +113 -112
  69. package/dist/packages/@ember/-internals/glimmer/index.js +117 -749
  70. package/dist/packages/@ember/-internals/metal/index.js +17 -22
  71. package/dist/packages/@ember/-internals/routing/lib/services/router.js +140 -145
  72. package/dist/packages/@ember/-internals/routing/lib/system/router.js +3 -1
  73. package/dist/packages/@ember/-internals/runtime/lib/ext/rsvp.js +8 -4
  74. package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +1 -1
  75. package/dist/packages/@ember/-internals/runtime/lib/mixins/array.js +1 -1
  76. package/dist/packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js +16 -16
  77. package/dist/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +8 -8
  78. package/dist/packages/@ember/-internals/views/lib/system/utils.js +4 -2
  79. package/dist/packages/@ember/-internals/views/lib/views/core_view.js +5 -22
  80. package/dist/packages/@ember/canary-features/index.js +1 -5
  81. package/dist/packages/@ember/debug/index.js +1 -1
  82. package/dist/packages/@ember/debug/lib/deprecate.js +6 -2
  83. package/dist/packages/@ember/renderer/index.js +21 -0
  84. package/dist/packages/ember/version.js +1 -1
  85. package/docs/data.json +447 -260
  86. package/package.json +15 -12
  87. package/blueprints/initializer/files/__root__/initializers/__name__.js +0 -5
  88. package/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +0 -34
  89. package/blueprints/instance-initializer/files/__root__/instance-initializers/__name__.js +0 -5
@@ -63,11 +63,15 @@ if (DEBUG) {
63
63
  let formatMessage = function formatMessage(_message, options) {
64
64
  let message = _message;
65
65
 
66
- if (options && options.id) {
66
+ if (options === null || options === void 0 ? void 0 : options.id) {
67
67
  message = message + ` [deprecation id: ${options.id}]`;
68
68
  }
69
69
 
70
- if (options && options.url) {
70
+ if (options === null || options === void 0 ? void 0 : options.until) {
71
+ message = message + ` This will be removed in Ember ${options.until}.`;
72
+ }
73
+
74
+ if (options === null || options === void 0 ? void 0 : options.url) {
71
75
  message += ` See ${options.url} for more details.`;
72
76
  }
73
77
 
@@ -0,0 +1,21 @@
1
+ /**
2
+ @module @ember/renderer
3
+ @public
4
+ */
5
+
6
+ /**
7
+ * @class Renderer
8
+ * @public
9
+ */
10
+
11
+ /**
12
+ Returns a promise which will resolve when rendering has settled. Settled in
13
+ this context is defined as when all of the tags in use are "current" (e.g.
14
+ `renderers.every(r => r._isValid())`). When this is checked at the _end_ of
15
+ the run loop, this essentially guarantees that all rendering is completed.
16
+
17
+ @method renderSettled
18
+ @return {Promise<void>} a promise which fulfills when rendering has settled
19
+ @public
20
+ */
21
+ export { renderSettled } from '@ember/-internals/glimmer';
@@ -1 +1 @@
1
- export default "4.4.0-alpha.3";
1
+ export default "4.4.0-alpha.6";