@angular/core 20.0.0-rc.0 → 20.0.0-rc.2
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-CRxC7NlU.d.ts → api.d-B0vztftH.d.ts} +15 -15
- package/{chrome_dev_tools_performance.d-B0FzTuRf.d.ts → chrome_dev_tools_performance.d-DvzAxqBc.d.ts} +9 -29
- package/{discovery.d-CBxzK1ay.d.ts → discovery.d-Cf_r2Ojk.d.ts} +7 -13
- package/{event_dispatcher.d-DlbccpYq.d.ts → event_dispatcher.d-BReQpZfC.d.ts} +27 -1
- package/fesm2022/attribute-BWp59EjE.mjs +1 -1
- package/fesm2022/attribute-BWp59EjE.mjs.map +1 -1
- package/fesm2022/core.mjs +21 -14
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{debug_node-3mmnD06K.mjs → debug_node-Nc-zr65s.mjs} +11161 -11262
- package/fesm2022/debug_node-Nc-zr65s.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 +3 -2
- 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-nrAenwIA.mjs → resource-DOwetGLU.mjs} +64 -14
- package/fesm2022/resource-DOwetGLU.mjs.map +1 -0
- package/fesm2022/{root_effect_scheduler-B_EWGyLU.mjs → root_effect_scheduler-BgGHQ80j.mjs} +29 -17
- package/fesm2022/root_effect_scheduler-BgGHQ80j.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 +86 -77
- 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 +205 -325
- package/package.json +3 -3
- package/primitives/di/index.d.ts +1 -1
- package/primitives/event-dispatch/index.d.ts +3 -3
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +4 -4
- package/schematics/bundles/{apply_import_manager-Coc7Hewu.js → apply_import_manager-BqwxKJiu.cjs} +3 -3
- package/schematics/bundles/{change_tracker-CDJPOAni.js → change_tracker-B1qegJFu.cjs} +3 -3
- package/schematics/bundles/{checker-BAl7CJ0l.js → checker-DmucNdBi.cjs} +55 -45
- package/schematics/bundles/{cleanup-unused-imports.js → cleanup-unused-imports.cjs} +30 -62
- package/schematics/bundles/{compiler-BSv6JWRF.js → compiler-DPq1iS19.cjs} +142 -95
- 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} +9 -9
- package/schematics/bundles/{imports-CIX-JgAN.js → imports-CIX-JgAN.cjs} +1 -1
- package/schematics/bundles/{index-CxuDmkeg.js → index-1H-qYSW6.cjs} +101 -37
- package/schematics/bundles/{index-CnKffIJ6.js → index-CFmTQ_wx.cjs} +29 -20
- package/schematics/bundles/{inject-flags.js → inject-flags.cjs} +9 -9
- 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-DE1AlxIs.js → migrate_ts_type_references-B2aJNuIK.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} +14 -17
- package/schematics/bundles/{project_paths-Bl-H7Vlb.js → project_paths-DmvzlTQL.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} +17 -34
- package/schematics/bundles/{signal-input-migration.js → signal-input-migration.cjs} +28 -27
- package/schematics/bundles/{signal-queries-migration.js → signal-queries-migration.cjs} +18 -21
- 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} +9 -9
- 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 +21 -7
- package/weak_ref.d-eGOEP9S1.d.ts +1 -1
- package/fesm2022/debug_node-3mmnD06K.mjs.map +0 -1
- package/fesm2022/resource-nrAenwIA.mjs.map +0 -1
- package/fesm2022/root_effect_scheduler-B_EWGyLU.mjs.map +0 -1
- package/schematics/package.json +0 -3
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-rc.
|
|
3
|
+
* @license Angular v20.0.0-rc.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var compiler = require('./compiler-
|
|
9
|
+
var compiler = require('./compiler-DPq1iS19.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
|
-
var checker = require('./checker-
|
|
11
|
+
var checker = require('./checker-DmucNdBi.cjs');
|
|
12
12
|
require('os');
|
|
13
|
-
var index$1 = require('./index-
|
|
13
|
+
var index$1 = require('./index-1H-qYSW6.cjs');
|
|
14
14
|
require('path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
16
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
17
|
-
var migrate_ts_type_references = require('./migrate_ts_type_references-
|
|
15
|
+
var project_paths = require('./project_paths-DmvzlTQL.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-BqwxKJiu.cjs');
|
|
17
|
+
var migrate_ts_type_references = require('./migrate_ts_type_references-B2aJNuIK.cjs');
|
|
18
18
|
var assert = require('assert');
|
|
19
|
-
var index = require('./index-
|
|
19
|
+
var index = require('./index-CFmTQ_wx.cjs');
|
|
20
20
|
require('@angular-devkit/core');
|
|
21
21
|
require('node:path/posix');
|
|
22
22
|
require('fs');
|
|
23
23
|
require('module');
|
|
24
24
|
require('url');
|
|
25
25
|
require('@angular-devkit/schematics');
|
|
26
|
-
require('./project_tsconfig_paths-CDVxT6Ov.
|
|
27
|
-
require('./leading_space-D9nQ8UQC.
|
|
26
|
+
require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
27
|
+
require('./leading_space-D9nQ8UQC.cjs');
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Phase that migrates Angular host binding references to
|
|
@@ -1093,15 +1093,13 @@ class SignalQueriesMigration extends project_paths.TsurgeComplexMigration {
|
|
|
1093
1093
|
fieldIncompatibleCounts[key]++;
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
|
-
return {
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
},
|
|
1104
|
-
};
|
|
1096
|
+
return project_paths.confirmAsSerializable({
|
|
1097
|
+
queriesCount,
|
|
1098
|
+
multiQueries,
|
|
1099
|
+
incompatibleQueries,
|
|
1100
|
+
...fieldIncompatibleCounts,
|
|
1101
|
+
...classIncompatibleCounts,
|
|
1102
|
+
});
|
|
1105
1103
|
}
|
|
1106
1104
|
}
|
|
1107
1105
|
/**
|
|
@@ -1156,10 +1154,9 @@ function migrate(options) {
|
|
|
1156
1154
|
context.logger.info(`Processing analysis data between targets...`);
|
|
1157
1155
|
context.logger.info(``);
|
|
1158
1156
|
},
|
|
1159
|
-
whenDone: ({
|
|
1157
|
+
whenDone: ({ queriesCount, incompatibleQueries }) => {
|
|
1160
1158
|
context.logger.info('');
|
|
1161
1159
|
context.logger.info(`Successfully migrated to signal queries 🎉`);
|
|
1162
|
-
const { queriesCount, incompatibleQueries } = counters;
|
|
1163
1160
|
const migratedQueries = queriesCount - incompatibleQueries;
|
|
1164
1161
|
context.logger.info('');
|
|
1165
1162
|
context.logger.info(`Successfully migrated to signal queries 🎉`);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-rc.
|
|
3
|
+
* @license Angular v20.0.0-rc.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
|
-
var signalQueriesMigration = require('./signal-queries-migration.
|
|
11
|
-
var signalInputMigration = require('./signal-input-migration.
|
|
12
|
-
var outputMigration = require('./output-migration.
|
|
13
|
-
require('./compiler-
|
|
10
|
+
var signalQueriesMigration = require('./signal-queries-migration.cjs');
|
|
11
|
+
var signalInputMigration = require('./signal-input-migration.cjs');
|
|
12
|
+
var outputMigration = require('./output-migration.cjs');
|
|
13
|
+
require('./compiler-DPq1iS19.cjs');
|
|
14
14
|
require('typescript');
|
|
15
|
-
require('./checker-
|
|
15
|
+
require('./checker-DmucNdBi.cjs');
|
|
16
16
|
require('os');
|
|
17
17
|
require('fs');
|
|
18
18
|
require('module');
|
|
19
19
|
require('path');
|
|
20
20
|
require('url');
|
|
21
|
-
require('./index-
|
|
22
|
-
require('./project_paths-
|
|
21
|
+
require('./index-1H-qYSW6.cjs');
|
|
22
|
+
require('./project_paths-DmvzlTQL.cjs');
|
|
23
23
|
require('@angular-devkit/core');
|
|
24
24
|
require('node:path/posix');
|
|
25
|
-
require('./project_tsconfig_paths-CDVxT6Ov.
|
|
26
|
-
require('./apply_import_manager-
|
|
27
|
-
require('./migrate_ts_type_references-
|
|
25
|
+
require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
26
|
+
require('./apply_import_manager-BqwxKJiu.cjs');
|
|
27
|
+
require('./migrate_ts_type_references-B2aJNuIK.cjs');
|
|
28
28
|
require('assert');
|
|
29
|
-
require('./index-
|
|
30
|
-
require('./leading_space-D9nQ8UQC.
|
|
29
|
+
require('./index-CFmTQ_wx.cjs');
|
|
30
|
+
require('./leading_space-D9nQ8UQC.cjs');
|
|
31
31
|
|
|
32
32
|
function migrate(options) {
|
|
33
33
|
// The migrations are independent so we can run them in any order, but we sort them here
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-rc.
|
|
3
|
+
* @license Angular v20.0.0-rc.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
|
-
var index = require('./index-
|
|
10
|
+
var index = require('./index-1H-qYSW6.cjs');
|
|
11
11
|
var fs = require('fs');
|
|
12
12
|
var p = require('path');
|
|
13
13
|
var ts = require('typescript');
|
|
14
|
-
var change_tracker = require('./change_tracker-
|
|
15
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.
|
|
16
|
-
var compiler_host = require('./compiler_host-CAfDJO3W.
|
|
17
|
-
var ng_decorators = require('./ng_decorators-
|
|
18
|
-
var nodes = require('./nodes-B16H9JUd.
|
|
19
|
-
var symbol = require('./symbol-VPWguRxr.
|
|
20
|
-
var imports = require('./imports-CIX-JgAN.
|
|
21
|
-
require('./compiler-
|
|
22
|
-
var checker = require('./checker-
|
|
14
|
+
var change_tracker = require('./change_tracker-B1qegJFu.cjs');
|
|
15
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
16
|
+
var compiler_host = require('./compiler_host-CAfDJO3W.cjs');
|
|
17
|
+
var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
|
|
18
|
+
var nodes = require('./nodes-B16H9JUd.cjs');
|
|
19
|
+
var symbol = require('./symbol-VPWguRxr.cjs');
|
|
20
|
+
var imports = require('./imports-CIX-JgAN.cjs');
|
|
21
|
+
require('./compiler-DPq1iS19.cjs');
|
|
22
|
+
var checker = require('./checker-DmucNdBi.cjs');
|
|
23
23
|
require('os');
|
|
24
24
|
require('@angular-devkit/core');
|
|
25
25
|
require('module');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-rc.
|
|
3
|
+
* @license Angular v20.0.0-rc.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
require('./checker-
|
|
12
|
-
require('./compiler-
|
|
13
|
-
require('./index-
|
|
11
|
+
require('./checker-DmucNdBi.cjs');
|
|
12
|
+
require('./compiler-DPq1iS19.cjs');
|
|
13
|
+
require('./index-1H-qYSW6.cjs');
|
|
14
14
|
require('path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
16
|
-
var imports = require('./imports-CIX-JgAN.
|
|
17
|
-
var symbol = require('./symbol-VPWguRxr.
|
|
15
|
+
var project_paths = require('./project_paths-DmvzlTQL.cjs');
|
|
16
|
+
var imports = require('./imports-CIX-JgAN.cjs');
|
|
17
|
+
var symbol = require('./symbol-VPWguRxr.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
19
19
|
require('node:path/posix');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|
|
22
22
|
require('url');
|
|
23
23
|
require('@angular-devkit/schematics');
|
|
24
|
-
require('./project_tsconfig_paths-CDVxT6Ov.
|
|
24
|
+
require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
25
25
|
|
|
26
26
|
/** Name of the method being replaced. */
|
|
27
27
|
const METHOD_NAME = 'get';
|
|
@@ -76,7 +76,7 @@ class TestBedGetMigration extends project_paths.TsurgeFunnelMigration {
|
|
|
76
76
|
return project_paths.confirmAsSerializable(combinedData);
|
|
77
77
|
}
|
|
78
78
|
async stats() {
|
|
79
|
-
return {
|
|
79
|
+
return project_paths.confirmAsSerializable({});
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -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,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-rc.
|
|
2
|
+
* @license Angular v20.0.0-rc.2
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
7
|
+
import '../event_dispatcher.d-BReQpZfC.js';
|
|
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-Cf_r2Ojk.js';
|
|
9
10
|
import '../graph.d-BcIOep_B.js';
|
|
10
|
-
import '../event_dispatcher.d-DlbccpYq.js';
|
|
11
11
|
import 'rxjs';
|
|
12
12
|
import '../signal.d-D6VJ67xi.js';
|
|
13
13
|
|
|
@@ -38,7 +38,7 @@ declare function waitForAsync(fn: Function): (done: any) => any;
|
|
|
38
38
|
declare class DeferBlockFixture {
|
|
39
39
|
private block;
|
|
40
40
|
private componentFixture;
|
|
41
|
-
/** @
|
|
41
|
+
/** @docs-private */
|
|
42
42
|
constructor(block: DeferBlockDetails, componentFixture: ComponentFixture<unknown>);
|
|
43
43
|
/**
|
|
44
44
|
* Renders the specified state of the defer fixture.
|
|
@@ -91,7 +91,7 @@ declare class ComponentFixture<T> {
|
|
|
91
91
|
private autoDetect;
|
|
92
92
|
private subscriptions;
|
|
93
93
|
ngZone: NgZone | null;
|
|
94
|
-
/** @
|
|
94
|
+
/** @docs-private */
|
|
95
95
|
constructor(componentRef: ComponentRef<T>);
|
|
96
96
|
/**
|
|
97
97
|
* Trigger a change detection cycle for the component.
|
|
@@ -107,8 +107,16 @@ declare class ComponentFixture<T> {
|
|
|
107
107
|
* Also runs detectChanges once so that any existing change is detected.
|
|
108
108
|
*
|
|
109
109
|
* @param autoDetect Whether to autodetect changes. By default, `true`.
|
|
110
|
+
* @deprecated For `autoDetect: true`, use `autoDetectChanges()`.
|
|
111
|
+
* We have not seen a use-case for `autoDetect: false` but `changeDetectorRef.detach()` is a close equivalent.
|
|
110
112
|
*/
|
|
111
|
-
autoDetectChanges(autoDetect
|
|
113
|
+
autoDetectChanges(autoDetect: boolean): void;
|
|
114
|
+
/**
|
|
115
|
+
* Enables automatically synchronizing the view, as it would in an application.
|
|
116
|
+
*
|
|
117
|
+
* Also runs detectChanges once so that any existing change is detected.
|
|
118
|
+
*/
|
|
119
|
+
autoDetectChanges(): void;
|
|
112
120
|
/**
|
|
113
121
|
* Return whether the fixture is currently stable or has async tasks that have not been completed
|
|
114
122
|
* yet.
|
|
@@ -446,6 +454,12 @@ interface TestBed {
|
|
|
446
454
|
}): TestBed;
|
|
447
455
|
overrideTemplateUsingTestingModule(component: Type<any>, template: string): TestBed;
|
|
448
456
|
createComponent<T>(component: Type<T>): ComponentFixture<T>;
|
|
457
|
+
/**
|
|
458
|
+
* Execute any pending effects.
|
|
459
|
+
*
|
|
460
|
+
* @deprecated use `TestBed.tick()` instead
|
|
461
|
+
*/
|
|
462
|
+
flushEffects(): void;
|
|
449
463
|
/**
|
|
450
464
|
* Execute any pending work required to synchronize model to the UI.
|
|
451
465
|
*
|
package/weak_ref.d-eGOEP9S1.d.ts
CHANGED