@angular/compiler-cli 18.1.0-next.4 → 18.1.0-rc.0
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-LGWSLF7E.js → chunk-2T3WTZXW.js} +15 -14
- package/bundles/{chunk-LGWSLF7E.js.map → chunk-2T3WTZXW.js.map} +1 -1
- package/bundles/{chunk-XNL3EK5H.js → chunk-3W345P4E.js} +7 -7
- package/bundles/{chunk-AQFTVE7F.js → chunk-JZQHA4E7.js} +5 -5
- package/bundles/{chunk-KMM3BVFD.js → chunk-LM7LLDVD.js} +5 -5
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-6WTRMS6V.js → chunk-OZ2N4CUX.js} +137 -84
- package/bundles/{chunk-6WTRMS6V.js.map → chunk-OZ2N4CUX.js.map} +3 -3
- package/bundles/{chunk-WR7TUJ7M.js → chunk-QYV344EV.js} +7 -7
- package/bundles/{chunk-74EXNMDD.js → chunk-S6XWL3LN.js} +142 -132
- package/bundles/{chunk-74EXNMDD.js.map → chunk-S6XWL3LN.js.map} +1 -1
- package/bundles/{chunk-K3J755TX.js → chunk-TNEE4FUS.js} +31 -31
- package/bundles/{chunk-RX2PJSXB.js → chunk-WTQ7UQOL.js} +46 -44
- package/bundles/chunk-WTQ7UQOL.js.map +6 -0
- package/bundles/index.js +11 -11
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +4 -4
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +9 -9
- package/bundles/src/bin/ngc.js +7 -7
- 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/diagnostics/src/error_code.d.ts +14 -2
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +1 -0
- package/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.d.ts +10 -0
- package/src/ngtsc/typecheck/src/oob.d.ts +5 -6
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +2 -0
- package/bundles/chunk-RX2PJSXB.js.map +0 -6
- /package/bundles/{chunk-XNL3EK5H.js.map → chunk-3W345P4E.js.map} +0 -0
- /package/bundles/{chunk-AQFTVE7F.js.map → chunk-JZQHA4E7.js.map} +0 -0
- /package/bundles/{chunk-KMM3BVFD.js.map → chunk-LM7LLDVD.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-WR7TUJ7M.js.map → chunk-QYV344EV.js.map} +0 -0
- /package/bundles/{chunk-K3J755TX.js.map → chunk-TNEE4FUS.js.map} +0 -0
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
ivyTransformFactory,
|
|
47
47
|
retagAllTsFiles,
|
|
48
48
|
tryParseInitializerApi
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-S6XWL3LN.js";
|
|
50
50
|
import {
|
|
51
51
|
AbsoluteModuleStrategy,
|
|
52
52
|
AliasStrategy,
|
|
@@ -82,14 +82,14 @@ import {
|
|
|
82
82
|
relativePathBetween,
|
|
83
83
|
replaceTsWithNgInErrors,
|
|
84
84
|
toUnredirectedSourceFile
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-WTQ7UQOL.js";
|
|
86
86
|
import {
|
|
87
87
|
ActivePerfRecorder,
|
|
88
88
|
DelegatingPerfRecorder,
|
|
89
89
|
PerfCheckpoint,
|
|
90
90
|
PerfEvent,
|
|
91
91
|
PerfPhase
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-JZQHA4E7.js";
|
|
93
93
|
import {
|
|
94
94
|
LogicalFileSystem,
|
|
95
95
|
absoluteFrom,
|
|
@@ -98,9 +98,9 @@ import {
|
|
|
98
98
|
getFileSystem,
|
|
99
99
|
join,
|
|
100
100
|
resolve
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-3W345P4E.js";
|
|
102
102
|
|
|
103
|
-
// bazel-out/
|
|
103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
104
104
|
var DEFAULT_ERROR_CODE = 100;
|
|
105
105
|
var UNKNOWN_ERROR_CODE = 500;
|
|
106
106
|
var SOURCE = "angular";
|
|
@@ -118,7 +118,7 @@ var EmitFlags;
|
|
|
118
118
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
119
119
|
})(EmitFlags || (EmitFlags = {}));
|
|
120
120
|
|
|
121
|
-
// bazel-out/
|
|
121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
122
122
|
import ts from "typescript";
|
|
123
123
|
var wrapHostForTest = null;
|
|
124
124
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -128,7 +128,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
128
128
|
return tsHost;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// bazel-out/
|
|
131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
132
132
|
var EntryType;
|
|
133
133
|
(function(EntryType2) {
|
|
134
134
|
EntryType2["Block"] = "block";
|
|
@@ -175,23 +175,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
175
175
|
return "source" in entry;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
// bazel-out/
|
|
178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
179
179
|
import ts10 from "typescript";
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
182
182
|
import ts5 from "typescript";
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
185
185
|
function isAngularPrivateName(name) {
|
|
186
186
|
var _a;
|
|
187
187
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
188
188
|
return firstChar === "\u0275" || firstChar === "_";
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
192
192
|
import ts3 from "typescript";
|
|
193
193
|
|
|
194
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
195
195
|
function extractGenerics(declaration) {
|
|
196
196
|
var _a, _b;
|
|
197
197
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -204,7 +204,7 @@ function extractGenerics(declaration) {
|
|
|
204
204
|
})) != null ? _b : [];
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
// bazel-out/
|
|
207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
208
208
|
import ts2 from "typescript";
|
|
209
209
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
210
210
|
function extractJsDocTags(node) {
|
|
@@ -248,12 +248,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
248
248
|
return comment.replace(/_NG_AT_/g, "@");
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
// bazel-out/
|
|
251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
252
252
|
function extractResolvedTypeString(node, checker) {
|
|
253
253
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
// bazel-out/
|
|
256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
257
257
|
var FunctionExtractor = class {
|
|
258
258
|
constructor(name, declaration, typeChecker) {
|
|
259
259
|
this.name = name;
|
|
@@ -312,7 +312,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
312
312
|
}));
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
// bazel-out/
|
|
315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
316
316
|
import ts4 from "typescript";
|
|
317
317
|
function isInternal(member) {
|
|
318
318
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -331,7 +331,7 @@ function hasLeadingInternalComment(member) {
|
|
|
331
331
|
)) != null ? _a : false;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
// bazel-out/
|
|
334
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
335
335
|
var ClassExtractor = class {
|
|
336
336
|
constructor(declaration, typeChecker) {
|
|
337
337
|
this.declaration = declaration;
|
|
@@ -589,7 +589,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
589
589
|
return extractor.extract();
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
// bazel-out/
|
|
592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
593
593
|
import ts6 from "typescript";
|
|
594
594
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
595
595
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -647,7 +647,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
647
647
|
});
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
// bazel-out/
|
|
650
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
651
651
|
import ts7 from "typescript";
|
|
652
652
|
function extractorDecorator(declaration, typeChecker) {
|
|
653
653
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -720,7 +720,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
720
720
|
return callSignature;
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
// bazel-out/
|
|
723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
724
724
|
import ts8 from "typescript";
|
|
725
725
|
function extractEnum(declaration, typeChecker) {
|
|
726
726
|
return {
|
|
@@ -751,7 +751,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
751
751
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
752
752
|
}
|
|
753
753
|
|
|
754
|
-
// bazel-out/
|
|
754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
755
755
|
import ts9 from "typescript";
|
|
756
756
|
var initializerApiTag = "initializerApiFunction";
|
|
757
757
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -888,7 +888,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
888
888
|
return (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts9.isFunctionDeclaration(s) && s.body !== void 0);
|
|
889
889
|
}
|
|
890
890
|
|
|
891
|
-
// bazel-out/
|
|
891
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
892
892
|
function extractTypeAlias(declaration) {
|
|
893
893
|
return {
|
|
894
894
|
name: declaration.name.getText(),
|
|
@@ -900,7 +900,7 @@ function extractTypeAlias(declaration) {
|
|
|
900
900
|
};
|
|
901
901
|
}
|
|
902
902
|
|
|
903
|
-
// bazel-out/
|
|
903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
904
904
|
var DocsExtractor = class {
|
|
905
905
|
constructor(typeChecker, metadataReader) {
|
|
906
906
|
this.typeChecker = typeChecker;
|
|
@@ -984,11 +984,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
984
984
|
return relativePath;
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
-
// bazel-out/
|
|
987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
988
988
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
989
989
|
import ts24 from "typescript";
|
|
990
990
|
|
|
991
|
-
// bazel-out/
|
|
991
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
992
992
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
993
993
|
import * as path from "path";
|
|
994
994
|
function i18nGetExtension(formatName) {
|
|
@@ -1039,10 +1039,10 @@ function getPathNormalizer(basePath) {
|
|
|
1039
1039
|
};
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
1042
|
-
// bazel-out/
|
|
1042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1043
1043
|
import ts11 from "typescript";
|
|
1044
1044
|
|
|
1045
|
-
// bazel-out/
|
|
1045
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1046
1046
|
function toNumbers(value) {
|
|
1047
1047
|
const suffixIndex = value.lastIndexOf("-");
|
|
1048
1048
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1077,7 +1077,7 @@ function compareVersions(v1, v2) {
|
|
|
1077
1077
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
|
-
// bazel-out/
|
|
1080
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1081
1081
|
var MIN_TS_VERSION = "5.4.0";
|
|
1082
1082
|
var MAX_TS_VERSION = "5.6.0";
|
|
1083
1083
|
var tsVersion = ts11.version;
|
|
@@ -1090,11 +1090,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1090
1090
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1091
1091
|
}
|
|
1092
1092
|
|
|
1093
|
-
// bazel-out/
|
|
1093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1094
1094
|
import { R3Identifiers } from "@angular/compiler";
|
|
1095
1095
|
import ts22 from "typescript";
|
|
1096
1096
|
|
|
1097
|
-
// bazel-out/
|
|
1097
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1098
1098
|
var CycleAnalyzer = class {
|
|
1099
1099
|
constructor(importGraph) {
|
|
1100
1100
|
this.importGraph = importGraph;
|
|
@@ -1165,7 +1165,7 @@ var Cycle = class {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
};
|
|
1167
1167
|
|
|
1168
|
-
// bazel-out/
|
|
1168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1169
1169
|
import ts12 from "typescript";
|
|
1170
1170
|
var ImportGraph = class {
|
|
1171
1171
|
constructor(checker, perf) {
|
|
@@ -1257,7 +1257,7 @@ var Found = class {
|
|
|
1257
1257
|
}
|
|
1258
1258
|
};
|
|
1259
1259
|
|
|
1260
|
-
// bazel-out/
|
|
1260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1261
1261
|
import ts13 from "typescript";
|
|
1262
1262
|
var FlatIndexGenerator = class {
|
|
1263
1263
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1282,7 +1282,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1282
1282
|
}
|
|
1283
1283
|
};
|
|
1284
1284
|
|
|
1285
|
-
// bazel-out/
|
|
1285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1286
1286
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1287
1287
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1288
1288
|
let resolvedEntryPoint = null;
|
|
@@ -1298,7 +1298,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1298
1298
|
return resolvedEntryPoint;
|
|
1299
1299
|
}
|
|
1300
1300
|
|
|
1301
|
-
// bazel-out/
|
|
1301
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1302
1302
|
import ts14 from "typescript";
|
|
1303
1303
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1304
1304
|
const diagnostics = [];
|
|
@@ -1378,7 +1378,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
1380
|
|
|
1381
|
-
// bazel-out/
|
|
1381
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1382
1382
|
var ReferenceGraph = class {
|
|
1383
1383
|
constructor() {
|
|
1384
1384
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1432,7 +1432,7 @@ var ReferenceGraph = class {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
};
|
|
1434
1434
|
|
|
1435
|
-
// bazel-out/
|
|
1435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1436
1436
|
var FileDependencyGraph = class {
|
|
1437
1437
|
constructor() {
|
|
1438
1438
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1499,7 +1499,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1499
1499
|
return false;
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
|
-
// bazel-out/
|
|
1502
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1503
1503
|
var IncrementalStateKind;
|
|
1504
1504
|
(function(IncrementalStateKind2) {
|
|
1505
1505
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1507,7 +1507,7 @@ var IncrementalStateKind;
|
|
|
1507
1507
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1508
1508
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1509
1509
|
|
|
1510
|
-
// bazel-out/
|
|
1510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1511
1511
|
var PhaseKind;
|
|
1512
1512
|
(function(PhaseKind2) {
|
|
1513
1513
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1708,7 +1708,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
}
|
|
1710
1710
|
|
|
1711
|
-
// bazel-out/
|
|
1711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1712
1712
|
var TrackedIncrementalBuildStrategy = class {
|
|
1713
1713
|
constructor() {
|
|
1714
1714
|
this.state = null;
|
|
@@ -1744,7 +1744,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1744
1744
|
};
|
|
1745
1745
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1746
1746
|
|
|
1747
|
-
// bazel-out/
|
|
1747
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1748
1748
|
var IdentifierKind;
|
|
1749
1749
|
(function(IdentifierKind2) {
|
|
1750
1750
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1763,7 +1763,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1763
1763
|
}
|
|
1764
1764
|
};
|
|
1765
1765
|
|
|
1766
|
-
// bazel-out/
|
|
1766
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1767
1767
|
var IndexingContext = class {
|
|
1768
1768
|
constructor() {
|
|
1769
1769
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1773,10 +1773,10 @@ var IndexingContext = class {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
};
|
|
1775
1775
|
|
|
1776
|
-
// bazel-out/
|
|
1776
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1777
1777
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1778
1778
|
|
|
1779
|
-
// bazel-out/
|
|
1779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1780
1780
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1781
1781
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1782
1782
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2071,7 +2071,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2071
2071
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2072
2072
|
}
|
|
2073
2073
|
|
|
2074
|
-
// bazel-out/
|
|
2074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2075
2075
|
function generateAnalysis(context) {
|
|
2076
2076
|
const analysis = /* @__PURE__ */ new Map();
|
|
2077
2077
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2107,7 +2107,7 @@ function generateAnalysis(context) {
|
|
|
2107
2107
|
return analysis;
|
|
2108
2108
|
}
|
|
2109
2109
|
|
|
2110
|
-
// bazel-out/
|
|
2110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2111
2111
|
var NgModuleIndexImpl = class {
|
|
2112
2112
|
constructor(metaReader, localReader) {
|
|
2113
2113
|
this.metaReader = metaReader;
|
|
@@ -2196,7 +2196,7 @@ var NgModuleIndexImpl = class {
|
|
|
2196
2196
|
}
|
|
2197
2197
|
};
|
|
2198
2198
|
|
|
2199
|
-
// bazel-out/
|
|
2199
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2200
2200
|
import ts15 from "typescript";
|
|
2201
2201
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2202
2202
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2346,7 +2346,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2346
2346
|
};
|
|
2347
2347
|
}
|
|
2348
2348
|
|
|
2349
|
-
// bazel-out/
|
|
2349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2350
2350
|
var StandaloneComponentScopeReader = class {
|
|
2351
2351
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2352
2352
|
this.metaReader = metaReader;
|
|
@@ -2442,10 +2442,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2442
2442
|
}
|
|
2443
2443
|
};
|
|
2444
2444
|
|
|
2445
|
-
// bazel-out/
|
|
2445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2446
2446
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2447
2447
|
|
|
2448
|
-
// bazel-out/
|
|
2448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2449
2449
|
import ts16 from "typescript";
|
|
2450
2450
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2451
2451
|
"WritableSignal",
|
|
@@ -2465,7 +2465,7 @@ function isSignalSymbol(symbol) {
|
|
|
2465
2465
|
});
|
|
2466
2466
|
}
|
|
2467
2467
|
|
|
2468
|
-
// bazel-out/
|
|
2468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2469
2469
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2470
2470
|
var TemplateCheckWithVisitor = class {
|
|
2471
2471
|
run(ctx, component, template) {
|
|
@@ -2593,7 +2593,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2593
2593
|
}
|
|
2594
2594
|
};
|
|
2595
2595
|
|
|
2596
|
-
// bazel-out/
|
|
2596
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2597
2597
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2598
2598
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2599
2599
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2645,7 +2645,7 @@ var factory = {
|
|
|
2645
2645
|
create: () => new InterpolatedSignalCheck()
|
|
2646
2646
|
};
|
|
2647
2647
|
|
|
2648
|
-
// bazel-out/
|
|
2648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2649
2649
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2650
2650
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2651
2651
|
constructor() {
|
|
@@ -2671,7 +2671,7 @@ var factory2 = {
|
|
|
2671
2671
|
create: () => new InvalidBananaInBoxCheck()
|
|
2672
2672
|
};
|
|
2673
2673
|
|
|
2674
|
-
// bazel-out/
|
|
2674
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2675
2675
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2676
2676
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2677
2677
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2716,7 +2716,7 @@ var factory3 = {
|
|
|
2716
2716
|
}
|
|
2717
2717
|
};
|
|
2718
2718
|
|
|
2719
|
-
// bazel-out/
|
|
2719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2720
2720
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2721
2721
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2722
2722
|
constructor() {
|
|
@@ -2749,7 +2749,7 @@ var factory4 = {
|
|
|
2749
2749
|
create: () => new MissingNgForOfLetCheck()
|
|
2750
2750
|
};
|
|
2751
2751
|
|
|
2752
|
-
// bazel-out/
|
|
2752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2753
2753
|
import { Binary } from "@angular/compiler";
|
|
2754
2754
|
import ts17 from "typescript";
|
|
2755
2755
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2794,7 +2794,7 @@ var factory5 = {
|
|
|
2794
2794
|
}
|
|
2795
2795
|
};
|
|
2796
2796
|
|
|
2797
|
-
// bazel-out/
|
|
2797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2798
2798
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2799
2799
|
import ts18 from "typescript";
|
|
2800
2800
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2840,7 +2840,7 @@ var factory6 = {
|
|
|
2840
2840
|
}
|
|
2841
2841
|
};
|
|
2842
2842
|
|
|
2843
|
-
// bazel-out/
|
|
2843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
2844
2844
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
|
|
2845
2845
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
2846
2846
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2864,7 +2864,7 @@ var factory7 = {
|
|
|
2864
2864
|
create: () => new SuffixNotSupportedCheck()
|
|
2865
2865
|
};
|
|
2866
2866
|
|
|
2867
|
-
// bazel-out/
|
|
2867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
2868
2868
|
import { TmplAstTextAttribute } from "@angular/compiler";
|
|
2869
2869
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2870
2870
|
constructor() {
|
|
@@ -2903,10 +2903,62 @@ var factory8 = {
|
|
|
2903
2903
|
create: () => new TextAttributeNotBindingSpec()
|
|
2904
2904
|
};
|
|
2905
2905
|
|
|
2906
|
-
// bazel-out/
|
|
2906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
2907
|
+
import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
2908
|
+
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2909
|
+
constructor() {
|
|
2910
|
+
super(...arguments);
|
|
2911
|
+
this.code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
|
|
2912
|
+
}
|
|
2913
|
+
visitNode(ctx, component, node) {
|
|
2914
|
+
if (!(node instanceof TmplAstBoundEvent2))
|
|
2915
|
+
return [];
|
|
2916
|
+
if (node.type !== ParsedEventType.Regular && node.type !== ParsedEventType.Animation)
|
|
2917
|
+
return [];
|
|
2918
|
+
if (!(node.handler instanceof ASTWithSource4))
|
|
2919
|
+
return [];
|
|
2920
|
+
const sourceExpressionText = node.handler.source || "";
|
|
2921
|
+
if (node.handler.ast instanceof Chain) {
|
|
2922
|
+
return node.handler.ast.expressions.flatMap((expression) => assertExpressionInvoked(expression, component, node, sourceExpressionText, ctx));
|
|
2923
|
+
}
|
|
2924
|
+
if (node.handler.ast instanceof Conditional) {
|
|
2925
|
+
const { trueExp, falseExp } = node.handler.ast;
|
|
2926
|
+
return [trueExp, falseExp].flatMap((expression) => assertExpressionInvoked(expression, component, node, sourceExpressionText, ctx));
|
|
2927
|
+
}
|
|
2928
|
+
return assertExpressionInvoked(node.handler.ast, component, node, sourceExpressionText, ctx);
|
|
2929
|
+
}
|
|
2930
|
+
};
|
|
2931
|
+
function assertExpressionInvoked(expression, component, node, expressionText, ctx) {
|
|
2932
|
+
var _a;
|
|
2933
|
+
if (expression instanceof Call || expression instanceof SafeCall2) {
|
|
2934
|
+
return [];
|
|
2935
|
+
}
|
|
2936
|
+
if (!(expression instanceof PropertyRead3) && !(expression instanceof SafePropertyRead2)) {
|
|
2937
|
+
return [];
|
|
2938
|
+
}
|
|
2939
|
+
const symbol = ctx.templateTypeChecker.getSymbolOfNode(expression, component);
|
|
2940
|
+
if (symbol !== null && symbol.kind === SymbolKind.Expression) {
|
|
2941
|
+
if (((_a = symbol.tsType.getCallSignatures()) == null ? void 0 : _a.length) > 0) {
|
|
2942
|
+
const fullExpressionText = generateStringFromExpression(expression, expressionText);
|
|
2943
|
+
const errorString = `Function in event binding should be invoked: ${fullExpressionText}()`;
|
|
2944
|
+
return [ctx.makeTemplateDiagnostic(node.sourceSpan, errorString)];
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
return [];
|
|
2948
|
+
}
|
|
2949
|
+
function generateStringFromExpression(expression, source) {
|
|
2950
|
+
return source.substring(expression.span.start, expression.span.end);
|
|
2951
|
+
}
|
|
2952
|
+
var factory9 = {
|
|
2953
|
+
code: ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING,
|
|
2954
|
+
name: ExtendedTemplateDiagnosticName.UNINVOKED_FUNCTION_IN_EVENT_BINDING,
|
|
2955
|
+
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
2956
|
+
};
|
|
2957
|
+
|
|
2958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
2907
2959
|
import ts19 from "typescript";
|
|
2908
2960
|
|
|
2909
|
-
// bazel-out/
|
|
2961
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
2910
2962
|
var DiagnosticCategoryLabel;
|
|
2911
2963
|
(function(DiagnosticCategoryLabel2) {
|
|
2912
2964
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -2914,18 +2966,18 @@ var DiagnosticCategoryLabel;
|
|
|
2914
2966
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
2915
2967
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
2916
2968
|
|
|
2917
|
-
// bazel-out/
|
|
2969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
2918
2970
|
var ExtendedTemplateCheckerImpl = class {
|
|
2919
2971
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
2920
2972
|
var _a, _b, _c, _d, _e;
|
|
2921
2973
|
this.partialCtx = { templateTypeChecker, typeChecker };
|
|
2922
2974
|
this.templateChecks = /* @__PURE__ */ new Map();
|
|
2923
|
-
for (const
|
|
2924
|
-
const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[
|
|
2975
|
+
for (const factory10 of templateCheckFactories) {
|
|
2976
|
+
const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[factory10.name]) != null ? _d : (_c = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) != null ? _e : DiagnosticCategoryLabel.Warning);
|
|
2925
2977
|
if (category === null) {
|
|
2926
2978
|
continue;
|
|
2927
2979
|
}
|
|
2928
|
-
const check =
|
|
2980
|
+
const check = factory10.create(options);
|
|
2929
2981
|
if (check === null) {
|
|
2930
2982
|
continue;
|
|
2931
2983
|
}
|
|
@@ -2967,7 +3019,7 @@ function assertNever(value) {
|
|
|
2967
3019
|
${value}`);
|
|
2968
3020
|
}
|
|
2969
3021
|
|
|
2970
|
-
// bazel-out/
|
|
3022
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
2971
3023
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
2972
3024
|
factory2,
|
|
2973
3025
|
factory5,
|
|
@@ -2976,15 +3028,16 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
2976
3028
|
factory8,
|
|
2977
3029
|
factory4,
|
|
2978
3030
|
factory7,
|
|
2979
|
-
factory
|
|
3031
|
+
factory,
|
|
3032
|
+
factory9
|
|
2980
3033
|
];
|
|
2981
3034
|
var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
2982
3035
|
ExtendedTemplateDiagnosticName.CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION,
|
|
2983
|
-
...ALL_DIAGNOSTIC_FACTORIES.map((
|
|
3036
|
+
...ALL_DIAGNOSTIC_FACTORIES.map((factory10) => factory10.name)
|
|
2984
3037
|
]);
|
|
2985
3038
|
|
|
2986
|
-
// bazel-out/
|
|
2987
|
-
import { ASTWithSource as
|
|
3039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
3040
|
+
import { ASTWithSource as ASTWithSource5, ImplicitReceiver as ImplicitReceiver2, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstLetDeclaration, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
2988
3041
|
import ts20 from "typescript";
|
|
2989
3042
|
var TemplateSemanticsCheckerImpl = class {
|
|
2990
3043
|
constructor(templateTypeChecker) {
|
|
@@ -3028,7 +3081,7 @@ var ExpressionsSemanticsVisitor = class extends RecursiveAstVisitor3 {
|
|
|
3028
3081
|
this.checkForIllegalWriteInTwoWayBinding(ast, context);
|
|
3029
3082
|
}
|
|
3030
3083
|
checkForIllegalWriteInEventBinding(ast, context) {
|
|
3031
|
-
if (!(context instanceof
|
|
3084
|
+
if (!(context instanceof TmplAstBoundEvent3) || !(ast.receiver instanceof ImplicitReceiver2)) {
|
|
3032
3085
|
return;
|
|
3033
3086
|
}
|
|
3034
3087
|
const target = this.templateTypeChecker.getExpressionTarget(ast, this.component);
|
|
@@ -3038,7 +3091,7 @@ var ExpressionsSemanticsVisitor = class extends RecursiveAstVisitor3 {
|
|
|
3038
3091
|
}
|
|
3039
3092
|
}
|
|
3040
3093
|
checkForIllegalWriteInTwoWayBinding(ast, context) {
|
|
3041
|
-
if (!(context instanceof
|
|
3094
|
+
if (!(context instanceof TmplAstBoundEvent3) || context.type !== ParsedEventType2.TwoWay || !(ast.receiver instanceof ImplicitReceiver2) || ast !== unwrapAstWithSource(context.handler)) {
|
|
3042
3095
|
return;
|
|
3043
3096
|
}
|
|
3044
3097
|
const target = this.templateTypeChecker.getExpressionTarget(ast, this.component);
|
|
@@ -3071,10 +3124,10 @@ var ExpressionsSemanticsVisitor = class extends RecursiveAstVisitor3 {
|
|
|
3071
3124
|
}
|
|
3072
3125
|
};
|
|
3073
3126
|
function unwrapAstWithSource(ast) {
|
|
3074
|
-
return ast instanceof
|
|
3127
|
+
return ast instanceof ASTWithSource5 ? ast.ast : ast;
|
|
3075
3128
|
}
|
|
3076
3129
|
|
|
3077
|
-
// bazel-out/
|
|
3130
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3078
3131
|
import ts21 from "typescript";
|
|
3079
3132
|
var APIS_TO_CHECK = [
|
|
3080
3133
|
INPUT_INITIALIZER_FN,
|
|
@@ -3125,7 +3178,7 @@ var InitializerApiUsageRule = class {
|
|
|
3125
3178
|
}
|
|
3126
3179
|
};
|
|
3127
3180
|
|
|
3128
|
-
// bazel-out/
|
|
3181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3129
3182
|
var SourceFileValidator = class {
|
|
3130
3183
|
constructor(reflector, importedSymbolsTracker) {
|
|
3131
3184
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -3163,7 +3216,7 @@ var SourceFileValidator = class {
|
|
|
3163
3216
|
}
|
|
3164
3217
|
};
|
|
3165
3218
|
|
|
3166
|
-
// bazel-out/
|
|
3219
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
3167
3220
|
function coreHasSymbol(program, symbol) {
|
|
3168
3221
|
const checker = program.getTypeChecker();
|
|
3169
3222
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -3182,7 +3235,7 @@ function isMaybeCore(sf) {
|
|
|
3182
3235
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
3183
3236
|
}
|
|
3184
3237
|
|
|
3185
|
-
// bazel-out/
|
|
3238
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3186
3239
|
import semver from "semver";
|
|
3187
3240
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3188
3241
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3191,7 +3244,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3191
3244
|
return semver.satisfies(coreVersion, minVersion);
|
|
3192
3245
|
}
|
|
3193
3246
|
|
|
3194
|
-
// bazel-out/
|
|
3247
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3195
3248
|
var CompilationTicketKind;
|
|
3196
3249
|
(function(CompilationTicketKind2) {
|
|
3197
3250
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -3990,7 +4043,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
3990
4043
|
return versions;
|
|
3991
4044
|
}
|
|
3992
4045
|
|
|
3993
|
-
// bazel-out/
|
|
4046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
3994
4047
|
import ts23 from "typescript";
|
|
3995
4048
|
var DelegatingCompilerHost = class {
|
|
3996
4049
|
get jsDocParsingMode() {
|
|
@@ -4129,7 +4182,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4129
4182
|
}
|
|
4130
4183
|
};
|
|
4131
4184
|
|
|
4132
|
-
// bazel-out/
|
|
4185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4133
4186
|
var NgtscProgram = class {
|
|
4134
4187
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
4135
4188
|
this.options = options;
|
|
@@ -4355,15 +4408,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4355
4408
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4356
4409
|
}
|
|
4357
4410
|
|
|
4358
|
-
// bazel-out/
|
|
4411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4359
4412
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4360
4413
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4361
4414
|
}
|
|
4362
4415
|
|
|
4363
|
-
// bazel-out/
|
|
4416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4364
4417
|
import ts26 from "typescript";
|
|
4365
4418
|
|
|
4366
|
-
// bazel-out/
|
|
4419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4367
4420
|
import ts25 from "typescript";
|
|
4368
4421
|
function createMessageDiagnostic(messageText) {
|
|
4369
4422
|
return {
|
|
@@ -4377,7 +4430,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4377
4430
|
};
|
|
4378
4431
|
}
|
|
4379
4432
|
|
|
4380
|
-
// bazel-out/
|
|
4433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4381
4434
|
var defaultFormatHost = {
|
|
4382
4435
|
getCurrentDirectory: () => ts26.sys.getCurrentDirectory(),
|
|
4383
4436
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -4608,4 +4661,4 @@ export {
|
|
|
4608
4661
|
* Use of this source code is governed by an MIT-style license that can be
|
|
4609
4662
|
* found in the LICENSE file at https://angular.io/license
|
|
4610
4663
|
*/
|
|
4611
|
-
//# sourceMappingURL=chunk-
|
|
4664
|
+
//# sourceMappingURL=chunk-OZ2N4CUX.js.map
|