@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.
- package/LICENSE +1 -1
- package/fesm2022/_attribute-chunk.mjs +2 -2
- package/fesm2022/_debug_node-chunk.mjs +158 -122
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +4 -4
- package/fesm2022/_effect-chunk.mjs.map +1 -1
- package/fesm2022/_linked_signal-chunk.mjs +3 -3
- package/fesm2022/_linked_signal-chunk.mjs.map +1 -1
- package/fesm2022/_not_found-chunk.mjs +2 -2
- package/fesm2022/_resource-chunk.mjs +2 -2
- package/fesm2022/_untracked-chunk.mjs +18 -6
- package/fesm2022/_untracked-chunk.mjs.map +1 -1
- package/fesm2022/_weak_ref-chunk.mjs +2 -2
- package/fesm2022/core.mjs +609 -550
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives-di.mjs +2 -2
- package/fesm2022/primitives-event-dispatch.mjs +2 -2
- package/fesm2022/primitives-signals.mjs +2 -2
- package/fesm2022/primitives-signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +2 -2
- package/fesm2022/testing.mjs +10 -8
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +5 -5
- package/schematics/bundles/application-config-core.cjs +6 -6
- package/schematics/bundles/{apply_import_manager-1Zs_gpB6.cjs → apply_import_manager-CxA_YYgB.cjs} +3 -3
- package/schematics/bundles/bootstrap-options-migration.cjs +8 -8
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/common-to-standalone-migration.cjs +17 -13
- package/schematics/bundles/{compiler_host-DBwYMlTo.cjs → compiler_host-CY14HvaP.cjs} +2 -2
- package/schematics/bundles/control-flow-migration.cjs +5 -5
- package/schematics/bundles/{imports-DP72APSx.cjs → imports-CVmcbVA9.cjs} +2 -2
- package/schematics/bundles/{index-B7I9sIUx.cjs → index-BtLcQH8g.cjs} +6 -5
- package/schematics/bundles/inject-migration.cjs +8 -8
- package/schematics/bundles/{leading_space-D9nQ8UQC.cjs → leading_space-BTPRV0wu.cjs} +2 -2
- package/schematics/bundles/{migrate_ts_type_references-UGIUl7En.cjs → migrate_ts_type_references-CV7qdt5t.cjs} +5 -5
- package/schematics/bundles/{ng_component_template-Dsuq1Lw7.cjs → ng_component_template-BOuKAnQd.cjs} +4 -4
- package/schematics/bundles/{ng_decorators-DSFlWYQY.cjs → ng_decorators-DYy6II6x.cjs} +3 -3
- package/schematics/bundles/ngclass-to-class-migration.cjs +10 -10
- package/schematics/bundles/ngstyle-to-style-migration.cjs +10 -10
- package/schematics/bundles/{nodes-B16H9JUd.cjs → nodes-ZSQ7WZRB.cjs} +2 -2
- package/schematics/bundles/output-migration.cjs +6 -6
- package/schematics/bundles/{parse_html-8VLCL37B.cjs → parse_html-C8eKA9px.cjs} +2 -2
- package/schematics/bundles/{project_paths-DvD50ouC.cjs → project_paths-D2V-Uh2L.cjs} +3 -3
- package/schematics/bundles/{project_tsconfig_paths-CDVxT6Ov.cjs → project_tsconfig_paths-DkkMibv-.cjs} +2 -2
- package/schematics/bundles/{property_name-BBwFuqMe.cjs → property_name-BCpALNpZ.cjs} +2 -2
- package/schematics/bundles/route-lazy-loading.cjs +5 -5
- package/schematics/bundles/router-current-navigation.cjs +6 -6
- package/schematics/bundles/router-last-successful-navigation.cjs +6 -6
- package/schematics/bundles/router-testing-module-migration.cjs +5 -5
- package/schematics/bundles/self-closing-tags-migration.cjs +9 -9
- package/schematics/bundles/signal-input-migration.cjs +8 -8
- package/schematics/bundles/signal-queries-migration.cjs +8 -8
- package/schematics/bundles/signals.cjs +8 -8
- package/schematics/bundles/standalone-migration.cjs +8 -8
- package/schematics/bundles/{symbol-BObKoqes.cjs → symbol-DZeHSR-V.cjs} +2 -2
- package/types/_api-chunk.d.ts +2 -2
- package/types/_chrome_dev_tools_performance-chunk.d.ts +2 -2
- package/types/_discovery-chunk.d.ts +8 -6
- package/types/_effect-chunk.d.ts +2 -2
- package/types/_event_dispatcher-chunk.d.ts +2 -2
- package/types/_formatter-chunk.d.ts +2 -2
- package/types/_weak_ref-chunk.d.ts +2 -2
- package/types/core.d.ts +455 -403
- package/types/primitives-di.d.ts +2 -2
- package/types/primitives-event-dispatch.d.ts +2 -2
- package/types/primitives-signals.d.ts +2 -2
- package/types/rxjs-interop.d.ts +2 -2
- package/types/testing.d.ts +9 -9
package/types/primitives-di.d.ts
CHANGED
package/types/rxjs-interop.d.ts
CHANGED
package/types/testing.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.1.0
|
|
3
|
-
* (c) 2010-
|
|
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
|
|
596
|
+
private propsectiveTraversalDestinations;
|
|
597
597
|
/**
|
|
598
598
|
* A test-only option to make traversals synchronous, rather than emulate
|
|
599
599
|
* cross-process communication.
|