@angular/core 20.1.0-next.3 → 20.1.0

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 (61) hide show
  1. package/api.d.d.ts +1 -1
  2. package/chrome_dev_tools_performance.d.d.ts +1 -1
  3. package/discovery.d.d.ts +1 -1
  4. package/event_dispatcher.d.d.ts +1 -1
  5. package/fesm2022/attribute.mjs +1 -1
  6. package/fesm2022/core.mjs +14 -6
  7. package/fesm2022/core.mjs.map +1 -1
  8. package/fesm2022/debug_node.mjs +8 -6
  9. package/fesm2022/debug_node.mjs.map +1 -1
  10. package/fesm2022/{injector.mjs → not_found.mjs} +28 -25
  11. package/fesm2022/not_found.mjs.map +1 -0
  12. package/fesm2022/primitives/di.mjs +11 -3
  13. package/fesm2022/primitives/di.mjs.map +1 -1
  14. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  15. package/fesm2022/primitives/signals.mjs +1 -1
  16. package/fesm2022/resource.mjs +1 -1
  17. package/fesm2022/root_effect_scheduler.mjs +3 -3
  18. package/fesm2022/root_effect_scheduler.mjs.map +1 -1
  19. package/fesm2022/rxjs-interop.mjs +2 -2
  20. package/fesm2022/signal.mjs +1 -1
  21. package/fesm2022/testing.mjs +2 -2
  22. package/fesm2022/untracked.mjs +1 -1
  23. package/fesm2022/weak_ref.mjs +1 -1
  24. package/graph.d.d.ts +1 -1
  25. package/index.d.ts +7 -8
  26. package/package.json +2 -2
  27. package/primitives/di/index.d.ts +11 -3
  28. package/primitives/event-dispatch/index.d.ts +1 -1
  29. package/primitives/signals/index.d.ts +1 -1
  30. package/rxjs-interop/index.d.ts +1 -1
  31. package/schematics/bundles/{apply_import_manager-C11Q8021.cjs → apply_import_manager-B0fYYMpr.cjs} +3 -3
  32. package/schematics/bundles/{checker-BVnpy__J.cjs → checker-DLInMAS3.cjs} +533 -1264
  33. package/schematics/bundles/cleanup-unused-imports.cjs +6 -5
  34. package/schematics/bundles/{compiler_host-j95cyBKm.cjs → compiler_host-Doj9KVJf.cjs} +2 -2
  35. package/schematics/bundles/control-flow-migration.cjs +3 -3
  36. package/schematics/bundles/document-core.cjs +6 -5
  37. package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
  38. package/schematics/bundles/{index-BkA2Tb_u.cjs → index-BmuUS1AB.cjs} +947 -71
  39. package/schematics/bundles/{index-DYpSE68_.cjs → index-Bp8sCiq1.cjs} +5 -4
  40. package/schematics/bundles/inject-flags.cjs +6 -5
  41. package/schematics/bundles/inject-migration.cjs +3 -3
  42. package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
  43. package/schematics/bundles/{migrate_ts_type_references-Covsxz7y.cjs → migrate_ts_type_references-CmZ0155c.cjs} +6 -5
  44. package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
  45. package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
  46. package/schematics/bundles/output-migration.cjs +7 -6
  47. package/schematics/bundles/{project_paths-3GwjSb-R.cjs → project_paths-D2SJWT7x.cjs} +39 -3
  48. package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +1 -1
  49. package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
  50. package/schematics/bundles/route-lazy-loading.cjs +3 -3
  51. package/schematics/bundles/self-closing-tags-migration.cjs +5 -4
  52. package/schematics/bundles/signal-input-migration.cjs +8 -7
  53. package/schematics/bundles/signal-queries-migration.cjs +8 -7
  54. package/schematics/bundles/signals.cjs +8 -7
  55. package/schematics/bundles/standalone-migration.cjs +4 -4
  56. package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
  57. package/schematics/bundles/test-bed-get.cjs +5 -4
  58. package/signal.d.d.ts +1 -1
  59. package/testing/index.d.ts +1 -1
  60. package/weak_ref.d.d.ts +1 -1
  61. package/fesm2022/injector.mjs.map +0 -1
package/api.d.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.3
2
+ * @license Angular v20.1.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.3
2
+ * @license Angular v20.1.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/discovery.d.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.3
2
+ * @license Angular v20.1.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.3
2
+ * @license Angular v20.1.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.3
2
+ * @license Angular v20.1.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/fesm2022/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.3
2
+ * @license Angular v20.1.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -12,7 +12,7 @@ export { ANIMATION_MODULE_TYPE, APP_INITIALIZER, Attribute, CSP_NONCE, CUSTOM_EL
12
12
  import { OutputEmitterRef } from './resource.mjs';
13
13
  export { computed, effect, linkedSignal, resource, untracked, ResourceImpl as ɵResourceImpl, encapsulateResourceError as ɵencapsulateResourceError, getOutputDestroyRef as ɵgetOutputDestroyRef } from './resource.mjs';
14
14
  export { setAlternateWeakRefImpl as ɵsetAlternateWeakRefImpl } from './weak_ref.mjs';
15
- export { setCurrentInjector as ɵsetCurrentInjector } from './injector.mjs';
15
+ export { setCurrentInjector as ɵsetCurrentInjector } from './not_found.mjs';
16
16
  import { clearAppScopedEarlyEventContract, EventContract, EventContractContainer, EventDispatcher, registerDispatcher, EventPhase, getAppScopedQueuedEventInfos, isEarlyEventType, isCaptureEventType } from './primitives/event-dispatch.mjs';
17
17
  import 'rxjs';
18
18
  import '@angular/core/primitives/di';
@@ -626,7 +626,7 @@ class Version {
626
626
  /**
627
627
  * @publicApi
628
628
  */
629
- const VERSION = new Version('20.1.0-next.3');
629
+ const VERSION = new Version('20.1.0');
630
630
 
631
631
  function compileNgModuleFactory(injector, options, moduleType) {
632
632
  ngDevMode && assertNgModuleType(moduleType);
@@ -755,7 +755,15 @@ class ImagePerformanceWarning {
755
755
  scanImages() {
756
756
  const images = getDocument().querySelectorAll('img');
757
757
  let lcpElementFound, lcpElementLoadedCorrectly = false;
758
- images.forEach((image) => {
758
+ // Important: do not refactor this to use `images.forEach` or
759
+ // `for (const ... of ...)`, because images might be a custom internal
760
+ // data structure — such as a lazily evaluated query result in Domino.
761
+ // (This naturally would never be a case in any browser).
762
+ for (let index = 0; index < images.length; index++) {
763
+ const image = images[index];
764
+ if (!image) {
765
+ continue;
766
+ }
759
767
  if (!this.options?.disableImageSizeWarning) {
760
768
  // Image elements using the NgOptimizedImage directive are excluded,
761
769
  // as that directive has its own version of this check.
@@ -775,7 +783,7 @@ class ImagePerformanceWarning {
775
783
  }
776
784
  }
777
785
  }
778
- });
786
+ }
779
787
  if (lcpElementFound &&
780
788
  !lcpElementLoadedCorrectly &&
781
789
  this.lcpImageUrl &&
@@ -3900,7 +3908,7 @@ function startMeasuring(label) {
3900
3908
  }
3901
3909
  /**
3902
3910
  * Function that will stop measuring against the performance API
3903
- * Should be used in pair with stopMeasuring
3911
+ * Should be used in pair with startMeasuring
3904
3912
  */
3905
3913
  function stopMeasuring(label) {
3906
3914
  if (!enablePerfLogging) {