@angular/compiler-cli 19.2.7 → 19.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
- package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
- package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
- package/bundles/{chunk-UN7XKKEG.js → chunk-GGNEM2AI.js} +3 -3
- package/bundles/{chunk-DOIZMHHW.js → chunk-GGYBKDGO.js} +108 -94
- package/bundles/chunk-GGYBKDGO.js.map +6 -0
- package/bundles/{chunk-DQSPY33N.js → chunk-ISOL2WT5.js} +12 -12
- package/bundles/{chunk-TB4JL33M.js → chunk-IYDTONLQ.js} +31 -31
- package/bundles/{chunk-NJFWM5E6.js → chunk-NNCRCOQI.js} +5 -5
- package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
- package/bundles/{chunk-2ACG2EMN.js → chunk-X2KDZPBI.js} +128 -126
- package/bundles/chunk-X2KDZPBI.js.map +6 -0
- package/bundles/{chunk-XAXYS4JB.js → chunk-XRSJELB6.js} +42 -42
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +4 -4
- package/bundles/private/tooling.js +6 -6
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/docs/src/entities.d.ts +2 -0
- package/src/ngtsc/metadata/src/api.d.ts +1 -0
- package/bundles/chunk-2ACG2EMN.js.map +0 -6
- package/bundles/chunk-DOIZMHHW.js.map +0 -6
- /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
- /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
- /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
- /package/bundles/{chunk-UN7XKKEG.js.map → chunk-GGNEM2AI.js.map} +0 -0
- /package/bundles/{chunk-DQSPY33N.js.map → chunk-ISOL2WT5.js.map} +0 -0
- /package/bundles/{chunk-TB4JL33M.js.map → chunk-IYDTONLQ.js.map} +0 -0
- /package/bundles/{chunk-NJFWM5E6.js.map → chunk-NNCRCOQI.js.map} +0 -0
- /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
- /package/bundles/{chunk-XAXYS4JB.js.map → chunk-XRSJELB6.js.map} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ISOL2WT5.js";
|
|
8
8
|
import {
|
|
9
9
|
CompilationMode,
|
|
10
10
|
ComponentDecoratorHandler,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
retagAllTsFiles,
|
|
52
52
|
tryParseInitializerApi,
|
|
53
53
|
untagAllTsFiles
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-X2KDZPBI.js";
|
|
55
55
|
import {
|
|
56
56
|
AbsoluteModuleStrategy,
|
|
57
57
|
AliasStrategy,
|
|
@@ -87,14 +87,14 @@ import {
|
|
|
87
87
|
relativePathBetween,
|
|
88
88
|
replaceTsWithNgInErrors,
|
|
89
89
|
toUnredirectedSourceFile
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-XRSJELB6.js";
|
|
91
91
|
import {
|
|
92
92
|
ActivePerfRecorder,
|
|
93
93
|
DelegatingPerfRecorder,
|
|
94
94
|
PerfCheckpoint,
|
|
95
95
|
PerfEvent,
|
|
96
96
|
PerfPhase
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-Q2WE7ECN.js";
|
|
98
98
|
import {
|
|
99
99
|
LogicalFileSystem,
|
|
100
100
|
absoluteFrom,
|
|
@@ -104,9 +104,9 @@ import {
|
|
|
104
104
|
getFileSystem,
|
|
105
105
|
join,
|
|
106
106
|
resolve
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-37JMVF7H.js";
|
|
108
108
|
|
|
109
|
-
// bazel-out/
|
|
109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
110
110
|
var DEFAULT_ERROR_CODE = 100;
|
|
111
111
|
var UNKNOWN_ERROR_CODE = 500;
|
|
112
112
|
var SOURCE = "angular";
|
|
@@ -124,7 +124,7 @@ var EmitFlags;
|
|
|
124
124
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
125
125
|
})(EmitFlags || (EmitFlags = {}));
|
|
126
126
|
|
|
127
|
-
// bazel-out/
|
|
127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
128
128
|
import ts from "typescript";
|
|
129
129
|
var wrapHostForTest = null;
|
|
130
130
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -134,7 +134,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
134
134
|
return tsHost;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
138
138
|
var EntryType;
|
|
139
139
|
(function(EntryType2) {
|
|
140
140
|
EntryType2["Block"] = "block";
|
|
@@ -181,23 +181,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
181
181
|
return "source" in entry;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
185
185
|
import ts12 from "typescript";
|
|
186
186
|
|
|
187
|
-
// bazel-out/
|
|
187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
188
188
|
import ts6 from "typescript";
|
|
189
189
|
|
|
190
|
-
// bazel-out/
|
|
190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
191
191
|
function isAngularPrivateName(name) {
|
|
192
192
|
var _a;
|
|
193
193
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
194
194
|
return firstChar === "\u0275" || firstChar === "_";
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
// bazel-out/
|
|
197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
198
198
|
import ts4 from "typescript";
|
|
199
199
|
|
|
200
|
-
// bazel-out/
|
|
200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
201
201
|
function extractGenerics(declaration) {
|
|
202
202
|
var _a, _b;
|
|
203
203
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -210,7 +210,7 @@ function extractGenerics(declaration) {
|
|
|
210
210
|
})) != null ? _b : [];
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
// bazel-out/
|
|
213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
214
214
|
import ts2 from "typescript";
|
|
215
215
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
|
|
216
216
|
function extractJsDocTags(node) {
|
|
@@ -254,13 +254,13 @@ function unescapeAngularDecorators(comment) {
|
|
|
254
254
|
return comment.replace(/_NG_AT_/g, "@");
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
// bazel-out/
|
|
257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
258
258
|
import ts3 from "typescript";
|
|
259
259
|
function extractResolvedTypeString(node, checker) {
|
|
260
260
|
return checker.typeToString(checker.getTypeAtLocation(node), void 0, ts3.TypeFormatFlags.NoTruncation);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
// bazel-out/
|
|
263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
264
264
|
var FunctionExtractor = class {
|
|
265
265
|
name;
|
|
266
266
|
exportDeclaration;
|
|
@@ -273,11 +273,7 @@ var FunctionExtractor = class {
|
|
|
273
273
|
extract() {
|
|
274
274
|
var _a, _b;
|
|
275
275
|
const signature = this.typeChecker.getSignatureFromDeclaration(this.exportDeclaration);
|
|
276
|
-
const returnType = signature ? this.typeChecker
|
|
277
|
-
this.typeChecker.getReturnTypeOfSignature(signature),
|
|
278
|
-
void 0,
|
|
279
|
-
ts4.TypeFormatFlags.NoTypeReduction | ts4.TypeFormatFlags.NoTruncation
|
|
280
|
-
) : "unknown";
|
|
276
|
+
const returnType = signature ? extractReturnType(signature, this.typeChecker) : "unknown";
|
|
281
277
|
const implementation = (_a = findImplementationOfFunction(this.exportDeclaration, this.typeChecker)) != null ? _a : this.exportDeclaration;
|
|
282
278
|
const type = this.typeChecker.getTypeAtLocation(this.exportDeclaration);
|
|
283
279
|
const overloads = ts4.isConstructorDeclaration(this.exportDeclaration) ? constructorOverloads(this.exportDeclaration, this.typeChecker) : extractCallSignatures(this.name, this.typeChecker, type);
|
|
@@ -354,13 +350,20 @@ function extractCallSignatures(name, typeChecker, type) {
|
|
|
354
350
|
jsdocTags: extractJsDocTags(decl),
|
|
355
351
|
params: extractAllParams(decl.parameters, typeChecker),
|
|
356
352
|
rawComment: extractRawJsDoc(decl),
|
|
357
|
-
returnType: typeChecker
|
|
358
|
-
typeChecker.getReturnTypeOfSignature(signature),
|
|
359
|
-
void 0,
|
|
360
|
-
ts4.TypeFormatFlags.NoTypeReduction | ts4.TypeFormatFlags.NoTruncation
|
|
361
|
-
)
|
|
353
|
+
returnType: extractReturnType(signature, typeChecker)
|
|
362
354
|
}));
|
|
363
355
|
}
|
|
356
|
+
function extractReturnType(signature, typeChecker) {
|
|
357
|
+
var _a;
|
|
358
|
+
if (((_a = signature == null ? void 0 : signature.declaration) == null ? void 0 : _a.type) && ts4.isTypePredicateNode(signature.declaration.type)) {
|
|
359
|
+
return signature.declaration.type.getText();
|
|
360
|
+
}
|
|
361
|
+
return typeChecker.typeToString(
|
|
362
|
+
typeChecker.getReturnTypeOfSignature(signature),
|
|
363
|
+
void 0,
|
|
364
|
+
ts4.TypeFormatFlags.NoTypeReduction | ts4.TypeFormatFlags.NoTruncation
|
|
365
|
+
);
|
|
366
|
+
}
|
|
364
367
|
function findImplementationOfFunction(node, typeChecker) {
|
|
365
368
|
var _a;
|
|
366
369
|
if (node.body !== void 0 || node.name === void 0) {
|
|
@@ -371,7 +374,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
371
374
|
return implementation;
|
|
372
375
|
}
|
|
373
376
|
|
|
374
|
-
// bazel-out/
|
|
377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
375
378
|
import ts5 from "typescript";
|
|
376
379
|
function isInternal(member) {
|
|
377
380
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -390,7 +393,7 @@ function hasLeadingInternalComment(member) {
|
|
|
390
393
|
)) != null ? _a : false;
|
|
391
394
|
}
|
|
392
395
|
|
|
393
|
-
// bazel-out/
|
|
396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
394
397
|
var ClassExtractor = class {
|
|
395
398
|
declaration;
|
|
396
399
|
typeChecker;
|
|
@@ -431,7 +434,7 @@ var ClassExtractor = class {
|
|
|
431
434
|
return this.extractClassProperty(memberDeclaration);
|
|
432
435
|
} else if (ts6.isAccessor(memberDeclaration)) {
|
|
433
436
|
return this.extractGetterSetter(memberDeclaration);
|
|
434
|
-
} else if (ts6.isConstructorDeclaration(memberDeclaration)) {
|
|
437
|
+
} else if (ts6.isConstructorDeclaration(memberDeclaration) && memberDeclaration.parameters.length > 0) {
|
|
435
438
|
return this.extractConstructor(memberDeclaration);
|
|
436
439
|
}
|
|
437
440
|
return void 0;
|
|
@@ -665,7 +668,9 @@ var PipeExtractor = class extends ClassExtractor {
|
|
|
665
668
|
...super.extract(),
|
|
666
669
|
pipeName: this.metadata.name,
|
|
667
670
|
entryType: EntryType.Pipe,
|
|
668
|
-
isStandalone: this.metadata.isStandalone
|
|
671
|
+
isStandalone: this.metadata.isStandalone,
|
|
672
|
+
usage: extractPipeSyntax(this.metadata, this.declaration),
|
|
673
|
+
isPure: this.metadata.isPure
|
|
669
674
|
};
|
|
670
675
|
}
|
|
671
676
|
};
|
|
@@ -705,8 +710,17 @@ function extractInterface(declaration, typeChecker) {
|
|
|
705
710
|
const extractor = new ClassExtractor(declaration, typeChecker);
|
|
706
711
|
return extractor.extract();
|
|
707
712
|
}
|
|
713
|
+
function extractPipeSyntax(metadata, classDeclaration) {
|
|
714
|
+
const transformParams = classDeclaration.members.find((member) => {
|
|
715
|
+
return ts6.isMethodDeclaration(member) && member.name && ts6.isIdentifier(member.name) && member.name.getText() === "transform";
|
|
716
|
+
});
|
|
717
|
+
let paramNames = transformParams.parameters.slice(1).map((param) => {
|
|
718
|
+
return param.name.getText();
|
|
719
|
+
});
|
|
720
|
+
return `{{ value_expression | ${metadata.name}${paramNames.length ? ":" + paramNames.join(":") : ""} }}`;
|
|
721
|
+
}
|
|
708
722
|
|
|
709
|
-
// bazel-out/
|
|
723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
710
724
|
import ts7 from "typescript";
|
|
711
725
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
712
726
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -764,7 +778,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
764
778
|
});
|
|
765
779
|
}
|
|
766
780
|
|
|
767
|
-
// bazel-out/
|
|
781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
768
782
|
import ts8 from "typescript";
|
|
769
783
|
function extractorDecorator(declaration, typeChecker) {
|
|
770
784
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -837,7 +851,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
837
851
|
return callSignature;
|
|
838
852
|
}
|
|
839
853
|
|
|
840
|
-
// bazel-out/
|
|
854
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
841
855
|
import ts9 from "typescript";
|
|
842
856
|
function extractEnum(declaration, typeChecker) {
|
|
843
857
|
return {
|
|
@@ -868,7 +882,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
868
882
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
869
883
|
}
|
|
870
884
|
|
|
871
|
-
// bazel-out/
|
|
885
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
872
886
|
import ts10 from "typescript";
|
|
873
887
|
var initializerApiTag = "initializerApiFunction";
|
|
874
888
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -977,7 +991,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
|
|
|
977
991
|
};
|
|
978
992
|
}
|
|
979
993
|
|
|
980
|
-
// bazel-out/
|
|
994
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
981
995
|
function extractTypeAlias(declaration) {
|
|
982
996
|
return {
|
|
983
997
|
name: declaration.name.getText(),
|
|
@@ -990,7 +1004,7 @@ function extractTypeAlias(declaration) {
|
|
|
990
1004
|
};
|
|
991
1005
|
}
|
|
992
1006
|
|
|
993
|
-
// bazel-out/
|
|
1007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
|
|
994
1008
|
import ts11 from "typescript";
|
|
995
1009
|
function getImportedSymbols(sourceFile) {
|
|
996
1010
|
const importSpecifiers = /* @__PURE__ */ new Map();
|
|
@@ -1015,7 +1029,7 @@ function getImportedSymbols(sourceFile) {
|
|
|
1015
1029
|
return importSpecifiers;
|
|
1016
1030
|
}
|
|
1017
1031
|
|
|
1018
|
-
// bazel-out/
|
|
1032
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
1019
1033
|
var DocsExtractor = class {
|
|
1020
1034
|
typeChecker;
|
|
1021
1035
|
metadataReader;
|
|
@@ -1103,11 +1117,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
1103
1117
|
return relativePath;
|
|
1104
1118
|
}
|
|
1105
1119
|
|
|
1106
|
-
// bazel-out/
|
|
1120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
1107
1121
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
1108
1122
|
import ts27 from "typescript";
|
|
1109
1123
|
|
|
1110
|
-
// bazel-out/
|
|
1124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
1111
1125
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
1112
1126
|
import * as path from "path";
|
|
1113
1127
|
function i18nGetExtension(formatName) {
|
|
@@ -1158,10 +1172,10 @@ function getPathNormalizer(basePath) {
|
|
|
1158
1172
|
};
|
|
1159
1173
|
}
|
|
1160
1174
|
|
|
1161
|
-
// bazel-out/
|
|
1175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1162
1176
|
import ts13 from "typescript";
|
|
1163
1177
|
|
|
1164
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1165
1179
|
function toNumbers(value) {
|
|
1166
1180
|
const suffixIndex = value.lastIndexOf("-");
|
|
1167
1181
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1196,7 +1210,7 @@ function compareVersions(v1, v2) {
|
|
|
1196
1210
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1197
1211
|
}
|
|
1198
1212
|
|
|
1199
|
-
// bazel-out/
|
|
1213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1200
1214
|
var MIN_TS_VERSION = "5.5.0";
|
|
1201
1215
|
var MAX_TS_VERSION = "5.9.0";
|
|
1202
1216
|
var tsVersion = ts13.version;
|
|
@@ -1209,11 +1223,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1209
1223
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1210
1224
|
}
|
|
1211
1225
|
|
|
1212
|
-
// bazel-out/
|
|
1226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1213
1227
|
import { R3Identifiers } from "@angular/compiler";
|
|
1214
1228
|
import ts25 from "typescript";
|
|
1215
1229
|
|
|
1216
|
-
// bazel-out/
|
|
1230
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1217
1231
|
var CycleAnalyzer = class {
|
|
1218
1232
|
importGraph;
|
|
1219
1233
|
cachedResults = null;
|
|
@@ -1290,7 +1304,7 @@ var Cycle = class {
|
|
|
1290
1304
|
}
|
|
1291
1305
|
};
|
|
1292
1306
|
|
|
1293
|
-
// bazel-out/
|
|
1307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1294
1308
|
import ts14 from "typescript";
|
|
1295
1309
|
var ImportGraph = class {
|
|
1296
1310
|
checker;
|
|
@@ -1386,7 +1400,7 @@ var Found = class {
|
|
|
1386
1400
|
}
|
|
1387
1401
|
};
|
|
1388
1402
|
|
|
1389
|
-
// bazel-out/
|
|
1403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1390
1404
|
import ts15 from "typescript";
|
|
1391
1405
|
var FlatIndexGenerator = class {
|
|
1392
1406
|
entryPoint;
|
|
@@ -1414,7 +1428,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1414
1428
|
}
|
|
1415
1429
|
};
|
|
1416
1430
|
|
|
1417
|
-
// bazel-out/
|
|
1431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1418
1432
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1419
1433
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1420
1434
|
let resolvedEntryPoint = null;
|
|
@@ -1430,7 +1444,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1430
1444
|
return resolvedEntryPoint;
|
|
1431
1445
|
}
|
|
1432
1446
|
|
|
1433
|
-
// bazel-out/
|
|
1447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1434
1448
|
import ts16 from "typescript";
|
|
1435
1449
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1436
1450
|
const diagnostics = [];
|
|
@@ -1510,7 +1524,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1510
1524
|
}
|
|
1511
1525
|
}
|
|
1512
1526
|
|
|
1513
|
-
// bazel-out/
|
|
1527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1514
1528
|
var ReferenceGraph = class {
|
|
1515
1529
|
references = /* @__PURE__ */ new Map();
|
|
1516
1530
|
add(from, to) {
|
|
@@ -1562,7 +1576,7 @@ var ReferenceGraph = class {
|
|
|
1562
1576
|
}
|
|
1563
1577
|
};
|
|
1564
1578
|
|
|
1565
|
-
// bazel-out/
|
|
1579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1566
1580
|
var FileDependencyGraph = class {
|
|
1567
1581
|
nodes = /* @__PURE__ */ new Map();
|
|
1568
1582
|
addDependency(from, on) {
|
|
@@ -1627,7 +1641,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1627
1641
|
return false;
|
|
1628
1642
|
}
|
|
1629
1643
|
|
|
1630
|
-
// bazel-out/
|
|
1644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1631
1645
|
var IncrementalStateKind;
|
|
1632
1646
|
(function(IncrementalStateKind2) {
|
|
1633
1647
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1635,7 +1649,7 @@ var IncrementalStateKind;
|
|
|
1635
1649
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1636
1650
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1637
1651
|
|
|
1638
|
-
// bazel-out/
|
|
1652
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1639
1653
|
var PhaseKind;
|
|
1640
1654
|
(function(PhaseKind2) {
|
|
1641
1655
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1841,7 +1855,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1841
1855
|
}
|
|
1842
1856
|
}
|
|
1843
1857
|
|
|
1844
|
-
// bazel-out/
|
|
1858
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1845
1859
|
var TrackedIncrementalBuildStrategy = class {
|
|
1846
1860
|
state = null;
|
|
1847
1861
|
isSet = false;
|
|
@@ -1875,7 +1889,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1875
1889
|
};
|
|
1876
1890
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1877
1891
|
|
|
1878
|
-
// bazel-out/
|
|
1892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1879
1893
|
var IdentifierKind;
|
|
1880
1894
|
(function(IdentifierKind2) {
|
|
1881
1895
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1896,7 +1910,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1896
1910
|
}
|
|
1897
1911
|
};
|
|
1898
1912
|
|
|
1899
|
-
// bazel-out/
|
|
1913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1900
1914
|
var IndexingContext = class {
|
|
1901
1915
|
components = /* @__PURE__ */ new Set();
|
|
1902
1916
|
addComponent(info) {
|
|
@@ -1904,10 +1918,10 @@ var IndexingContext = class {
|
|
|
1904
1918
|
}
|
|
1905
1919
|
};
|
|
1906
1920
|
|
|
1907
|
-
// bazel-out/
|
|
1921
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1908
1922
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1909
1923
|
|
|
1910
|
-
// bazel-out/
|
|
1924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1911
1925
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1912
1926
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1913
1927
|
expressionStr;
|
|
@@ -2207,7 +2221,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2207
2221
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2208
2222
|
}
|
|
2209
2223
|
|
|
2210
|
-
// bazel-out/
|
|
2224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2211
2225
|
function generateAnalysis(context) {
|
|
2212
2226
|
const analysis = /* @__PURE__ */ new Map();
|
|
2213
2227
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2243,7 +2257,7 @@ function generateAnalysis(context) {
|
|
|
2243
2257
|
return analysis;
|
|
2244
2258
|
}
|
|
2245
2259
|
|
|
2246
|
-
// bazel-out/
|
|
2260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2247
2261
|
var NgModuleIndexImpl = class {
|
|
2248
2262
|
metaReader;
|
|
2249
2263
|
localReader;
|
|
@@ -2334,7 +2348,7 @@ var NgModuleIndexImpl = class {
|
|
|
2334
2348
|
}
|
|
2335
2349
|
};
|
|
2336
2350
|
|
|
2337
|
-
// bazel-out/
|
|
2351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2338
2352
|
import ts17 from "typescript";
|
|
2339
2353
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2340
2354
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2492,7 +2506,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2492
2506
|
};
|
|
2493
2507
|
}
|
|
2494
2508
|
|
|
2495
|
-
// bazel-out/
|
|
2509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2496
2510
|
var StandaloneComponentScopeReader = class {
|
|
2497
2511
|
metaReader;
|
|
2498
2512
|
localModuleReader;
|
|
@@ -2591,10 +2605,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2591
2605
|
}
|
|
2592
2606
|
};
|
|
2593
2607
|
|
|
2594
|
-
// bazel-out/
|
|
2608
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2595
2609
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2596
2610
|
|
|
2597
|
-
// bazel-out/
|
|
2611
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2598
2612
|
import ts18 from "typescript";
|
|
2599
2613
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2600
2614
|
"WritableSignal",
|
|
@@ -2614,7 +2628,7 @@ function isSignalSymbol(symbol) {
|
|
|
2614
2628
|
});
|
|
2615
2629
|
}
|
|
2616
2630
|
|
|
2617
|
-
// bazel-out/
|
|
2631
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2618
2632
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2619
2633
|
var TemplateCheckWithVisitor = class {
|
|
2620
2634
|
canVisitStructuralAttributes = true;
|
|
@@ -2751,7 +2765,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2751
2765
|
}
|
|
2752
2766
|
};
|
|
2753
2767
|
|
|
2754
|
-
// bazel-out/
|
|
2768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2755
2769
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2756
2770
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2757
2771
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2800,7 +2814,7 @@ var factory = {
|
|
|
2800
2814
|
create: () => new InterpolatedSignalCheck()
|
|
2801
2815
|
};
|
|
2802
2816
|
|
|
2803
|
-
// bazel-out/
|
|
2817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2804
2818
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2805
2819
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2806
2820
|
code = ErrorCode.INVALID_BANANA_IN_BOX;
|
|
@@ -2823,7 +2837,7 @@ var factory2 = {
|
|
|
2823
2837
|
create: () => new InvalidBananaInBoxCheck()
|
|
2824
2838
|
};
|
|
2825
2839
|
|
|
2826
|
-
// bazel-out/
|
|
2840
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2827
2841
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2828
2842
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2829
2843
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2865,7 +2879,7 @@ var factory3 = {
|
|
|
2865
2879
|
}
|
|
2866
2880
|
};
|
|
2867
2881
|
|
|
2868
|
-
// bazel-out/
|
|
2882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2869
2883
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2870
2884
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2871
2885
|
code = ErrorCode.MISSING_NGFOROF_LET;
|
|
@@ -2895,7 +2909,7 @@ var factory4 = {
|
|
|
2895
2909
|
create: () => new MissingNgForOfLetCheck()
|
|
2896
2910
|
};
|
|
2897
2911
|
|
|
2898
|
-
// bazel-out/
|
|
2912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2899
2913
|
import { Binary } from "@angular/compiler";
|
|
2900
2914
|
import ts19 from "typescript";
|
|
2901
2915
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2938,7 +2952,7 @@ var factory5 = {
|
|
|
2938
2952
|
}
|
|
2939
2953
|
};
|
|
2940
2954
|
|
|
2941
|
-
// bazel-out/
|
|
2955
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2942
2956
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2943
2957
|
import ts20 from "typescript";
|
|
2944
2958
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2982,7 +2996,7 @@ var factory6 = {
|
|
|
2982
2996
|
}
|
|
2983
2997
|
};
|
|
2984
2998
|
|
|
2985
|
-
// bazel-out/
|
|
2999
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
2986
3000
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
|
|
2987
3001
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
2988
3002
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -3003,7 +3017,7 @@ var factory7 = {
|
|
|
3003
3017
|
create: () => new SuffixNotSupportedCheck()
|
|
3004
3018
|
};
|
|
3005
3019
|
|
|
3006
|
-
// bazel-out/
|
|
3020
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
3007
3021
|
import { TmplAstTextAttribute } from "@angular/compiler";
|
|
3008
3022
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
3009
3023
|
code = ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING;
|
|
@@ -3039,7 +3053,7 @@ var factory8 = {
|
|
|
3039
3053
|
create: () => new TextAttributeNotBindingSpec()
|
|
3040
3054
|
};
|
|
3041
3055
|
|
|
3042
|
-
// bazel-out/
|
|
3056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
3043
3057
|
import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
3044
3058
|
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
3045
3059
|
code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
|
|
@@ -3088,7 +3102,7 @@ var factory9 = {
|
|
|
3088
3102
|
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
3089
3103
|
};
|
|
3090
3104
|
|
|
3091
|
-
// bazel-out/
|
|
3105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
|
|
3092
3106
|
import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
|
|
3093
3107
|
var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
|
|
3094
3108
|
code = ErrorCode.UNUSED_LET_DECLARATION;
|
|
@@ -3130,7 +3144,7 @@ var factory10 = {
|
|
|
3130
3144
|
create: () => new UnusedLetDeclarationCheck()
|
|
3131
3145
|
};
|
|
3132
3146
|
|
|
3133
|
-
// bazel-out/
|
|
3147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
|
|
3134
3148
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3, TmplAstTextAttribute as TmplAstTextAttribute2 } from "@angular/compiler";
|
|
3135
3149
|
var NG_SKIP_HYDRATION_ATTR_NAME = "ngSkipHydration";
|
|
3136
3150
|
var NgSkipHydrationSpec = class extends TemplateCheckWithVisitor {
|
|
@@ -3156,10 +3170,10 @@ var factory11 = {
|
|
|
3156
3170
|
create: () => new NgSkipHydrationSpec()
|
|
3157
3171
|
};
|
|
3158
3172
|
|
|
3159
|
-
// bazel-out/
|
|
3173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3160
3174
|
import ts21 from "typescript";
|
|
3161
3175
|
|
|
3162
|
-
// bazel-out/
|
|
3176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
3163
3177
|
var DiagnosticCategoryLabel;
|
|
3164
3178
|
(function(DiagnosticCategoryLabel2) {
|
|
3165
3179
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -3167,7 +3181,7 @@ var DiagnosticCategoryLabel;
|
|
|
3167
3181
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
3168
3182
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
3169
3183
|
|
|
3170
|
-
// bazel-out/
|
|
3184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3171
3185
|
var ExtendedTemplateCheckerImpl = class {
|
|
3172
3186
|
partialCtx;
|
|
3173
3187
|
templateChecks;
|
|
@@ -3222,7 +3236,7 @@ function assertNever(value) {
|
|
|
3222
3236
|
${value}`);
|
|
3223
3237
|
}
|
|
3224
3238
|
|
|
3225
|
-
// bazel-out/
|
|
3239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
3226
3240
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
3227
3241
|
factory2,
|
|
3228
3242
|
factory5,
|
|
@@ -3242,7 +3256,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
3242
3256
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory12) => factory12.name)
|
|
3243
3257
|
]);
|
|
3244
3258
|
|
|
3245
|
-
// bazel-out/
|
|
3259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
3246
3260
|
import { ASTWithSource as ASTWithSource6, ImplicitReceiver as ImplicitReceiver2, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
3247
3261
|
import ts22 from "typescript";
|
|
3248
3262
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -3338,7 +3352,7 @@ function unwrapAstWithSource(ast) {
|
|
|
3338
3352
|
return ast instanceof ASTWithSource6 ? ast.ast : ast;
|
|
3339
3353
|
}
|
|
3340
3354
|
|
|
3341
|
-
// bazel-out/
|
|
3355
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3342
3356
|
import ts23 from "typescript";
|
|
3343
3357
|
var APIS_TO_CHECK = [
|
|
3344
3358
|
INPUT_INITIALIZER_FN,
|
|
@@ -3391,7 +3405,7 @@ var InitializerApiUsageRule = class {
|
|
|
3391
3405
|
}
|
|
3392
3406
|
};
|
|
3393
3407
|
|
|
3394
|
-
// bazel-out/
|
|
3408
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
|
|
3395
3409
|
import ts24 from "typescript";
|
|
3396
3410
|
var UnusedStandaloneImportsRule = class {
|
|
3397
3411
|
templateTypeChecker;
|
|
@@ -3483,10 +3497,10 @@ function closestNode(start, predicate) {
|
|
|
3483
3497
|
return null;
|
|
3484
3498
|
}
|
|
3485
3499
|
|
|
3486
|
-
// bazel-out/
|
|
3500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
|
|
3487
3501
|
var UNUSED_STANDALONE_IMPORTS_RULE_ENABLED = true;
|
|
3488
3502
|
|
|
3489
|
-
// bazel-out/
|
|
3503
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3490
3504
|
var SourceFileValidator = class {
|
|
3491
3505
|
rules;
|
|
3492
3506
|
constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
|
|
@@ -3528,7 +3542,7 @@ var SourceFileValidator = class {
|
|
|
3528
3542
|
}
|
|
3529
3543
|
};
|
|
3530
3544
|
|
|
3531
|
-
// bazel-out/
|
|
3545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
3532
3546
|
function coreHasSymbol(program, symbol) {
|
|
3533
3547
|
const checker = program.getTypeChecker();
|
|
3534
3548
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -3547,7 +3561,7 @@ function isMaybeCore(sf) {
|
|
|
3547
3561
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
3548
3562
|
}
|
|
3549
3563
|
|
|
3550
|
-
// bazel-out/
|
|
3564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3551
3565
|
import semver from "semver";
|
|
3552
3566
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3553
3567
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3556,7 +3570,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3556
3570
|
return semver.satisfies(coreVersion, minVersion, { includePrerelease: true });
|
|
3557
3571
|
}
|
|
3558
3572
|
|
|
3559
|
-
// bazel-out/
|
|
3573
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3560
3574
|
var CompilationTicketKind;
|
|
3561
3575
|
(function(CompilationTicketKind2) {
|
|
3562
3576
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -4437,7 +4451,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
4437
4451
|
return versions;
|
|
4438
4452
|
}
|
|
4439
4453
|
|
|
4440
|
-
// bazel-out/
|
|
4454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
4441
4455
|
import ts26 from "typescript";
|
|
4442
4456
|
var DelegatingCompilerHost = class {
|
|
4443
4457
|
delegate;
|
|
@@ -4611,7 +4625,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4611
4625
|
}
|
|
4612
4626
|
};
|
|
4613
4627
|
|
|
4614
|
-
// bazel-out/
|
|
4628
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4615
4629
|
var NgtscProgram = class {
|
|
4616
4630
|
options;
|
|
4617
4631
|
compiler;
|
|
@@ -4842,15 +4856,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4842
4856
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4843
4857
|
}
|
|
4844
4858
|
|
|
4845
|
-
// bazel-out/
|
|
4859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4846
4860
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4847
4861
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4848
4862
|
}
|
|
4849
4863
|
|
|
4850
|
-
// bazel-out/
|
|
4864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4851
4865
|
import ts29 from "typescript";
|
|
4852
4866
|
|
|
4853
|
-
// bazel-out/
|
|
4867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4854
4868
|
import ts28 from "typescript";
|
|
4855
4869
|
function createMessageDiagnostic(messageText) {
|
|
4856
4870
|
return {
|
|
@@ -4864,7 +4878,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4864
4878
|
};
|
|
4865
4879
|
}
|
|
4866
4880
|
|
|
4867
|
-
// bazel-out/
|
|
4881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4868
4882
|
var defaultFormatHost = {
|
|
4869
4883
|
getCurrentDirectory: () => ts29.sys.getCurrentDirectory(),
|
|
4870
4884
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -5097,4 +5111,4 @@ export {
|
|
|
5097
5111
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5098
5112
|
* found in the LICENSE file at https://angular.dev/license
|
|
5099
5113
|
*/
|
|
5100
|
-
//# sourceMappingURL=chunk-
|
|
5114
|
+
//# sourceMappingURL=chunk-GGYBKDGO.js.map
|