@angular/core 20.0.0-rc.1 → 20.0.0-rc.3
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/{api.d-BcbEQ58q.d.ts → api.d-B0vztftH.d.ts} +15 -15
- package/{chrome_dev_tools_performance.d-CARNn07P.d.ts → chrome_dev_tools_performance.d-DvzAxqBc.d.ts} +5 -1
- package/{discovery.d-MmZhhuxb.d.ts → discovery.d-DZNIp-Fw.d.ts} +59 -15
- package/event_dispatcher.d-BReQpZfC.d.ts +1 -1
- package/fesm2022/attribute-BWp59EjE.mjs +1 -1
- package/fesm2022/attribute-BWp59EjE.mjs.map +1 -1
- package/fesm2022/core.mjs +16 -10
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{debug_node-BTSSF0Vj.mjs → debug_node-Dn-GvQJo.mjs} +16003 -17587
- package/fesm2022/debug_node-Dn-GvQJo.mjs.map +1 -0
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/di.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/{resource-DdxAP6ca.mjs → resource-BPCh38bN.mjs} +64 -14
- package/fesm2022/resource-BPCh38bN.mjs.map +1 -0
- package/fesm2022/{root_effect_scheduler-CX0Q-uCT.mjs → root_effect_scheduler-0BxwqIgm.mjs} +26 -33
- package/fesm2022/root_effect_scheduler-0BxwqIgm.mjs.map +1 -0
- package/fesm2022/rxjs-interop.mjs +27 -12
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/signal-ePSl6jXn.mjs +1 -1
- package/fesm2022/signal-ePSl6jXn.mjs.map +1 -1
- package/fesm2022/testing.mjs +73 -30
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/untracked-2ouAFbCz.mjs +1 -1
- package/fesm2022/untracked-2ouAFbCz.mjs.map +1 -1
- package/fesm2022/weak_ref-BaIq-pgY.mjs +1 -1
- package/fesm2022/weak_ref-BaIq-pgY.mjs.map +1 -1
- package/graph.d-BcIOep_B.d.ts +1 -1
- package/index.d.ts +817 -2037
- package/package.json +6 -3
- package/primitives/di/index.d.ts +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +3 -3
- package/schematics/bundles/{apply_import_manager-BdH8vaIZ.js → apply_import_manager-Bqnvtho4.cjs} +3 -3
- package/schematics/bundles/{change_tracker-C_neAOvN.js → change_tracker-DaCWdziV.cjs} +3 -3
- package/schematics/bundles/{checker-DqG0JVTu.js → checker-BHgMyU8j.cjs} +63 -53
- package/schematics/bundles/{cleanup-unused-imports.js → cleanup-unused-imports.cjs} +71 -62
- package/schematics/bundles/{compiler-CWuG67kz.js → compiler-Dl11rH6-.cjs} +121 -382
- package/schematics/bundles/{compiler_host-CAfDJO3W.js → compiler_host-CAfDJO3W.cjs} +1 -1
- package/schematics/bundles/{control-flow-migration.js → control-flow-migration.cjs} +4 -4
- package/schematics/bundles/{document-core.js → document-core.cjs} +8 -8
- package/schematics/bundles/{imports-CIX-JgAN.js → imports-CIX-JgAN.cjs} +1 -1
- package/schematics/bundles/{index-DWcLBEg_.js → index-CYxAVSJC.cjs} +29 -20
- package/schematics/bundles/{index-CGYcUmPq.js → index-DPvX-lSh.cjs} +81 -37
- package/schematics/bundles/{inject-flags.js → inject-flags.cjs} +8 -8
- package/schematics/bundles/{inject-migration.js → inject-migration.cjs} +9 -9
- package/schematics/bundles/{leading_space-D9nQ8UQC.js → leading_space-D9nQ8UQC.cjs} +1 -1
- package/schematics/bundles/{migrate_ts_type_references-DAudyiEk.js → migrate_ts_type_references-DWUePVh6.cjs} +7 -7
- package/schematics/bundles/{ng_decorators-DznZ5jMl.js → ng_decorators-B5HCqr20.cjs} +2 -2
- package/schematics/bundles/{nodes-B16H9JUd.js → nodes-B16H9JUd.cjs} +1 -1
- package/schematics/bundles/{output-migration.js → output-migration.cjs} +8 -8
- package/schematics/bundles/{project_paths-B3YG5aUz.js → project_paths-BPBAn_A2.cjs} +71 -42
- package/schematics/bundles/{project_tsconfig_paths-CDVxT6Ov.js → project_tsconfig_paths-CDVxT6Ov.cjs} +1 -1
- package/schematics/bundles/{property_name-BBwFuqMe.js → property_name-BBwFuqMe.cjs} +1 -1
- package/schematics/bundles/{route-lazy-loading.js → route-lazy-loading.cjs} +7 -7
- package/schematics/bundles/{self-closing-tags-migration.js → self-closing-tags-migration.cjs} +12 -26
- package/schematics/bundles/{signal-input-migration.js → signal-input-migration.cjs} +20 -16
- package/schematics/bundles/{signal-queries-migration.js → signal-queries-migration.cjs} +10 -10
- package/schematics/bundles/{signals.js → signals.cjs} +13 -13
- package/schematics/bundles/{standalone-migration.js → standalone-migration.cjs} +11 -11
- package/schematics/bundles/{symbol-VPWguRxr.js → symbol-VPWguRxr.cjs} +1 -1
- package/schematics/bundles/{test-bed-get.js → test-bed-get.cjs} +8 -8
- package/schematics/collection.json +9 -9
- package/schematics/migrations.json +4 -4
- package/signal.d-D6VJ67xi.d.ts +1 -1
- package/testing/index.d.ts +32 -5
- package/weak_ref.d-eGOEP9S1.d.ts +1 -1
- package/fesm2022/debug_node-BTSSF0Vj.mjs.map +0 -1
- package/fesm2022/resource-DdxAP6ca.mjs.map +0 -1
- package/fesm2022/root_effect_scheduler-CX0Q-uCT.mjs.map +0 -1
- package/schematics/package.json +0 -3
|
@@ -2,53 +2,53 @@
|
|
|
2
2
|
"schematics": {
|
|
3
3
|
"standalone-migration": {
|
|
4
4
|
"description": "Converts the entire application or a part of it to standalone",
|
|
5
|
-
"factory": "./bundles/standalone-migration#migrate",
|
|
5
|
+
"factory": "./bundles/standalone-migration.cjs#migrate",
|
|
6
6
|
"schema": "./ng-generate/standalone-migration/schema.json",
|
|
7
7
|
"aliases": ["standalone"]
|
|
8
8
|
},
|
|
9
9
|
"inject-migration": {
|
|
10
10
|
"description": "Converts usages of constructor-based injection to the inject() function",
|
|
11
|
-
"factory": "./bundles/inject-migration#migrate",
|
|
11
|
+
"factory": "./bundles/inject-migration.cjs#migrate",
|
|
12
12
|
"schema": "./ng-generate/inject-migration/schema.json",
|
|
13
13
|
"aliases": ["inject"]
|
|
14
14
|
},
|
|
15
15
|
"route-lazy-loading-migration": {
|
|
16
16
|
"description": "Updates route definitions to use lazy-loading of components instead of eagerly referencing them",
|
|
17
|
-
"factory": "./bundles/route-lazy-loading#migrate",
|
|
17
|
+
"factory": "./bundles/route-lazy-loading.cjs#migrate",
|
|
18
18
|
"schema": "./ng-generate/route-lazy-loading/schema.json",
|
|
19
19
|
"aliases": ["route-lazy-loading"]
|
|
20
20
|
},
|
|
21
21
|
"signal-input-migration": {
|
|
22
22
|
"description": "Updates `@Input` declarations to signal inputs, while also migrating all relevant references.",
|
|
23
|
-
"factory": "./bundles/signal-input-migration#migrate",
|
|
23
|
+
"factory": "./bundles/signal-input-migration.cjs#migrate",
|
|
24
24
|
"schema": "./ng-generate/signal-input-migration/schema.json",
|
|
25
25
|
"aliases": ["signal-inputs", "signal-input"]
|
|
26
26
|
},
|
|
27
27
|
"signal-queries-migration": {
|
|
28
28
|
"description": "Updates query declarations to signal queries, while also migrating all relevant references.",
|
|
29
|
-
"factory": "./bundles/signal-queries-migration#migrate",
|
|
29
|
+
"factory": "./bundles/signal-queries-migration.cjs#migrate",
|
|
30
30
|
"schema": "./ng-generate/signal-queries-migration/schema.json",
|
|
31
31
|
"aliases": ["signal-queries", "signal-query", "signal-query-migration"]
|
|
32
32
|
},
|
|
33
33
|
"output-migration": {
|
|
34
34
|
"description": "Updates @output declarations to the functional equivalent, while also migrating all relevant references.",
|
|
35
|
-
"factory": "./bundles/output-migration#migrate",
|
|
35
|
+
"factory": "./bundles/output-migration.cjs#migrate",
|
|
36
36
|
"schema": "./ng-generate/output-migration/schema.json",
|
|
37
37
|
"aliases": ["outputs"]
|
|
38
38
|
},
|
|
39
39
|
"signals": {
|
|
40
40
|
"description": "Combines all signals-related migrations into a single migration",
|
|
41
|
-
"factory": "./bundles/signals#migrate",
|
|
41
|
+
"factory": "./bundles/signals.cjs#migrate",
|
|
42
42
|
"schema": "./ng-generate/signals/schema.json"
|
|
43
43
|
},
|
|
44
44
|
"cleanup-unused-imports": {
|
|
45
45
|
"description": "Removes unused imports from standalone components.",
|
|
46
|
-
"factory": "./bundles/cleanup-unused-imports#migrate",
|
|
46
|
+
"factory": "./bundles/cleanup-unused-imports.cjs#migrate",
|
|
47
47
|
"schema": "./ng-generate/cleanup-unused-imports/schema.json"
|
|
48
48
|
},
|
|
49
49
|
"self-closing-tags-migration": {
|
|
50
50
|
"description": "Updates the components templates to use self-closing tags where possible",
|
|
51
|
-
"factory": "./bundles/self-closing-tags-migration#migrate",
|
|
51
|
+
"factory": "./bundles/self-closing-tags-migration.cjs#migrate",
|
|
52
52
|
"schema": "./ng-generate/self-closing-tags-migration/schema.json",
|
|
53
53
|
"aliases": ["self-closing-tag"]
|
|
54
54
|
}
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
"inject-flags": {
|
|
4
4
|
"version": "20.0.0",
|
|
5
5
|
"description": "Replaces usages of the deprecated InjectFlags enum",
|
|
6
|
-
"factory": "./bundles/inject-flags#migrate"
|
|
6
|
+
"factory": "./bundles/inject-flags.cjs#migrate"
|
|
7
7
|
},
|
|
8
8
|
"test-bed-get": {
|
|
9
9
|
"version": "20.0.0",
|
|
10
10
|
"description": "Replaces usages of the deprecated TestBed.get method with TestBed.inject",
|
|
11
|
-
"factory": "./bundles/test-bed-get#migrate"
|
|
11
|
+
"factory": "./bundles/test-bed-get.cjs#migrate"
|
|
12
12
|
},
|
|
13
13
|
"control-flow-migration": {
|
|
14
14
|
"version": "20.0.0",
|
|
15
15
|
"description": "Converts the entire application to block control flow syntax",
|
|
16
|
-
"factory": "./bundles/control-flow-migration#migrate",
|
|
16
|
+
"factory": "./bundles/control-flow-migration.cjs#migrate",
|
|
17
17
|
"optional": true
|
|
18
18
|
},
|
|
19
19
|
"document-core": {
|
|
20
20
|
"version": "20.0.0",
|
|
21
21
|
"description": "Moves imports of `DOCUMENT` from `@angular/common` to `@angular/core`",
|
|
22
|
-
"factory": "./bundles/document-core#migrate"
|
|
22
|
+
"factory": "./bundles/document-core.cjs#migrate"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
package/signal.d-D6VJ67xi.d.ts
CHANGED
package/testing/index.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-rc.
|
|
2
|
+
* @license Angular v20.0.0-rc.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import '../event_dispatcher.d-BReQpZfC.js';
|
|
8
|
-
import { InjectionToken, Type, ProviderToken, InjectOptions } from '../chrome_dev_tools_performance.d-
|
|
9
|
-
import { DeferBlockDetails, DeferBlockState, ComponentRef, DebugElement, ElementRef, ChangeDetectorRef, NgZone, SchemaMetadata, DeferBlockBehavior, PlatformRef, NgModule, Component, Directive, Pipe, Navigation, NavigationHistoryEntry, NavigationNavigateOptions, NavigationResult, NavigationOptions, NavigateEvent, NavigationCurrentEntryChangeEvent, NavigationTransition, NavigationUpdateCurrentEntryOptions, NavigationReloadOptions } from '../discovery.d-
|
|
8
|
+
import { InjectionToken, Type, ProviderToken, InjectOptions } from '../chrome_dev_tools_performance.d-DvzAxqBc.js';
|
|
9
|
+
import { DeferBlockDetails, DeferBlockState, ComponentRef, DebugElement, ElementRef, ChangeDetectorRef, NgZone, SchemaMetadata, DeferBlockBehavior, PlatformRef, NgModule, Component, Directive, Pipe, Navigation, NavigationHistoryEntry, NavigationNavigateOptions, NavigationResult, NavigationOptions, NavigateEvent, NavigationCurrentEntryChangeEvent, NavigationTransition, NavigationUpdateCurrentEntryOptions, NavigationReloadOptions } from '../discovery.d-DZNIp-Fw.js';
|
|
10
|
+
import * as i0 from '@angular/core';
|
|
10
11
|
import '../graph.d-BcIOep_B.js';
|
|
11
12
|
import 'rxjs';
|
|
12
13
|
import '../signal.d-D6VJ67xi.js';
|
|
14
|
+
import '@angular/core/primitives/di';
|
|
13
15
|
|
|
14
16
|
/**
|
|
15
17
|
* Wraps a test function in an asynchronous test zone. The test will automatically
|
|
@@ -107,8 +109,16 @@ declare class ComponentFixture<T> {
|
|
|
107
109
|
* Also runs detectChanges once so that any existing change is detected.
|
|
108
110
|
*
|
|
109
111
|
* @param autoDetect Whether to autodetect changes. By default, `true`.
|
|
112
|
+
* @deprecated For `autoDetect: true`, use `autoDetectChanges()`.
|
|
113
|
+
* We have not seen a use-case for `autoDetect: false` but `changeDetectorRef.detach()` is a close equivalent.
|
|
110
114
|
*/
|
|
111
|
-
autoDetectChanges(autoDetect
|
|
115
|
+
autoDetectChanges(autoDetect: boolean): void;
|
|
116
|
+
/**
|
|
117
|
+
* Enables automatically synchronizing the view, as it would in an application.
|
|
118
|
+
*
|
|
119
|
+
* Also runs detectChanges once so that any existing change is detected.
|
|
120
|
+
*/
|
|
121
|
+
autoDetectChanges(): void;
|
|
112
122
|
/**
|
|
113
123
|
* Return whether the fixture is currently stable or has async tasks that have not been completed
|
|
114
124
|
* yet.
|
|
@@ -446,6 +456,12 @@ interface TestBed {
|
|
|
446
456
|
}): TestBed;
|
|
447
457
|
overrideTemplateUsingTestingModule(component: Type<any>, template: string): TestBed;
|
|
448
458
|
createComponent<T>(component: Type<T>): ComponentFixture<T>;
|
|
459
|
+
/**
|
|
460
|
+
* Execute any pending effects.
|
|
461
|
+
*
|
|
462
|
+
* @deprecated use `TestBed.tick()` instead
|
|
463
|
+
*/
|
|
464
|
+
flushEffects(): void;
|
|
449
465
|
/**
|
|
450
466
|
* Execute any pending work required to synchronize model to the UI.
|
|
451
467
|
*
|
|
@@ -674,5 +690,16 @@ declare class FakeNavigationHistoryEntry implements NavigationHistoryEntry {
|
|
|
674
690
|
|
|
675
691
|
declare function getCleanupHook(expectedTeardownValue: boolean): VoidFunction;
|
|
676
692
|
|
|
677
|
-
|
|
693
|
+
declare class Log<T = string> {
|
|
694
|
+
logItems: T[];
|
|
695
|
+
constructor();
|
|
696
|
+
add(value: T): void;
|
|
697
|
+
fn(value: T): () => void;
|
|
698
|
+
clear(): void;
|
|
699
|
+
result(): string;
|
|
700
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Log<any>, never>;
|
|
701
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Log<any>>;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export { ComponentFixture, ComponentFixtureAutoDetect, ComponentFixtureNoNgZone, DeferBlockBehavior, DeferBlockFixture, DeferBlockState, InjectSetupWrapper, TestBed, TestComponentRenderer, discardPeriodicTasks, fakeAsync, flush, flushMicrotasks, getTestBed, inject, resetFakeAsyncZone, tick, waitForAsync, withModule, FakeNavigation as ɵFakeNavigation, Log as ɵLog, MetadataOverrider as ɵMetadataOverrider, getCleanupHook as ɵgetCleanupHook };
|
|
678
705
|
export type { MetadataOverride, ModuleTeardownOptions, TestBedStatic, TestEnvironmentOptions, TestModuleMetadata };
|
package/weak_ref.d-eGOEP9S1.d.ts
CHANGED