@angular/compiler-cli 19.0.0-rc.0 → 19.0.0-rc.1
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-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
- package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
- package/bundles/{chunk-V2Z4WDVR.js → chunk-AJPANXTD.js} +3 -3
- package/bundles/{chunk-TQQOHNLL.js → chunk-BQXOZNTE.js} +101 -85
- package/bundles/{chunk-TQQOHNLL.js.map → chunk-BQXOZNTE.js.map} +1 -1
- package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
- package/bundles/{chunk-4W4CWRSP.js → chunk-FYHKIXOX.js} +5 -5
- package/bundles/{chunk-S2JI2WY5.js → chunk-HIY6A3BW.js} +190 -157
- package/bundles/chunk-HIY6A3BW.js.map +6 -0
- package/bundles/{chunk-PXQLBKVP.js → chunk-IZRNIUQB.js} +31 -31
- package/bundles/{chunk-TRCFFQ47.js → chunk-KFTXE4DT.js} +52 -49
- package/bundles/chunk-KFTXE4DT.js.map +6 -0
- package/bundles/{chunk-NS33RCEE.js → chunk-LZMAR6SN.js} +12 -12
- package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +4 -4
- package/bundles/private/tooling.js +6 -6
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- 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/metadata/src/api.d.ts +5 -0
- package/src/ngtsc/metadata/src/util.d.ts +5 -2
- package/src/ngtsc/reflection/src/typescript.d.ts +6 -0
- package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +5 -3
- package/bundles/chunk-S2JI2WY5.js.map +0 -6
- package/bundles/chunk-TRCFFQ47.js.map +0 -6
- /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
- /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
- /package/bundles/{chunk-V2Z4WDVR.js.map → chunk-AJPANXTD.js.map} +0 -0
- /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
- /package/bundles/{chunk-4W4CWRSP.js.map → chunk-FYHKIXOX.js.map} +0 -0
- /package/bundles/{chunk-PXQLBKVP.js.map → chunk-IZRNIUQB.js.map} +0 -0
- /package/bundles/{chunk-NS33RCEE.js.map → chunk-LZMAR6SN.js.map} +0 -0
- /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LZMAR6SN.js";
|
|
8
8
|
import {
|
|
9
9
|
CompilationMode,
|
|
10
10
|
ComponentDecoratorHandler,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
retagAllTsFiles,
|
|
52
52
|
tryParseInitializerApi,
|
|
53
53
|
untagAllTsFiles
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-HIY6A3BW.js";
|
|
55
55
|
import {
|
|
56
56
|
AbsoluteModuleStrategy,
|
|
57
57
|
AliasStrategy,
|
|
@@ -88,14 +88,14 @@ import {
|
|
|
88
88
|
relativePathBetween,
|
|
89
89
|
replaceTsWithNgInErrors,
|
|
90
90
|
toUnredirectedSourceFile
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-KFTXE4DT.js";
|
|
92
92
|
import {
|
|
93
93
|
ActivePerfRecorder,
|
|
94
94
|
DelegatingPerfRecorder,
|
|
95
95
|
PerfCheckpoint,
|
|
96
96
|
PerfEvent,
|
|
97
97
|
PerfPhase
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-Q2WE7ECN.js";
|
|
99
99
|
import {
|
|
100
100
|
LogicalFileSystem,
|
|
101
101
|
absoluteFrom,
|
|
@@ -105,9 +105,9 @@ import {
|
|
|
105
105
|
getFileSystem,
|
|
106
106
|
join,
|
|
107
107
|
resolve
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-37JMVF7H.js";
|
|
109
109
|
|
|
110
|
-
// bazel-out/
|
|
110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
111
111
|
var DEFAULT_ERROR_CODE = 100;
|
|
112
112
|
var UNKNOWN_ERROR_CODE = 500;
|
|
113
113
|
var SOURCE = "angular";
|
|
@@ -125,7 +125,7 @@ var EmitFlags;
|
|
|
125
125
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
126
126
|
})(EmitFlags || (EmitFlags = {}));
|
|
127
127
|
|
|
128
|
-
// bazel-out/
|
|
128
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
129
129
|
import ts from "typescript";
|
|
130
130
|
var wrapHostForTest = null;
|
|
131
131
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -135,7 +135,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
135
135
|
return tsHost;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
// bazel-out/
|
|
138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
139
139
|
var EntryType;
|
|
140
140
|
(function(EntryType2) {
|
|
141
141
|
EntryType2["Block"] = "block";
|
|
@@ -182,23 +182,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
182
182
|
return "source" in entry;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
// bazel-out/
|
|
185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
186
186
|
import ts11 from "typescript";
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
189
189
|
import ts5 from "typescript";
|
|
190
190
|
|
|
191
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
192
192
|
function isAngularPrivateName(name) {
|
|
193
193
|
var _a;
|
|
194
194
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
195
195
|
return firstChar === "\u0275" || firstChar === "_";
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
// bazel-out/
|
|
198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
199
199
|
import ts3 from "typescript";
|
|
200
200
|
|
|
201
|
-
// bazel-out/
|
|
201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
202
202
|
function extractGenerics(declaration) {
|
|
203
203
|
var _a, _b;
|
|
204
204
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -211,7 +211,7 @@ function extractGenerics(declaration) {
|
|
|
211
211
|
})) != null ? _b : [];
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
// bazel-out/
|
|
214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
215
215
|
import ts2 from "typescript";
|
|
216
216
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
|
|
217
217
|
function extractJsDocTags(node) {
|
|
@@ -255,12 +255,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
255
255
|
return comment.replace(/_NG_AT_/g, "@");
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
// bazel-out/
|
|
258
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
259
259
|
function extractResolvedTypeString(node, checker) {
|
|
260
260
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
// bazel-out/
|
|
263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
264
264
|
var FunctionExtractor = class {
|
|
265
265
|
name;
|
|
266
266
|
exportDeclaration;
|
|
@@ -351,7 +351,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
351
351
|
return implementation;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
// bazel-out/
|
|
354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
355
355
|
import ts4 from "typescript";
|
|
356
356
|
function isInternal(member) {
|
|
357
357
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -370,7 +370,7 @@ function hasLeadingInternalComment(member) {
|
|
|
370
370
|
)) != null ? _a : false;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
// bazel-out/
|
|
373
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
374
374
|
var ClassExtractor = class {
|
|
375
375
|
declaration;
|
|
376
376
|
typeChecker;
|
|
@@ -675,7 +675,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
675
675
|
return extractor.extract();
|
|
676
676
|
}
|
|
677
677
|
|
|
678
|
-
// bazel-out/
|
|
678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
679
679
|
import ts6 from "typescript";
|
|
680
680
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
681
681
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -733,7 +733,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
735
|
|
|
736
|
-
// bazel-out/
|
|
736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
737
737
|
import ts7 from "typescript";
|
|
738
738
|
function extractorDecorator(declaration, typeChecker) {
|
|
739
739
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -806,7 +806,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
806
806
|
return callSignature;
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
// bazel-out/
|
|
809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
810
810
|
import ts8 from "typescript";
|
|
811
811
|
function extractEnum(declaration, typeChecker) {
|
|
812
812
|
return {
|
|
@@ -837,7 +837,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
837
837
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
838
838
|
}
|
|
839
839
|
|
|
840
|
-
// bazel-out/
|
|
840
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
841
841
|
import ts9 from "typescript";
|
|
842
842
|
var initializerApiTag = "initializerApiFunction";
|
|
843
843
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -946,7 +946,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
|
|
|
946
946
|
};
|
|
947
947
|
}
|
|
948
948
|
|
|
949
|
-
// bazel-out/
|
|
949
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
950
950
|
function extractTypeAlias(declaration) {
|
|
951
951
|
return {
|
|
952
952
|
name: declaration.name.getText(),
|
|
@@ -958,7 +958,7 @@ function extractTypeAlias(declaration) {
|
|
|
958
958
|
};
|
|
959
959
|
}
|
|
960
960
|
|
|
961
|
-
// bazel-out/
|
|
961
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
|
|
962
962
|
import ts10 from "typescript";
|
|
963
963
|
function getImportedSymbols(sourceFile) {
|
|
964
964
|
const importSpecifiers = /* @__PURE__ */ new Map();
|
|
@@ -983,7 +983,7 @@ function getImportedSymbols(sourceFile) {
|
|
|
983
983
|
return importSpecifiers;
|
|
984
984
|
}
|
|
985
985
|
|
|
986
|
-
// bazel-out/
|
|
986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
987
987
|
var DocsExtractor = class {
|
|
988
988
|
typeChecker;
|
|
989
989
|
metadataReader;
|
|
@@ -1071,11 +1071,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
1071
1071
|
return relativePath;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
// bazel-out/
|
|
1074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
1075
1075
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
1076
1076
|
import ts26 from "typescript";
|
|
1077
1077
|
|
|
1078
|
-
// bazel-out/
|
|
1078
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
1079
1079
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
1080
1080
|
import * as path from "path";
|
|
1081
1081
|
function i18nGetExtension(formatName) {
|
|
@@ -1126,10 +1126,10 @@ function getPathNormalizer(basePath) {
|
|
|
1126
1126
|
};
|
|
1127
1127
|
}
|
|
1128
1128
|
|
|
1129
|
-
// bazel-out/
|
|
1129
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1130
1130
|
import ts12 from "typescript";
|
|
1131
1131
|
|
|
1132
|
-
// bazel-out/
|
|
1132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1133
1133
|
function toNumbers(value) {
|
|
1134
1134
|
const suffixIndex = value.lastIndexOf("-");
|
|
1135
1135
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1164,7 +1164,7 @@ function compareVersions(v1, v2) {
|
|
|
1164
1164
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
|
-
// bazel-out/
|
|
1167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1168
1168
|
var MIN_TS_VERSION = "5.5.0";
|
|
1169
1169
|
var MAX_TS_VERSION = "5.7.0";
|
|
1170
1170
|
var tsVersion = ts12.version;
|
|
@@ -1177,11 +1177,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1177
1177
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1178
1178
|
}
|
|
1179
1179
|
|
|
1180
|
-
// bazel-out/
|
|
1180
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1181
1181
|
import { R3Identifiers } from "@angular/compiler";
|
|
1182
1182
|
import ts24 from "typescript";
|
|
1183
1183
|
|
|
1184
|
-
// bazel-out/
|
|
1184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1185
1185
|
var CycleAnalyzer = class {
|
|
1186
1186
|
importGraph;
|
|
1187
1187
|
cachedResults = null;
|
|
@@ -1258,7 +1258,7 @@ var Cycle = class {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
};
|
|
1260
1260
|
|
|
1261
|
-
// bazel-out/
|
|
1261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1262
1262
|
import ts13 from "typescript";
|
|
1263
1263
|
var ImportGraph = class {
|
|
1264
1264
|
checker;
|
|
@@ -1354,7 +1354,7 @@ var Found = class {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
};
|
|
1356
1356
|
|
|
1357
|
-
// bazel-out/
|
|
1357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1358
1358
|
import ts14 from "typescript";
|
|
1359
1359
|
var FlatIndexGenerator = class {
|
|
1360
1360
|
entryPoint;
|
|
@@ -1382,7 +1382,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1382
1382
|
}
|
|
1383
1383
|
};
|
|
1384
1384
|
|
|
1385
|
-
// bazel-out/
|
|
1385
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1386
1386
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1387
1387
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1388
1388
|
let resolvedEntryPoint = null;
|
|
@@ -1398,7 +1398,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1398
1398
|
return resolvedEntryPoint;
|
|
1399
1399
|
}
|
|
1400
1400
|
|
|
1401
|
-
// bazel-out/
|
|
1401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1402
1402
|
import ts15 from "typescript";
|
|
1403
1403
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1404
1404
|
const diagnostics = [];
|
|
@@ -1478,7 +1478,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
|
-
// bazel-out/
|
|
1481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1482
1482
|
var ReferenceGraph = class {
|
|
1483
1483
|
references = /* @__PURE__ */ new Map();
|
|
1484
1484
|
add(from, to) {
|
|
@@ -1530,7 +1530,7 @@ var ReferenceGraph = class {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
};
|
|
1532
1532
|
|
|
1533
|
-
// bazel-out/
|
|
1533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1534
1534
|
var FileDependencyGraph = class {
|
|
1535
1535
|
nodes = /* @__PURE__ */ new Map();
|
|
1536
1536
|
addDependency(from, on) {
|
|
@@ -1595,7 +1595,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1595
1595
|
return false;
|
|
1596
1596
|
}
|
|
1597
1597
|
|
|
1598
|
-
// bazel-out/
|
|
1598
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1599
1599
|
var IncrementalStateKind;
|
|
1600
1600
|
(function(IncrementalStateKind2) {
|
|
1601
1601
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1603,7 +1603,7 @@ var IncrementalStateKind;
|
|
|
1603
1603
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1604
1604
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1605
1605
|
|
|
1606
|
-
// bazel-out/
|
|
1606
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1607
1607
|
var PhaseKind;
|
|
1608
1608
|
(function(PhaseKind2) {
|
|
1609
1609
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1809,7 +1809,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1809
1809
|
}
|
|
1810
1810
|
}
|
|
1811
1811
|
|
|
1812
|
-
// bazel-out/
|
|
1812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1813
1813
|
var TrackedIncrementalBuildStrategy = class {
|
|
1814
1814
|
state = null;
|
|
1815
1815
|
isSet = false;
|
|
@@ -1843,7 +1843,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1843
1843
|
};
|
|
1844
1844
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1845
1845
|
|
|
1846
|
-
// bazel-out/
|
|
1846
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1847
1847
|
var IdentifierKind;
|
|
1848
1848
|
(function(IdentifierKind2) {
|
|
1849
1849
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1864,7 +1864,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
};
|
|
1866
1866
|
|
|
1867
|
-
// bazel-out/
|
|
1867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1868
1868
|
var IndexingContext = class {
|
|
1869
1869
|
components = /* @__PURE__ */ new Set();
|
|
1870
1870
|
addComponent(info) {
|
|
@@ -1872,10 +1872,10 @@ var IndexingContext = class {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
};
|
|
1874
1874
|
|
|
1875
|
-
// bazel-out/
|
|
1875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1876
1876
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1877
1877
|
|
|
1878
|
-
// bazel-out/
|
|
1878
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1879
1879
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1880
1880
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1881
1881
|
expressionStr;
|
|
@@ -2175,7 +2175,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2175
2175
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2176
2176
|
}
|
|
2177
2177
|
|
|
2178
|
-
// bazel-out/
|
|
2178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2179
2179
|
function generateAnalysis(context) {
|
|
2180
2180
|
const analysis = /* @__PURE__ */ new Map();
|
|
2181
2181
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2211,7 +2211,7 @@ function generateAnalysis(context) {
|
|
|
2211
2211
|
return analysis;
|
|
2212
2212
|
}
|
|
2213
2213
|
|
|
2214
|
-
// bazel-out/
|
|
2214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2215
2215
|
var NgModuleIndexImpl = class {
|
|
2216
2216
|
metaReader;
|
|
2217
2217
|
localReader;
|
|
@@ -2302,7 +2302,7 @@ var NgModuleIndexImpl = class {
|
|
|
2302
2302
|
}
|
|
2303
2303
|
};
|
|
2304
2304
|
|
|
2305
|
-
// bazel-out/
|
|
2305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2306
2306
|
import ts16 from "typescript";
|
|
2307
2307
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2308
2308
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2460,7 +2460,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2460
2460
|
};
|
|
2461
2461
|
}
|
|
2462
2462
|
|
|
2463
|
-
// bazel-out/
|
|
2463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2464
2464
|
var StandaloneComponentScopeReader = class {
|
|
2465
2465
|
metaReader;
|
|
2466
2466
|
localModuleReader;
|
|
@@ -2559,10 +2559,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2559
2559
|
}
|
|
2560
2560
|
};
|
|
2561
2561
|
|
|
2562
|
-
// bazel-out/
|
|
2562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2563
2563
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2564
2564
|
|
|
2565
|
-
// bazel-out/
|
|
2565
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2566
2566
|
import ts17 from "typescript";
|
|
2567
2567
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2568
2568
|
"WritableSignal",
|
|
@@ -2582,7 +2582,7 @@ function isSignalSymbol(symbol) {
|
|
|
2582
2582
|
});
|
|
2583
2583
|
}
|
|
2584
2584
|
|
|
2585
|
-
// bazel-out/
|
|
2585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2586
2586
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2587
2587
|
var TemplateCheckWithVisitor = class {
|
|
2588
2588
|
canVisitStructuralAttributes = true;
|
|
@@ -2719,7 +2719,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2719
2719
|
}
|
|
2720
2720
|
};
|
|
2721
2721
|
|
|
2722
|
-
// bazel-out/
|
|
2722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2723
2723
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2724
2724
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2725
2725
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2768,7 +2768,7 @@ var factory = {
|
|
|
2768
2768
|
create: () => new InterpolatedSignalCheck()
|
|
2769
2769
|
};
|
|
2770
2770
|
|
|
2771
|
-
// bazel-out/
|
|
2771
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2772
2772
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2773
2773
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2774
2774
|
code = ErrorCode.INVALID_BANANA_IN_BOX;
|
|
@@ -2791,7 +2791,7 @@ var factory2 = {
|
|
|
2791
2791
|
create: () => new InvalidBananaInBoxCheck()
|
|
2792
2792
|
};
|
|
2793
2793
|
|
|
2794
|
-
// bazel-out/
|
|
2794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2795
2795
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2796
2796
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2797
2797
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2833,7 +2833,7 @@ var factory3 = {
|
|
|
2833
2833
|
}
|
|
2834
2834
|
};
|
|
2835
2835
|
|
|
2836
|
-
// bazel-out/
|
|
2836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2837
2837
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2838
2838
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2839
2839
|
code = ErrorCode.MISSING_NGFOROF_LET;
|
|
@@ -2863,7 +2863,7 @@ var factory4 = {
|
|
|
2863
2863
|
create: () => new MissingNgForOfLetCheck()
|
|
2864
2864
|
};
|
|
2865
2865
|
|
|
2866
|
-
// bazel-out/
|
|
2866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2867
2867
|
import { Binary } from "@angular/compiler";
|
|
2868
2868
|
import ts18 from "typescript";
|
|
2869
2869
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2906,7 +2906,7 @@ var factory5 = {
|
|
|
2906
2906
|
}
|
|
2907
2907
|
};
|
|
2908
2908
|
|
|
2909
|
-
// bazel-out/
|
|
2909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2910
2910
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2911
2911
|
import ts19 from "typescript";
|
|
2912
2912
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2950,7 +2950,7 @@ var factory6 = {
|
|
|
2950
2950
|
}
|
|
2951
2951
|
};
|
|
2952
2952
|
|
|
2953
|
-
// bazel-out/
|
|
2953
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
2954
2954
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
|
|
2955
2955
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
2956
2956
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2971,7 +2971,7 @@ var factory7 = {
|
|
|
2971
2971
|
create: () => new SuffixNotSupportedCheck()
|
|
2972
2972
|
};
|
|
2973
2973
|
|
|
2974
|
-
// bazel-out/
|
|
2974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
2975
2975
|
import { TmplAstTextAttribute } from "@angular/compiler";
|
|
2976
2976
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2977
2977
|
code = ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING;
|
|
@@ -3007,7 +3007,7 @@ var factory8 = {
|
|
|
3007
3007
|
create: () => new TextAttributeNotBindingSpec()
|
|
3008
3008
|
};
|
|
3009
3009
|
|
|
3010
|
-
// bazel-out/
|
|
3010
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
3011
3011
|
import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
3012
3012
|
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
3013
3013
|
code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
|
|
@@ -3056,7 +3056,7 @@ var factory9 = {
|
|
|
3056
3056
|
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
3057
3057
|
};
|
|
3058
3058
|
|
|
3059
|
-
// bazel-out/
|
|
3059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
|
|
3060
3060
|
import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
|
|
3061
3061
|
var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
|
|
3062
3062
|
code = ErrorCode.UNUSED_LET_DECLARATION;
|
|
@@ -3098,10 +3098,10 @@ var factory10 = {
|
|
|
3098
3098
|
create: () => new UnusedLetDeclarationCheck()
|
|
3099
3099
|
};
|
|
3100
3100
|
|
|
3101
|
-
// bazel-out/
|
|
3101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3102
3102
|
import ts20 from "typescript";
|
|
3103
3103
|
|
|
3104
|
-
// bazel-out/
|
|
3104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
3105
3105
|
var DiagnosticCategoryLabel;
|
|
3106
3106
|
(function(DiagnosticCategoryLabel2) {
|
|
3107
3107
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -3109,7 +3109,7 @@ var DiagnosticCategoryLabel;
|
|
|
3109
3109
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
3110
3110
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
3111
3111
|
|
|
3112
|
-
// bazel-out/
|
|
3112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3113
3113
|
var ExtendedTemplateCheckerImpl = class {
|
|
3114
3114
|
partialCtx;
|
|
3115
3115
|
templateChecks;
|
|
@@ -3164,7 +3164,7 @@ function assertNever(value) {
|
|
|
3164
3164
|
${value}`);
|
|
3165
3165
|
}
|
|
3166
3166
|
|
|
3167
|
-
// bazel-out/
|
|
3167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
3168
3168
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
3169
3169
|
factory2,
|
|
3170
3170
|
factory5,
|
|
@@ -3183,7 +3183,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
3183
3183
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory11) => factory11.name)
|
|
3184
3184
|
]);
|
|
3185
3185
|
|
|
3186
|
-
// bazel-out/
|
|
3186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
3187
3187
|
import { ASTWithSource as ASTWithSource6, ImplicitReceiver as ImplicitReceiver2, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
3188
3188
|
import ts21 from "typescript";
|
|
3189
3189
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -3279,7 +3279,7 @@ function unwrapAstWithSource(ast) {
|
|
|
3279
3279
|
return ast instanceof ASTWithSource6 ? ast.ast : ast;
|
|
3280
3280
|
}
|
|
3281
3281
|
|
|
3282
|
-
// bazel-out/
|
|
3282
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3283
3283
|
import ts22 from "typescript";
|
|
3284
3284
|
var APIS_TO_CHECK = [
|
|
3285
3285
|
INPUT_INITIALIZER_FN,
|
|
@@ -3332,7 +3332,7 @@ var InitializerApiUsageRule = class {
|
|
|
3332
3332
|
}
|
|
3333
3333
|
};
|
|
3334
3334
|
|
|
3335
|
-
// bazel-out/
|
|
3335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
|
|
3336
3336
|
import ts23 from "typescript";
|
|
3337
3337
|
var UnusedStandaloneImportsRule = class {
|
|
3338
3338
|
templateTypeChecker;
|
|
@@ -3365,9 +3365,14 @@ var UnusedStandaloneImportsRule = class {
|
|
|
3365
3365
|
}
|
|
3366
3366
|
const category = this.typeCheckingConfig.unusedStandaloneImports === "error" ? ts23.DiagnosticCategory.Error : ts23.DiagnosticCategory.Warning;
|
|
3367
3367
|
if (unused.length === metadata.imports.length) {
|
|
3368
|
-
return makeDiagnostic(ErrorCode.UNUSED_STANDALONE_IMPORTS, metadata.rawImports, "All imports are unused", void 0, category);
|
|
3368
|
+
return makeDiagnostic(ErrorCode.UNUSED_STANDALONE_IMPORTS, this.getDiagnosticNode(metadata.rawImports), "All imports are unused", void 0, category);
|
|
3369
3369
|
}
|
|
3370
|
-
return makeDiagnostic(ErrorCode.UNUSED_STANDALONE_IMPORTS, metadata.rawImports, "Imports array contains unused imports", unused.map((
|
|
3370
|
+
return makeDiagnostic(ErrorCode.UNUSED_STANDALONE_IMPORTS, this.getDiagnosticNode(metadata.rawImports), "Imports array contains unused imports", unused.map((ref) => {
|
|
3371
|
+
return makeRelatedInformation(
|
|
3372
|
+
ref.getOriginForDiagnostics(metadata.rawImports, ref.node.name),
|
|
3373
|
+
""
|
|
3374
|
+
);
|
|
3375
|
+
}), category);
|
|
3371
3376
|
}
|
|
3372
3377
|
getUnusedSymbols(metadata, usedDirectives, usedPipes) {
|
|
3373
3378
|
const { imports, rawImports } = metadata;
|
|
@@ -3381,14 +3386,14 @@ var UnusedStandaloneImportsRule = class {
|
|
|
3381
3386
|
if (dirMeta !== null) {
|
|
3382
3387
|
if (dirMeta.isStandalone && !usedDirectives.has(currentNode) && !this.isPotentialSharedReference(current, rawImports)) {
|
|
3383
3388
|
unused != null ? unused : unused = [];
|
|
3384
|
-
unused.push(
|
|
3389
|
+
unused.push(current);
|
|
3385
3390
|
}
|
|
3386
3391
|
continue;
|
|
3387
3392
|
}
|
|
3388
3393
|
const pipeMeta = this.templateTypeChecker.getPipeMetadata(currentNode);
|
|
3389
3394
|
if (pipeMeta !== null && pipeMeta.isStandalone && !usedPipes.has(pipeMeta.name) && !this.isPotentialSharedReference(current, rawImports)) {
|
|
3390
3395
|
unused != null ? unused : unused = [];
|
|
3391
|
-
unused.push(
|
|
3396
|
+
unused.push(current);
|
|
3392
3397
|
}
|
|
3393
3398
|
}
|
|
3394
3399
|
return unused;
|
|
@@ -3407,12 +3412,23 @@ var UnusedStandaloneImportsRule = class {
|
|
|
3407
3412
|
}
|
|
3408
3413
|
return true;
|
|
3409
3414
|
}
|
|
3415
|
+
getDiagnosticNode(importsExpression) {
|
|
3416
|
+
let current = importsExpression.parent;
|
|
3417
|
+
while (current) {
|
|
3418
|
+
if (ts23.isPropertyAssignment(current)) {
|
|
3419
|
+
return current.name;
|
|
3420
|
+
} else {
|
|
3421
|
+
current = current.parent;
|
|
3422
|
+
}
|
|
3423
|
+
}
|
|
3424
|
+
return importsExpression;
|
|
3425
|
+
}
|
|
3410
3426
|
};
|
|
3411
3427
|
|
|
3412
|
-
// bazel-out/
|
|
3428
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
|
|
3413
3429
|
var UNUSED_STANDALONE_IMPORTS_RULE_ENABLED = true;
|
|
3414
3430
|
|
|
3415
|
-
// bazel-out/
|
|
3431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3416
3432
|
var SourceFileValidator = class {
|
|
3417
3433
|
rules;
|
|
3418
3434
|
constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
|
|
@@ -3454,7 +3470,7 @@ var SourceFileValidator = class {
|
|
|
3454
3470
|
}
|
|
3455
3471
|
};
|
|
3456
3472
|
|
|
3457
|
-
// bazel-out/
|
|
3473
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
3458
3474
|
function coreHasSymbol(program, symbol) {
|
|
3459
3475
|
const checker = program.getTypeChecker();
|
|
3460
3476
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -3473,7 +3489,7 @@ function isMaybeCore(sf) {
|
|
|
3473
3489
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
3474
3490
|
}
|
|
3475
3491
|
|
|
3476
|
-
// bazel-out/
|
|
3492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3477
3493
|
import semver from "semver";
|
|
3478
3494
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3479
3495
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3482,7 +3498,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3482
3498
|
return semver.satisfies(coreVersion, minVersion);
|
|
3483
3499
|
}
|
|
3484
3500
|
|
|
3485
|
-
// bazel-out/
|
|
3501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3486
3502
|
var CompilationTicketKind;
|
|
3487
3503
|
(function(CompilationTicketKind2) {
|
|
3488
3504
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -4359,7 +4375,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
4359
4375
|
return versions;
|
|
4360
4376
|
}
|
|
4361
4377
|
|
|
4362
|
-
// bazel-out/
|
|
4378
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
4363
4379
|
import ts25 from "typescript";
|
|
4364
4380
|
var DelegatingCompilerHost = class {
|
|
4365
4381
|
delegate;
|
|
@@ -4533,7 +4549,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4533
4549
|
}
|
|
4534
4550
|
};
|
|
4535
4551
|
|
|
4536
|
-
// bazel-out/
|
|
4552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4537
4553
|
var NgtscProgram = class {
|
|
4538
4554
|
options;
|
|
4539
4555
|
compiler;
|
|
@@ -4764,15 +4780,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4764
4780
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4765
4781
|
}
|
|
4766
4782
|
|
|
4767
|
-
// bazel-out/
|
|
4783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4768
4784
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4769
4785
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4770
4786
|
}
|
|
4771
4787
|
|
|
4772
|
-
// bazel-out/
|
|
4788
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4773
4789
|
import ts28 from "typescript";
|
|
4774
4790
|
|
|
4775
|
-
// bazel-out/
|
|
4791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4776
4792
|
import ts27 from "typescript";
|
|
4777
4793
|
function createMessageDiagnostic(messageText) {
|
|
4778
4794
|
return {
|
|
@@ -4786,7 +4802,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4786
4802
|
};
|
|
4787
4803
|
}
|
|
4788
4804
|
|
|
4789
|
-
// bazel-out/
|
|
4805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4790
4806
|
var defaultFormatHost = {
|
|
4791
4807
|
getCurrentDirectory: () => ts28.sys.getCurrentDirectory(),
|
|
4792
4808
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -5017,4 +5033,4 @@ export {
|
|
|
5017
5033
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5018
5034
|
* found in the LICENSE file at https://angular.dev/license
|
|
5019
5035
|
*/
|
|
5020
|
-
//# sourceMappingURL=chunk-
|
|
5036
|
+
//# sourceMappingURL=chunk-BQXOZNTE.js.map
|