@angular/core 14.0.0-next.10 → 14.0.0-next.13

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 (39) hide show
  1. package/core.d.ts +1 -2
  2. package/esm2020/src/application_ref.mjs +10 -11
  3. package/esm2020/src/application_tokens.mjs +5 -2
  4. package/esm2020/src/change_detection/change_detection.mjs +2 -2
  5. package/esm2020/src/change_detection/differs/default_iterable_differ.mjs +2 -2
  6. package/esm2020/src/change_detection/differs/default_keyvalue_differ.mjs +2 -2
  7. package/esm2020/src/console.mjs +4 -3
  8. package/esm2020/src/core_private_export.mjs +3 -2
  9. package/esm2020/src/platform_core_providers.mjs +3 -14
  10. package/esm2020/src/render3/bindings.mjs +2 -2
  11. package/esm2020/src/render3/instructions/element.mjs +22 -7
  12. package/esm2020/src/render3/instructions/shared.mjs +35 -15
  13. package/esm2020/src/testability/testability.mjs +4 -3
  14. package/esm2020/src/version.mjs +1 -1
  15. package/esm2020/testing/src/logger.mjs +3 -3
  16. package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
  17. package/esm2020/testing/src/r3_test_bed.mjs +5 -8
  18. package/esm2020/testing/src/test_bed.mjs +1 -1
  19. package/esm2020/testing/src/test_bed_common.mjs +1 -1
  20. package/fesm2015/core.mjs +103 -59
  21. package/fesm2015/core.mjs.map +1 -1
  22. package/fesm2015/testing.mjs +5 -8
  23. package/fesm2015/testing.mjs.map +1 -1
  24. package/fesm2020/core.mjs +103 -59
  25. package/fesm2020/core.mjs.map +1 -1
  26. package/fesm2020/testing.mjs +5 -8
  27. package/fesm2020/testing.mjs.map +1 -1
  28. package/package.json +1 -1
  29. package/schematics/migrations/path-match-type/index.d.ts +11 -0
  30. package/schematics/migrations/path-match-type/index.js +95 -0
  31. package/schematics/migrations/path-match-type/transform.d.ts +19 -0
  32. package/schematics/migrations/path-match-type/transform.js +48 -0
  33. package/schematics/migrations/path-match-type/update_recorder.d.ts +18 -0
  34. package/schematics/migrations/path-match-type/update_recorder.js +20 -0
  35. package/schematics/migrations/path-match-type/util.d.ts +11 -0
  36. package/schematics/migrations/path-match-type/util.js +106 -0
  37. package/schematics/migrations.json +8 -3
  38. package/testing/testing.d.ts +1 -42
  39. package/esm2020/src/change_detection/change_detection_util.mjs +0 -64
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.10
2
+ * @license Angular v14.0.0-next.13
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1537,9 +1537,9 @@ class TestBedRender3 {
1537
1537
  *
1538
1538
  * @publicApi
1539
1539
  */
1540
- static initTestEnvironment(ngModule, platform, summariesOrOptions) {
1540
+ static initTestEnvironment(ngModule, platform, options) {
1541
1541
  const testBed = _getTestBedRender3();
1542
- testBed.initTestEnvironment(ngModule, platform, summariesOrOptions);
1542
+ testBed.initTestEnvironment(ngModule, platform, options);
1543
1543
  return testBed;
1544
1544
  }
1545
1545
  /**
@@ -1637,14 +1637,11 @@ class TestBedRender3 {
1637
1637
  *
1638
1638
  * @publicApi
1639
1639
  */
1640
- initTestEnvironment(ngModule, platform, summariesOrOptions) {
1640
+ initTestEnvironment(ngModule, platform, options) {
1641
1641
  if (this.platform || this.ngModule) {
1642
1642
  throw new Error('Cannot set base providers because it has already been called');
1643
1643
  }
1644
- // If `summariesOrOptions` is a function, it means that it's
1645
- // an AOT summaries factory which Ivy doesn't support.
1646
- TestBedRender3._environmentTeardownOptions =
1647
- typeof summariesOrOptions === 'function' ? undefined : summariesOrOptions?.teardown;
1644
+ TestBedRender3._environmentTeardownOptions = options?.teardown;
1648
1645
  this.platform = platform;
1649
1646
  this.ngModule = ngModule;
1650
1647
  this._compiler = new R3TestBedCompiler(this.platform, this.ngModule);