@angular/compiler-cli 18.0.0-next.5 → 18.0.0-next.6
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-WCD6LVCP.js → chunk-2WQIUGOU.js} +7 -7
- package/bundles/{chunk-IEQXFDXI.js → chunk-5YGSPVK5.js} +31 -31
- package/bundles/{chunk-R4KQI5XI.js → chunk-64JBPJBS.js} +5 -5
- package/bundles/{chunk-QT2OXMUI.js → chunk-A2LVDCHW.js} +78 -78
- package/bundles/{chunk-DZJYWOMD.js → chunk-CU5WWBVV.js} +13 -13
- package/bundles/{chunk-GWZTRBUN.js → chunk-HE4PX3Z3.js} +43 -43
- package/bundles/{chunk-AO7Q5KNS.js → chunk-JJY5IERQ.js} +128 -121
- package/bundles/chunk-JJY5IERQ.js.map +6 -0
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-QFI3O2MX.js → chunk-QWOTSGRF.js} +5 -5
- package/bundles/{chunk-75YFKYUJ.js → chunk-UM6JO3VZ.js} +7 -7
- package/bundles/{chunk-YUMIYLNL.js → chunk-XIYC7KSQ.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 +5 -5
- package/bundles/private/tooling.js +5 -5
- 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 +2 -2
- package/src/ngtsc/typecheck/api/api.d.ts +4 -0
- package/bundles/chunk-AO7Q5KNS.js.map +0 -6
- /package/bundles/{chunk-WCD6LVCP.js.map → chunk-2WQIUGOU.js.map} +0 -0
- /package/bundles/{chunk-IEQXFDXI.js.map → chunk-5YGSPVK5.js.map} +0 -0
- /package/bundles/{chunk-R4KQI5XI.js.map → chunk-64JBPJBS.js.map} +0 -0
- /package/bundles/{chunk-QT2OXMUI.js.map → chunk-A2LVDCHW.js.map} +0 -0
- /package/bundles/{chunk-DZJYWOMD.js.map → chunk-CU5WWBVV.js.map} +0 -0
- /package/bundles/{chunk-GWZTRBUN.js.map → chunk-HE4PX3Z3.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-QFI3O2MX.js.map → chunk-QWOTSGRF.js.map} +0 -0
- /package/bundles/{chunk-75YFKYUJ.js.map → chunk-UM6JO3VZ.js.map} +0 -0
- /package/bundles/{chunk-YUMIYLNL.js.map → chunk-XIYC7KSQ.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PotentialImportKind,
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
SymbolKind
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XIYC7KSQ.js";
|
|
12
12
|
import {
|
|
13
13
|
CompilationMode,
|
|
14
14
|
ComponentDecoratorHandler,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
isHostDirectiveMetaForGlobalMode,
|
|
45
45
|
ivyTransformFactory,
|
|
46
46
|
tryParseInitializerApi
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-A2LVDCHW.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsoluteModuleStrategy,
|
|
50
50
|
AliasStrategy,
|
|
@@ -94,14 +94,14 @@ import {
|
|
|
94
94
|
toUnredirectedSourceFile,
|
|
95
95
|
translateExpression,
|
|
96
96
|
translateType
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-HE4PX3Z3.js";
|
|
98
98
|
import {
|
|
99
99
|
ActivePerfRecorder,
|
|
100
100
|
DelegatingPerfRecorder,
|
|
101
101
|
PerfCheckpoint,
|
|
102
102
|
PerfEvent,
|
|
103
103
|
PerfPhase
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-64JBPJBS.js";
|
|
105
105
|
import {
|
|
106
106
|
LogicalFileSystem,
|
|
107
107
|
absoluteFrom,
|
|
@@ -111,9 +111,9 @@ import {
|
|
|
111
111
|
getSourceFileOrError,
|
|
112
112
|
join,
|
|
113
113
|
resolve
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-UM6JO3VZ.js";
|
|
115
115
|
|
|
116
|
-
// bazel-out/
|
|
116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
117
117
|
var DEFAULT_ERROR_CODE = 100;
|
|
118
118
|
var UNKNOWN_ERROR_CODE = 500;
|
|
119
119
|
var SOURCE = "angular";
|
|
@@ -131,7 +131,7 @@ var EmitFlags;
|
|
|
131
131
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
132
132
|
})(EmitFlags || (EmitFlags = {}));
|
|
133
133
|
|
|
134
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
135
135
|
import ts from "typescript";
|
|
136
136
|
var wrapHostForTest = null;
|
|
137
137
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -141,7 +141,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
141
141
|
return tsHost;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
// bazel-out/
|
|
144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
145
145
|
var EntryType;
|
|
146
146
|
(function(EntryType2) {
|
|
147
147
|
EntryType2["Block"] = "block";
|
|
@@ -188,23 +188,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
188
188
|
return "source" in entry;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
192
192
|
import ts10 from "typescript";
|
|
193
193
|
|
|
194
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
195
195
|
import ts5 from "typescript";
|
|
196
196
|
|
|
197
|
-
// bazel-out/
|
|
197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
198
198
|
function isAngularPrivateName(name) {
|
|
199
199
|
var _a;
|
|
200
200
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
201
201
|
return firstChar === "\u0275" || firstChar === "_";
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
// bazel-out/
|
|
204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
205
205
|
import ts3 from "typescript";
|
|
206
206
|
|
|
207
|
-
// bazel-out/
|
|
207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
208
208
|
function extractGenerics(declaration) {
|
|
209
209
|
var _a, _b;
|
|
210
210
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -217,7 +217,7 @@ function extractGenerics(declaration) {
|
|
|
217
217
|
})) != null ? _b : [];
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
// bazel-out/
|
|
220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
221
221
|
import ts2 from "typescript";
|
|
222
222
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
223
223
|
function extractJsDocTags(node) {
|
|
@@ -261,12 +261,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
261
261
|
return comment.replace(/_NG_AT_/g, "@");
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
265
265
|
function extractResolvedTypeString(node, checker) {
|
|
266
266
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
270
270
|
var FunctionExtractor = class {
|
|
271
271
|
constructor(name, declaration, typeChecker) {
|
|
272
272
|
this.name = name;
|
|
@@ -322,7 +322,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
322
322
|
}));
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
// bazel-out/
|
|
325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
326
326
|
import ts4 from "typescript";
|
|
327
327
|
function isInternal(member) {
|
|
328
328
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -341,7 +341,7 @@ function hasLeadingInternalComment(member) {
|
|
|
341
341
|
)) != null ? _a : false;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
// bazel-out/
|
|
344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
345
345
|
var ClassExtractor = class {
|
|
346
346
|
constructor(declaration, typeChecker) {
|
|
347
347
|
this.declaration = declaration;
|
|
@@ -599,7 +599,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
599
599
|
return extractor.extract();
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
// bazel-out/
|
|
602
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
603
603
|
import ts6 from "typescript";
|
|
604
604
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
605
605
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -657,7 +657,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
661
661
|
import ts7 from "typescript";
|
|
662
662
|
function extractorDecorator(declaration, typeChecker) {
|
|
663
663
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -730,7 +730,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
730
730
|
return callSignature;
|
|
731
731
|
}
|
|
732
732
|
|
|
733
|
-
// bazel-out/
|
|
733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
734
734
|
import ts8 from "typescript";
|
|
735
735
|
function extractEnum(declaration, typeChecker) {
|
|
736
736
|
return {
|
|
@@ -761,7 +761,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
761
761
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
762
762
|
}
|
|
763
763
|
|
|
764
|
-
// bazel-out/
|
|
764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
765
765
|
import ts9 from "typescript";
|
|
766
766
|
var initializerApiTag = "initializerApiFunction";
|
|
767
767
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -898,7 +898,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
898
898
|
return (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts9.isFunctionDeclaration(s) && s.body !== void 0);
|
|
899
899
|
}
|
|
900
900
|
|
|
901
|
-
// bazel-out/
|
|
901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
902
902
|
function extractTypeAlias(declaration) {
|
|
903
903
|
return {
|
|
904
904
|
name: declaration.name.getText(),
|
|
@@ -910,7 +910,7 @@ function extractTypeAlias(declaration) {
|
|
|
910
910
|
};
|
|
911
911
|
}
|
|
912
912
|
|
|
913
|
-
// bazel-out/
|
|
913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
914
914
|
var DocsExtractor = class {
|
|
915
915
|
constructor(typeChecker, metadataReader) {
|
|
916
916
|
this.typeChecker = typeChecker;
|
|
@@ -928,8 +928,8 @@ var DocsExtractor = class {
|
|
|
928
928
|
const realSourceFile = node.getSourceFile();
|
|
929
929
|
entry.source = {
|
|
930
930
|
filePath: getRelativeFilePath(realSourceFile, rootDir),
|
|
931
|
-
startLine: ts10.getLineAndCharacterOfPosition(realSourceFile, node.
|
|
932
|
-
endLine: ts10.getLineAndCharacterOfPosition(realSourceFile, node.getEnd()).line
|
|
931
|
+
startLine: ts10.getLineAndCharacterOfPosition(realSourceFile, node.getStart()).line + 1,
|
|
932
|
+
endLine: ts10.getLineAndCharacterOfPosition(realSourceFile, node.getEnd()).line + 1
|
|
933
933
|
};
|
|
934
934
|
entries.push({ ...entry, name: exportName });
|
|
935
935
|
}
|
|
@@ -994,11 +994,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
994
994
|
return relativePath;
|
|
995
995
|
}
|
|
996
996
|
|
|
997
|
-
// bazel-out/
|
|
997
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
998
998
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
999
999
|
import ts43 from "typescript";
|
|
1000
1000
|
|
|
1001
|
-
// bazel-out/
|
|
1001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
1002
1002
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
1003
1003
|
import * as path from "path";
|
|
1004
1004
|
function i18nGetExtension(formatName) {
|
|
@@ -1049,10 +1049,10 @@ function getPathNormalizer(basePath) {
|
|
|
1049
1049
|
};
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
// bazel-out/
|
|
1052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1053
1053
|
import ts11 from "typescript";
|
|
1054
1054
|
|
|
1055
|
-
// bazel-out/
|
|
1055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1056
1056
|
function toNumbers(value) {
|
|
1057
1057
|
const suffixIndex = value.lastIndexOf("-");
|
|
1058
1058
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1087,7 +1087,7 @@ function compareVersions(v1, v2) {
|
|
|
1087
1087
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
|
-
// bazel-out/
|
|
1090
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1091
1091
|
var MIN_TS_VERSION = "5.4.0";
|
|
1092
1092
|
var MAX_TS_VERSION = "5.5.0";
|
|
1093
1093
|
var tsVersion = ts11.version;
|
|
@@ -1100,11 +1100,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1100
1100
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
|
-
// bazel-out/
|
|
1103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1104
1104
|
import { R3Identifiers as R3Identifiers5 } from "@angular/compiler";
|
|
1105
1105
|
import ts41 from "typescript";
|
|
1106
1106
|
|
|
1107
|
-
// bazel-out/
|
|
1107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1108
1108
|
var CycleAnalyzer = class {
|
|
1109
1109
|
constructor(importGraph) {
|
|
1110
1110
|
this.importGraph = importGraph;
|
|
@@ -1175,7 +1175,7 @@ var Cycle = class {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
1177
|
|
|
1178
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1179
1179
|
import ts12 from "typescript";
|
|
1180
1180
|
var ImportGraph = class {
|
|
1181
1181
|
constructor(checker, perf) {
|
|
@@ -1267,7 +1267,7 @@ var Found = class {
|
|
|
1267
1267
|
}
|
|
1268
1268
|
};
|
|
1269
1269
|
|
|
1270
|
-
// bazel-out/
|
|
1270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1271
1271
|
import ts13 from "typescript";
|
|
1272
1272
|
var FlatIndexGenerator = class {
|
|
1273
1273
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1292,7 +1292,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1292
1292
|
}
|
|
1293
1293
|
};
|
|
1294
1294
|
|
|
1295
|
-
// bazel-out/
|
|
1295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1296
1296
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1297
1297
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1298
1298
|
let resolvedEntryPoint = null;
|
|
@@ -1308,7 +1308,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1308
1308
|
return resolvedEntryPoint;
|
|
1309
1309
|
}
|
|
1310
1310
|
|
|
1311
|
-
// bazel-out/
|
|
1311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1312
1312
|
import ts14 from "typescript";
|
|
1313
1313
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1314
1314
|
const diagnostics = [];
|
|
@@ -1388,7 +1388,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
1390
1390
|
|
|
1391
|
-
// bazel-out/
|
|
1391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1392
1392
|
var ReferenceGraph = class {
|
|
1393
1393
|
constructor() {
|
|
1394
1394
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1442,7 +1442,7 @@ var ReferenceGraph = class {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
};
|
|
1444
1444
|
|
|
1445
|
-
// bazel-out/
|
|
1445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1446
1446
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1447
1447
|
var UpdateMode;
|
|
1448
1448
|
(function(UpdateMode2) {
|
|
@@ -1450,13 +1450,13 @@ var UpdateMode;
|
|
|
1450
1450
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1451
1451
|
})(UpdateMode || (UpdateMode = {}));
|
|
1452
1452
|
|
|
1453
|
-
// bazel-out/
|
|
1453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1454
1454
|
import ts16 from "typescript";
|
|
1455
1455
|
|
|
1456
|
-
// bazel-out/
|
|
1456
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1457
1457
|
import ts15 from "typescript";
|
|
1458
1458
|
|
|
1459
|
-
// bazel-out/
|
|
1459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1460
1460
|
var NgExtension = Symbol("NgExtension");
|
|
1461
1461
|
function isExtended(sf) {
|
|
1462
1462
|
return sf[NgExtension] !== void 0;
|
|
@@ -1516,13 +1516,13 @@ function retagTsFile(sf) {
|
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
1518
|
|
|
1519
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1520
1520
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1521
1521
|
function makeShimFileName(fileName, suffix) {
|
|
1522
1522
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1523
1523
|
}
|
|
1524
1524
|
|
|
1525
|
-
// bazel-out/
|
|
1525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1526
1526
|
var ShimAdapter = class {
|
|
1527
1527
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1528
1528
|
this.delegate = delegate;
|
|
@@ -1617,7 +1617,7 @@ var ShimAdapter = class {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
};
|
|
1619
1619
|
|
|
1620
|
-
// bazel-out/
|
|
1620
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1621
1621
|
var ShimReferenceTagger = class {
|
|
1622
1622
|
constructor(shimExtensions) {
|
|
1623
1623
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1651,7 +1651,7 @@ var ShimReferenceTagger = class {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
};
|
|
1653
1653
|
|
|
1654
|
-
// bazel-out/
|
|
1654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1655
1655
|
var DelegatingCompilerHost = class {
|
|
1656
1656
|
get jsDocParsingMode() {
|
|
1657
1657
|
return this.delegate.jsDocParsingMode;
|
|
@@ -1770,7 +1770,7 @@ var TsCreateProgramDriver = class {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
};
|
|
1772
1772
|
|
|
1773
|
-
// bazel-out/
|
|
1773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1774
1774
|
var FileDependencyGraph = class {
|
|
1775
1775
|
constructor() {
|
|
1776
1776
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1837,7 +1837,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1837
1837
|
return false;
|
|
1838
1838
|
}
|
|
1839
1839
|
|
|
1840
|
-
// bazel-out/
|
|
1840
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1841
1841
|
var IncrementalStateKind;
|
|
1842
1842
|
(function(IncrementalStateKind2) {
|
|
1843
1843
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1845,7 +1845,7 @@ var IncrementalStateKind;
|
|
|
1845
1845
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1846
1846
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1847
1847
|
|
|
1848
|
-
// bazel-out/
|
|
1848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1849
1849
|
var PhaseKind;
|
|
1850
1850
|
(function(PhaseKind2) {
|
|
1851
1851
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -2046,7 +2046,7 @@ function toOriginalSourceFile(sf) {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
}
|
|
2048
2048
|
|
|
2049
|
-
// bazel-out/
|
|
2049
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
2050
2050
|
var TrackedIncrementalBuildStrategy = class {
|
|
2051
2051
|
constructor() {
|
|
2052
2052
|
this.state = null;
|
|
@@ -2082,7 +2082,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
2082
2082
|
};
|
|
2083
2083
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
2084
2084
|
|
|
2085
|
-
// bazel-out/
|
|
2085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
2086
2086
|
var IdentifierKind;
|
|
2087
2087
|
(function(IdentifierKind2) {
|
|
2088
2088
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -2100,7 +2100,7 @@ var AbsoluteSourceSpan = class {
|
|
|
2100
2100
|
}
|
|
2101
2101
|
};
|
|
2102
2102
|
|
|
2103
|
-
// bazel-out/
|
|
2103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
2104
2104
|
var IndexingContext = class {
|
|
2105
2105
|
constructor() {
|
|
2106
2106
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -2110,10 +2110,10 @@ var IndexingContext = class {
|
|
|
2110
2110
|
}
|
|
2111
2111
|
};
|
|
2112
2112
|
|
|
2113
|
-
// bazel-out/
|
|
2113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2114
2114
|
import { ParseSourceFile } from "@angular/compiler";
|
|
2115
2115
|
|
|
2116
|
-
// bazel-out/
|
|
2116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
2117
2117
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
2118
2118
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
2119
2119
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2395,7 +2395,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2395
2395
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2396
2396
|
}
|
|
2397
2397
|
|
|
2398
|
-
// bazel-out/
|
|
2398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2399
2399
|
function generateAnalysis(context) {
|
|
2400
2400
|
const analysis = /* @__PURE__ */ new Map();
|
|
2401
2401
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2431,7 +2431,7 @@ function generateAnalysis(context) {
|
|
|
2431
2431
|
return analysis;
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
2434
|
-
// bazel-out/
|
|
2434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2435
2435
|
var NgModuleIndexImpl = class {
|
|
2436
2436
|
constructor(metaReader, localReader) {
|
|
2437
2437
|
this.metaReader = metaReader;
|
|
@@ -2520,7 +2520,7 @@ var NgModuleIndexImpl = class {
|
|
|
2520
2520
|
}
|
|
2521
2521
|
};
|
|
2522
2522
|
|
|
2523
|
-
// bazel-out/
|
|
2523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2524
2524
|
import ts17 from "typescript";
|
|
2525
2525
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2526
2526
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2666,7 +2666,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2666
2666
|
};
|
|
2667
2667
|
}
|
|
2668
2668
|
|
|
2669
|
-
// bazel-out/
|
|
2669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2670
2670
|
var StandaloneComponentScopeReader = class {
|
|
2671
2671
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2672
2672
|
this.metaReader = metaReader;
|
|
@@ -2762,10 +2762,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2762
2762
|
}
|
|
2763
2763
|
};
|
|
2764
2764
|
|
|
2765
|
-
// bazel-out/
|
|
2765
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2766
2766
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
2767
2767
|
|
|
2768
|
-
// bazel-out/
|
|
2768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2769
2769
|
import ts18 from "typescript";
|
|
2770
2770
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2771
2771
|
var _a;
|
|
@@ -2872,7 +2872,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2872
2872
|
return ts18.createSourceFile(fileName, template, ts18.ScriptTarget.Latest, false, ts18.ScriptKind.JSX);
|
|
2873
2873
|
}
|
|
2874
2874
|
|
|
2875
|
-
// bazel-out/
|
|
2875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2876
2876
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2877
2877
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2878
2878
|
function getTemplateId(clazz) {
|
|
@@ -2889,11 +2889,11 @@ function allocateTemplateId(sf) {
|
|
|
2889
2889
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2890
2890
|
}
|
|
2891
2891
|
|
|
2892
|
-
// bazel-out/
|
|
2892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2893
2893
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2894
2894
|
import ts20 from "typescript";
|
|
2895
2895
|
|
|
2896
|
-
// bazel-out/
|
|
2896
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2897
2897
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2898
2898
|
import ts19 from "typescript";
|
|
2899
2899
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -3024,7 +3024,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
3024
3024
|
}) || false;
|
|
3025
3025
|
}
|
|
3026
3026
|
|
|
3027
|
-
// bazel-out/
|
|
3027
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
3028
3028
|
var CompletionEngine = class {
|
|
3029
3029
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
3030
3030
|
this.tcb = tcb;
|
|
@@ -4201,10 +4201,10 @@ var MagicString = class {
|
|
|
4201
4201
|
}
|
|
4202
4202
|
};
|
|
4203
4203
|
|
|
4204
|
-
// bazel-out/
|
|
4204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4205
4205
|
import ts33 from "typescript";
|
|
4206
4206
|
|
|
4207
|
-
// bazel-out/
|
|
4207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
4208
4208
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
4209
4209
|
import ts21 from "typescript";
|
|
4210
4210
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -4257,10 +4257,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
4257
4257
|
}
|
|
4258
4258
|
};
|
|
4259
4259
|
|
|
4260
|
-
// bazel-out/
|
|
4260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4261
4261
|
import ts26 from "typescript";
|
|
4262
4262
|
|
|
4263
|
-
// bazel-out/
|
|
4263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
4264
4264
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
4265
4265
|
var ReferenceEmitEnvironment = class {
|
|
4266
4266
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -4291,7 +4291,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
4291
4291
|
}
|
|
4292
4292
|
};
|
|
4293
4293
|
|
|
4294
|
-
// bazel-out/
|
|
4294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
4295
4295
|
import ts22 from "typescript";
|
|
4296
4296
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
4297
4297
|
ts22.SyntaxKind.ParenthesizedExpression,
|
|
@@ -4374,15 +4374,15 @@ function tsNumericExpression(value) {
|
|
|
4374
4374
|
return ts22.factory.createNumericLiteral(value);
|
|
4375
4375
|
}
|
|
4376
4376
|
|
|
4377
|
-
// bazel-out/
|
|
4377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4378
4378
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr } from "@angular/compiler";
|
|
4379
4379
|
import ts25 from "typescript";
|
|
4380
4380
|
|
|
4381
|
-
// bazel-out/
|
|
4381
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4382
4382
|
import { R3Identifiers } from "@angular/compiler";
|
|
4383
4383
|
import ts24 from "typescript";
|
|
4384
4384
|
|
|
4385
|
-
// bazel-out/
|
|
4385
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
4386
4386
|
import ts23 from "typescript";
|
|
4387
4387
|
var TypeParameterEmitter = class {
|
|
4388
4388
|
constructor(typeParameters, reflector) {
|
|
@@ -4460,7 +4460,7 @@ var TypeParameterEmitter = class {
|
|
|
4460
4460
|
}
|
|
4461
4461
|
};
|
|
4462
4462
|
|
|
4463
|
-
// bazel-out/
|
|
4463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4464
4464
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
4465
4465
|
R3Identifiers.InputSignalBrandWriteType
|
|
4466
4466
|
];
|
|
@@ -4552,7 +4552,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
4552
4552
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
4553
4553
|
}
|
|
4554
4554
|
|
|
4555
|
-
// bazel-out/
|
|
4555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4556
4556
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
4557
4557
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
4558
4558
|
const rawType = ts25.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -4675,7 +4675,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
4675
4675
|
});
|
|
4676
4676
|
}
|
|
4677
4677
|
|
|
4678
|
-
// bazel-out/
|
|
4678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4679
4679
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
4680
4680
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
4681
4681
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -4750,7 +4750,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
4750
4750
|
}
|
|
4751
4751
|
};
|
|
4752
4752
|
|
|
4753
|
-
// bazel-out/
|
|
4753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
4754
4754
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
4755
4755
|
import ts27 from "typescript";
|
|
4756
4756
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -4931,7 +4931,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
4931
4931
|
};
|
|
4932
4932
|
}
|
|
4933
4933
|
|
|
4934
|
-
// bazel-out/
|
|
4934
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
4935
4935
|
import ts28 from "typescript";
|
|
4936
4936
|
var TypeCheckShimGenerator = class {
|
|
4937
4937
|
constructor() {
|
|
@@ -4949,11 +4949,11 @@ var TypeCheckShimGenerator = class {
|
|
|
4949
4949
|
}
|
|
4950
4950
|
};
|
|
4951
4951
|
|
|
4952
|
-
// bazel-out/
|
|
4952
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
4953
4953
|
import { BindingPipe, BindingType, Call as Call2, createCssSelectorFromNode, CssSelector, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver3, ParsedEventType, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers3, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstContent, TmplAstDeferredBlock, TmplAstElement as TmplAstElement3, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstReference as TmplAstReference3, TmplAstSwitchBlock, TmplAstTemplate as TmplAstTemplate2, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TransplantedType } from "@angular/compiler";
|
|
4954
4954
|
import ts31 from "typescript";
|
|
4955
4955
|
|
|
4956
|
-
// bazel-out/
|
|
4956
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
4957
4957
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
4958
4958
|
import ts29 from "typescript";
|
|
4959
4959
|
function wrapForDiagnostics(expr) {
|
|
@@ -4999,7 +4999,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
4999
4999
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
5000
5000
|
}
|
|
5001
5001
|
|
|
5002
|
-
// bazel-out/
|
|
5002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
5003
5003
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
5004
5004
|
import ts30 from "typescript";
|
|
5005
5005
|
var NULL_AS_ANY = ts30.factory.createAsExpression(ts30.factory.createNull(), ts30.factory.createKeywordTypeNode(ts30.SyntaxKind.AnyKeyword));
|
|
@@ -5332,7 +5332,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
5332
5332
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
5333
5333
|
})();
|
|
5334
5334
|
|
|
5335
|
-
// bazel-out/
|
|
5335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
5336
5336
|
var TcbGenericContextBehavior;
|
|
5337
5337
|
(function(TcbGenericContextBehavior2) {
|
|
5338
5338
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -6099,16 +6099,20 @@ var TcbIfOp = class extends TcbOp {
|
|
|
6099
6099
|
return void 0;
|
|
6100
6100
|
}
|
|
6101
6101
|
if (branch.expression === null) {
|
|
6102
|
-
const branchScope =
|
|
6102
|
+
const branchScope = this.getBranchScope(this.scope, branch, index);
|
|
6103
6103
|
return ts31.factory.createBlock(branchScope.render());
|
|
6104
6104
|
}
|
|
6105
6105
|
const expressionScope = Scope.forNodes(this.tcb, this.scope, branch, [], null);
|
|
6106
6106
|
expressionScope.render().forEach((stmt) => this.scope.addStatement(stmt));
|
|
6107
6107
|
this.expressionScopes.set(branch, expressionScope);
|
|
6108
6108
|
const expression = branch.expressionAlias === null ? tcbExpression(branch.expression, this.tcb, expressionScope) : expressionScope.resolve(branch.expressionAlias);
|
|
6109
|
-
const bodyScope =
|
|
6109
|
+
const bodyScope = this.getBranchScope(expressionScope, branch, index);
|
|
6110
6110
|
return ts31.factory.createIfStatement(expression, ts31.factory.createBlock(bodyScope.render()), this.generateBranch(index + 1));
|
|
6111
6111
|
}
|
|
6112
|
+
getBranchScope(parentScope, branch, index) {
|
|
6113
|
+
const checkBody = this.tcb.env.config.checkControlFlowBodies;
|
|
6114
|
+
return Scope.forNodes(this.tcb, parentScope, null, checkBody ? branch.children : [], checkBody ? this.generateBranchGuard(index) : null);
|
|
6115
|
+
}
|
|
6112
6116
|
generateBranchGuard(index) {
|
|
6113
6117
|
let guard = null;
|
|
6114
6118
|
for (let i = 0; i <= index; i++) {
|
|
@@ -6146,7 +6150,8 @@ var TcbSwitchOp = class extends TcbOp {
|
|
|
6146
6150
|
execute() {
|
|
6147
6151
|
const switchExpression = tcbExpression(this.block.expression, this.tcb, this.scope);
|
|
6148
6152
|
const clauses = this.block.cases.map((current) => {
|
|
6149
|
-
const
|
|
6153
|
+
const checkBody = this.tcb.env.config.checkControlFlowBodies;
|
|
6154
|
+
const clauseScope = Scope.forNodes(this.tcb, this.scope, null, checkBody ? current.children : [], checkBody ? this.generateGuard(current, switchExpression) : null);
|
|
6150
6155
|
const statements = [...clauseScope.render(), ts31.factory.createBreakStatement()];
|
|
6151
6156
|
return current.expression === null ? ts31.factory.createDefaultClause(statements) : ts31.factory.createCaseClause(tcbExpression(current.expression, this.tcb, clauseScope), statements);
|
|
6152
6157
|
});
|
|
@@ -6187,7 +6192,7 @@ var TcbForOfOp = class extends TcbOp {
|
|
|
6187
6192
|
return false;
|
|
6188
6193
|
}
|
|
6189
6194
|
execute() {
|
|
6190
|
-
const loopScope = Scope.forNodes(this.tcb, this.scope, this.block, this.block.children, null);
|
|
6195
|
+
const loopScope = Scope.forNodes(this.tcb, this.scope, this.block, this.tcb.env.config.checkControlFlowBodies ? this.block.children : [], null);
|
|
6191
6196
|
const initializerId = loopScope.resolve(this.block.item);
|
|
6192
6197
|
if (!ts31.isIdentifier(initializerId)) {
|
|
6193
6198
|
throw new Error(`Could not resolve for loop variable ${this.block.item.name} to an identifier`);
|
|
@@ -6398,7 +6403,7 @@ var _Scope = class {
|
|
|
6398
6403
|
this.opQueue.push(new TcbSwitchOp(this.tcb, this, node));
|
|
6399
6404
|
} else if (node instanceof TmplAstForLoopBlock) {
|
|
6400
6405
|
this.opQueue.push(new TcbForOfOp(this.tcb, this, node));
|
|
6401
|
-
node.empty && this.appendChildren(node.empty);
|
|
6406
|
+
node.empty && this.tcb.env.config.checkControlFlowBodies && this.appendChildren(node.empty);
|
|
6402
6407
|
} else if (node instanceof TmplAstBoundText) {
|
|
6403
6408
|
this.opQueue.push(new TcbExpressionOp(this.tcb, this, node.value));
|
|
6404
6409
|
} else if (node instanceof TmplAstIcu) {
|
|
@@ -6840,7 +6845,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
6840
6845
|
}
|
|
6841
6846
|
};
|
|
6842
6847
|
|
|
6843
|
-
// bazel-out/
|
|
6848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
6844
6849
|
import ts32 from "typescript";
|
|
6845
6850
|
var TypeCheckFile = class extends Environment {
|
|
6846
6851
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -6888,7 +6893,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
6888
6893
|
}
|
|
6889
6894
|
};
|
|
6890
6895
|
|
|
6891
|
-
// bazel-out/
|
|
6896
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
6892
6897
|
var InliningMode;
|
|
6893
6898
|
(function(InliningMode2) {
|
|
6894
6899
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -7140,10 +7145,10 @@ var TypeCtorOp = class {
|
|
|
7140
7145
|
}
|
|
7141
7146
|
};
|
|
7142
7147
|
|
|
7143
|
-
// bazel-out/
|
|
7148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7144
7149
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
7145
7150
|
|
|
7146
|
-
// bazel-out/
|
|
7151
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
7147
7152
|
var LF_CHAR = 10;
|
|
7148
7153
|
var CR_CHAR = 13;
|
|
7149
7154
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -7184,7 +7189,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
7184
7189
|
return low - 1;
|
|
7185
7190
|
}
|
|
7186
7191
|
|
|
7187
|
-
// bazel-out/
|
|
7192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7188
7193
|
var TemplateSource = class {
|
|
7189
7194
|
constructor(mapping, file) {
|
|
7190
7195
|
this.mapping = mapping;
|
|
@@ -7235,7 +7240,7 @@ var TemplateSourceManager = class {
|
|
|
7235
7240
|
}
|
|
7236
7241
|
};
|
|
7237
7242
|
|
|
7238
|
-
// bazel-out/
|
|
7243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
7239
7244
|
import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, R3Identifiers as R3Identifiers4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
7240
7245
|
import ts34 from "typescript";
|
|
7241
7246
|
var SymbolBuilder = class {
|
|
@@ -7753,7 +7758,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
7753
7758
|
};
|
|
7754
7759
|
}
|
|
7755
7760
|
|
|
7756
|
-
// bazel-out/
|
|
7761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7757
7762
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
7758
7763
|
var TemplateTypeCheckerImpl = class {
|
|
7759
7764
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -8454,10 +8459,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
8454
8459
|
}
|
|
8455
8460
|
};
|
|
8456
8461
|
|
|
8457
|
-
// bazel-out/
|
|
8462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8458
8463
|
import { Interpolation, PropertyRead as PropertyRead6 } from "@angular/compiler";
|
|
8459
8464
|
|
|
8460
|
-
// bazel-out/
|
|
8465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
8461
8466
|
import ts35 from "typescript";
|
|
8462
8467
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
8463
8468
|
"WritableSignal",
|
|
@@ -8477,7 +8482,7 @@ function isSignalSymbol(symbol) {
|
|
|
8477
8482
|
});
|
|
8478
8483
|
}
|
|
8479
8484
|
|
|
8480
|
-
// bazel-out/
|
|
8485
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
8481
8486
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
8482
8487
|
var TemplateCheckWithVisitor = class {
|
|
8483
8488
|
run(ctx, component, template) {
|
|
@@ -8602,7 +8607,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
8602
8607
|
}
|
|
8603
8608
|
};
|
|
8604
8609
|
|
|
8605
|
-
// bazel-out/
|
|
8610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8606
8611
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
8607
8612
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
8608
8613
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8646,7 +8651,7 @@ var factory = {
|
|
|
8646
8651
|
create: () => new InterpolatedSignalCheck()
|
|
8647
8652
|
};
|
|
8648
8653
|
|
|
8649
|
-
// bazel-out/
|
|
8654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
8650
8655
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
8651
8656
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
8652
8657
|
constructor() {
|
|
@@ -8672,7 +8677,7 @@ var factory2 = {
|
|
|
8672
8677
|
create: () => new InvalidBananaInBoxCheck()
|
|
8673
8678
|
};
|
|
8674
8679
|
|
|
8675
|
-
// bazel-out/
|
|
8680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
8676
8681
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
8677
8682
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
8678
8683
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -8717,7 +8722,7 @@ var factory3 = {
|
|
|
8717
8722
|
}
|
|
8718
8723
|
};
|
|
8719
8724
|
|
|
8720
|
-
// bazel-out/
|
|
8725
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
8721
8726
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
8722
8727
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
8723
8728
|
constructor() {
|
|
@@ -8750,7 +8755,7 @@ var factory4 = {
|
|
|
8750
8755
|
create: () => new MissingNgForOfLetCheck()
|
|
8751
8756
|
};
|
|
8752
8757
|
|
|
8753
|
-
// bazel-out/
|
|
8758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
8754
8759
|
import { Binary } from "@angular/compiler";
|
|
8755
8760
|
import ts36 from "typescript";
|
|
8756
8761
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8795,7 +8800,7 @@ var factory5 = {
|
|
|
8795
8800
|
}
|
|
8796
8801
|
};
|
|
8797
8802
|
|
|
8798
|
-
// bazel-out/
|
|
8803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
8799
8804
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
8800
8805
|
import ts37 from "typescript";
|
|
8801
8806
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8841,7 +8846,7 @@ var factory6 = {
|
|
|
8841
8846
|
}
|
|
8842
8847
|
};
|
|
8843
8848
|
|
|
8844
|
-
// bazel-out/
|
|
8849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
8845
8850
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
8846
8851
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
8847
8852
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8865,7 +8870,7 @@ var factory7 = {
|
|
|
8865
8870
|
create: () => new SuffixNotSupportedCheck()
|
|
8866
8871
|
};
|
|
8867
8872
|
|
|
8868
|
-
// bazel-out/
|
|
8873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
8869
8874
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
8870
8875
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
8871
8876
|
constructor() {
|
|
@@ -8904,10 +8909,10 @@ var factory8 = {
|
|
|
8904
8909
|
create: () => new TextAttributeNotBindingSpec()
|
|
8905
8910
|
};
|
|
8906
8911
|
|
|
8907
|
-
// bazel-out/
|
|
8912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8908
8913
|
import ts38 from "typescript";
|
|
8909
8914
|
|
|
8910
|
-
// bazel-out/
|
|
8915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
8911
8916
|
var DiagnosticCategoryLabel;
|
|
8912
8917
|
(function(DiagnosticCategoryLabel2) {
|
|
8913
8918
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -8915,7 +8920,7 @@ var DiagnosticCategoryLabel;
|
|
|
8915
8920
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
8916
8921
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
8917
8922
|
|
|
8918
|
-
// bazel-out/
|
|
8923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8919
8924
|
var ExtendedTemplateCheckerImpl = class {
|
|
8920
8925
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
8921
8926
|
var _a, _b, _c, _d, _e;
|
|
@@ -8968,7 +8973,7 @@ function assertNever(value) {
|
|
|
8968
8973
|
${value}`);
|
|
8969
8974
|
}
|
|
8970
8975
|
|
|
8971
|
-
// bazel-out/
|
|
8976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
8972
8977
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
8973
8978
|
factory2,
|
|
8974
8979
|
factory5,
|
|
@@ -8984,7 +8989,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
8984
8989
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
8985
8990
|
]);
|
|
8986
8991
|
|
|
8987
|
-
// bazel-out/
|
|
8992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
8988
8993
|
import { ASTWithSource as ASTWithSource5, ImplicitReceiver as ImplicitReceiver4, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
|
|
8989
8994
|
import ts39 from "typescript";
|
|
8990
8995
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -9066,7 +9071,7 @@ function unwrapAstWithSource(ast) {
|
|
|
9066
9071
|
return ast instanceof ASTWithSource5 ? ast.ast : ast;
|
|
9067
9072
|
}
|
|
9068
9073
|
|
|
9069
|
-
// bazel-out/
|
|
9074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
9070
9075
|
import ts40 from "typescript";
|
|
9071
9076
|
var APIS_TO_CHECK = [
|
|
9072
9077
|
INPUT_INITIALIZER_FN,
|
|
@@ -9117,7 +9122,7 @@ var InitializerApiUsageRule = class {
|
|
|
9117
9122
|
}
|
|
9118
9123
|
};
|
|
9119
9124
|
|
|
9120
|
-
// bazel-out/
|
|
9125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
9121
9126
|
var SourceFileValidator = class {
|
|
9122
9127
|
constructor(reflector, importedSymbolsTracker) {
|
|
9123
9128
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -9155,7 +9160,7 @@ var SourceFileValidator = class {
|
|
|
9155
9160
|
}
|
|
9156
9161
|
};
|
|
9157
9162
|
|
|
9158
|
-
// bazel-out/
|
|
9163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
9159
9164
|
function coreHasSymbol(program, symbol) {
|
|
9160
9165
|
const checker = program.getTypeChecker();
|
|
9161
9166
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -9174,7 +9179,7 @@ function isMaybeCore(sf) {
|
|
|
9174
9179
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
9175
9180
|
}
|
|
9176
9181
|
|
|
9177
|
-
// bazel-out/
|
|
9182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
9178
9183
|
import semver from "semver";
|
|
9179
9184
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
9180
9185
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -9183,7 +9188,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
9183
9188
|
return semver.satisfies(coreVersion, minVersion);
|
|
9184
9189
|
}
|
|
9185
9190
|
|
|
9186
|
-
// bazel-out/
|
|
9191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
9187
9192
|
var CompilationTicketKind;
|
|
9188
9193
|
(function(CompilationTicketKind2) {
|
|
9189
9194
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -9545,6 +9550,7 @@ var NgCompiler = class {
|
|
|
9545
9550
|
alwaysCheckSchemaInTemplateBodies: true,
|
|
9546
9551
|
checkTypeOfInputBindings: strictTemplates,
|
|
9547
9552
|
honorAccessModifiersForInputBindings: false,
|
|
9553
|
+
checkControlFlowBodies: true,
|
|
9548
9554
|
strictNullInputBindings: strictTemplates,
|
|
9549
9555
|
checkTypeOfAttributes: strictTemplates,
|
|
9550
9556
|
checkTypeOfDomBindings: false,
|
|
@@ -9568,6 +9574,7 @@ var NgCompiler = class {
|
|
|
9568
9574
|
applyTemplateContextGuards: false,
|
|
9569
9575
|
checkQueries: false,
|
|
9570
9576
|
checkTemplateBodies: false,
|
|
9577
|
+
checkControlFlowBodies: false,
|
|
9571
9578
|
alwaysCheckSchemaInTemplateBodies: this.closureCompilerEnabled,
|
|
9572
9579
|
checkTypeOfInputBindings: false,
|
|
9573
9580
|
strictNullInputBindings: false,
|
|
@@ -9976,7 +9983,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
9976
9983
|
return versions;
|
|
9977
9984
|
}
|
|
9978
9985
|
|
|
9979
|
-
// bazel-out/
|
|
9986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
9980
9987
|
import ts42 from "typescript";
|
|
9981
9988
|
var DelegatingCompilerHost2 = class {
|
|
9982
9989
|
get jsDocParsingMode() {
|
|
@@ -10115,7 +10122,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
10115
10122
|
}
|
|
10116
10123
|
};
|
|
10117
10124
|
|
|
10118
|
-
// bazel-out/
|
|
10125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
10119
10126
|
var NgtscProgram = class {
|
|
10120
10127
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
10121
10128
|
this.options = options;
|
|
@@ -10342,15 +10349,15 @@ function mergeEmitResults(emitResults) {
|
|
|
10342
10349
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
10343
10350
|
}
|
|
10344
10351
|
|
|
10345
|
-
// bazel-out/
|
|
10352
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
10346
10353
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
10347
10354
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
10348
10355
|
}
|
|
10349
10356
|
|
|
10350
|
-
// bazel-out/
|
|
10357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10351
10358
|
import ts45 from "typescript";
|
|
10352
10359
|
|
|
10353
|
-
// bazel-out/
|
|
10360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
10354
10361
|
import ts44 from "typescript";
|
|
10355
10362
|
function createMessageDiagnostic(messageText) {
|
|
10356
10363
|
return {
|
|
@@ -10364,7 +10371,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
10364
10371
|
};
|
|
10365
10372
|
}
|
|
10366
10373
|
|
|
10367
|
-
// bazel-out/
|
|
10374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10368
10375
|
var defaultFormatHost = {
|
|
10369
10376
|
getCurrentDirectory: () => ts45.sys.getCurrentDirectory(),
|
|
10370
10377
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -10586,4 +10593,4 @@ export {
|
|
|
10586
10593
|
* Use of this source code is governed by an MIT-style license that can be
|
|
10587
10594
|
* found in the LICENSE file at https://angular.io/license
|
|
10588
10595
|
*/
|
|
10589
|
-
//# sourceMappingURL=chunk-
|
|
10596
|
+
//# sourceMappingURL=chunk-JJY5IERQ.js.map
|