@angular/compiler-cli 18.1.0-rc.0 → 18.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-OZ2N4CUX.js → chunk-3HOKH37Z.js} +106 -90
- package/bundles/chunk-3HOKH37Z.js.map +6 -0
- package/bundles/{chunk-S6XWL3LN.js → chunk-7SQLBOCA.js} +139 -135
- package/bundles/{chunk-S6XWL3LN.js.map → chunk-7SQLBOCA.js.map} +1 -1
- package/bundles/{chunk-WTQ7UQOL.js → chunk-AOEZR223.js} +43 -43
- package/bundles/{chunk-JZQHA4E7.js → chunk-AQFTVE7F.js} +5 -5
- package/bundles/{chunk-2T3WTZXW.js → chunk-DPZNOSOS.js} +13 -13
- package/bundles/{chunk-TNEE4FUS.js → chunk-HXUTQSG7.js} +31 -31
- package/bundles/{chunk-LM7LLDVD.js → chunk-QUGXFCMD.js} +5 -5
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-3W345P4E.js → chunk-XNL3EK5H.js} +7 -7
- 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/bundles/chunk-OZ2N4CUX.js.map +0 -6
- /package/bundles/{chunk-WTQ7UQOL.js.map → chunk-AOEZR223.js.map} +0 -0
- /package/bundles/{chunk-JZQHA4E7.js.map → chunk-AQFTVE7F.js.map} +0 -0
- /package/bundles/{chunk-2T3WTZXW.js.map → chunk-DPZNOSOS.js.map} +0 -0
- /package/bundles/{chunk-TNEE4FUS.js.map → chunk-HXUTQSG7.js.map} +0 -0
- /package/bundles/{chunk-LM7LLDVD.js.map → chunk-QUGXFCMD.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-QYV344EV.js.map → chunk-WR7TUJ7M.js.map} +0 -0
- /package/bundles/{chunk-3W345P4E.js.map → chunk-XNL3EK5H.js.map} +0 -0
|
@@ -45,8 +45,9 @@ import {
|
|
|
45
45
|
isShim,
|
|
46
46
|
ivyTransformFactory,
|
|
47
47
|
retagAllTsFiles,
|
|
48
|
-
tryParseInitializerApi
|
|
49
|
-
|
|
48
|
+
tryParseInitializerApi,
|
|
49
|
+
untagAllTsFiles
|
|
50
|
+
} from "./chunk-7SQLBOCA.js";
|
|
50
51
|
import {
|
|
51
52
|
AbsoluteModuleStrategy,
|
|
52
53
|
AliasStrategy,
|
|
@@ -82,14 +83,14 @@ import {
|
|
|
82
83
|
relativePathBetween,
|
|
83
84
|
replaceTsWithNgInErrors,
|
|
84
85
|
toUnredirectedSourceFile
|
|
85
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-AOEZR223.js";
|
|
86
87
|
import {
|
|
87
88
|
ActivePerfRecorder,
|
|
88
89
|
DelegatingPerfRecorder,
|
|
89
90
|
PerfCheckpoint,
|
|
90
91
|
PerfEvent,
|
|
91
92
|
PerfPhase
|
|
92
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-AQFTVE7F.js";
|
|
93
94
|
import {
|
|
94
95
|
LogicalFileSystem,
|
|
95
96
|
absoluteFrom,
|
|
@@ -98,9 +99,9 @@ import {
|
|
|
98
99
|
getFileSystem,
|
|
99
100
|
join,
|
|
100
101
|
resolve
|
|
101
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-XNL3EK5H.js";
|
|
102
103
|
|
|
103
|
-
// bazel-out/
|
|
104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
104
105
|
var DEFAULT_ERROR_CODE = 100;
|
|
105
106
|
var UNKNOWN_ERROR_CODE = 500;
|
|
106
107
|
var SOURCE = "angular";
|
|
@@ -118,7 +119,7 @@ var EmitFlags;
|
|
|
118
119
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
119
120
|
})(EmitFlags || (EmitFlags = {}));
|
|
120
121
|
|
|
121
|
-
// bazel-out/
|
|
122
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
122
123
|
import ts from "typescript";
|
|
123
124
|
var wrapHostForTest = null;
|
|
124
125
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -128,7 +129,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
128
129
|
return tsHost;
|
|
129
130
|
}
|
|
130
131
|
|
|
131
|
-
// bazel-out/
|
|
132
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
132
133
|
var EntryType;
|
|
133
134
|
(function(EntryType2) {
|
|
134
135
|
EntryType2["Block"] = "block";
|
|
@@ -175,23 +176,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
175
176
|
return "source" in entry;
|
|
176
177
|
}
|
|
177
178
|
|
|
178
|
-
// bazel-out/
|
|
179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
179
180
|
import ts10 from "typescript";
|
|
180
181
|
|
|
181
|
-
// bazel-out/
|
|
182
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
182
183
|
import ts5 from "typescript";
|
|
183
184
|
|
|
184
|
-
// bazel-out/
|
|
185
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
185
186
|
function isAngularPrivateName(name) {
|
|
186
187
|
var _a;
|
|
187
188
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
188
189
|
return firstChar === "\u0275" || firstChar === "_";
|
|
189
190
|
}
|
|
190
191
|
|
|
191
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
192
193
|
import ts3 from "typescript";
|
|
193
194
|
|
|
194
|
-
// bazel-out/
|
|
195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
195
196
|
function extractGenerics(declaration) {
|
|
196
197
|
var _a, _b;
|
|
197
198
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -204,9 +205,9 @@ function extractGenerics(declaration) {
|
|
|
204
205
|
})) != null ? _b : [];
|
|
205
206
|
}
|
|
206
207
|
|
|
207
|
-
// bazel-out/
|
|
208
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
208
209
|
import ts2 from "typescript";
|
|
209
|
-
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
210
|
+
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
|
|
210
211
|
function extractJsDocTags(node) {
|
|
211
212
|
const escapedNode = getEscapedNode(node);
|
|
212
213
|
return ts2.getJSDocTags(escapedNode).map((t) => {
|
|
@@ -248,12 +249,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
248
249
|
return comment.replace(/_NG_AT_/g, "@");
|
|
249
250
|
}
|
|
250
251
|
|
|
251
|
-
// bazel-out/
|
|
252
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
252
253
|
function extractResolvedTypeString(node, checker) {
|
|
253
254
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
254
255
|
}
|
|
255
256
|
|
|
256
|
-
// bazel-out/
|
|
257
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
257
258
|
var FunctionExtractor = class {
|
|
258
259
|
constructor(name, declaration, typeChecker) {
|
|
259
260
|
this.name = name;
|
|
@@ -263,7 +264,11 @@ var FunctionExtractor = class {
|
|
|
263
264
|
extract() {
|
|
264
265
|
var _a;
|
|
265
266
|
const signature = this.typeChecker.getSignatureFromDeclaration(this.declaration);
|
|
266
|
-
const returnType = signature ? this.typeChecker.typeToString(
|
|
267
|
+
const returnType = signature ? this.typeChecker.typeToString(
|
|
268
|
+
this.typeChecker.getReturnTypeOfSignature(signature),
|
|
269
|
+
void 0,
|
|
270
|
+
ts3.TypeFormatFlags.NoTypeReduction | ts3.TypeFormatFlags.NoTruncation
|
|
271
|
+
) : "unknown";
|
|
267
272
|
const jsdocsTags = extractJsDocTags(this.declaration);
|
|
268
273
|
return {
|
|
269
274
|
params: extractAllParams(this.declaration.parameters, this.typeChecker),
|
|
@@ -312,7 +317,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
312
317
|
}));
|
|
313
318
|
}
|
|
314
319
|
|
|
315
|
-
// bazel-out/
|
|
320
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
316
321
|
import ts4 from "typescript";
|
|
317
322
|
function isInternal(member) {
|
|
318
323
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -331,7 +336,7 @@ function hasLeadingInternalComment(member) {
|
|
|
331
336
|
)) != null ? _a : false;
|
|
332
337
|
}
|
|
333
338
|
|
|
334
|
-
// bazel-out/
|
|
339
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
335
340
|
var ClassExtractor = class {
|
|
336
341
|
constructor(declaration, typeChecker) {
|
|
337
342
|
this.declaration = declaration;
|
|
@@ -471,13 +476,19 @@ var ClassExtractor = class {
|
|
|
471
476
|
}
|
|
472
477
|
isMemberExcluded(member) {
|
|
473
478
|
var _a;
|
|
474
|
-
return !member.name || !this.isDocumentableMember(member) ||
|
|
479
|
+
return !member.name || !this.isDocumentableMember(member) || !ts5.isCallSignatureDeclaration(member) && ((_a = member.modifiers) == null ? void 0 : _a.some((mod) => mod.kind === ts5.SyntaxKind.PrivateKeyword)) || member.name.getText() === "prototype" || isAngularPrivateName(member.name.getText()) || isInternal(member);
|
|
475
480
|
}
|
|
476
481
|
isDocumentableMember(member) {
|
|
477
|
-
return this.isMethod(member) || this.isProperty(member) || ts5.isAccessor(member);
|
|
482
|
+
return this.isMethod(member) || this.isProperty(member) || ts5.isAccessor(member) || ts5.isCallSignatureDeclaration(member);
|
|
483
|
+
}
|
|
484
|
+
isPublicConstructorParameterProperty(node) {
|
|
485
|
+
if (ts5.isParameterPropertyDeclaration(node, node.parent) && node.modifiers) {
|
|
486
|
+
return node.modifiers.some((modifier) => modifier.kind === ts5.SyntaxKind.PublicKeyword);
|
|
487
|
+
}
|
|
488
|
+
return false;
|
|
478
489
|
}
|
|
479
490
|
isProperty(member) {
|
|
480
|
-
return ts5.isPropertyDeclaration(member) || ts5.isPropertySignature(member);
|
|
491
|
+
return ts5.isPropertyDeclaration(member) || ts5.isPropertySignature(member) || this.isPublicConstructorParameterProperty(member);
|
|
481
492
|
}
|
|
482
493
|
isMethod(member) {
|
|
483
494
|
return ts5.isMethodDeclaration(member) || ts5.isMethodSignature(member);
|
|
@@ -589,7 +600,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
589
600
|
return extractor.extract();
|
|
590
601
|
}
|
|
591
602
|
|
|
592
|
-
// bazel-out/
|
|
603
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
593
604
|
import ts6 from "typescript";
|
|
594
605
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
595
606
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -647,7 +658,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
647
658
|
});
|
|
648
659
|
}
|
|
649
660
|
|
|
650
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
651
662
|
import ts7 from "typescript";
|
|
652
663
|
function extractorDecorator(declaration, typeChecker) {
|
|
653
664
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -720,7 +731,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
720
731
|
return callSignature;
|
|
721
732
|
}
|
|
722
733
|
|
|
723
|
-
// bazel-out/
|
|
734
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
724
735
|
import ts8 from "typescript";
|
|
725
736
|
function extractEnum(declaration, typeChecker) {
|
|
726
737
|
return {
|
|
@@ -751,7 +762,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
751
762
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
752
763
|
}
|
|
753
764
|
|
|
754
|
-
// bazel-out/
|
|
765
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
755
766
|
import ts9 from "typescript";
|
|
756
767
|
var initializerApiTag = "initializerApiFunction";
|
|
757
768
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -857,7 +868,7 @@ function filterSignatureDeclarations(signatures) {
|
|
|
857
868
|
for (const signature of signatures) {
|
|
858
869
|
const decl = signature.getDeclaration();
|
|
859
870
|
if (ts9.isFunctionDeclaration(decl) || ts9.isCallSignatureDeclaration(decl)) {
|
|
860
|
-
result.push(decl);
|
|
871
|
+
result.push({ signature, decl });
|
|
861
872
|
}
|
|
862
873
|
}
|
|
863
874
|
return result;
|
|
@@ -865,16 +876,20 @@ function filterSignatureDeclarations(signatures) {
|
|
|
865
876
|
function extractFunctionWithOverloads(name, signatures, typeChecker) {
|
|
866
877
|
return {
|
|
867
878
|
name,
|
|
868
|
-
signatures: filterSignatureDeclarations(signatures).map((
|
|
879
|
+
signatures: filterSignatureDeclarations(signatures).map(({ decl, signature }) => ({
|
|
869
880
|
name,
|
|
870
881
|
entryType: EntryType.Function,
|
|
871
|
-
description: extractJsDocDescription(
|
|
872
|
-
generics: extractGenerics(
|
|
882
|
+
description: extractJsDocDescription(decl),
|
|
883
|
+
generics: extractGenerics(decl),
|
|
873
884
|
isNewType: false,
|
|
874
|
-
jsdocTags: extractJsDocTags(
|
|
875
|
-
params: extractAllParams(
|
|
876
|
-
rawComment: extractRawJsDoc(
|
|
877
|
-
returnType: typeChecker.typeToString(
|
|
885
|
+
jsdocTags: extractJsDocTags(decl),
|
|
886
|
+
params: extractAllParams(decl.parameters, typeChecker),
|
|
887
|
+
rawComment: extractRawJsDoc(decl),
|
|
888
|
+
returnType: typeChecker.typeToString(
|
|
889
|
+
typeChecker.getReturnTypeOfSignature(signature),
|
|
890
|
+
void 0,
|
|
891
|
+
ts9.TypeFormatFlags.NoTypeReduction | ts9.TypeFormatFlags.NoTruncation
|
|
892
|
+
)
|
|
878
893
|
})),
|
|
879
894
|
implementation: null
|
|
880
895
|
};
|
|
@@ -888,7 +903,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
888
903
|
return (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts9.isFunctionDeclaration(s) && s.body !== void 0);
|
|
889
904
|
}
|
|
890
905
|
|
|
891
|
-
// bazel-out/
|
|
906
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
892
907
|
function extractTypeAlias(declaration) {
|
|
893
908
|
return {
|
|
894
909
|
name: declaration.name.getText(),
|
|
@@ -900,7 +915,7 @@ function extractTypeAlias(declaration) {
|
|
|
900
915
|
};
|
|
901
916
|
}
|
|
902
917
|
|
|
903
|
-
// bazel-out/
|
|
918
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
904
919
|
var DocsExtractor = class {
|
|
905
920
|
constructor(typeChecker, metadataReader) {
|
|
906
921
|
this.typeChecker = typeChecker;
|
|
@@ -984,11 +999,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
984
999
|
return relativePath;
|
|
985
1000
|
}
|
|
986
1001
|
|
|
987
|
-
// bazel-out/
|
|
1002
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
988
1003
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
989
1004
|
import ts24 from "typescript";
|
|
990
1005
|
|
|
991
|
-
// bazel-out/
|
|
1006
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
992
1007
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
993
1008
|
import * as path from "path";
|
|
994
1009
|
function i18nGetExtension(formatName) {
|
|
@@ -1039,10 +1054,10 @@ function getPathNormalizer(basePath) {
|
|
|
1039
1054
|
};
|
|
1040
1055
|
}
|
|
1041
1056
|
|
|
1042
|
-
// bazel-out/
|
|
1057
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1043
1058
|
import ts11 from "typescript";
|
|
1044
1059
|
|
|
1045
|
-
// bazel-out/
|
|
1060
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1046
1061
|
function toNumbers(value) {
|
|
1047
1062
|
const suffixIndex = value.lastIndexOf("-");
|
|
1048
1063
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1077,7 +1092,7 @@ function compareVersions(v1, v2) {
|
|
|
1077
1092
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1078
1093
|
}
|
|
1079
1094
|
|
|
1080
|
-
// bazel-out/
|
|
1095
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1081
1096
|
var MIN_TS_VERSION = "5.4.0";
|
|
1082
1097
|
var MAX_TS_VERSION = "5.6.0";
|
|
1083
1098
|
var tsVersion = ts11.version;
|
|
@@ -1090,11 +1105,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1090
1105
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1091
1106
|
}
|
|
1092
1107
|
|
|
1093
|
-
// bazel-out/
|
|
1108
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1094
1109
|
import { R3Identifiers } from "@angular/compiler";
|
|
1095
1110
|
import ts22 from "typescript";
|
|
1096
1111
|
|
|
1097
|
-
// bazel-out/
|
|
1112
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1098
1113
|
var CycleAnalyzer = class {
|
|
1099
1114
|
constructor(importGraph) {
|
|
1100
1115
|
this.importGraph = importGraph;
|
|
@@ -1165,7 +1180,7 @@ var Cycle = class {
|
|
|
1165
1180
|
}
|
|
1166
1181
|
};
|
|
1167
1182
|
|
|
1168
|
-
// bazel-out/
|
|
1183
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1169
1184
|
import ts12 from "typescript";
|
|
1170
1185
|
var ImportGraph = class {
|
|
1171
1186
|
constructor(checker, perf) {
|
|
@@ -1257,7 +1272,7 @@ var Found = class {
|
|
|
1257
1272
|
}
|
|
1258
1273
|
};
|
|
1259
1274
|
|
|
1260
|
-
// bazel-out/
|
|
1275
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1261
1276
|
import ts13 from "typescript";
|
|
1262
1277
|
var FlatIndexGenerator = class {
|
|
1263
1278
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1282,7 +1297,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1282
1297
|
}
|
|
1283
1298
|
};
|
|
1284
1299
|
|
|
1285
|
-
// bazel-out/
|
|
1300
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1286
1301
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1287
1302
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1288
1303
|
let resolvedEntryPoint = null;
|
|
@@ -1298,7 +1313,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1298
1313
|
return resolvedEntryPoint;
|
|
1299
1314
|
}
|
|
1300
1315
|
|
|
1301
|
-
// bazel-out/
|
|
1316
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1302
1317
|
import ts14 from "typescript";
|
|
1303
1318
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1304
1319
|
const diagnostics = [];
|
|
@@ -1378,7 +1393,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1378
1393
|
}
|
|
1379
1394
|
}
|
|
1380
1395
|
|
|
1381
|
-
// bazel-out/
|
|
1396
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1382
1397
|
var ReferenceGraph = class {
|
|
1383
1398
|
constructor() {
|
|
1384
1399
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1432,7 +1447,7 @@ var ReferenceGraph = class {
|
|
|
1432
1447
|
}
|
|
1433
1448
|
};
|
|
1434
1449
|
|
|
1435
|
-
// bazel-out/
|
|
1450
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1436
1451
|
var FileDependencyGraph = class {
|
|
1437
1452
|
constructor() {
|
|
1438
1453
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1499,7 +1514,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1499
1514
|
return false;
|
|
1500
1515
|
}
|
|
1501
1516
|
|
|
1502
|
-
// bazel-out/
|
|
1517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1503
1518
|
var IncrementalStateKind;
|
|
1504
1519
|
(function(IncrementalStateKind2) {
|
|
1505
1520
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1507,7 +1522,7 @@ var IncrementalStateKind;
|
|
|
1507
1522
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1508
1523
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1509
1524
|
|
|
1510
|
-
// bazel-out/
|
|
1525
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1511
1526
|
var PhaseKind;
|
|
1512
1527
|
(function(PhaseKind2) {
|
|
1513
1528
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1708,7 +1723,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1708
1723
|
}
|
|
1709
1724
|
}
|
|
1710
1725
|
|
|
1711
|
-
// bazel-out/
|
|
1726
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1712
1727
|
var TrackedIncrementalBuildStrategy = class {
|
|
1713
1728
|
constructor() {
|
|
1714
1729
|
this.state = null;
|
|
@@ -1744,7 +1759,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1744
1759
|
};
|
|
1745
1760
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1746
1761
|
|
|
1747
|
-
// bazel-out/
|
|
1762
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1748
1763
|
var IdentifierKind;
|
|
1749
1764
|
(function(IdentifierKind2) {
|
|
1750
1765
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1763,7 +1778,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1763
1778
|
}
|
|
1764
1779
|
};
|
|
1765
1780
|
|
|
1766
|
-
// bazel-out/
|
|
1781
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1767
1782
|
var IndexingContext = class {
|
|
1768
1783
|
constructor() {
|
|
1769
1784
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1773,10 +1788,10 @@ var IndexingContext = class {
|
|
|
1773
1788
|
}
|
|
1774
1789
|
};
|
|
1775
1790
|
|
|
1776
|
-
// bazel-out/
|
|
1791
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1777
1792
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1778
1793
|
|
|
1779
|
-
// bazel-out/
|
|
1794
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1780
1795
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1781
1796
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1782
1797
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2071,7 +2086,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2071
2086
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2072
2087
|
}
|
|
2073
2088
|
|
|
2074
|
-
// bazel-out/
|
|
2089
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2075
2090
|
function generateAnalysis(context) {
|
|
2076
2091
|
const analysis = /* @__PURE__ */ new Map();
|
|
2077
2092
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2107,7 +2122,7 @@ function generateAnalysis(context) {
|
|
|
2107
2122
|
return analysis;
|
|
2108
2123
|
}
|
|
2109
2124
|
|
|
2110
|
-
// bazel-out/
|
|
2125
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2111
2126
|
var NgModuleIndexImpl = class {
|
|
2112
2127
|
constructor(metaReader, localReader) {
|
|
2113
2128
|
this.metaReader = metaReader;
|
|
@@ -2196,7 +2211,7 @@ var NgModuleIndexImpl = class {
|
|
|
2196
2211
|
}
|
|
2197
2212
|
};
|
|
2198
2213
|
|
|
2199
|
-
// bazel-out/
|
|
2214
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2200
2215
|
import ts15 from "typescript";
|
|
2201
2216
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2202
2217
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2346,7 +2361,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2346
2361
|
};
|
|
2347
2362
|
}
|
|
2348
2363
|
|
|
2349
|
-
// bazel-out/
|
|
2364
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2350
2365
|
var StandaloneComponentScopeReader = class {
|
|
2351
2366
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2352
2367
|
this.metaReader = metaReader;
|
|
@@ -2442,10 +2457,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2442
2457
|
}
|
|
2443
2458
|
};
|
|
2444
2459
|
|
|
2445
|
-
// bazel-out/
|
|
2460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2446
2461
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2447
2462
|
|
|
2448
|
-
// bazel-out/
|
|
2463
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2449
2464
|
import ts16 from "typescript";
|
|
2450
2465
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2451
2466
|
"WritableSignal",
|
|
@@ -2465,7 +2480,7 @@ function isSignalSymbol(symbol) {
|
|
|
2465
2480
|
});
|
|
2466
2481
|
}
|
|
2467
2482
|
|
|
2468
|
-
// bazel-out/
|
|
2483
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2469
2484
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2470
2485
|
var TemplateCheckWithVisitor = class {
|
|
2471
2486
|
run(ctx, component, template) {
|
|
@@ -2593,7 +2608,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2593
2608
|
}
|
|
2594
2609
|
};
|
|
2595
2610
|
|
|
2596
|
-
// bazel-out/
|
|
2611
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2597
2612
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2598
2613
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2599
2614
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2645,7 +2660,7 @@ var factory = {
|
|
|
2645
2660
|
create: () => new InterpolatedSignalCheck()
|
|
2646
2661
|
};
|
|
2647
2662
|
|
|
2648
|
-
// bazel-out/
|
|
2663
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2649
2664
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2650
2665
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2651
2666
|
constructor() {
|
|
@@ -2671,7 +2686,7 @@ var factory2 = {
|
|
|
2671
2686
|
create: () => new InvalidBananaInBoxCheck()
|
|
2672
2687
|
};
|
|
2673
2688
|
|
|
2674
|
-
// bazel-out/
|
|
2689
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2675
2690
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2676
2691
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2677
2692
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2716,7 +2731,7 @@ var factory3 = {
|
|
|
2716
2731
|
}
|
|
2717
2732
|
};
|
|
2718
2733
|
|
|
2719
|
-
// bazel-out/
|
|
2734
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2720
2735
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2721
2736
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2722
2737
|
constructor() {
|
|
@@ -2749,7 +2764,7 @@ var factory4 = {
|
|
|
2749
2764
|
create: () => new MissingNgForOfLetCheck()
|
|
2750
2765
|
};
|
|
2751
2766
|
|
|
2752
|
-
// bazel-out/
|
|
2767
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2753
2768
|
import { Binary } from "@angular/compiler";
|
|
2754
2769
|
import ts17 from "typescript";
|
|
2755
2770
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2794,7 +2809,7 @@ var factory5 = {
|
|
|
2794
2809
|
}
|
|
2795
2810
|
};
|
|
2796
2811
|
|
|
2797
|
-
// bazel-out/
|
|
2812
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2798
2813
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2799
2814
|
import ts18 from "typescript";
|
|
2800
2815
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2840,7 +2855,7 @@ var factory6 = {
|
|
|
2840
2855
|
}
|
|
2841
2856
|
};
|
|
2842
2857
|
|
|
2843
|
-
// bazel-out/
|
|
2858
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
2844
2859
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
|
|
2845
2860
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
2846
2861
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2864,7 +2879,7 @@ var factory7 = {
|
|
|
2864
2879
|
create: () => new SuffixNotSupportedCheck()
|
|
2865
2880
|
};
|
|
2866
2881
|
|
|
2867
|
-
// bazel-out/
|
|
2882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
2868
2883
|
import { TmplAstTextAttribute } from "@angular/compiler";
|
|
2869
2884
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2870
2885
|
constructor() {
|
|
@@ -2903,7 +2918,7 @@ var factory8 = {
|
|
|
2903
2918
|
create: () => new TextAttributeNotBindingSpec()
|
|
2904
2919
|
};
|
|
2905
2920
|
|
|
2906
|
-
// bazel-out/
|
|
2921
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
2907
2922
|
import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
2908
2923
|
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2909
2924
|
constructor() {
|
|
@@ -2955,10 +2970,10 @@ var factory9 = {
|
|
|
2955
2970
|
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
2956
2971
|
};
|
|
2957
2972
|
|
|
2958
|
-
// bazel-out/
|
|
2973
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
2959
2974
|
import ts19 from "typescript";
|
|
2960
2975
|
|
|
2961
|
-
// bazel-out/
|
|
2976
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
2962
2977
|
var DiagnosticCategoryLabel;
|
|
2963
2978
|
(function(DiagnosticCategoryLabel2) {
|
|
2964
2979
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -2966,7 +2981,7 @@ var DiagnosticCategoryLabel;
|
|
|
2966
2981
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
2967
2982
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
2968
2983
|
|
|
2969
|
-
// bazel-out/
|
|
2984
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
2970
2985
|
var ExtendedTemplateCheckerImpl = class {
|
|
2971
2986
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
2972
2987
|
var _a, _b, _c, _d, _e;
|
|
@@ -3019,7 +3034,7 @@ function assertNever(value) {
|
|
|
3019
3034
|
${value}`);
|
|
3020
3035
|
}
|
|
3021
3036
|
|
|
3022
|
-
// bazel-out/
|
|
3037
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
3023
3038
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
3024
3039
|
factory2,
|
|
3025
3040
|
factory5,
|
|
@@ -3036,7 +3051,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
3036
3051
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory10) => factory10.name)
|
|
3037
3052
|
]);
|
|
3038
3053
|
|
|
3039
|
-
// bazel-out/
|
|
3054
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
3040
3055
|
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";
|
|
3041
3056
|
import ts20 from "typescript";
|
|
3042
3057
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -3127,7 +3142,7 @@ function unwrapAstWithSource(ast) {
|
|
|
3127
3142
|
return ast instanceof ASTWithSource5 ? ast.ast : ast;
|
|
3128
3143
|
}
|
|
3129
3144
|
|
|
3130
|
-
// bazel-out/
|
|
3145
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3131
3146
|
import ts21 from "typescript";
|
|
3132
3147
|
var APIS_TO_CHECK = [
|
|
3133
3148
|
INPUT_INITIALIZER_FN,
|
|
@@ -3178,7 +3193,7 @@ var InitializerApiUsageRule = class {
|
|
|
3178
3193
|
}
|
|
3179
3194
|
};
|
|
3180
3195
|
|
|
3181
|
-
// bazel-out/
|
|
3196
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3182
3197
|
var SourceFileValidator = class {
|
|
3183
3198
|
constructor(reflector, importedSymbolsTracker) {
|
|
3184
3199
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -3216,7 +3231,7 @@ var SourceFileValidator = class {
|
|
|
3216
3231
|
}
|
|
3217
3232
|
};
|
|
3218
3233
|
|
|
3219
|
-
// bazel-out/
|
|
3234
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
3220
3235
|
function coreHasSymbol(program, symbol) {
|
|
3221
3236
|
const checker = program.getTypeChecker();
|
|
3222
3237
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -3235,7 +3250,7 @@ function isMaybeCore(sf) {
|
|
|
3235
3250
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
3236
3251
|
}
|
|
3237
3252
|
|
|
3238
|
-
// bazel-out/
|
|
3253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3239
3254
|
import semver from "semver";
|
|
3240
3255
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3241
3256
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3244,7 +3259,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3244
3259
|
return semver.satisfies(coreVersion, minVersion);
|
|
3245
3260
|
}
|
|
3246
3261
|
|
|
3247
|
-
// bazel-out/
|
|
3262
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3248
3263
|
var CompilationTicketKind;
|
|
3249
3264
|
(function(CompilationTicketKind2) {
|
|
3250
3265
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -4043,7 +4058,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
4043
4058
|
return versions;
|
|
4044
4059
|
}
|
|
4045
4060
|
|
|
4046
|
-
// bazel-out/
|
|
4061
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
4047
4062
|
import ts23 from "typescript";
|
|
4048
4063
|
var DelegatingCompilerHost = class {
|
|
4049
4064
|
get jsDocParsingMode() {
|
|
@@ -4182,7 +4197,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4182
4197
|
}
|
|
4183
4198
|
};
|
|
4184
4199
|
|
|
4185
|
-
// bazel-out/
|
|
4200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4186
4201
|
var NgtscProgram = class {
|
|
4187
4202
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
4188
4203
|
this.options = options;
|
|
@@ -4328,6 +4343,7 @@ var NgtscProgram = class {
|
|
|
4328
4343
|
};
|
|
4329
4344
|
}
|
|
4330
4345
|
}
|
|
4346
|
+
untagAllTsFiles(this.tsProgram);
|
|
4331
4347
|
const forceEmit = (_a = opts == null ? void 0 : opts.forceEmit) != null ? _a : false;
|
|
4332
4348
|
this.compiler.perfRecorder.memory(PerfCheckpoint.PreEmit);
|
|
4333
4349
|
const res = this.compiler.perfRecorder.inPhase(PerfPhase.TypeScriptEmit, () => {
|
|
@@ -4408,15 +4424,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4408
4424
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4409
4425
|
}
|
|
4410
4426
|
|
|
4411
|
-
// bazel-out/
|
|
4427
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4412
4428
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4413
4429
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4414
4430
|
}
|
|
4415
4431
|
|
|
4416
|
-
// bazel-out/
|
|
4432
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4417
4433
|
import ts26 from "typescript";
|
|
4418
4434
|
|
|
4419
|
-
// bazel-out/
|
|
4435
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4420
4436
|
import ts25 from "typescript";
|
|
4421
4437
|
function createMessageDiagnostic(messageText) {
|
|
4422
4438
|
return {
|
|
@@ -4430,7 +4446,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4430
4446
|
};
|
|
4431
4447
|
}
|
|
4432
4448
|
|
|
4433
|
-
// bazel-out/
|
|
4449
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4434
4450
|
var defaultFormatHost = {
|
|
4435
4451
|
getCurrentDirectory: () => ts26.sys.getCurrentDirectory(),
|
|
4436
4452
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -4661,4 +4677,4 @@ export {
|
|
|
4661
4677
|
* Use of this source code is governed by an MIT-style license that can be
|
|
4662
4678
|
* found in the LICENSE file at https://angular.io/license
|
|
4663
4679
|
*/
|
|
4664
|
-
//# sourceMappingURL=chunk-
|
|
4680
|
+
//# sourceMappingURL=chunk-3HOKH37Z.js.map
|