@angular/core 13.2.0-rc.1 → 14.0.0-next.1

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 +32 -26
  2. package/esm2020/src/di/r3_injector.mjs +5 -15
  3. package/esm2020/src/di/reflective_injector.mjs +1 -1
  4. package/esm2020/src/errors.mjs +22 -5
  5. package/esm2020/src/linker/template_ref.mjs +4 -13
  6. package/esm2020/src/linker/view_container_ref.mjs +3 -12
  7. package/esm2020/src/metadata/directives.mjs +14 -5
  8. package/esm2020/src/render3/component_ref.mjs +20 -3
  9. package/esm2020/src/render3/instructions/shared.mjs +2 -2
  10. package/esm2020/src/render3/interfaces/injector.mjs +1 -1
  11. package/esm2020/src/version.mjs +1 -1
  12. package/esm2020/src/zone/ng_zone.mjs +3 -2
  13. package/esm2020/testing/src/logger.mjs +3 -3
  14. package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
  15. package/esm2020/testing/src/r3_test_bed.mjs +6 -1
  16. package/fesm2015/core.mjs +65 -79
  17. package/fesm2015/core.mjs.map +1 -1
  18. package/fesm2015/testing.mjs +6 -1
  19. package/fesm2015/testing.mjs.map +1 -1
  20. package/fesm2020/core.mjs +65 -79
  21. package/fesm2020/core.mjs.map +1 -1
  22. package/fesm2020/testing.mjs +6 -1
  23. package/fesm2020/testing.mjs.map +1 -1
  24. package/package.json +1 -1
  25. package/schematics/migrations/typed-forms/index.js +2 -2
  26. package/schematics/migrations/typed-forms/util.js +3 -8
  27. package/schematics/migrations.json +1 -16
  28. package/testing/testing.d.ts +1 -1
  29. package/esm2020/src/render3/chained_injector.mjs +0 -32
  30. package/schematics/migrations/router-link-empty-expression/analyze_template.d.ts +0 -11
  31. package/schematics/migrations/router-link-empty-expression/analyze_template.js +0 -34
  32. package/schematics/migrations/router-link-empty-expression/angular/html_routerlink_empty_expr_visitor.d.ts +0 -20
  33. package/schematics/migrations/router-link-empty-expression/angular/html_routerlink_empty_expr_visitor.js +0 -47
  34. package/schematics/migrations/router-link-empty-expression/index.d.ts +0 -11
  35. package/schematics/migrations/router-link-empty-expression/index.js +0 -170
  36. package/schematics/migrations/testbed-teardown/index.d.ts +0 -11
  37. package/schematics/migrations/testbed-teardown/index.js +0 -92
  38. package/schematics/migrations/testbed-teardown/util.d.ts +0 -35
  39. package/schematics/migrations/testbed-teardown/util.js +0 -188
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v13.2.0-rc.1
2
+ * @license Angular v14.0.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1697,6 +1697,11 @@ class TestBedRender3 {
1697
1697
  }
1698
1698
  configureTestingModule(moduleDef) {
1699
1699
  this.assertNotInstantiated('R3TestBed.configureTestingModule', 'configure the test module');
1700
+ // Trigger module scoping queue flush before executing other TestBed operations in a test.
1701
+ // This is needed for the first test invocation to ensure that globally declared modules have
1702
+ // their components scoped properly. See the `checkGlobalCompilationFinished` function
1703
+ // description for additional info.
1704
+ this.checkGlobalCompilationFinished();
1700
1705
  // Always re-assign the teardown options, even if they're undefined.
1701
1706
  // This ensures that we don't carry the options between tests.
1702
1707
  this._instanceTeardownOptions = moduleDef.teardown;