@angular/core 21.1.0-next.4 → 21.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 (69) hide show
  1. package/LICENSE +1 -1
  2. package/fesm2022/_attribute-chunk.mjs +2 -2
  3. package/fesm2022/_debug_node-chunk.mjs +158 -122
  4. package/fesm2022/_debug_node-chunk.mjs.map +1 -1
  5. package/fesm2022/_effect-chunk.mjs +4 -4
  6. package/fesm2022/_effect-chunk.mjs.map +1 -1
  7. package/fesm2022/_linked_signal-chunk.mjs +3 -3
  8. package/fesm2022/_linked_signal-chunk.mjs.map +1 -1
  9. package/fesm2022/_not_found-chunk.mjs +2 -2
  10. package/fesm2022/_resource-chunk.mjs +2 -2
  11. package/fesm2022/_untracked-chunk.mjs +18 -6
  12. package/fesm2022/_untracked-chunk.mjs.map +1 -1
  13. package/fesm2022/_weak_ref-chunk.mjs +2 -2
  14. package/fesm2022/core.mjs +609 -550
  15. package/fesm2022/core.mjs.map +1 -1
  16. package/fesm2022/primitives-di.mjs +2 -2
  17. package/fesm2022/primitives-event-dispatch.mjs +2 -2
  18. package/fesm2022/primitives-signals.mjs +2 -2
  19. package/fesm2022/primitives-signals.mjs.map +1 -1
  20. package/fesm2022/rxjs-interop.mjs +2 -2
  21. package/fesm2022/testing.mjs +10 -8
  22. package/fesm2022/testing.mjs.map +1 -1
  23. package/package.json +2 -2
  24. package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +5 -5
  25. package/schematics/bundles/application-config-core.cjs +6 -6
  26. package/schematics/bundles/{apply_import_manager-1Zs_gpB6.cjs → apply_import_manager-CxA_YYgB.cjs} +3 -3
  27. package/schematics/bundles/bootstrap-options-migration.cjs +8 -8
  28. package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
  29. package/schematics/bundles/common-to-standalone-migration.cjs +17 -13
  30. package/schematics/bundles/{compiler_host-DBwYMlTo.cjs → compiler_host-CY14HvaP.cjs} +2 -2
  31. package/schematics/bundles/control-flow-migration.cjs +5 -5
  32. package/schematics/bundles/{imports-DP72APSx.cjs → imports-CVmcbVA9.cjs} +2 -2
  33. package/schematics/bundles/{index-B7I9sIUx.cjs → index-BtLcQH8g.cjs} +6 -5
  34. package/schematics/bundles/inject-migration.cjs +8 -8
  35. package/schematics/bundles/{leading_space-D9nQ8UQC.cjs → leading_space-BTPRV0wu.cjs} +2 -2
  36. package/schematics/bundles/{migrate_ts_type_references-UGIUl7En.cjs → migrate_ts_type_references-CV7qdt5t.cjs} +5 -5
  37. package/schematics/bundles/{ng_component_template-Dsuq1Lw7.cjs → ng_component_template-BOuKAnQd.cjs} +4 -4
  38. package/schematics/bundles/{ng_decorators-DSFlWYQY.cjs → ng_decorators-DYy6II6x.cjs} +3 -3
  39. package/schematics/bundles/ngclass-to-class-migration.cjs +10 -10
  40. package/schematics/bundles/ngstyle-to-style-migration.cjs +10 -10
  41. package/schematics/bundles/{nodes-B16H9JUd.cjs → nodes-ZSQ7WZRB.cjs} +2 -2
  42. package/schematics/bundles/output-migration.cjs +6 -6
  43. package/schematics/bundles/{parse_html-8VLCL37B.cjs → parse_html-C8eKA9px.cjs} +2 -2
  44. package/schematics/bundles/{project_paths-DvD50ouC.cjs → project_paths-D2V-Uh2L.cjs} +3 -3
  45. package/schematics/bundles/{project_tsconfig_paths-CDVxT6Ov.cjs → project_tsconfig_paths-DkkMibv-.cjs} +2 -2
  46. package/schematics/bundles/{property_name-BBwFuqMe.cjs → property_name-BCpALNpZ.cjs} +2 -2
  47. package/schematics/bundles/route-lazy-loading.cjs +5 -5
  48. package/schematics/bundles/router-current-navigation.cjs +6 -6
  49. package/schematics/bundles/router-last-successful-navigation.cjs +6 -6
  50. package/schematics/bundles/router-testing-module-migration.cjs +5 -5
  51. package/schematics/bundles/self-closing-tags-migration.cjs +9 -9
  52. package/schematics/bundles/signal-input-migration.cjs +8 -8
  53. package/schematics/bundles/signal-queries-migration.cjs +8 -8
  54. package/schematics/bundles/signals.cjs +8 -8
  55. package/schematics/bundles/standalone-migration.cjs +8 -8
  56. package/schematics/bundles/{symbol-BObKoqes.cjs → symbol-DZeHSR-V.cjs} +2 -2
  57. package/types/_api-chunk.d.ts +2 -2
  58. package/types/_chrome_dev_tools_performance-chunk.d.ts +2 -2
  59. package/types/_discovery-chunk.d.ts +8 -6
  60. package/types/_effect-chunk.d.ts +2 -2
  61. package/types/_event_dispatcher-chunk.d.ts +2 -2
  62. package/types/_formatter-chunk.d.ts +2 -2
  63. package/types/_weak_ref-chunk.d.ts +2 -2
  64. package/types/core.d.ts +455 -403
  65. package/types/primitives-di.d.ts +2 -2
  66. package/types/primitives-event-dispatch.d.ts +2 -2
  67. package/types/primitives-signals.d.ts +2 -2
  68. package/types/rxjs-interop.d.ts +2 -2
  69. package/types/testing.d.ts +9 -9
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v21.1.0-next.4
3
- * (c) 2010-2025 Google LLC. https://angular.dev/
2
+ * @license Angular v21.1.0
3
+ * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v21.1.0-next.4
3
- * (c) 2010-2025 Google LLC. https://angular.dev/
2
+ * @license Angular v21.1.0
3
+ * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v21.1.0-next.4
3
- * (c) 2010-2025 Google LLC. https://angular.dev/
2
+ * @license Angular v21.1.0
3
+ * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v21.1.0-next.4
3
- * (c) 2010-2025 Google LLC. https://angular.dev/
2
+ * @license Angular v21.1.0
3
+ * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v21.1.0-next.4
3
- * (c) 2010-2025 Google LLC. https://angular.dev/
2
+ * @license Angular v21.1.0
3
+ * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -147,7 +147,7 @@ declare class ComponentFixture<T> {
147
147
  }
148
148
 
149
149
  /**
150
- * IMPORTANT: This API requires Zone.js
150
+ * IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
151
151
  *
152
152
  * Clears out the shared fake async zone for a test.
153
153
  * To be called in a global `beforeEach`.
@@ -156,7 +156,7 @@ declare class ComponentFixture<T> {
156
156
  */
157
157
  declare function resetFakeAsyncZone(): void;
158
158
  /**
159
- * IMPORTANT: This API requires Zone.js
159
+ * IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
160
160
  *
161
161
  * Wraps a function to be executed in the `fakeAsync` zone:
162
162
  * - Microtasks are manually executed by calling `flushMicrotasks()`.
@@ -185,7 +185,7 @@ declare function fakeAsync(fn: Function, options?: {
185
185
  flush?: boolean;
186
186
  }): (...args: any[]) => any;
187
187
  /**
188
- * IMPORTANT: This API requires Zone.js
188
+ * IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
189
189
  *
190
190
  * Simulates the asynchronous passage of time for the timers in the `fakeAsync` zone.
191
191
  *
@@ -254,7 +254,7 @@ declare function tick(millis?: number, tickOptions?: {
254
254
  processNewMacroTasksSynchronously: boolean;
255
255
  }): void;
256
256
  /**
257
- * IMPORTANT: This API requires Zone.js
257
+ * IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
258
258
  *
259
259
  * Flushes any pending microtasks and simulates the asynchronous passage of time for the timers in
260
260
  * the `fakeAsync` zone by
@@ -268,7 +268,7 @@ declare function tick(millis?: number, tickOptions?: {
268
268
  */
269
269
  declare function flush(maxTurns?: number): number;
270
270
  /**
271
- * IMPORTANT: This API requires Zone.js
271
+ * IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
272
272
  *
273
273
  * Discard all remaining periodic tasks.
274
274
  *
@@ -276,7 +276,7 @@ declare function flush(maxTurns?: number): number;
276
276
  */
277
277
  declare function discardPeriodicTasks(): void;
278
278
  /**
279
- * IMPORTANT: This API requires Zone.js
279
+ * IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
280
280
  *
281
281
  * Flush any pending microtasks.
282
282
  *
@@ -593,7 +593,7 @@ declare class FakeNavigation implements Navigation {
593
593
  * A prospective current active entry index, which includes unresolved
594
594
  * traversals. Used by `go` to determine where navigations are intended to go.
595
595
  */
596
- private prospectiveEntryIndex;
596
+ private propsectiveTraversalDestinations;
597
597
  /**
598
598
  * A test-only option to make traversals synchronous, rather than emulate
599
599
  * cross-process communication.