@angular/core 20.2.0-next.4 → 20.2.0-next.5
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.d.ts +1 -1
- package/chrome_dev_tools_performance.d.d.ts +1 -1
- package/discovery.d.d.ts +8 -2
- package/event_dispatcher.d.d.ts +1 -1
- package/fesm2022/attribute.mjs +1 -1
- package/fesm2022/core.mjs +9 -6
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/debug_node.mjs +13 -4
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/not_found.mjs +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/resource.mjs +1 -1
- package/fesm2022/root_effect_scheduler.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/signal.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/untracked.mjs +1 -1
- package/fesm2022/weak_ref.mjs +1 -1
- package/graph.d.d.ts +1 -1
- package/index.d.ts +3 -2
- package/package.json +2 -2
- 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-Doo9rveC.cjs → apply_import_manager-Bf0h419q.cjs} +3 -3
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/{compiler_host-Dtf8fsIr.cjs → compiler_host-CpG50gww.cjs} +2 -2
- package/schematics/bundles/control-flow-migration.cjs +4 -4
- package/schematics/bundles/document-core.cjs +5 -5
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-B10puRUY.cjs → index-DTWyGOPM.cjs} +4 -4
- package/schematics/bundles/{index-DHoQSprx.cjs → index-Dl0zaIBS.cjs} +18 -16
- package/schematics/bundles/inject-flags.cjs +5 -5
- package/schematics/bundles/inject-migration.cjs +3 -3
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-Cr2742bs.cjs → migrate_ts_type_references-BlMDltWE.cjs} +5 -5
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +6 -6
- package/schematics/bundles/{project_paths-CrqHneU0.cjs → project_paths-0E6AzVkB.cjs} +3 -3
- package/schematics/bundles/{project_tsconfig_paths-BGhHq5-d.cjs → project_tsconfig_paths-ClCuNoA6.cjs} +11 -9
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +3 -3
- package/schematics/bundles/router-current-navigation.cjs +114 -0
- package/schematics/bundles/self-closing-tags-migration.cjs +4 -4
- package/schematics/bundles/signal-input-migration.cjs +7 -7
- package/schematics/bundles/signal-queries-migration.cjs +7 -7
- package/schematics/bundles/signals.cjs +7 -7
- package/schematics/bundles/standalone-migration.cjs +4 -4
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +4 -4
- package/schematics/migrations.json +6 -0
- package/signal.d.d.ts +1 -1
- package/testing/index.d.ts +1 -1
- package/weak_ref.d.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-next.
|
|
3
|
+
* @license Angular v20.2.0-next.5
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -452,6 +452,7 @@ exports.ViewEncapsulation = void 0;
|
|
|
452
452
|
// Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
|
|
453
453
|
ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
|
|
454
454
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
455
|
+
ViewEncapsulation[ViewEncapsulation["IsolatedShadowDom"] = 4] = "IsolatedShadowDom";
|
|
455
456
|
})(exports.ViewEncapsulation || (exports.ViewEncapsulation = {}));
|
|
456
457
|
exports.ChangeDetectionStrategy = void 0;
|
|
457
458
|
(function (ChangeDetectionStrategy) {
|
|
@@ -545,6 +546,7 @@ var ViewEncapsulation;
|
|
|
545
546
|
// Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
|
|
546
547
|
ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
|
|
547
548
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
549
|
+
ViewEncapsulation[ViewEncapsulation["IsolatedShadowDom"] = 4] = "IsolatedShadowDom";
|
|
548
550
|
})(ViewEncapsulation || (ViewEncapsulation = {}));
|
|
549
551
|
|
|
550
552
|
/**
|
|
@@ -32786,7 +32788,7 @@ function isAttrNode(ast) {
|
|
|
32786
32788
|
* @description
|
|
32787
32789
|
* Entry point for all public APIs of the compiler package.
|
|
32788
32790
|
*/
|
|
32789
|
-
new Version('20.2.0-next.
|
|
32791
|
+
new Version('20.2.0-next.5');
|
|
32790
32792
|
|
|
32791
32793
|
//////////////////////////////////////
|
|
32792
32794
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|
|
@@ -33821,7 +33823,7 @@ class NodeJSPathManipulation {
|
|
|
33821
33823
|
// G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
|
|
33822
33824
|
// CommonJS/ESM interop for determining the current file name and containing dir.
|
|
33823
33825
|
const isCommonJS = typeof __filename !== 'undefined';
|
|
33824
|
-
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('project_tsconfig_paths-
|
|
33826
|
+
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('project_tsconfig_paths-ClCuNoA6.cjs', document.baseURI).href));
|
|
33825
33827
|
// Note, when this code loads in the browser, `url` may be an empty `{}` due to the Closure shims.
|
|
33826
33828
|
const currentFileName = isCommonJS
|
|
33827
33829
|
? __filename
|
|
@@ -50430,11 +50432,11 @@ function getClassDeclFromSymbol(symbol, checker) {
|
|
|
50430
50432
|
return null;
|
|
50431
50433
|
}
|
|
50432
50434
|
if (ts.isExportAssignment(decl)) {
|
|
50433
|
-
const symbol = checker.getTypeAtLocation(decl.expression).
|
|
50435
|
+
const symbol = checker.getTypeAtLocation(decl.expression).getSymbol();
|
|
50434
50436
|
return getClassDeclFromSymbol(symbol, checker);
|
|
50435
50437
|
}
|
|
50436
50438
|
if (ts.isExportSpecifier(decl)) {
|
|
50437
|
-
const symbol = checker.getTypeAtLocation(decl).
|
|
50439
|
+
const symbol = checker.getTypeAtLocation(decl).getSymbol();
|
|
50438
50440
|
return getClassDeclFromSymbol(symbol, checker);
|
|
50439
50441
|
}
|
|
50440
50442
|
if (isNamedClassDeclaration(decl)) {
|
|
@@ -50495,7 +50497,7 @@ function getTheElementTagDeprecatedSuggestionDiagnostics(shimPath, program, file
|
|
|
50495
50497
|
for (const tsDiag of diags) {
|
|
50496
50498
|
const diagNode = getTokenAtPosition(sourceFile, tsDiag.start);
|
|
50497
50499
|
const nodeType = typeChecker.getTypeAtLocation(diagNode);
|
|
50498
|
-
const nodeSymbolDeclarations = nodeType.
|
|
50500
|
+
const nodeSymbolDeclarations = nodeType.getSymbol()?.declarations;
|
|
50499
50501
|
const decl = nodeSymbolDeclarations !== undefined && nodeSymbolDeclarations.length > 0
|
|
50500
50502
|
? nodeSymbolDeclarations[0]
|
|
50501
50503
|
: undefined;
|
|
@@ -50519,7 +50521,7 @@ function getTheElementTagDeprecatedSuggestionDiagnostics(shimPath, program, file
|
|
|
50519
50521
|
const templateDiagnostics = [];
|
|
50520
50522
|
for (const directive of directiveNodesInTcb) {
|
|
50521
50523
|
const directiveType = typeChecker.getTypeAtLocation(directive);
|
|
50522
|
-
const directiveSymbolDeclarations = directiveType.
|
|
50524
|
+
const directiveSymbolDeclarations = directiveType.getSymbol()?.declarations;
|
|
50523
50525
|
const decl = directiveSymbolDeclarations !== undefined && directiveSymbolDeclarations.length > 0
|
|
50524
50526
|
? directiveSymbolDeclarations[0]
|
|
50525
50527
|
: undefined;
|
|
@@ -50674,8 +50676,8 @@ exports.Directive = Directive$1;
|
|
|
50674
50676
|
exports.DomElementSchemaRegistry = DomElementSchemaRegistry;
|
|
50675
50677
|
exports.DynamicImportExpr = DynamicImportExpr;
|
|
50676
50678
|
exports.DynamicValue = DynamicValue;
|
|
50677
|
-
exports.Element = Element
|
|
50678
|
-
exports.Element$1 = Element;
|
|
50679
|
+
exports.Element = Element;
|
|
50680
|
+
exports.Element$1 = Element$1;
|
|
50679
50681
|
exports.EnumValue = EnumValue;
|
|
50680
50682
|
exports.ExternalExpr = ExternalExpr;
|
|
50681
50683
|
exports.FatalDiagnosticError = FatalDiagnosticError;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-next.
|
|
3
|
+
* @license Angular v20.2.0-next.5
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
10
|
var fs = require('fs');
|
|
11
11
|
var p = require('path');
|
|
12
|
-
var compiler_host = require('./compiler_host-
|
|
13
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
+
var compiler_host = require('./compiler_host-CpG50gww.cjs');
|
|
13
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-ClCuNoA6.cjs');
|
|
14
14
|
var ts = require('typescript');
|
|
15
15
|
var property_name = require('./property_name-BBwFuqMe.cjs');
|
|
16
16
|
require('os');
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/**
|
|
3
|
+
* @license Angular v20.2.0-next.5
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
'use strict';
|
|
8
|
+
|
|
9
|
+
var ts = require('typescript');
|
|
10
|
+
require('os');
|
|
11
|
+
require('./project_tsconfig_paths-ClCuNoA6.cjs');
|
|
12
|
+
require('./index-Dl0zaIBS.cjs');
|
|
13
|
+
require('path');
|
|
14
|
+
require('node:path');
|
|
15
|
+
var project_paths = require('./project_paths-0E6AzVkB.cjs');
|
|
16
|
+
var imports = require('./imports-CIX-JgAN.cjs');
|
|
17
|
+
var symbol = require('./symbol-VPWguRxr.cjs');
|
|
18
|
+
require('@angular-devkit/core');
|
|
19
|
+
require('node:path/posix');
|
|
20
|
+
require('fs');
|
|
21
|
+
require('module');
|
|
22
|
+
require('url');
|
|
23
|
+
require('@angular-devkit/schematics');
|
|
24
|
+
|
|
25
|
+
/** Name of the method being replaced. */
|
|
26
|
+
const METHOD_NAME = 'getCurrentNavigation';
|
|
27
|
+
/** Migration that replaces `Router.getCurrentNavigation` usages with `Router.currentNavigation()`. */
|
|
28
|
+
class RouterCurrentNavigationMigration extends project_paths.TsurgeFunnelMigration {
|
|
29
|
+
async analyze(info) {
|
|
30
|
+
const locations = [];
|
|
31
|
+
for (const sourceFile of info.sourceFiles) {
|
|
32
|
+
const routerSpecifier = imports.getImportSpecifier(sourceFile, '@angular/router', 'Router');
|
|
33
|
+
if (routerSpecifier === null) {
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
36
|
+
const typeChecker = info.program.getTypeChecker();
|
|
37
|
+
sourceFile.forEachChild(function walk(node) {
|
|
38
|
+
if (ts.isPropertyAccessExpression(node) &&
|
|
39
|
+
node.name.text === METHOD_NAME &&
|
|
40
|
+
isRouterType(typeChecker, node.expression, routerSpecifier)) {
|
|
41
|
+
locations.push({ file: project_paths.projectFile(sourceFile, info), position: node.name.getStart() });
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
node.forEachChild(walk);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
return project_paths.confirmAsSerializable({ locations });
|
|
49
|
+
}
|
|
50
|
+
async migrate(globalData) {
|
|
51
|
+
const replacements = globalData.locations.map(({ file, position }) => {
|
|
52
|
+
return new project_paths.Replacement(file, new project_paths.TextUpdate({
|
|
53
|
+
position: position,
|
|
54
|
+
end: position + METHOD_NAME.length,
|
|
55
|
+
toInsert: 'currentNavigation',
|
|
56
|
+
}));
|
|
57
|
+
});
|
|
58
|
+
return project_paths.confirmAsSerializable({ replacements });
|
|
59
|
+
}
|
|
60
|
+
async combine(unitA, unitB) {
|
|
61
|
+
const seen = new Set();
|
|
62
|
+
const locations = [];
|
|
63
|
+
const combined = [...unitA.locations, ...unitB.locations];
|
|
64
|
+
for (const location of combined) {
|
|
65
|
+
const key = `${location.file.id}#${location.position}`;
|
|
66
|
+
if (!seen.has(key)) {
|
|
67
|
+
seen.add(key);
|
|
68
|
+
locations.push(location);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return project_paths.confirmAsSerializable({ locations });
|
|
72
|
+
}
|
|
73
|
+
async globalMeta(combinedData) {
|
|
74
|
+
return project_paths.confirmAsSerializable(combinedData);
|
|
75
|
+
}
|
|
76
|
+
async stats() {
|
|
77
|
+
return project_paths.confirmAsSerializable({});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Checks if the given symbol represents a Router type.
|
|
82
|
+
*/
|
|
83
|
+
function isRouterType(typeChecker, expression, routerSpecifier) {
|
|
84
|
+
const expressionType = typeChecker.getTypeAtLocation(expression);
|
|
85
|
+
const expressionSymbol = expressionType.getSymbol();
|
|
86
|
+
if (!expressionSymbol) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
const declarations = expressionSymbol.getDeclarations() ?? [];
|
|
90
|
+
for (const declaration of declarations) {
|
|
91
|
+
if (symbol.isReferenceToImport(typeChecker, declaration, routerSpecifier)) {
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return declarations.some((decl) => decl === routerSpecifier);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/*!
|
|
99
|
+
* @license
|
|
100
|
+
* Copyright Google LLC All Rights Reserved.
|
|
101
|
+
*
|
|
102
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
103
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
104
|
+
*/
|
|
105
|
+
function migrate() {
|
|
106
|
+
return async (tree) => {
|
|
107
|
+
await project_paths.runMigrationInDevkit({
|
|
108
|
+
tree,
|
|
109
|
+
getMigration: () => new RouterCurrentNavigationMigration(),
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
exports.migrate = migrate;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-next.
|
|
3
|
+
* @license Angular v20.2.0-next.5
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
-
require('./index-
|
|
11
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-ClCuNoA6.cjs');
|
|
12
|
+
require('./index-Dl0zaIBS.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-0E6AzVkB.cjs');
|
|
16
16
|
var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
|
|
17
17
|
var property_name = require('./property_name-BBwFuqMe.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-next.
|
|
3
|
+
* @license Angular v20.2.0-next.5
|
|
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-BlMDltWE.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
13
|
-
var index$1 = require('./index-
|
|
12
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-ClCuNoA6.cjs');
|
|
13
|
+
var index$1 = require('./index-Dl0zaIBS.cjs');
|
|
14
14
|
require('path');
|
|
15
15
|
require('node:path');
|
|
16
|
-
var project_paths = require('./project_paths-
|
|
17
|
-
var index = require('./index-
|
|
16
|
+
var project_paths = require('./project_paths-0E6AzVkB.cjs');
|
|
17
|
+
var index = require('./index-DTWyGOPM.cjs');
|
|
18
18
|
var assert = require('assert');
|
|
19
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
19
|
+
var apply_import_manager = require('./apply_import_manager-Bf0h419q.cjs');
|
|
20
20
|
require('@angular-devkit/core');
|
|
21
21
|
require('node:path/posix');
|
|
22
22
|
require('./leading_space-D9nQ8UQC.cjs');
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-next.
|
|
3
|
+
* @license Angular v20.2.0-next.5
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
9
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-ClCuNoA6.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
|
-
var index$1 = require('./index-
|
|
12
|
+
var index$1 = require('./index-Dl0zaIBS.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node: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-0E6AzVkB.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-Bf0h419q.cjs');
|
|
17
|
+
var migrate_ts_type_references = require('./migrate_ts_type_references-BlMDltWE.cjs');
|
|
18
18
|
var assert = require('assert');
|
|
19
|
-
var index = require('./index-
|
|
19
|
+
var index = require('./index-DTWyGOPM.cjs');
|
|
20
20
|
require('@angular-devkit/core');
|
|
21
21
|
require('node:path/posix');
|
|
22
22
|
require('fs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-next.
|
|
3
|
+
* @license Angular v20.2.0-next.5
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,7 +10,7 @@ var schematics = require('@angular-devkit/schematics');
|
|
|
10
10
|
var signalQueriesMigration = require('./signal-queries-migration.cjs');
|
|
11
11
|
var signalInputMigration = require('./signal-input-migration.cjs');
|
|
12
12
|
var outputMigration = require('./output-migration.cjs');
|
|
13
|
-
require('./project_tsconfig_paths-
|
|
13
|
+
require('./project_tsconfig_paths-ClCuNoA6.cjs');
|
|
14
14
|
require('typescript');
|
|
15
15
|
require('os');
|
|
16
16
|
require('fs');
|
|
@@ -18,14 +18,14 @@ require('module');
|
|
|
18
18
|
require('path');
|
|
19
19
|
require('url');
|
|
20
20
|
require('@angular-devkit/core');
|
|
21
|
-
require('./index-
|
|
21
|
+
require('./index-Dl0zaIBS.cjs');
|
|
22
22
|
require('node:path');
|
|
23
|
-
require('./project_paths-
|
|
23
|
+
require('./project_paths-0E6AzVkB.cjs');
|
|
24
24
|
require('node:path/posix');
|
|
25
|
-
require('./apply_import_manager-
|
|
26
|
-
require('./migrate_ts_type_references-
|
|
25
|
+
require('./apply_import_manager-Bf0h419q.cjs');
|
|
26
|
+
require('./migrate_ts_type_references-BlMDltWE.cjs');
|
|
27
27
|
require('assert');
|
|
28
|
-
require('./index-
|
|
28
|
+
require('./index-DTWyGOPM.cjs');
|
|
29
29
|
require('./leading_space-D9nQ8UQC.cjs');
|
|
30
30
|
|
|
31
31
|
function migrate(options) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-next.
|
|
3
|
+
* @license Angular v20.2.0-next.5
|
|
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-Dl0zaIBS.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-
|
|
14
|
+
var compiler_host = require('./compiler_host-CpG50gww.cjs');
|
|
15
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-ClCuNoA6.cjs');
|
|
16
16
|
var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
|
|
17
17
|
var nodes = require('./nodes-B16H9JUd.cjs');
|
|
18
18
|
var symbol = require('./symbol-VPWguRxr.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-next.
|
|
3
|
+
* @license Angular v20.2.0-next.5
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
require('./project_tsconfig_paths-
|
|
12
|
-
require('./index-
|
|
11
|
+
require('./project_tsconfig_paths-ClCuNoA6.cjs');
|
|
12
|
+
require('./index-Dl0zaIBS.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-0E6AzVkB.cjs');
|
|
16
16
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
17
17
|
var symbol = require('./symbol-VPWguRxr.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
"version": "20.0.0",
|
|
21
21
|
"description": "Moves imports of `DOCUMENT` from `@angular/common` to `@angular/core`",
|
|
22
22
|
"factory": "./bundles/document-core.cjs#migrate"
|
|
23
|
+
},
|
|
24
|
+
"router-current-navigation": {
|
|
25
|
+
"version": "20.2.0",
|
|
26
|
+
"description": "Replaces usages of the deprecated Router.getCurrentNavigation method with the Router.currentNavigation signal",
|
|
27
|
+
"factory": "./bundles/router-current-navigation.cjs#migrate",
|
|
28
|
+
"optional": true
|
|
23
29
|
}
|
|
24
30
|
}
|
|
25
31
|
}
|
package/signal.d.d.ts
CHANGED
package/testing/index.d.ts
CHANGED
package/weak_ref.d.d.ts
CHANGED