@angular/core 19.2.11 → 19.2.13
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/event_dispatcher.d-K56StcHr.d.ts +1 -1
- package/fesm2022/core.mjs +108 -45
- package/fesm2022/core.mjs.map +1 -1
- 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/rxjs-interop.mjs +10 -3
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +29 -3
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/untracked-BKcld_ew.mjs +1 -1
- package/fesm2022/untracked-BKcld_ew.mjs.map +1 -1
- package/index.d.ts +168 -23
- package/navigation_types.d-fAxd92YV.d.ts +1 -1
- package/package.json +1 -1
- 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 +1 -1
- package/schematics/bundles/{apply_import_manager-DdHXpkne.js → apply_import_manager-QQDfWa1Z.cjs} +3 -3
- package/schematics/bundles/{checker-CGGdizaF.js → checker-5pyJrZ9G.cjs} +81 -63
- package/schematics/bundles/{cleanup-unused-imports.js → cleanup-unused-imports.cjs} +25 -54
- package/schematics/bundles/{compiler_host-BmQrIxJT.js → compiler_host-B1Gyeytz.cjs} +2 -2
- package/schematics/bundles/{control-flow-migration.js → control-flow-migration.cjs} +3 -3
- package/schematics/bundles/{explicit-standalone-flag.js → explicit-standalone-flag.cjs} +5 -5
- package/schematics/bundles/{imports-CIX-JgAN.js → imports-CIX-JgAN.cjs} +1 -1
- package/schematics/bundles/{index-BF06LaCS.js → index-BIvVb6in.cjs} +26 -26
- package/schematics/bundles/{index-DGcgCgNa.js → index-BPhQoCcF.cjs} +28 -19
- package/schematics/bundles/{inject-migration.js → inject-migration.cjs} +7 -7
- package/schematics/bundles/{leading_space-D9nQ8UQC.js → leading_space-D9nQ8UQC.cjs} +1 -1
- package/schematics/bundles/{migrate_ts_type_references-CE_V0IM9.js → migrate_ts_type_references-Czrg1gcB.cjs} +6 -6
- 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} +7 -7
- package/schematics/bundles/{pending-tasks.js → pending-tasks.cjs} +5 -5
- package/schematics/bundles/{project_paths-CmS2U6KE.js → project_paths-CyWVEsbT.cjs} +66 -37
- 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/{provide-initializer.js → provide-initializer.cjs} +5 -5
- package/schematics/bundles/{route-lazy-loading.js → route-lazy-loading.cjs} +5 -5
- package/schematics/bundles/{self-closing-tags-migration.js → self-closing-tags-migration.cjs} +11 -25
- package/schematics/bundles/{signal-input-migration.js → signal-input-migration.cjs} +19 -15
- package/schematics/bundles/{signal-queries-migration.js → signal-queries-migration.cjs} +9 -9
- package/schematics/bundles/{signals.js → signals.cjs} +12 -12
- package/schematics/bundles/{standalone-migration.js → standalone-migration.cjs} +8 -8
- package/schematics/collection.json +10 -10
- package/schematics/migrations.json +3 -3
- package/testing/index.d.ts +14 -2
- package/weak_ref.d-DWHPG08n.d.ts +1 -1
- package/schematics/package.json +0 -3
package/schematics/bundles/{self-closing-tags-migration.js → self-closing-tags-migration.cjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.13
|
|
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
|
-
var checker = require('./checker-
|
|
12
|
-
require('./index-
|
|
11
|
+
var checker = require('./checker-5pyJrZ9G.cjs');
|
|
12
|
+
require('./index-BIvVb6in.cjs');
|
|
13
13
|
require('path');
|
|
14
|
-
var project_paths = require('./project_paths-
|
|
15
|
-
var ng_decorators = require('./ng_decorators-
|
|
16
|
-
var property_name = require('./property_name-BBwFuqMe.
|
|
14
|
+
var project_paths = require('./project_paths-CyWVEsbT.cjs');
|
|
15
|
+
var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
|
|
16
|
+
var property_name = require('./property_name-BBwFuqMe.cjs');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
18
|
require('node:path/posix');
|
|
19
19
|
require('fs');
|
|
20
20
|
require('module');
|
|
21
21
|
require('url');
|
|
22
22
|
require('@angular-devkit/schematics');
|
|
23
|
-
require('./project_tsconfig_paths-CDVxT6Ov.
|
|
24
|
-
require('./imports-CIX-JgAN.
|
|
23
|
+
require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
24
|
+
require('./imports-CIX-JgAN.cjs');
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Unwraps a given expression TypeScript node. Expressions can be wrapped within multiple
|
|
@@ -345,11 +345,9 @@ class SelfClosingTagsMigration extends project_paths.TsurgeFunnelMigration {
|
|
|
345
345
|
return project_paths.confirmAsSerializable({ tagReplacements });
|
|
346
346
|
}
|
|
347
347
|
async combine(unitA, unitB) {
|
|
348
|
-
|
|
349
|
-
...unitA.tagReplacements,
|
|
350
|
-
|
|
351
|
-
]);
|
|
352
|
-
return project_paths.confirmAsSerializable({ tagReplacements: uniqueReplacements });
|
|
348
|
+
return project_paths.confirmAsSerializable({
|
|
349
|
+
tagReplacements: [...unitA.tagReplacements, ...unitB.tagReplacements],
|
|
350
|
+
});
|
|
353
351
|
}
|
|
354
352
|
async globalMeta(combinedData) {
|
|
355
353
|
const globalMeta = {
|
|
@@ -378,18 +376,6 @@ function prepareTextReplacement(file, replacement, start, end) {
|
|
|
378
376
|
toInsert: replacement,
|
|
379
377
|
}));
|
|
380
378
|
}
|
|
381
|
-
function removeDuplicateReplacements(replacements) {
|
|
382
|
-
const uniqueFiles = new Set();
|
|
383
|
-
const result = [];
|
|
384
|
-
for (const replacement of replacements) {
|
|
385
|
-
const fileId = replacement.file.id;
|
|
386
|
-
if (!uniqueFiles.has(fileId)) {
|
|
387
|
-
uniqueFiles.add(fileId);
|
|
388
|
-
result.push(replacement);
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
return result;
|
|
392
|
-
}
|
|
393
379
|
|
|
394
380
|
function migrate(options) {
|
|
395
381
|
return async (tree, context) => {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.13
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var migrate_ts_type_references = require('./migrate_ts_type_references-
|
|
9
|
+
var migrate_ts_type_references = require('./migrate_ts_type_references-Czrg1gcB.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
|
-
var checker = require('./checker-
|
|
13
|
-
var index$1 = require('./index-
|
|
12
|
+
var checker = require('./checker-5pyJrZ9G.cjs');
|
|
13
|
+
var index$1 = require('./index-BIvVb6in.cjs');
|
|
14
14
|
require('path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
16
|
-
var index = require('./index-
|
|
15
|
+
var project_paths = require('./project_paths-CyWVEsbT.cjs');
|
|
16
|
+
var index = require('./index-BPhQoCcF.cjs');
|
|
17
17
|
var assert = require('assert');
|
|
18
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
18
|
+
var apply_import_manager = require('./apply_import_manager-QQDfWa1Z.cjs');
|
|
19
19
|
require('@angular-devkit/core');
|
|
20
20
|
require('node:path/posix');
|
|
21
|
-
require('./leading_space-D9nQ8UQC.
|
|
21
|
+
require('./leading_space-D9nQ8UQC.cjs');
|
|
22
22
|
require('fs');
|
|
23
23
|
require('module');
|
|
24
24
|
require('url');
|
|
25
25
|
require('@angular-devkit/schematics');
|
|
26
|
-
require('./project_tsconfig_paths-CDVxT6Ov.
|
|
26
|
+
require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Class that holds information about a given directive and its input fields.
|
|
@@ -1263,9 +1263,8 @@ class SignalInputMigration extends project_paths.TsurgeComplexMigration {
|
|
|
1263
1263
|
super();
|
|
1264
1264
|
this.config = config;
|
|
1265
1265
|
}
|
|
1266
|
-
// Override the default program creation, to add extra flags.
|
|
1267
1266
|
createProgram(tsconfigAbsPath, fs) {
|
|
1268
|
-
return
|
|
1267
|
+
return super.createProgram(tsconfigAbsPath, fs, {
|
|
1269
1268
|
_compilePoisonedComponents: true,
|
|
1270
1269
|
// We want to migrate non-exported classes too.
|
|
1271
1270
|
compileNonExportedClasses: true,
|
|
@@ -1275,8 +1274,11 @@ class SignalInputMigration extends project_paths.TsurgeComplexMigration {
|
|
|
1275
1274
|
strictTemplates: true,
|
|
1276
1275
|
});
|
|
1277
1276
|
}
|
|
1278
|
-
|
|
1279
|
-
|
|
1277
|
+
/**
|
|
1278
|
+
* Prepares the program for this migration with additional custom
|
|
1279
|
+
* fields to allow for batch-mode testing.
|
|
1280
|
+
*/
|
|
1281
|
+
_prepareProgram(info) {
|
|
1280
1282
|
// Optional filter for testing. Allows for simulation of parallel execution
|
|
1281
1283
|
// even if some tsconfig's have overlap due to sharing of TS sources.
|
|
1282
1284
|
// (this is commonly not the case in g3 where deps are `.d.ts` files).
|
|
@@ -1285,7 +1287,7 @@ class SignalInputMigration extends project_paths.TsurgeComplexMigration {
|
|
|
1285
1287
|
// Optional replacement filter. Allows parallel execution in case
|
|
1286
1288
|
// some tsconfig's have overlap due to sharing of TS sources.
|
|
1287
1289
|
// (this is commonly not the case in g3 where deps are `.d.ts` files).
|
|
1288
|
-
!limitToRootNamesOnly || info.
|
|
1290
|
+
!limitToRootNamesOnly || info.__programAbsoluteRootFileNames.includes(f.fileName));
|
|
1289
1291
|
return {
|
|
1290
1292
|
...info,
|
|
1291
1293
|
sourceFiles: filteredSourceFiles,
|
|
@@ -1295,11 +1297,12 @@ class SignalInputMigration extends project_paths.TsurgeComplexMigration {
|
|
|
1295
1297
|
prepareAnalysisDeps(info) {
|
|
1296
1298
|
const analysisInfo = {
|
|
1297
1299
|
...info,
|
|
1298
|
-
...prepareAnalysisInfo(info.program, info.ngCompiler, info.
|
|
1300
|
+
...prepareAnalysisInfo(info.program, info.ngCompiler, info.__programAbsoluteRootFileNames),
|
|
1299
1301
|
};
|
|
1300
1302
|
return analysisInfo;
|
|
1301
1303
|
}
|
|
1302
1304
|
async analyze(info) {
|
|
1305
|
+
info = this._prepareProgram(info);
|
|
1303
1306
|
const analysisDeps = this.prepareAnalysisDeps(info);
|
|
1304
1307
|
const knownInputs = new KnownInputs(info, this.config);
|
|
1305
1308
|
const result = new MigrationResult();
|
|
@@ -1346,6 +1349,7 @@ class SignalInputMigration extends project_paths.TsurgeComplexMigration {
|
|
|
1346
1349
|
return project_paths.confirmAsSerializable(convertToGlobalMeta(combinedData));
|
|
1347
1350
|
}
|
|
1348
1351
|
async migrate(globalMetadata, info, nonBatchData) {
|
|
1352
|
+
info = this._prepareProgram(info);
|
|
1349
1353
|
const knownInputs = nonBatchData?.knownInputs ?? new KnownInputs(info, this.config);
|
|
1350
1354
|
const result = nonBatchData?.result ?? new MigrationResult();
|
|
1351
1355
|
const host = nonBatchData?.host ?? createMigrationHost(info, this.config);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.13
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var checker = require('./checker-
|
|
9
|
+
var checker = require('./checker-5pyJrZ9G.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
|
-
var index$1 = require('./index-
|
|
12
|
+
var index$1 = require('./index-BIvVb6in.cjs');
|
|
13
13
|
require('path');
|
|
14
|
-
var project_paths = require('./project_paths-
|
|
15
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
16
|
-
var migrate_ts_type_references = require('./migrate_ts_type_references-
|
|
14
|
+
var project_paths = require('./project_paths-CyWVEsbT.cjs');
|
|
15
|
+
var apply_import_manager = require('./apply_import_manager-QQDfWa1Z.cjs');
|
|
16
|
+
var migrate_ts_type_references = require('./migrate_ts_type_references-Czrg1gcB.cjs');
|
|
17
17
|
var assert = require('assert');
|
|
18
|
-
var index = require('./index-
|
|
18
|
+
var index = require('./index-BPhQoCcF.cjs');
|
|
19
19
|
require('@angular-devkit/core');
|
|
20
20
|
require('node:path/posix');
|
|
21
21
|
require('fs');
|
|
22
22
|
require('module');
|
|
23
23
|
require('url');
|
|
24
24
|
require('@angular-devkit/schematics');
|
|
25
|
-
require('./project_tsconfig_paths-CDVxT6Ov.
|
|
26
|
-
require('./leading_space-D9nQ8UQC.
|
|
25
|
+
require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
26
|
+
require('./leading_space-D9nQ8UQC.cjs');
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Phase that migrates Angular host binding references to
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.13
|
|
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('./checker-
|
|
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('./checker-5pyJrZ9G.cjs');
|
|
14
14
|
require('typescript');
|
|
15
15
|
require('os');
|
|
16
16
|
require('fs');
|
|
17
17
|
require('module');
|
|
18
18
|
require('path');
|
|
19
19
|
require('url');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./project_paths-
|
|
20
|
+
require('./index-BIvVb6in.cjs');
|
|
21
|
+
require('./project_paths-CyWVEsbT.cjs');
|
|
22
22
|
require('@angular-devkit/core');
|
|
23
23
|
require('node:path/posix');
|
|
24
|
-
require('./project_tsconfig_paths-CDVxT6Ov.
|
|
25
|
-
require('./apply_import_manager-
|
|
26
|
-
require('./migrate_ts_type_references-
|
|
24
|
+
require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
25
|
+
require('./apply_import_manager-QQDfWa1Z.cjs');
|
|
26
|
+
require('./migrate_ts_type_references-Czrg1gcB.cjs');
|
|
27
27
|
require('assert');
|
|
28
|
-
require('./index-
|
|
29
|
-
require('./leading_space-D9nQ8UQC.
|
|
28
|
+
require('./index-BPhQoCcF.cjs');
|
|
29
|
+
require('./leading_space-D9nQ8UQC.cjs');
|
|
30
30
|
|
|
31
31
|
function migrate(options) {
|
|
32
32
|
// The migrations are independent so we can run them in any order, but we sort them here
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.13
|
|
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-BIvVb6in.cjs');
|
|
11
11
|
var fs = require('fs');
|
|
12
12
|
var p = require('path');
|
|
13
13
|
var ts = require('typescript');
|
|
14
|
-
var compiler_host = require('./compiler_host-
|
|
15
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.
|
|
16
|
-
var ng_decorators = require('./ng_decorators-
|
|
17
|
-
var nodes = require('./nodes-B16H9JUd.
|
|
18
|
-
var imports = require('./imports-CIX-JgAN.
|
|
19
|
-
var checker = require('./checker-
|
|
14
|
+
var compiler_host = require('./compiler_host-B1Gyeytz.cjs');
|
|
15
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
16
|
+
var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
|
|
17
|
+
var nodes = require('./nodes-B16H9JUd.cjs');
|
|
18
|
+
var imports = require('./imports-CIX-JgAN.cjs');
|
|
19
|
+
var checker = require('./checker-5pyJrZ9G.cjs');
|
|
20
20
|
require('os');
|
|
21
21
|
require('@angular-devkit/core');
|
|
22
22
|
require('module');
|
|
@@ -2,59 +2,59 @@
|
|
|
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
|
"control-flow-migration": {
|
|
10
10
|
"description": "Converts the entire application to block control flow syntax",
|
|
11
|
-
"factory": "./bundles/control-flow-migration#migrate",
|
|
11
|
+
"factory": "./bundles/control-flow-migration.cjs#migrate",
|
|
12
12
|
"schema": "./ng-generate/control-flow-migration/schema.json",
|
|
13
13
|
"aliases": ["control-flow"]
|
|
14
14
|
},
|
|
15
15
|
"inject-migration": {
|
|
16
16
|
"description": "Converts usages of constructor-based injection to the inject() function",
|
|
17
|
-
"factory": "./bundles/inject-migration#migrate",
|
|
17
|
+
"factory": "./bundles/inject-migration.cjs#migrate",
|
|
18
18
|
"schema": "./ng-generate/inject-migration/schema.json",
|
|
19
19
|
"aliases": ["inject"]
|
|
20
20
|
},
|
|
21
21
|
"route-lazy-loading-migration": {
|
|
22
22
|
"description": "Updates route definitions to use lazy-loading of components instead of eagerly referencing them",
|
|
23
|
-
"factory": "./bundles/route-lazy-loading#migrate",
|
|
23
|
+
"factory": "./bundles/route-lazy-loading.cjs#migrate",
|
|
24
24
|
"schema": "./ng-generate/route-lazy-loading/schema.json",
|
|
25
25
|
"aliases": ["route-lazy-loading"]
|
|
26
26
|
},
|
|
27
27
|
"signal-input-migration": {
|
|
28
28
|
"description": "Updates `@Input` declarations to signal inputs, while also migrating all relevant references.",
|
|
29
|
-
"factory": "./bundles/signal-input-migration#migrate",
|
|
29
|
+
"factory": "./bundles/signal-input-migration.cjs#migrate",
|
|
30
30
|
"schema": "./ng-generate/signal-input-migration/schema.json",
|
|
31
31
|
"aliases": ["signal-inputs", "signal-input"]
|
|
32
32
|
},
|
|
33
33
|
"signal-queries-migration": {
|
|
34
34
|
"description": "Updates query declarations to signal queries, while also migrating all relevant references.",
|
|
35
|
-
"factory": "./bundles/signal-queries-migration#migrate",
|
|
35
|
+
"factory": "./bundles/signal-queries-migration.cjs#migrate",
|
|
36
36
|
"schema": "./ng-generate/signal-queries-migration/schema.json",
|
|
37
37
|
"aliases": ["signal-queries", "signal-query", "signal-query-migration"]
|
|
38
38
|
},
|
|
39
39
|
"output-migration": {
|
|
40
40
|
"description": "Updates @output declarations to the functional equivalent, while also migrating all relevant references.",
|
|
41
|
-
"factory": "./bundles/output-migration#migrate",
|
|
41
|
+
"factory": "./bundles/output-migration.cjs#migrate",
|
|
42
42
|
"schema": "./ng-generate/output-migration/schema.json",
|
|
43
43
|
"aliases": ["outputs"]
|
|
44
44
|
},
|
|
45
45
|
"signals": {
|
|
46
46
|
"description": "Combines all signals-related migrations into a single migration",
|
|
47
|
-
"factory": "./bundles/signals#migrate",
|
|
47
|
+
"factory": "./bundles/signals.cjs#migrate",
|
|
48
48
|
"schema": "./ng-generate/signals/schema.json"
|
|
49
49
|
},
|
|
50
50
|
"cleanup-unused-imports": {
|
|
51
51
|
"description": "Removes unused imports from standalone components.",
|
|
52
|
-
"factory": "./bundles/cleanup-unused-imports#migrate",
|
|
52
|
+
"factory": "./bundles/cleanup-unused-imports.cjs#migrate",
|
|
53
53
|
"schema": "./ng-generate/cleanup-unused-imports/schema.json"
|
|
54
54
|
},
|
|
55
55
|
"self-closing-tags-migration": {
|
|
56
56
|
"description": "Updates the components templates to use self-closing tags where possible",
|
|
57
|
-
"factory": "./bundles/self-closing-tags-migration#migrate",
|
|
57
|
+
"factory": "./bundles/self-closing-tags-migration.cjs#migrate",
|
|
58
58
|
"schema": "./ng-generate/self-closing-tags-migration/schema.json",
|
|
59
59
|
"aliases": ["self-closing-tag"]
|
|
60
60
|
}
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
"explicit-standalone-flag": {
|
|
4
4
|
"version": "19.0.0",
|
|
5
5
|
"description": "Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone",
|
|
6
|
-
"factory": "./bundles/explicit-standalone-flag#migrate"
|
|
6
|
+
"factory": "./bundles/explicit-standalone-flag.cjs#migrate"
|
|
7
7
|
},
|
|
8
8
|
"pending-tasks": {
|
|
9
9
|
"version": "19.0.0",
|
|
10
10
|
"description": "Updates ExperimentalPendingTasks to PendingTasks",
|
|
11
|
-
"factory": "./bundles/pending-tasks#migrate"
|
|
11
|
+
"factory": "./bundles/pending-tasks.cjs#migrate"
|
|
12
12
|
},
|
|
13
13
|
"provide-initializer": {
|
|
14
14
|
"version": "19.0.0",
|
|
15
15
|
"description": "Replaces `APP_INITIALIZER`, `ENVIRONMENT_INITIALIZER` & `PLATFORM_INITIALIZER` respectively with `provideAppInitializer`, `provideEnvironmentInitializer` & `providePlatformInitializer`.",
|
|
16
|
-
"factory": "./bundles/provide-initializer#migrate",
|
|
16
|
+
"factory": "./bundles/provide-initializer.cjs#migrate",
|
|
17
17
|
"optional": true
|
|
18
18
|
}
|
|
19
19
|
}
|
package/testing/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.13
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import * as _angular_core from '@angular/core';
|
|
7
8
|
import { ɵDeferBlockDetails as _DeferBlockDetails, ɵDeferBlockState as _DeferBlockState, ComponentRef, DebugElement, ElementRef, ChangeDetectorRef, NgZone, SchemaMetadata, ɵDeferBlockBehavior as _DeferBlockBehavior, InjectionToken, PlatformRef, Type, ProviderToken, InjectOptions, InjectFlags, NgModule, Component, Directive, Pipe } from '@angular/core';
|
|
8
9
|
export { ɵDeferBlockBehavior as DeferBlockBehavior, ɵDeferBlockState as DeferBlockState } from '@angular/core';
|
|
9
10
|
import { Navigation, NavigationHistoryEntry, NavigationNavigateOptions, NavigationResult, NavigationOptions, NavigateEvent, NavigationCurrentEntryChangeEvent, NavigationTransition, NavigationUpdateCurrentEntryOptions, NavigationReloadOptions } from '../navigation_types.d-fAxd92YV.js';
|
|
@@ -688,5 +689,16 @@ declare class FakeNavigationHistoryEntry implements NavigationHistoryEntry {
|
|
|
688
689
|
dispose(): void;
|
|
689
690
|
}
|
|
690
691
|
|
|
691
|
-
|
|
692
|
+
declare class Log<T = string> {
|
|
693
|
+
logItems: T[];
|
|
694
|
+
constructor();
|
|
695
|
+
add(value: T): void;
|
|
696
|
+
fn(value: T): () => void;
|
|
697
|
+
clear(): void;
|
|
698
|
+
result(): string;
|
|
699
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Log<any>, never>;
|
|
700
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<Log<any>>;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
export { ComponentFixture, ComponentFixtureAutoDetect, ComponentFixtureNoNgZone, DeferBlockFixture, InjectSetupWrapper, TestBed, TestComponentRenderer, __core_private_testing_placeholder__, discardPeriodicTasks, fakeAsync, flush, flushMicrotasks, getTestBed, inject, resetFakeAsyncZone, tick, waitForAsync, withModule, FakeNavigation as ɵFakeNavigation, Log as ɵLog, MetadataOverrider as ɵMetadataOverrider };
|
|
692
704
|
export type { MetadataOverride, ModuleTeardownOptions, TestBedStatic, TestEnvironmentOptions, TestModuleMetadata };
|
package/weak_ref.d-DWHPG08n.d.ts
CHANGED
package/schematics/package.json
DELETED