@angular/core 17.0.2 → 17.0.4

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 (36) hide show
  1. package/esm2022/src/core_render3_private_export.mjs +2 -2
  2. package/esm2022/src/defer/instructions.mjs +3 -2
  3. package/esm2022/src/defer/utils.mjs +2 -2
  4. package/esm2022/src/image_performance_warning.mjs +14 -3
  5. package/esm2022/src/render3/index.mjs +2 -2
  6. package/esm2022/src/render3/instructions/change_detection.mjs +10 -20
  7. package/esm2022/src/render3/instructions/control_flow.mjs +9 -11
  8. package/esm2022/src/render3/instructions/shared.mjs +4 -5
  9. package/esm2022/src/render3/interfaces/container.mjs +22 -17
  10. package/esm2022/src/render3/interfaces/view.mjs +2 -2
  11. package/esm2022/src/render3/node_manipulation.mjs +3 -3
  12. package/esm2022/src/render3/util/change_detection_utils.mjs +13 -2
  13. package/esm2022/src/render3/util/injector_discovery_utils.mjs +10 -13
  14. package/esm2022/src/render3/util/view_utils.mjs +4 -4
  15. package/esm2022/src/render3/view_ref.mjs +3 -3
  16. package/esm2022/src/version.mjs +1 -1
  17. package/esm2022/testing/src/logger.mjs +3 -3
  18. package/esm2022/testing/src/test_bed_compiler.mjs +4 -1
  19. package/fesm2022/core.mjs +83 -70
  20. package/fesm2022/core.mjs.map +1 -1
  21. package/fesm2022/primitives/signals.mjs +1 -1
  22. package/fesm2022/rxjs-interop.mjs +1 -1
  23. package/fesm2022/testing.mjs +4 -1
  24. package/fesm2022/testing.mjs.map +1 -1
  25. package/index.d.ts +28 -40
  26. package/package.json +1 -1
  27. package/primitives/signals/index.d.ts +1 -1
  28. package/rxjs-interop/index.d.ts +1 -1
  29. package/schematics/migrations/block-template-entities/bundle.js +385 -159
  30. package/schematics/migrations/block-template-entities/bundle.js.map +4 -4
  31. package/schematics/ng-generate/control-flow-migration/bundle.js +867 -371
  32. package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
  33. package/schematics/ng-generate/control-flow-migration/schema.json +6 -0
  34. package/schematics/ng-generate/standalone-migration/bundle.js +422 -168
  35. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  36. package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.2
2
+ * @license Angular v17.0.4
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.2
2
+ * @license Angular v17.0.4
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.2
2
+ * @license Angular v17.0.4
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1009,6 +1009,9 @@ class TestBedCompiler {
1009
1009
  throw invalidTypeError(declaration.name, 'Component');
1010
1010
  }
1011
1011
  this.maybeStoreNgDef(ɵNG_COMP_DEF, declaration);
1012
+ if (ɵUSE_RUNTIME_DEPS_TRACKER_FOR_JIT) {
1013
+ ɵdepsTracker.clearScopeCacheFor(declaration);
1014
+ }
1012
1015
  ɵcompileComponent(declaration, metadata);
1013
1016
  });
1014
1017
  this.pendingComponents.clear();