@angular/compiler-cli 17.3.5 → 17.3.7
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-R4KQI5XI.js → chunk-64JBPJBS.js} +5 -5
- package/bundles/{chunk-NDT2FVCM.js → chunk-7IGIAFDK.js} +13 -13
- package/bundles/{chunk-KAFBWQ67.js → chunk-DEDJRZPG.js} +30 -30
- package/bundles/{chunk-4QPGPZAQ.js → chunk-EM4I4HTR.js} +124 -117
- package/bundles/{chunk-4QPGPZAQ.js.map → chunk-EM4I4HTR.js.map} +1 -1
- package/bundles/{chunk-APSXNEXB.js → chunk-IRIANPQU.js} +5 -5
- package/bundles/{chunk-26Z5EPVF.js → chunk-JVX4FN2F.js} +78 -78
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-NMMGOE7N.js → chunk-RWHNANUR.js} +43 -43
- 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-WCD6LVCP.js.map → chunk-2WQIUGOU.js.map} +0 -0
- /package/bundles/{chunk-R4KQI5XI.js.map → chunk-64JBPJBS.js.map} +0 -0
- /package/bundles/{chunk-NDT2FVCM.js.map → chunk-7IGIAFDK.js.map} +0 -0
- /package/bundles/{chunk-KAFBWQ67.js.map → chunk-DEDJRZPG.js.map} +0 -0
- /package/bundles/{chunk-APSXNEXB.js.map → chunk-IRIANPQU.js.map} +0 -0
- /package/bundles/{chunk-26Z5EPVF.js.map → chunk-JVX4FN2F.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-NMMGOE7N.js.map → chunk-RWHNANUR.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,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
declarationTransformFactory,
|
|
40
40
|
isHostDirectiveMetaForGlobalMode,
|
|
41
41
|
ivyTransformFactory
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-JVX4FN2F.js";
|
|
43
43
|
import {
|
|
44
44
|
AbsoluteModuleStrategy,
|
|
45
45
|
AliasStrategy,
|
|
@@ -89,14 +89,14 @@ import {
|
|
|
89
89
|
toUnredirectedSourceFile,
|
|
90
90
|
translateExpression,
|
|
91
91
|
translateType
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-RWHNANUR.js";
|
|
93
93
|
import {
|
|
94
94
|
ActivePerfRecorder,
|
|
95
95
|
DelegatingPerfRecorder,
|
|
96
96
|
PerfCheckpoint,
|
|
97
97
|
PerfEvent,
|
|
98
98
|
PerfPhase
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-64JBPJBS.js";
|
|
100
100
|
import {
|
|
101
101
|
LogicalFileSystem,
|
|
102
102
|
absoluteFrom,
|
|
@@ -106,9 +106,9 @@ import {
|
|
|
106
106
|
getSourceFileOrError,
|
|
107
107
|
join,
|
|
108
108
|
resolve
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-UM6JO3VZ.js";
|
|
110
110
|
|
|
111
|
-
// bazel-out/
|
|
111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
112
112
|
var DEFAULT_ERROR_CODE = 100;
|
|
113
113
|
var UNKNOWN_ERROR_CODE = 500;
|
|
114
114
|
var SOURCE = "angular";
|
|
@@ -126,7 +126,7 @@ var EmitFlags;
|
|
|
126
126
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
127
127
|
})(EmitFlags || (EmitFlags = {}));
|
|
128
128
|
|
|
129
|
-
// bazel-out/
|
|
129
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
130
130
|
import ts from "typescript";
|
|
131
131
|
var wrapHostForTest = null;
|
|
132
132
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -136,7 +136,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
136
136
|
return tsHost;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
// bazel-out/
|
|
139
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
140
140
|
var EntryType;
|
|
141
141
|
(function(EntryType2) {
|
|
142
142
|
EntryType2["Block"] = "block";
|
|
@@ -180,23 +180,23 @@ var MemberTags;
|
|
|
180
180
|
MemberTags2["Inherited"] = "override";
|
|
181
181
|
})(MemberTags || (MemberTags = {}));
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
184
184
|
import ts9 from "typescript";
|
|
185
185
|
|
|
186
|
-
// bazel-out/
|
|
186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
187
187
|
import ts4 from "typescript";
|
|
188
188
|
|
|
189
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
190
190
|
function isAngularPrivateName(name) {
|
|
191
191
|
var _a;
|
|
192
192
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
193
193
|
return firstChar === "\u0275" || firstChar === "_";
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
// bazel-out/
|
|
196
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
197
197
|
import ts3 from "typescript";
|
|
198
198
|
|
|
199
|
-
// bazel-out/
|
|
199
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
200
200
|
function extractGenerics(declaration) {
|
|
201
201
|
var _a, _b;
|
|
202
202
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -209,7 +209,7 @@ function extractGenerics(declaration) {
|
|
|
209
209
|
})) != null ? _b : [];
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
// bazel-out/
|
|
212
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
213
213
|
import ts2 from "typescript";
|
|
214
214
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
215
215
|
function extractJsDocTags(node) {
|
|
@@ -253,12 +253,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
253
253
|
return comment.replace(/_NG_AT_/g, "@");
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
// bazel-out/
|
|
256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
257
257
|
function extractResolvedTypeString(node, checker) {
|
|
258
258
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
262
262
|
var FunctionExtractor = class {
|
|
263
263
|
constructor(name, declaration, typeChecker) {
|
|
264
264
|
this.name = name;
|
|
@@ -314,7 +314,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
314
314
|
}));
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
// bazel-out/
|
|
317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
318
318
|
var ClassExtractor = class {
|
|
319
319
|
constructor(declaration, typeChecker) {
|
|
320
320
|
this.declaration = declaration;
|
|
@@ -575,7 +575,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
575
575
|
return extractor.extract();
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
// bazel-out/
|
|
578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
579
579
|
import ts5 from "typescript";
|
|
580
580
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
581
581
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -633,7 +633,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
633
633
|
});
|
|
634
634
|
}
|
|
635
635
|
|
|
636
|
-
// bazel-out/
|
|
636
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
637
637
|
import ts6 from "typescript";
|
|
638
638
|
function extractorDecorator(declaration, typeChecker) {
|
|
639
639
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -706,7 +706,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
706
706
|
return callSignature;
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
// bazel-out/
|
|
709
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
710
710
|
import ts7 from "typescript";
|
|
711
711
|
function extractEnum(declaration, typeChecker) {
|
|
712
712
|
return {
|
|
@@ -737,7 +737,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
737
737
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
// bazel-out/
|
|
740
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
741
741
|
import ts8 from "typescript";
|
|
742
742
|
var initializerApiTag = "initializerApiFunction";
|
|
743
743
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -874,7 +874,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
874
874
|
return (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts8.isFunctionDeclaration(s) && s.body !== void 0);
|
|
875
875
|
}
|
|
876
876
|
|
|
877
|
-
// bazel-out/
|
|
877
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
878
878
|
function extractTypeAlias(declaration) {
|
|
879
879
|
return {
|
|
880
880
|
name: declaration.name.getText(),
|
|
@@ -886,7 +886,7 @@ function extractTypeAlias(declaration) {
|
|
|
886
886
|
};
|
|
887
887
|
}
|
|
888
888
|
|
|
889
|
-
// bazel-out/
|
|
889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
890
890
|
var DocsExtractor = class {
|
|
891
891
|
constructor(typeChecker, metadataReader) {
|
|
892
892
|
this.typeChecker = typeChecker;
|
|
@@ -959,11 +959,11 @@ function isIgnoredDocEntry(entry) {
|
|
|
959
959
|
return isDocsPrivate !== void 0;
|
|
960
960
|
}
|
|
961
961
|
|
|
962
|
-
// bazel-out/
|
|
962
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
963
963
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
964
964
|
import ts41 from "typescript";
|
|
965
965
|
|
|
966
|
-
// bazel-out/
|
|
966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
967
967
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
968
968
|
import * as path from "path";
|
|
969
969
|
function i18nGetExtension(formatName) {
|
|
@@ -1014,10 +1014,10 @@ function getPathNormalizer(basePath) {
|
|
|
1014
1014
|
};
|
|
1015
1015
|
}
|
|
1016
1016
|
|
|
1017
|
-
// bazel-out/
|
|
1017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1018
1018
|
import ts10 from "typescript";
|
|
1019
1019
|
|
|
1020
|
-
// bazel-out/
|
|
1020
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1021
1021
|
function toNumbers(value) {
|
|
1022
1022
|
const suffixIndex = value.lastIndexOf("-");
|
|
1023
1023
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1052,7 +1052,7 @@ function compareVersions(v1, v2) {
|
|
|
1052
1052
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1053
1053
|
}
|
|
1054
1054
|
|
|
1055
|
-
// bazel-out/
|
|
1055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1056
1056
|
var MIN_TS_VERSION = "5.2.0";
|
|
1057
1057
|
var MAX_TS_VERSION = "5.5.0";
|
|
1058
1058
|
var tsVersion = ts10.version;
|
|
@@ -1065,11 +1065,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1065
1065
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
|
-
// bazel-out/
|
|
1068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1069
1069
|
import { R3Identifiers as R3Identifiers5 } from "@angular/compiler";
|
|
1070
1070
|
import ts39 from "typescript";
|
|
1071
1071
|
|
|
1072
|
-
// bazel-out/
|
|
1072
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1073
1073
|
var CycleAnalyzer = class {
|
|
1074
1074
|
constructor(importGraph) {
|
|
1075
1075
|
this.importGraph = importGraph;
|
|
@@ -1140,7 +1140,7 @@ var Cycle = class {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
};
|
|
1142
1142
|
|
|
1143
|
-
// bazel-out/
|
|
1143
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1144
1144
|
import ts11 from "typescript";
|
|
1145
1145
|
var ImportGraph = class {
|
|
1146
1146
|
constructor(checker, perf) {
|
|
@@ -1232,7 +1232,7 @@ var Found = class {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
};
|
|
1234
1234
|
|
|
1235
|
-
// bazel-out/
|
|
1235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1236
1236
|
import ts12 from "typescript";
|
|
1237
1237
|
var FlatIndexGenerator = class {
|
|
1238
1238
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1257,7 +1257,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1257
1257
|
}
|
|
1258
1258
|
};
|
|
1259
1259
|
|
|
1260
|
-
// bazel-out/
|
|
1260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1261
1261
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1262
1262
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1263
1263
|
let resolvedEntryPoint = null;
|
|
@@ -1273,7 +1273,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1273
1273
|
return resolvedEntryPoint;
|
|
1274
1274
|
}
|
|
1275
1275
|
|
|
1276
|
-
// bazel-out/
|
|
1276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1277
1277
|
import ts13 from "typescript";
|
|
1278
1278
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1279
1279
|
const diagnostics = [];
|
|
@@ -1353,7 +1353,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
|
-
// bazel-out/
|
|
1356
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1357
1357
|
var ReferenceGraph = class {
|
|
1358
1358
|
constructor() {
|
|
1359
1359
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1407,7 +1407,7 @@ var ReferenceGraph = class {
|
|
|
1407
1407
|
}
|
|
1408
1408
|
};
|
|
1409
1409
|
|
|
1410
|
-
// bazel-out/
|
|
1410
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1411
1411
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1412
1412
|
var UpdateMode;
|
|
1413
1413
|
(function(UpdateMode2) {
|
|
@@ -1415,13 +1415,13 @@ var UpdateMode;
|
|
|
1415
1415
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1416
1416
|
})(UpdateMode || (UpdateMode = {}));
|
|
1417
1417
|
|
|
1418
|
-
// bazel-out/
|
|
1418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1419
1419
|
import ts15 from "typescript";
|
|
1420
1420
|
|
|
1421
|
-
// bazel-out/
|
|
1421
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1422
1422
|
import ts14 from "typescript";
|
|
1423
1423
|
|
|
1424
|
-
// bazel-out/
|
|
1424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1425
1425
|
var NgExtension = Symbol("NgExtension");
|
|
1426
1426
|
function isExtended(sf) {
|
|
1427
1427
|
return sf[NgExtension] !== void 0;
|
|
@@ -1481,13 +1481,13 @@ function retagTsFile(sf) {
|
|
|
1481
1481
|
}
|
|
1482
1482
|
}
|
|
1483
1483
|
|
|
1484
|
-
// bazel-out/
|
|
1484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1485
1485
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1486
1486
|
function makeShimFileName(fileName, suffix) {
|
|
1487
1487
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
1490
|
-
// bazel-out/
|
|
1490
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1491
1491
|
var ShimAdapter = class {
|
|
1492
1492
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1493
1493
|
this.delegate = delegate;
|
|
@@ -1582,7 +1582,7 @@ var ShimAdapter = class {
|
|
|
1582
1582
|
}
|
|
1583
1583
|
};
|
|
1584
1584
|
|
|
1585
|
-
// bazel-out/
|
|
1585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1586
1586
|
var ShimReferenceTagger = class {
|
|
1587
1587
|
constructor(shimExtensions) {
|
|
1588
1588
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1616,7 +1616,7 @@ var ShimReferenceTagger = class {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
};
|
|
1618
1618
|
|
|
1619
|
-
// bazel-out/
|
|
1619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1620
1620
|
var DelegatingCompilerHost = class {
|
|
1621
1621
|
get jsDocParsingMode() {
|
|
1622
1622
|
return this.delegate.jsDocParsingMode;
|
|
@@ -1735,7 +1735,7 @@ var TsCreateProgramDriver = class {
|
|
|
1735
1735
|
}
|
|
1736
1736
|
};
|
|
1737
1737
|
|
|
1738
|
-
// bazel-out/
|
|
1738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1739
1739
|
var FileDependencyGraph = class {
|
|
1740
1740
|
constructor() {
|
|
1741
1741
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1802,7 +1802,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1802
1802
|
return false;
|
|
1803
1803
|
}
|
|
1804
1804
|
|
|
1805
|
-
// bazel-out/
|
|
1805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1806
1806
|
var IncrementalStateKind;
|
|
1807
1807
|
(function(IncrementalStateKind2) {
|
|
1808
1808
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1810,7 +1810,7 @@ var IncrementalStateKind;
|
|
|
1810
1810
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1811
1811
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1812
1812
|
|
|
1813
|
-
// bazel-out/
|
|
1813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1814
1814
|
var PhaseKind;
|
|
1815
1815
|
(function(PhaseKind2) {
|
|
1816
1816
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -2011,7 +2011,7 @@ function toOriginalSourceFile(sf) {
|
|
|
2011
2011
|
}
|
|
2012
2012
|
}
|
|
2013
2013
|
|
|
2014
|
-
// bazel-out/
|
|
2014
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
2015
2015
|
var TrackedIncrementalBuildStrategy = class {
|
|
2016
2016
|
constructor() {
|
|
2017
2017
|
this.state = null;
|
|
@@ -2047,7 +2047,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
2047
2047
|
};
|
|
2048
2048
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
2049
2049
|
|
|
2050
|
-
// bazel-out/
|
|
2050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
2051
2051
|
var IdentifierKind;
|
|
2052
2052
|
(function(IdentifierKind2) {
|
|
2053
2053
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -2065,7 +2065,7 @@ var AbsoluteSourceSpan = class {
|
|
|
2065
2065
|
}
|
|
2066
2066
|
};
|
|
2067
2067
|
|
|
2068
|
-
// bazel-out/
|
|
2068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
2069
2069
|
var IndexingContext = class {
|
|
2070
2070
|
constructor() {
|
|
2071
2071
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -2075,10 +2075,10 @@ var IndexingContext = class {
|
|
|
2075
2075
|
}
|
|
2076
2076
|
};
|
|
2077
2077
|
|
|
2078
|
-
// bazel-out/
|
|
2078
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2079
2079
|
import { ParseSourceFile } from "@angular/compiler";
|
|
2080
2080
|
|
|
2081
|
-
// bazel-out/
|
|
2081
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
2082
2082
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
2083
2083
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
2084
2084
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2360,7 +2360,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2360
2360
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2361
2361
|
}
|
|
2362
2362
|
|
|
2363
|
-
// bazel-out/
|
|
2363
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2364
2364
|
function generateAnalysis(context) {
|
|
2365
2365
|
const analysis = /* @__PURE__ */ new Map();
|
|
2366
2366
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2396,7 +2396,7 @@ function generateAnalysis(context) {
|
|
|
2396
2396
|
return analysis;
|
|
2397
2397
|
}
|
|
2398
2398
|
|
|
2399
|
-
// bazel-out/
|
|
2399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2400
2400
|
var NgModuleIndexImpl = class {
|
|
2401
2401
|
constructor(metaReader, localReader) {
|
|
2402
2402
|
this.metaReader = metaReader;
|
|
@@ -2485,7 +2485,7 @@ var NgModuleIndexImpl = class {
|
|
|
2485
2485
|
}
|
|
2486
2486
|
};
|
|
2487
2487
|
|
|
2488
|
-
// bazel-out/
|
|
2488
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2489
2489
|
import ts16 from "typescript";
|
|
2490
2490
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2491
2491
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2631,7 +2631,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2631
2631
|
};
|
|
2632
2632
|
}
|
|
2633
2633
|
|
|
2634
|
-
// bazel-out/
|
|
2634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2635
2635
|
var StandaloneComponentScopeReader = class {
|
|
2636
2636
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2637
2637
|
this.metaReader = metaReader;
|
|
@@ -2727,10 +2727,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2727
2727
|
}
|
|
2728
2728
|
};
|
|
2729
2729
|
|
|
2730
|
-
// bazel-out/
|
|
2730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2731
2731
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
2732
2732
|
|
|
2733
|
-
// bazel-out/
|
|
2733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2734
2734
|
import ts17 from "typescript";
|
|
2735
2735
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2736
2736
|
var _a;
|
|
@@ -2837,7 +2837,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2837
2837
|
return ts17.createSourceFile(fileName, template, ts17.ScriptTarget.Latest, false, ts17.ScriptKind.JSX);
|
|
2838
2838
|
}
|
|
2839
2839
|
|
|
2840
|
-
// bazel-out/
|
|
2840
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2841
2841
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2842
2842
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2843
2843
|
function getTemplateId(clazz) {
|
|
@@ -2854,11 +2854,11 @@ function allocateTemplateId(sf) {
|
|
|
2854
2854
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2855
2855
|
}
|
|
2856
2856
|
|
|
2857
|
-
// bazel-out/
|
|
2857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2858
2858
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2859
2859
|
import ts19 from "typescript";
|
|
2860
2860
|
|
|
2861
|
-
// bazel-out/
|
|
2861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2862
2862
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2863
2863
|
import ts18 from "typescript";
|
|
2864
2864
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2989,7 +2989,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2989
2989
|
}) || false;
|
|
2990
2990
|
}
|
|
2991
2991
|
|
|
2992
|
-
// bazel-out/
|
|
2992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2993
2993
|
var CompletionEngine = class {
|
|
2994
2994
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2995
2995
|
this.tcb = tcb;
|
|
@@ -4156,10 +4156,10 @@ var MagicString = class {
|
|
|
4156
4156
|
}
|
|
4157
4157
|
};
|
|
4158
4158
|
|
|
4159
|
-
// bazel-out/
|
|
4159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4160
4160
|
import ts32 from "typescript";
|
|
4161
4161
|
|
|
4162
|
-
// bazel-out/
|
|
4162
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
4163
4163
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
4164
4164
|
import ts20 from "typescript";
|
|
4165
4165
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -4212,10 +4212,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
4212
4212
|
}
|
|
4213
4213
|
};
|
|
4214
4214
|
|
|
4215
|
-
// bazel-out/
|
|
4215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4216
4216
|
import ts25 from "typescript";
|
|
4217
4217
|
|
|
4218
|
-
// bazel-out/
|
|
4218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
4219
4219
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
4220
4220
|
var ReferenceEmitEnvironment = class {
|
|
4221
4221
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -4246,7 +4246,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
4246
4246
|
}
|
|
4247
4247
|
};
|
|
4248
4248
|
|
|
4249
|
-
// bazel-out/
|
|
4249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
4250
4250
|
import ts21 from "typescript";
|
|
4251
4251
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
4252
4252
|
ts21.SyntaxKind.ParenthesizedExpression,
|
|
@@ -4329,15 +4329,15 @@ function tsNumericExpression(value) {
|
|
|
4329
4329
|
return ts21.factory.createNumericLiteral(value);
|
|
4330
4330
|
}
|
|
4331
4331
|
|
|
4332
|
-
// bazel-out/
|
|
4332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4333
4333
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr } from "@angular/compiler";
|
|
4334
4334
|
import ts24 from "typescript";
|
|
4335
4335
|
|
|
4336
|
-
// bazel-out/
|
|
4336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4337
4337
|
import { R3Identifiers } from "@angular/compiler";
|
|
4338
4338
|
import ts23 from "typescript";
|
|
4339
4339
|
|
|
4340
|
-
// bazel-out/
|
|
4340
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
4341
4341
|
import ts22 from "typescript";
|
|
4342
4342
|
var TypeParameterEmitter = class {
|
|
4343
4343
|
constructor(typeParameters, reflector) {
|
|
@@ -4415,7 +4415,7 @@ var TypeParameterEmitter = class {
|
|
|
4415
4415
|
}
|
|
4416
4416
|
};
|
|
4417
4417
|
|
|
4418
|
-
// bazel-out/
|
|
4418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4419
4419
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
4420
4420
|
R3Identifiers.InputSignalBrandWriteType
|
|
4421
4421
|
];
|
|
@@ -4507,7 +4507,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
4507
4507
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
4508
4508
|
}
|
|
4509
4509
|
|
|
4510
|
-
// bazel-out/
|
|
4510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4511
4511
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
4512
4512
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
4513
4513
|
const rawType = ts24.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -4630,7 +4630,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
4630
4630
|
});
|
|
4631
4631
|
}
|
|
4632
4632
|
|
|
4633
|
-
// bazel-out/
|
|
4633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4634
4634
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
4635
4635
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
4636
4636
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -4705,7 +4705,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
4705
4705
|
}
|
|
4706
4706
|
};
|
|
4707
4707
|
|
|
4708
|
-
// bazel-out/
|
|
4708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
4709
4709
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstElement as TmplAstElement2, TmplAstForLoopBlock, TmplAstForLoopBlockEmpty } from "@angular/compiler";
|
|
4710
4710
|
import ts26 from "typescript";
|
|
4711
4711
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -4892,7 +4892,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
4892
4892
|
};
|
|
4893
4893
|
}
|
|
4894
4894
|
|
|
4895
|
-
// bazel-out/
|
|
4895
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
4896
4896
|
import ts27 from "typescript";
|
|
4897
4897
|
var TypeCheckShimGenerator = class {
|
|
4898
4898
|
constructor() {
|
|
@@ -4910,11 +4910,11 @@ var TypeCheckShimGenerator = class {
|
|
|
4910
4910
|
}
|
|
4911
4911
|
};
|
|
4912
4912
|
|
|
4913
|
-
// bazel-out/
|
|
4913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
4914
4914
|
import { BindingPipe, Call as Call2, createCssSelectorFromNode, CssSelector, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver3, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers3, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstDeferredBlock, TmplAstElement as TmplAstElement3, TmplAstForLoopBlock as TmplAstForLoopBlock2, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstReference as TmplAstReference3, TmplAstSwitchBlock, TmplAstTemplate as TmplAstTemplate2, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TransplantedType } from "@angular/compiler";
|
|
4915
4915
|
import ts30 from "typescript";
|
|
4916
4916
|
|
|
4917
|
-
// bazel-out/
|
|
4917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
4918
4918
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
4919
4919
|
import ts28 from "typescript";
|
|
4920
4920
|
function wrapForDiagnostics(expr) {
|
|
@@ -4960,7 +4960,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
4960
4960
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
4961
4961
|
}
|
|
4962
4962
|
|
|
4963
|
-
// bazel-out/
|
|
4963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
4964
4964
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
4965
4965
|
import ts29 from "typescript";
|
|
4966
4966
|
var NULL_AS_ANY = ts29.factory.createAsExpression(ts29.factory.createNull(), ts29.factory.createKeywordTypeNode(ts29.SyntaxKind.AnyKeyword));
|
|
@@ -5293,7 +5293,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
5293
5293
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
5294
5294
|
})();
|
|
5295
5295
|
|
|
5296
|
-
// bazel-out/
|
|
5296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
5297
5297
|
var TcbGenericContextBehavior;
|
|
5298
5298
|
(function(TcbGenericContextBehavior2) {
|
|
5299
5299
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -6060,16 +6060,20 @@ var TcbIfOp = class extends TcbOp {
|
|
|
6060
6060
|
return void 0;
|
|
6061
6061
|
}
|
|
6062
6062
|
if (branch.expression === null) {
|
|
6063
|
-
const branchScope =
|
|
6063
|
+
const branchScope = this.getBranchScope(this.scope, branch, index);
|
|
6064
6064
|
return ts30.factory.createBlock(branchScope.render());
|
|
6065
6065
|
}
|
|
6066
6066
|
const expressionScope = Scope.forNodes(this.tcb, this.scope, branch, [], null);
|
|
6067
6067
|
expressionScope.render().forEach((stmt) => this.scope.addStatement(stmt));
|
|
6068
6068
|
this.expressionScopes.set(branch, expressionScope);
|
|
6069
6069
|
const expression = branch.expressionAlias === null ? tcbExpression(branch.expression, this.tcb, expressionScope) : expressionScope.resolve(branch.expressionAlias);
|
|
6070
|
-
const bodyScope =
|
|
6070
|
+
const bodyScope = this.getBranchScope(expressionScope, branch, index);
|
|
6071
6071
|
return ts30.factory.createIfStatement(expression, ts30.factory.createBlock(bodyScope.render()), this.generateBranch(index + 1));
|
|
6072
6072
|
}
|
|
6073
|
+
getBranchScope(parentScope, branch, index) {
|
|
6074
|
+
const checkBody = this.tcb.env.config.checkControlFlowBodies;
|
|
6075
|
+
return Scope.forNodes(this.tcb, parentScope, null, checkBody ? branch.children : [], checkBody ? this.generateBranchGuard(index) : null);
|
|
6076
|
+
}
|
|
6073
6077
|
generateBranchGuard(index) {
|
|
6074
6078
|
let guard = null;
|
|
6075
6079
|
for (let i = 0; i <= index; i++) {
|
|
@@ -6115,9 +6119,10 @@ var TcbSwitchOp = class extends TcbOp {
|
|
|
6115
6119
|
return null;
|
|
6116
6120
|
}
|
|
6117
6121
|
generateCase(index, switchValue, defaultCase) {
|
|
6122
|
+
const checkBodies = this.tcb.env.config.checkControlFlowBodies;
|
|
6118
6123
|
if (index >= this.block.cases.length) {
|
|
6119
6124
|
if (defaultCase !== null) {
|
|
6120
|
-
const defaultScope = Scope.forNodes(this.tcb, this.scope, null, defaultCase.children, this.generateGuard(defaultCase, switchValue));
|
|
6125
|
+
const defaultScope = Scope.forNodes(this.tcb, this.scope, null, checkBodies ? defaultCase.children : [], checkBodies ? this.generateGuard(defaultCase, switchValue) : null);
|
|
6121
6126
|
return ts30.factory.createBlock(defaultScope.render());
|
|
6122
6127
|
}
|
|
6123
6128
|
return void 0;
|
|
@@ -6126,7 +6131,7 @@ var TcbSwitchOp = class extends TcbOp {
|
|
|
6126
6131
|
if (current.expression === null) {
|
|
6127
6132
|
return this.generateCase(index + 1, switchValue, current);
|
|
6128
6133
|
}
|
|
6129
|
-
const caseScope = Scope.forNodes(this.tcb, this.scope, null, current.children, this.generateGuard(current, switchValue));
|
|
6134
|
+
const caseScope = Scope.forNodes(this.tcb, this.scope, null, checkBodies ? current.children : [], checkBodies ? this.generateGuard(current, switchValue) : null);
|
|
6130
6135
|
const caseValue = tcbExpression(current.expression, this.tcb, caseScope);
|
|
6131
6136
|
return ts30.factory.createIfStatement(ts30.factory.createBinaryExpression(switchValue, ts30.SyntaxKind.EqualsEqualsEqualsToken, caseValue), ts30.factory.createBlock(caseScope.render()), this.generateCase(index + 1, switchValue, defaultCase));
|
|
6132
6137
|
}
|
|
@@ -6164,7 +6169,7 @@ var TcbForOfOp = class extends TcbOp {
|
|
|
6164
6169
|
return false;
|
|
6165
6170
|
}
|
|
6166
6171
|
execute() {
|
|
6167
|
-
const loopScope = Scope.forNodes(this.tcb, this.scope, this.block, this.block.children, null);
|
|
6172
|
+
const loopScope = Scope.forNodes(this.tcb, this.scope, this.block, this.tcb.env.config.checkControlFlowBodies ? this.block.children : [], null);
|
|
6168
6173
|
const initializerId = loopScope.resolve(this.block.item);
|
|
6169
6174
|
if (!ts30.isIdentifier(initializerId)) {
|
|
6170
6175
|
throw new Error(`Could not resolve for loop variable ${this.block.item.name} to an identifier`);
|
|
@@ -6375,7 +6380,7 @@ var _Scope = class {
|
|
|
6375
6380
|
this.opQueue.push(new TcbExpressionOp(this.tcb, this, node.expression), new TcbSwitchOp(this.tcb, this, node));
|
|
6376
6381
|
} else if (node instanceof TmplAstForLoopBlock2) {
|
|
6377
6382
|
this.opQueue.push(new TcbForOfOp(this.tcb, this, node));
|
|
6378
|
-
node.empty && this.appendChildren(node.empty);
|
|
6383
|
+
node.empty && this.tcb.env.config.checkControlFlowBodies && this.appendChildren(node.empty);
|
|
6379
6384
|
} else if (node instanceof TmplAstBoundText) {
|
|
6380
6385
|
this.opQueue.push(new TcbExpressionOp(this.tcb, this, node.value));
|
|
6381
6386
|
} else if (node instanceof TmplAstIcu) {
|
|
@@ -6809,7 +6814,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
6809
6814
|
}
|
|
6810
6815
|
};
|
|
6811
6816
|
|
|
6812
|
-
// bazel-out/
|
|
6817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
6813
6818
|
import ts31 from "typescript";
|
|
6814
6819
|
var TypeCheckFile = class extends Environment {
|
|
6815
6820
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -6857,7 +6862,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
6857
6862
|
}
|
|
6858
6863
|
};
|
|
6859
6864
|
|
|
6860
|
-
// bazel-out/
|
|
6865
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
6861
6866
|
var InliningMode;
|
|
6862
6867
|
(function(InliningMode2) {
|
|
6863
6868
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -7109,10 +7114,10 @@ var TypeCtorOp = class {
|
|
|
7109
7114
|
}
|
|
7110
7115
|
};
|
|
7111
7116
|
|
|
7112
|
-
// bazel-out/
|
|
7117
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7113
7118
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
7114
7119
|
|
|
7115
|
-
// bazel-out/
|
|
7120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
7116
7121
|
var LF_CHAR = 10;
|
|
7117
7122
|
var CR_CHAR = 13;
|
|
7118
7123
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -7153,7 +7158,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
7153
7158
|
return low - 1;
|
|
7154
7159
|
}
|
|
7155
7160
|
|
|
7156
|
-
// bazel-out/
|
|
7161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7157
7162
|
var TemplateSource = class {
|
|
7158
7163
|
constructor(mapping, file) {
|
|
7159
7164
|
this.mapping = mapping;
|
|
@@ -7204,7 +7209,7 @@ var TemplateSourceManager = class {
|
|
|
7204
7209
|
}
|
|
7205
7210
|
};
|
|
7206
7211
|
|
|
7207
|
-
// bazel-out/
|
|
7212
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
7208
7213
|
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";
|
|
7209
7214
|
import ts33 from "typescript";
|
|
7210
7215
|
var SymbolBuilder = class {
|
|
@@ -7722,7 +7727,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
7722
7727
|
};
|
|
7723
7728
|
}
|
|
7724
7729
|
|
|
7725
|
-
// bazel-out/
|
|
7730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7726
7731
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
7727
7732
|
var TemplateTypeCheckerImpl = class {
|
|
7728
7733
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -8423,10 +8428,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
8423
8428
|
}
|
|
8424
8429
|
};
|
|
8425
8430
|
|
|
8426
|
-
// bazel-out/
|
|
8431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8427
8432
|
import { Interpolation, PropertyRead as PropertyRead6 } from "@angular/compiler";
|
|
8428
8433
|
|
|
8429
|
-
// bazel-out/
|
|
8434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
8430
8435
|
import ts34 from "typescript";
|
|
8431
8436
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
8432
8437
|
"WritableSignal",
|
|
@@ -8446,7 +8451,7 @@ function isSignalSymbol(symbol) {
|
|
|
8446
8451
|
});
|
|
8447
8452
|
}
|
|
8448
8453
|
|
|
8449
|
-
// bazel-out/
|
|
8454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
8450
8455
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
8451
8456
|
var TemplateCheckWithVisitor = class {
|
|
8452
8457
|
run(ctx, component, template) {
|
|
@@ -8570,7 +8575,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
8570
8575
|
}
|
|
8571
8576
|
};
|
|
8572
8577
|
|
|
8573
|
-
// bazel-out/
|
|
8578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8574
8579
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
8575
8580
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
8576
8581
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8614,7 +8619,7 @@ var factory = {
|
|
|
8614
8619
|
create: () => new InterpolatedSignalCheck()
|
|
8615
8620
|
};
|
|
8616
8621
|
|
|
8617
|
-
// bazel-out/
|
|
8622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
8618
8623
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
8619
8624
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
8620
8625
|
constructor() {
|
|
@@ -8640,7 +8645,7 @@ var factory2 = {
|
|
|
8640
8645
|
create: () => new InvalidBananaInBoxCheck()
|
|
8641
8646
|
};
|
|
8642
8647
|
|
|
8643
|
-
// bazel-out/
|
|
8648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
8644
8649
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
8645
8650
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
8646
8651
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -8685,7 +8690,7 @@ var factory3 = {
|
|
|
8685
8690
|
}
|
|
8686
8691
|
};
|
|
8687
8692
|
|
|
8688
|
-
// bazel-out/
|
|
8693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
8689
8694
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
8690
8695
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
8691
8696
|
constructor() {
|
|
@@ -8718,7 +8723,7 @@ var factory4 = {
|
|
|
8718
8723
|
create: () => new MissingNgForOfLetCheck()
|
|
8719
8724
|
};
|
|
8720
8725
|
|
|
8721
|
-
// bazel-out/
|
|
8726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
8722
8727
|
import { Binary } from "@angular/compiler";
|
|
8723
8728
|
import ts35 from "typescript";
|
|
8724
8729
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8763,7 +8768,7 @@ var factory5 = {
|
|
|
8763
8768
|
}
|
|
8764
8769
|
};
|
|
8765
8770
|
|
|
8766
|
-
// bazel-out/
|
|
8771
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
8767
8772
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
8768
8773
|
import ts36 from "typescript";
|
|
8769
8774
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8809,7 +8814,7 @@ var factory6 = {
|
|
|
8809
8814
|
}
|
|
8810
8815
|
};
|
|
8811
8816
|
|
|
8812
|
-
// bazel-out/
|
|
8817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
8813
8818
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
8814
8819
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
8815
8820
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8833,7 +8838,7 @@ var factory7 = {
|
|
|
8833
8838
|
create: () => new SuffixNotSupportedCheck()
|
|
8834
8839
|
};
|
|
8835
8840
|
|
|
8836
|
-
// bazel-out/
|
|
8841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
8837
8842
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
8838
8843
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
8839
8844
|
constructor() {
|
|
@@ -8872,10 +8877,10 @@ var factory8 = {
|
|
|
8872
8877
|
create: () => new TextAttributeNotBindingSpec()
|
|
8873
8878
|
};
|
|
8874
8879
|
|
|
8875
|
-
// bazel-out/
|
|
8880
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8876
8881
|
import ts37 from "typescript";
|
|
8877
8882
|
|
|
8878
|
-
// bazel-out/
|
|
8883
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
8879
8884
|
var DiagnosticCategoryLabel;
|
|
8880
8885
|
(function(DiagnosticCategoryLabel2) {
|
|
8881
8886
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -8883,7 +8888,7 @@ var DiagnosticCategoryLabel;
|
|
|
8883
8888
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
8884
8889
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
8885
8890
|
|
|
8886
|
-
// bazel-out/
|
|
8891
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8887
8892
|
var ExtendedTemplateCheckerImpl = class {
|
|
8888
8893
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
8889
8894
|
var _a, _b, _c, _d, _e;
|
|
@@ -8936,7 +8941,7 @@ function assertNever(value) {
|
|
|
8936
8941
|
${value}`);
|
|
8937
8942
|
}
|
|
8938
8943
|
|
|
8939
|
-
// bazel-out/
|
|
8944
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
8940
8945
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
8941
8946
|
factory2,
|
|
8942
8947
|
factory5,
|
|
@@ -8952,7 +8957,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
8952
8957
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
8953
8958
|
]);
|
|
8954
8959
|
|
|
8955
|
-
// bazel-out/
|
|
8960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
8956
8961
|
import { ASTWithSource as ASTWithSource5, ImplicitReceiver as ImplicitReceiver4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
|
|
8957
8962
|
import ts38 from "typescript";
|
|
8958
8963
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -9034,7 +9039,7 @@ function unwrapAstWithSource(ast) {
|
|
|
9034
9039
|
return ast instanceof ASTWithSource5 ? ast.ast : ast;
|
|
9035
9040
|
}
|
|
9036
9041
|
|
|
9037
|
-
// bazel-out/
|
|
9042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
9038
9043
|
function coreHasSymbol(program, symbol) {
|
|
9039
9044
|
const checker = program.getTypeChecker();
|
|
9040
9045
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -9053,7 +9058,7 @@ function isMaybeCore(sf) {
|
|
|
9053
9058
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
9054
9059
|
}
|
|
9055
9060
|
|
|
9056
|
-
// bazel-out/
|
|
9061
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
9057
9062
|
import semver from "semver";
|
|
9058
9063
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
9059
9064
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -9062,7 +9067,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
9062
9067
|
return semver.satisfies(coreVersion, minVersion);
|
|
9063
9068
|
}
|
|
9064
9069
|
|
|
9065
|
-
// bazel-out/
|
|
9070
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
9066
9071
|
var SHOULD_USE_TEMPLATE_PIPELINE = true;
|
|
9067
9072
|
var CompilationTicketKind;
|
|
9068
9073
|
(function(CompilationTicketKind2) {
|
|
@@ -9424,6 +9429,7 @@ var NgCompiler = class {
|
|
|
9424
9429
|
alwaysCheckSchemaInTemplateBodies: true,
|
|
9425
9430
|
checkTypeOfInputBindings: strictTemplates,
|
|
9426
9431
|
honorAccessModifiersForInputBindings: false,
|
|
9432
|
+
checkControlFlowBodies: true,
|
|
9427
9433
|
strictNullInputBindings: strictTemplates,
|
|
9428
9434
|
checkTypeOfAttributes: strictTemplates,
|
|
9429
9435
|
checkTypeOfDomBindings: false,
|
|
@@ -9447,6 +9453,7 @@ var NgCompiler = class {
|
|
|
9447
9453
|
applyTemplateContextGuards: false,
|
|
9448
9454
|
checkQueries: false,
|
|
9449
9455
|
checkTemplateBodies: false,
|
|
9456
|
+
checkControlFlowBodies: false,
|
|
9450
9457
|
alwaysCheckSchemaInTemplateBodies: this.closureCompilerEnabled,
|
|
9451
9458
|
checkTypeOfInputBindings: false,
|
|
9452
9459
|
strictNullInputBindings: false,
|
|
@@ -9847,7 +9854,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
9847
9854
|
return versions;
|
|
9848
9855
|
}
|
|
9849
9856
|
|
|
9850
|
-
// bazel-out/
|
|
9857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
9851
9858
|
import ts40 from "typescript";
|
|
9852
9859
|
var DelegatingCompilerHost2 = class {
|
|
9853
9860
|
get jsDocParsingMode() {
|
|
@@ -9986,7 +9993,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
9986
9993
|
}
|
|
9987
9994
|
};
|
|
9988
9995
|
|
|
9989
|
-
// bazel-out/
|
|
9996
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
9990
9997
|
var NgtscProgram = class {
|
|
9991
9998
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
9992
9999
|
this.options = options;
|
|
@@ -10213,15 +10220,15 @@ function mergeEmitResults(emitResults) {
|
|
|
10213
10220
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
10214
10221
|
}
|
|
10215
10222
|
|
|
10216
|
-
// bazel-out/
|
|
10223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
10217
10224
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
10218
10225
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
10219
10226
|
}
|
|
10220
10227
|
|
|
10221
|
-
// bazel-out/
|
|
10228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10222
10229
|
import ts43 from "typescript";
|
|
10223
10230
|
|
|
10224
|
-
// bazel-out/
|
|
10231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
10225
10232
|
import ts42 from "typescript";
|
|
10226
10233
|
function createMessageDiagnostic(messageText) {
|
|
10227
10234
|
return {
|
|
@@ -10235,7 +10242,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
10235
10242
|
};
|
|
10236
10243
|
}
|
|
10237
10244
|
|
|
10238
|
-
// bazel-out/
|
|
10245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10239
10246
|
var defaultFormatHost = {
|
|
10240
10247
|
getCurrentDirectory: () => ts43.sys.getCurrentDirectory(),
|
|
10241
10248
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -10456,4 +10463,4 @@ export {
|
|
|
10456
10463
|
* Use of this source code is governed by an MIT-style license that can be
|
|
10457
10464
|
* found in the LICENSE file at https://angular.io/license
|
|
10458
10465
|
*/
|
|
10459
|
-
//# sourceMappingURL=chunk-
|
|
10466
|
+
//# sourceMappingURL=chunk-EM4I4HTR.js.map
|