@angular/compiler-cli 20.0.0-rc.1 → 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/bundles/{chunk-TTRWAZF3.js → chunk-6KZLR5QB.js} +27 -17
- package/bundles/chunk-6KZLR5QB.js.map +6 -0
- package/bundles/{chunk-GU2OJWV5.js → chunk-EQBHFEMJ.js} +2 -2
- package/bundles/{chunk-BGRGIORD.js → chunk-KO3EYK2V.js} +2 -2
- package/bundles/{chunk-GTZJJ3FS.js → chunk-N2PFGKJK.js} +2 -2
- package/bundles/{chunk-UWOD5VHW.js → chunk-Q5HXNOYJ.js} +3 -3
- package/bundles/chunk-TQ6LMH6Y.js +1 -1
- package/bundles/index.js +5 -5
- package/bundles/private/migrations.js +1 -1
- package/bundles/private/tooling.js +3 -3
- package/bundles/src/bin/ng_xi18n.js +4 -4
- package/bundles/src/bin/ngc.js +4 -4
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/typecheck/src/checker.d.ts +2 -1
- package/bundles/chunk-TTRWAZF3.js.map +0 -6
- /package/bundles/{chunk-GU2OJWV5.js.map → chunk-EQBHFEMJ.js.map} +0 -0
- /package/bundles/{chunk-BGRGIORD.js.map → chunk-KO3EYK2V.js.map} +0 -0
- /package/bundles/{chunk-GTZJJ3FS.js.map → chunk-N2PFGKJK.js.map} +0 -0
- /package/bundles/{chunk-UWOD5VHW.js.map → chunk-Q5HXNOYJ.js.map} +0 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { MaybeForwardRefExpression, outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3Reference } from '@angular/compiler';
|
|
9
9
|
import { AstObject, AstValue } from '../../ast/ast_value';
|
|
10
|
-
export declare const PLACEHOLDER_VERSION = "20.0.0-rc.
|
|
10
|
+
export declare const PLACEHOLDER_VERSION = "20.0.0-rc.2";
|
|
11
11
|
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;
|
|
12
12
|
/**
|
|
13
13
|
* Parses the value of an enum from the AST value's symbol name.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler-cli",
|
|
3
|
-
"version": "20.0.0-rc.
|
|
3
|
+
"version": "20.0.0-rc.2",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"yargs": "^17.2.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@angular/compiler": "20.0.0-rc.
|
|
55
|
+
"@angular/compiler": "20.0.0-rc.2",
|
|
56
56
|
"typescript": ">=5.8 <5.9"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
],
|
|
70
70
|
"license": "MIT",
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": "^20.
|
|
72
|
+
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
|
|
73
73
|
},
|
|
74
74
|
"bugs": {
|
|
75
75
|
"url": "https://github.com/angular/angular/issues"
|
|
@@ -74,6 +74,7 @@ export declare class TemplateTypeCheckerImpl implements TemplateTypeChecker {
|
|
|
74
74
|
*/
|
|
75
75
|
private elementTagCache;
|
|
76
76
|
private isComplete;
|
|
77
|
+
private priorResultsAdopted;
|
|
77
78
|
constructor(originalProgram: ts.Program, programDriver: ProgramDriver, typeCheckAdapter: ProgramTypeCheckAdapter, config: TypeCheckingConfig, refEmitter: ReferenceEmitter, reflector: ReflectionHost, compilerHost: Pick<ts.CompilerHost, 'getCanonicalFileName'>, priorBuild: IncrementalBuild<unknown, FileTypeCheckingData>, metaReader: MetadataReader, localMetaReader: MetadataReaderWithIndex, ngModuleIndex: NgModuleIndex, componentScopeReader: ComponentScopeReader, typeCheckScopeRegistry: TypeCheckScopeRegistry, perf: PerfRecorder);
|
|
78
79
|
getTemplate(component: ts.ClassDeclaration, optimizeFor?: OptimizeFor): TmplAstNode[] | null;
|
|
79
80
|
getHostElement(directive: ts.ClassDeclaration, optimizeFor?: OptimizeFor): TmplAstHostElement | null;
|
|
@@ -104,7 +105,7 @@ export declare class TemplateTypeCheckerImpl implements TemplateTypeChecker {
|
|
|
104
105
|
sourceFile: ts.SourceFile;
|
|
105
106
|
}[]): NgTemplateDiagnostic<T>;
|
|
106
107
|
private getOrCreateCompletionEngine;
|
|
107
|
-
private
|
|
108
|
+
private maybeAdoptPriorResults;
|
|
108
109
|
private ensureAllShimsForAllFiles;
|
|
109
110
|
private ensureAllShimsForOneFile;
|
|
110
111
|
private ensureShimForComponent;
|