@angular/compiler-cli 21.2.1 → 21.2.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/bundles/{chunk-PW54LIP6.js → chunk-6JHVJEKD.js} +5 -5
- package/bundles/chunk-FLWAEX6T.js +1 -1
- package/bundles/{chunk-VO3Q626H.js → chunk-KJC7YNMY.js} +2 -2
- package/bundles/{chunk-IG22BDVK.js → chunk-L3PEIUBN.js} +1296 -1323
- package/bundles/{chunk-WBUBKNAO.js → chunk-NU2SXS64.js} +1 -1
- package/bundles/index.js +4 -4
- package/bundles/private/migrations.js +2 -2
- package/bundles/private/testing.js +1 -1
- package/bundles/private/tooling.js +1 -1
- package/bundles/src/bin/ng_xi18n.js +4 -4
- package/bundles/src/bin/ngc.js +4 -4
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/common/src/diagnostics.d.ts +7 -7
- package/src/ngtsc/core/api/src/adapter.d.ts +1 -1
- package/src/ngtsc/incremental/src/incremental.d.ts +1 -1
- package/src/ngtsc/typecheck/api/api.d.ts +80 -4
- package/src/ngtsc/typecheck/src/checker.d.ts +1 -1
- package/src/ngtsc/typecheck/src/comments.d.ts +0 -7
- package/src/ngtsc/typecheck/src/context.d.ts +1 -1
- package/src/ngtsc/typecheck/src/environment.d.ts +9 -7
- package/src/ngtsc/typecheck/src/expression.d.ts +3 -15
- package/src/ngtsc/typecheck/src/host_bindings.d.ts +1 -1
- package/src/ngtsc/typecheck/src/oob.d.ts +5 -4
- package/src/ngtsc/typecheck/src/ops/base.d.ts +3 -3
- package/src/ngtsc/typecheck/src/ops/bindings.d.ts +11 -8
- package/src/ngtsc/typecheck/src/ops/codegen.d.ts +74 -0
- package/src/ngtsc/typecheck/src/ops/context.d.ts +5 -7
- package/src/ngtsc/typecheck/src/ops/directive_constructor.d.ts +6 -6
- package/src/ngtsc/typecheck/src/ops/directive_type.d.ts +7 -7
- package/src/ngtsc/typecheck/src/ops/element.d.ts +2 -2
- package/src/ngtsc/typecheck/src/ops/events.d.ts +4 -4
- package/src/ngtsc/typecheck/src/ops/expression.d.ts +5 -5
- package/src/ngtsc/typecheck/src/ops/for_block.d.ts +2 -2
- package/src/ngtsc/typecheck/src/ops/host.d.ts +2 -2
- package/src/ngtsc/typecheck/src/ops/inputs.d.ts +4 -4
- package/src/ngtsc/typecheck/src/ops/let.d.ts +2 -2
- package/src/ngtsc/typecheck/src/ops/references.d.ts +5 -5
- package/src/ngtsc/typecheck/src/ops/schema.d.ts +2 -2
- package/src/ngtsc/typecheck/src/ops/scope.d.ts +10 -10
- package/src/ngtsc/typecheck/src/ops/selectorless.d.ts +2 -2
- package/src/ngtsc/typecheck/src/ops/signal_forms.d.ts +6 -6
- package/src/ngtsc/typecheck/src/ops/template.d.ts +2 -2
- package/src/ngtsc/typecheck/src/ops/variables.d.ts +6 -6
- package/src/ngtsc/typecheck/src/reference_emit_environment.d.ts +18 -4
- package/src/ngtsc/typecheck/src/tcb_adapter.d.ts +20 -0
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +2 -1
- package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -37
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +2 -4
- package/src/ngtsc/typecheck/src/type_check_file.d.ts +4 -2
- package/src/ngtsc/typecheck/src/type_constructor.d.ts +4 -3
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
toUnredirectedSourceFile,
|
|
89
89
|
tryParseInitializerApi,
|
|
90
90
|
untagAllTsFiles
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-L3PEIUBN.js";
|
|
92
92
|
import {
|
|
93
93
|
LogicalFileSystem,
|
|
94
94
|
absoluteFromSourceFile,
|
|
@@ -1920,7 +1920,7 @@ var IncrementalCompilation = class _IncrementalCompilation {
|
|
|
1920
1920
|
/**
|
|
1921
1921
|
* Begin a fresh `IncrementalCompilation`.
|
|
1922
1922
|
*/
|
|
1923
|
-
static fresh(
|
|
1923
|
+
static fresh(versions) {
|
|
1924
1924
|
const state = {
|
|
1925
1925
|
kind: IncrementalStateKind.Fresh
|
|
1926
1926
|
};
|
|
@@ -1939,7 +1939,7 @@ var IncrementalCompilation = class _IncrementalCompilation {
|
|
|
1939
1939
|
let priorAnalysis;
|
|
1940
1940
|
switch (oldState.kind) {
|
|
1941
1941
|
case IncrementalStateKind.Fresh:
|
|
1942
|
-
return _IncrementalCompilation.fresh(
|
|
1942
|
+
return _IncrementalCompilation.fresh(newVersions);
|
|
1943
1943
|
case IncrementalStateKind.Analyzed:
|
|
1944
1944
|
priorAnalysis = oldState;
|
|
1945
1945
|
break;
|
|
@@ -1970,7 +1970,7 @@ var IncrementalCompilation = class _IncrementalCompilation {
|
|
|
1970
1970
|
}
|
|
1971
1971
|
}
|
|
1972
1972
|
if (sf.isDeclarationFile) {
|
|
1973
|
-
return _IncrementalCompilation.fresh(
|
|
1973
|
+
return _IncrementalCompilation.fresh(newVersions);
|
|
1974
1974
|
}
|
|
1975
1975
|
physicallyChangedTsFiles.add(sfPath);
|
|
1976
1976
|
}
|
|
@@ -4213,7 +4213,7 @@ var NgCompiler = class _NgCompiler {
|
|
|
4213
4213
|
static fromTicket(ticket, adapter) {
|
|
4214
4214
|
switch (ticket.kind) {
|
|
4215
4215
|
case CompilationTicketKind.Fresh:
|
|
4216
|
-
return new _NgCompiler(adapter, ticket.options, ticket.tsProgram, ticket.programDriver, ticket.incrementalBuildStrategy, IncrementalCompilation.fresh(
|
|
4216
|
+
return new _NgCompiler(adapter, ticket.options, ticket.tsProgram, ticket.programDriver, ticket.incrementalBuildStrategy, IncrementalCompilation.fresh(versionMapFromProgram(ticket.tsProgram, ticket.programDriver)), ticket.enableTemplateTypeChecker, ticket.usePoisonedData, ticket.perfRecorder);
|
|
4217
4217
|
case CompilationTicketKind.IncrementalTypeScript:
|
|
4218
4218
|
return new _NgCompiler(adapter, ticket.options, ticket.newProgram, ticket.programDriver, ticket.incrementalBuildStrategy, ticket.incrementalCompilation, ticket.enableTemplateTypeChecker, ticket.usePoisonedData, ticket.perfRecorder);
|
|
4219
4219
|
case CompilationTicketKind.IncrementalResource:
|
|
@@ -455,7 +455,7 @@ import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSo
|
|
|
455
455
|
// packages/compiler-cli/linker/src/file_linker/partial_linkers/util.js
|
|
456
456
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
457
457
|
import semver from "semver";
|
|
458
|
-
var PLACEHOLDER_VERSION = "21.2.
|
|
458
|
+
var PLACEHOLDER_VERSION = "21.2.3";
|
|
459
459
|
function wrapReference(wrapped) {
|
|
460
460
|
return { value: wrapped, type: wrapped };
|
|
461
461
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
TrackedIncrementalBuildStrategy,
|
|
9
9
|
freshCompilationTicket,
|
|
10
10
|
incrementalFromCompilerTicket
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6JHVJEKD.js";
|
|
12
12
|
import {
|
|
13
13
|
ActivePerfRecorder,
|
|
14
14
|
OptimizeFor,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
TsCreateProgramDriver,
|
|
19
19
|
replaceTsWithNgInErrors,
|
|
20
20
|
retagAllTsFiles
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L3PEIUBN.js";
|
|
22
22
|
import {
|
|
23
23
|
absoluteFrom,
|
|
24
24
|
createFileSystemTsReadDirectoryFn,
|