@angular/compiler-cli 19.0.0-next.7 → 19.0.0-next.8
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-AOL33GUJ.js → chunk-2TSCCC7T.js} +31 -31
- package/bundles/{chunk-FMA7PJT3.js → chunk-3Z25BX6N.js} +7 -7
- package/bundles/{chunk-6YYOILZF.js → chunk-6JG6NFJ7.js} +141 -129
- package/bundles/chunk-6JG6NFJ7.js.map +6 -0
- package/bundles/{chunk-4SDD6AUK.js → chunk-IXNIFZCK.js} +103 -88
- package/bundles/{chunk-4SDD6AUK.js.map → chunk-IXNIFZCK.js.map} +1 -1
- package/bundles/{chunk-IF37SPTA.js → chunk-IXRL26J5.js} +44 -43
- package/bundles/chunk-IXRL26J5.js.map +6 -0
- package/bundles/{chunk-XMNIXGGD.js → chunk-KICABBHP.js} +3 -3
- package/bundles/{chunk-24RAQD7D.js → chunk-LG56S2LO.js} +5 -5
- package/bundles/{chunk-EWRID7KM.js → chunk-OY6IBSDB.js} +12 -12
- package/bundles/{chunk-EH5E5HQO.js → chunk-RT2QTF73.js} +3 -3
- package/bundles/{chunk-MTBZ3GX2.js → chunk-UJ2J6WV4.js} +8 -8
- package/bundles/{chunk-UQPYSPIX.js → chunk-XSNUHRLJ.js} +5 -5
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +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/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/directive/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/directive/src/shared.d.ts +1 -1
- package/src/ngtsc/annotations/src/pipe.d.ts +2 -1
- package/src/ngtsc/core/api/src/public_options.d.ts +4 -0
- package/src/ngtsc/diagnostics/src/error_code.d.ts +4 -0
- package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +6 -0
- package/bundles/chunk-6YYOILZF.js.map +0 -6
- package/bundles/chunk-IF37SPTA.js.map +0 -6
- /package/bundles/{chunk-AOL33GUJ.js.map → chunk-2TSCCC7T.js.map} +0 -0
- /package/bundles/{chunk-FMA7PJT3.js.map → chunk-3Z25BX6N.js.map} +0 -0
- /package/bundles/{chunk-XMNIXGGD.js.map → chunk-KICABBHP.js.map} +0 -0
- /package/bundles/{chunk-24RAQD7D.js.map → chunk-LG56S2LO.js.map} +0 -0
- /package/bundles/{chunk-EWRID7KM.js.map → chunk-OY6IBSDB.js.map} +0 -0
- /package/bundles/{chunk-EH5E5HQO.js.map → chunk-RT2QTF73.js.map} +0 -0
- /package/bundles/{chunk-MTBZ3GX2.js.map → chunk-UJ2J6WV4.js.map} +0 -0
- /package/bundles/{chunk-UQPYSPIX.js.map → chunk-XSNUHRLJ.js.map} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OY6IBSDB.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-6JG6NFJ7.js";
|
|
55
55
|
import {
|
|
56
56
|
AbsoluteModuleStrategy,
|
|
57
57
|
AliasStrategy,
|
|
@@ -88,14 +88,14 @@ import {
|
|
|
88
88
|
relativePathBetween,
|
|
89
89
|
replaceTsWithNgInErrors,
|
|
90
90
|
toUnredirectedSourceFile
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-IXRL26J5.js";
|
|
92
92
|
import {
|
|
93
93
|
ActivePerfRecorder,
|
|
94
94
|
DelegatingPerfRecorder,
|
|
95
95
|
PerfCheckpoint,
|
|
96
96
|
PerfEvent,
|
|
97
97
|
PerfPhase
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-XSNUHRLJ.js";
|
|
99
99
|
import {
|
|
100
100
|
LogicalFileSystem,
|
|
101
101
|
absoluteFrom,
|
|
@@ -105,9 +105,9 @@ import {
|
|
|
105
105
|
getFileSystem,
|
|
106
106
|
join,
|
|
107
107
|
resolve
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-UJ2J6WV4.js";
|
|
109
109
|
|
|
110
|
-
// bazel-out/
|
|
110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
111
111
|
var DEFAULT_ERROR_CODE = 100;
|
|
112
112
|
var UNKNOWN_ERROR_CODE = 500;
|
|
113
113
|
var SOURCE = "angular";
|
|
@@ -125,7 +125,7 @@ var EmitFlags;
|
|
|
125
125
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
126
126
|
})(EmitFlags || (EmitFlags = {}));
|
|
127
127
|
|
|
128
|
-
// bazel-out/
|
|
128
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
129
129
|
import ts from "typescript";
|
|
130
130
|
var wrapHostForTest = null;
|
|
131
131
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -135,7 +135,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
135
135
|
return tsHost;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
// bazel-out/
|
|
138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
139
139
|
var EntryType;
|
|
140
140
|
(function(EntryType2) {
|
|
141
141
|
EntryType2["Block"] = "block";
|
|
@@ -182,23 +182,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
182
182
|
return "source" in entry;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
// bazel-out/
|
|
185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
186
186
|
import ts11 from "typescript";
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
189
189
|
import ts5 from "typescript";
|
|
190
190
|
|
|
191
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
192
192
|
function isAngularPrivateName(name) {
|
|
193
193
|
var _a;
|
|
194
194
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
195
195
|
return firstChar === "\u0275" || firstChar === "_";
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
// bazel-out/
|
|
198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
199
199
|
import ts3 from "typescript";
|
|
200
200
|
|
|
201
|
-
// bazel-out/
|
|
201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
202
202
|
function extractGenerics(declaration) {
|
|
203
203
|
var _a, _b;
|
|
204
204
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -211,7 +211,7 @@ function extractGenerics(declaration) {
|
|
|
211
211
|
})) != null ? _b : [];
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
// bazel-out/
|
|
214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
215
215
|
import ts2 from "typescript";
|
|
216
216
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
|
|
217
217
|
function extractJsDocTags(node) {
|
|
@@ -255,12 +255,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
255
255
|
return comment.replace(/_NG_AT_/g, "@");
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
// bazel-out/
|
|
258
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
259
259
|
function extractResolvedTypeString(node, checker) {
|
|
260
260
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
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
|
constructor(name, exportDeclaration, typeChecker) {
|
|
266
266
|
this.name = name;
|
|
@@ -348,7 +348,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
348
348
|
return implementation;
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
-
// bazel-out/
|
|
351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
352
352
|
import ts4 from "typescript";
|
|
353
353
|
function isInternal(member) {
|
|
354
354
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -367,7 +367,7 @@ function hasLeadingInternalComment(member) {
|
|
|
367
367
|
)) != null ? _a : false;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
// bazel-out/
|
|
370
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
371
371
|
var ClassExtractor = class {
|
|
372
372
|
constructor(declaration, typeChecker) {
|
|
373
373
|
this.declaration = declaration;
|
|
@@ -655,7 +655,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
655
655
|
return extractor.extract();
|
|
656
656
|
}
|
|
657
657
|
|
|
658
|
-
// bazel-out/
|
|
658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
659
659
|
import ts6 from "typescript";
|
|
660
660
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
661
661
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -713,7 +713,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
713
713
|
});
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
-
// bazel-out/
|
|
716
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
717
717
|
import ts7 from "typescript";
|
|
718
718
|
function extractorDecorator(declaration, typeChecker) {
|
|
719
719
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -786,7 +786,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
786
786
|
return callSignature;
|
|
787
787
|
}
|
|
788
788
|
|
|
789
|
-
// bazel-out/
|
|
789
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
790
790
|
import ts8 from "typescript";
|
|
791
791
|
function extractEnum(declaration, typeChecker) {
|
|
792
792
|
return {
|
|
@@ -817,7 +817,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
817
817
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
818
818
|
}
|
|
819
819
|
|
|
820
|
-
// bazel-out/
|
|
820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
821
821
|
import ts9 from "typescript";
|
|
822
822
|
var initializerApiTag = "initializerApiFunction";
|
|
823
823
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -926,7 +926,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
|
|
|
926
926
|
};
|
|
927
927
|
}
|
|
928
928
|
|
|
929
|
-
// bazel-out/
|
|
929
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
930
930
|
function extractTypeAlias(declaration) {
|
|
931
931
|
return {
|
|
932
932
|
name: declaration.name.getText(),
|
|
@@ -938,7 +938,7 @@ function extractTypeAlias(declaration) {
|
|
|
938
938
|
};
|
|
939
939
|
}
|
|
940
940
|
|
|
941
|
-
// bazel-out/
|
|
941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
|
|
942
942
|
import ts10 from "typescript";
|
|
943
943
|
function getImportedSymbols(sourceFile) {
|
|
944
944
|
const importSpecifiers = /* @__PURE__ */ new Map();
|
|
@@ -963,7 +963,7 @@ function getImportedSymbols(sourceFile) {
|
|
|
963
963
|
return importSpecifiers;
|
|
964
964
|
}
|
|
965
965
|
|
|
966
|
-
// bazel-out/
|
|
966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
967
967
|
var DocsExtractor = class {
|
|
968
968
|
constructor(typeChecker, metadataReader) {
|
|
969
969
|
this.typeChecker = typeChecker;
|
|
@@ -1049,11 +1049,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
1049
1049
|
return relativePath;
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
// bazel-out/
|
|
1052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
1053
1053
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
1054
1054
|
import ts26 from "typescript";
|
|
1055
1055
|
|
|
1056
|
-
// bazel-out/
|
|
1056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
1057
1057
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
1058
1058
|
import * as path from "path";
|
|
1059
1059
|
function i18nGetExtension(formatName) {
|
|
@@ -1106,10 +1106,10 @@ function getPathNormalizer(basePath) {
|
|
|
1106
1106
|
};
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
|
-
// bazel-out/
|
|
1109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1110
1110
|
import ts12 from "typescript";
|
|
1111
1111
|
|
|
1112
|
-
// bazel-out/
|
|
1112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1113
1113
|
function toNumbers(value) {
|
|
1114
1114
|
const suffixIndex = value.lastIndexOf("-");
|
|
1115
1115
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1144,7 +1144,7 @@ function compareVersions(v1, v2) {
|
|
|
1144
1144
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
|
-
// bazel-out/
|
|
1147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1148
1148
|
var MIN_TS_VERSION = "5.5.0";
|
|
1149
1149
|
var MAX_TS_VERSION = "5.7.0";
|
|
1150
1150
|
var tsVersion = ts12.version;
|
|
@@ -1157,11 +1157,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1157
1157
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
1160
|
-
// bazel-out/
|
|
1160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1161
1161
|
import { R3Identifiers } from "@angular/compiler";
|
|
1162
1162
|
import ts24 from "typescript";
|
|
1163
1163
|
|
|
1164
|
-
// bazel-out/
|
|
1164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1165
1165
|
var CycleAnalyzer = class {
|
|
1166
1166
|
constructor(importGraph) {
|
|
1167
1167
|
this.importGraph = importGraph;
|
|
@@ -1232,7 +1232,7 @@ var Cycle = class {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
};
|
|
1234
1234
|
|
|
1235
|
-
// bazel-out/
|
|
1235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1236
1236
|
import ts13 from "typescript";
|
|
1237
1237
|
var ImportGraph = class {
|
|
1238
1238
|
constructor(checker, perf) {
|
|
@@ -1324,7 +1324,7 @@ var Found = class {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
};
|
|
1326
1326
|
|
|
1327
|
-
// bazel-out/
|
|
1327
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1328
1328
|
import ts14 from "typescript";
|
|
1329
1329
|
var FlatIndexGenerator = class {
|
|
1330
1330
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1349,7 +1349,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1349
1349
|
}
|
|
1350
1350
|
};
|
|
1351
1351
|
|
|
1352
|
-
// bazel-out/
|
|
1352
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1353
1353
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1354
1354
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1355
1355
|
let resolvedEntryPoint = null;
|
|
@@ -1365,7 +1365,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1365
1365
|
return resolvedEntryPoint;
|
|
1366
1366
|
}
|
|
1367
1367
|
|
|
1368
|
-
// bazel-out/
|
|
1368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1369
1369
|
import ts15 from "typescript";
|
|
1370
1370
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1371
1371
|
const diagnostics = [];
|
|
@@ -1445,7 +1445,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
|
-
// bazel-out/
|
|
1448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1449
1449
|
var ReferenceGraph = class {
|
|
1450
1450
|
constructor() {
|
|
1451
1451
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1499,7 +1499,7 @@ var ReferenceGraph = class {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
};
|
|
1501
1501
|
|
|
1502
|
-
// bazel-out/
|
|
1502
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1503
1503
|
var FileDependencyGraph = class {
|
|
1504
1504
|
constructor() {
|
|
1505
1505
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1566,7 +1566,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1566
1566
|
return false;
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
|
-
// bazel-out/
|
|
1569
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1570
1570
|
var IncrementalStateKind;
|
|
1571
1571
|
(function(IncrementalStateKind2) {
|
|
1572
1572
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1574,7 +1574,7 @@ var IncrementalStateKind;
|
|
|
1574
1574
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1575
1575
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1576
1576
|
|
|
1577
|
-
// bazel-out/
|
|
1577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1578
1578
|
var PhaseKind;
|
|
1579
1579
|
(function(PhaseKind2) {
|
|
1580
1580
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1775,7 +1775,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
}
|
|
1777
1777
|
|
|
1778
|
-
// bazel-out/
|
|
1778
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1779
1779
|
var TrackedIncrementalBuildStrategy = class {
|
|
1780
1780
|
constructor() {
|
|
1781
1781
|
this.state = null;
|
|
@@ -1811,7 +1811,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1811
1811
|
};
|
|
1812
1812
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1813
1813
|
|
|
1814
|
-
// bazel-out/
|
|
1814
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1815
1815
|
var IdentifierKind;
|
|
1816
1816
|
(function(IdentifierKind2) {
|
|
1817
1817
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1830,7 +1830,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1830
1830
|
}
|
|
1831
1831
|
};
|
|
1832
1832
|
|
|
1833
|
-
// bazel-out/
|
|
1833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1834
1834
|
var IndexingContext = class {
|
|
1835
1835
|
constructor() {
|
|
1836
1836
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1840,10 +1840,10 @@ var IndexingContext = class {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
};
|
|
1842
1842
|
|
|
1843
|
-
// bazel-out/
|
|
1843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1844
1844
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1845
1845
|
|
|
1846
|
-
// bazel-out/
|
|
1846
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1847
1847
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1848
1848
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1849
1849
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2138,7 +2138,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2138
2138
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2139
2139
|
}
|
|
2140
2140
|
|
|
2141
|
-
// bazel-out/
|
|
2141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2142
2142
|
function generateAnalysis(context) {
|
|
2143
2143
|
const analysis = /* @__PURE__ */ new Map();
|
|
2144
2144
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2174,7 +2174,7 @@ function generateAnalysis(context) {
|
|
|
2174
2174
|
return analysis;
|
|
2175
2175
|
}
|
|
2176
2176
|
|
|
2177
|
-
// bazel-out/
|
|
2177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2178
2178
|
var NgModuleIndexImpl = class {
|
|
2179
2179
|
constructor(metaReader, localReader) {
|
|
2180
2180
|
this.metaReader = metaReader;
|
|
@@ -2263,7 +2263,7 @@ var NgModuleIndexImpl = class {
|
|
|
2263
2263
|
}
|
|
2264
2264
|
};
|
|
2265
2265
|
|
|
2266
|
-
// bazel-out/
|
|
2266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2267
2267
|
import ts16 from "typescript";
|
|
2268
2268
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2269
2269
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2413,7 +2413,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2413
2413
|
};
|
|
2414
2414
|
}
|
|
2415
2415
|
|
|
2416
|
-
// bazel-out/
|
|
2416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2417
2417
|
var StandaloneComponentScopeReader = class {
|
|
2418
2418
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2419
2419
|
this.metaReader = metaReader;
|
|
@@ -2509,10 +2509,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2509
2509
|
}
|
|
2510
2510
|
};
|
|
2511
2511
|
|
|
2512
|
-
// bazel-out/
|
|
2512
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2513
2513
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2514
2514
|
|
|
2515
|
-
// bazel-out/
|
|
2515
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2516
2516
|
import ts17 from "typescript";
|
|
2517
2517
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2518
2518
|
"WritableSignal",
|
|
@@ -2532,7 +2532,7 @@ function isSignalSymbol(symbol) {
|
|
|
2532
2532
|
});
|
|
2533
2533
|
}
|
|
2534
2534
|
|
|
2535
|
-
// bazel-out/
|
|
2535
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2536
2536
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2537
2537
|
var TemplateCheckWithVisitor = class {
|
|
2538
2538
|
constructor() {
|
|
@@ -2668,7 +2668,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2668
2668
|
}
|
|
2669
2669
|
};
|
|
2670
2670
|
|
|
2671
|
-
// bazel-out/
|
|
2671
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2672
2672
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2673
2673
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2674
2674
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2720,7 +2720,7 @@ var factory = {
|
|
|
2720
2720
|
create: () => new InterpolatedSignalCheck()
|
|
2721
2721
|
};
|
|
2722
2722
|
|
|
2723
|
-
// bazel-out/
|
|
2723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2724
2724
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2725
2725
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2726
2726
|
constructor() {
|
|
@@ -2746,7 +2746,7 @@ var factory2 = {
|
|
|
2746
2746
|
create: () => new InvalidBananaInBoxCheck()
|
|
2747
2747
|
};
|
|
2748
2748
|
|
|
2749
|
-
// bazel-out/
|
|
2749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2750
2750
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2751
2751
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2752
2752
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2791,7 +2791,7 @@ var factory3 = {
|
|
|
2791
2791
|
}
|
|
2792
2792
|
};
|
|
2793
2793
|
|
|
2794
|
-
// bazel-out/
|
|
2794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2795
2795
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2796
2796
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2797
2797
|
constructor() {
|
|
@@ -2824,7 +2824,7 @@ var factory4 = {
|
|
|
2824
2824
|
create: () => new MissingNgForOfLetCheck()
|
|
2825
2825
|
};
|
|
2826
2826
|
|
|
2827
|
-
// bazel-out/
|
|
2827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2828
2828
|
import { Binary } from "@angular/compiler";
|
|
2829
2829
|
import ts18 from "typescript";
|
|
2830
2830
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2870,7 +2870,7 @@ var factory5 = {
|
|
|
2870
2870
|
}
|
|
2871
2871
|
};
|
|
2872
2872
|
|
|
2873
|
-
// bazel-out/
|
|
2873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2874
2874
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2875
2875
|
import ts19 from "typescript";
|
|
2876
2876
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2917,7 +2917,7 @@ var factory6 = {
|
|
|
2917
2917
|
}
|
|
2918
2918
|
};
|
|
2919
2919
|
|
|
2920
|
-
// bazel-out/
|
|
2920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
2921
2921
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
|
|
2922
2922
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
2923
2923
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2941,7 +2941,7 @@ var factory7 = {
|
|
|
2941
2941
|
create: () => new SuffixNotSupportedCheck()
|
|
2942
2942
|
};
|
|
2943
2943
|
|
|
2944
|
-
// bazel-out/
|
|
2944
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
2945
2945
|
import { TmplAstTextAttribute } from "@angular/compiler";
|
|
2946
2946
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2947
2947
|
constructor() {
|
|
@@ -2980,7 +2980,7 @@ var factory8 = {
|
|
|
2980
2980
|
create: () => new TextAttributeNotBindingSpec()
|
|
2981
2981
|
};
|
|
2982
2982
|
|
|
2983
|
-
// bazel-out/
|
|
2983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
2984
2984
|
import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
2985
2985
|
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2986
2986
|
constructor() {
|
|
@@ -3032,7 +3032,7 @@ var factory9 = {
|
|
|
3032
3032
|
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
3033
3033
|
};
|
|
3034
3034
|
|
|
3035
|
-
// bazel-out/
|
|
3035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
|
|
3036
3036
|
import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
|
|
3037
3037
|
var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
|
|
3038
3038
|
constructor() {
|
|
@@ -3077,10 +3077,10 @@ var factory10 = {
|
|
|
3077
3077
|
create: () => new UnusedLetDeclarationCheck()
|
|
3078
3078
|
};
|
|
3079
3079
|
|
|
3080
|
-
// bazel-out/
|
|
3080
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3081
3081
|
import ts20 from "typescript";
|
|
3082
3082
|
|
|
3083
|
-
// bazel-out/
|
|
3083
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
3084
3084
|
var DiagnosticCategoryLabel;
|
|
3085
3085
|
(function(DiagnosticCategoryLabel2) {
|
|
3086
3086
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -3088,7 +3088,7 @@ var DiagnosticCategoryLabel;
|
|
|
3088
3088
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
3089
3089
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
3090
3090
|
|
|
3091
|
-
// bazel-out/
|
|
3091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3092
3092
|
var ExtendedTemplateCheckerImpl = class {
|
|
3093
3093
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
3094
3094
|
var _a, _b, _c, _d, _e;
|
|
@@ -3141,7 +3141,7 @@ function assertNever(value) {
|
|
|
3141
3141
|
${value}`);
|
|
3142
3142
|
}
|
|
3143
3143
|
|
|
3144
|
-
// bazel-out/
|
|
3144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
3145
3145
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
3146
3146
|
factory2,
|
|
3147
3147
|
factory5,
|
|
@@ -3160,7 +3160,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
3160
3160
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory11) => factory11.name)
|
|
3161
3161
|
]);
|
|
3162
3162
|
|
|
3163
|
-
// bazel-out/
|
|
3163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
3164
3164
|
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";
|
|
3165
3165
|
import ts21 from "typescript";
|
|
3166
3166
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -3251,7 +3251,7 @@ function unwrapAstWithSource(ast) {
|
|
|
3251
3251
|
return ast instanceof ASTWithSource6 ? ast.ast : ast;
|
|
3252
3252
|
}
|
|
3253
3253
|
|
|
3254
|
-
// bazel-out/
|
|
3254
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3255
3255
|
import ts22 from "typescript";
|
|
3256
3256
|
var APIS_TO_CHECK = [
|
|
3257
3257
|
INPUT_INITIALIZER_FN,
|
|
@@ -3302,7 +3302,7 @@ var InitializerApiUsageRule = class {
|
|
|
3302
3302
|
}
|
|
3303
3303
|
};
|
|
3304
3304
|
|
|
3305
|
-
// bazel-out/
|
|
3305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
|
|
3306
3306
|
import ts23 from "typescript";
|
|
3307
3307
|
var UnusedStandaloneImportsRule = class {
|
|
3308
3308
|
constructor(templateTypeChecker, typeCheckingConfig, importedSymbolsTracker) {
|
|
@@ -3337,34 +3337,49 @@ var UnusedStandaloneImportsRule = class {
|
|
|
3337
3337
|
return makeDiagnostic(ErrorCode.UNUSED_STANDALONE_IMPORTS, metadata.rawImports, "Imports array contains unused imports", unused.map(([ref, type, name]) => makeRelatedInformation(ref.getOriginForDiagnostics(metadata.rawImports), `${type} "${name}" is not used within the template`)), category);
|
|
3338
3338
|
}
|
|
3339
3339
|
getUnusedSymbols(metadata, usedDirectives, usedPipes) {
|
|
3340
|
-
|
|
3340
|
+
const { imports, rawImports } = metadata;
|
|
3341
|
+
if (imports === null || rawImports === null) {
|
|
3341
3342
|
return null;
|
|
3342
3343
|
}
|
|
3343
3344
|
let unused = null;
|
|
3344
|
-
for (const current of
|
|
3345
|
+
for (const current of imports) {
|
|
3345
3346
|
const currentNode = current.node;
|
|
3346
3347
|
const dirMeta = this.templateTypeChecker.getDirectiveMetadata(currentNode);
|
|
3347
3348
|
if (dirMeta !== null) {
|
|
3348
|
-
if (dirMeta.isStandalone &&
|
|
3349
|
+
if (dirMeta.isStandalone && !usedDirectives.has(currentNode) && !this.isPotentialSharedReference(current, rawImports)) {
|
|
3349
3350
|
unused != null ? unused : unused = [];
|
|
3350
3351
|
unused.push([current, dirMeta.isComponent ? "Component" : "Directive", dirMeta.name]);
|
|
3351
3352
|
}
|
|
3352
3353
|
continue;
|
|
3353
3354
|
}
|
|
3354
3355
|
const pipeMeta = this.templateTypeChecker.getPipeMetadata(currentNode);
|
|
3355
|
-
if (pipeMeta !== null && pipeMeta.isStandalone &&
|
|
3356
|
+
if (pipeMeta !== null && pipeMeta.isStandalone && !usedPipes.has(pipeMeta.name) && !this.isPotentialSharedReference(current, rawImports)) {
|
|
3356
3357
|
unused != null ? unused : unused = [];
|
|
3357
3358
|
unused.push([current, "Pipe", pipeMeta.ref.node.name.text]);
|
|
3358
3359
|
}
|
|
3359
3360
|
}
|
|
3360
3361
|
return unused;
|
|
3361
3362
|
}
|
|
3363
|
+
isPotentialSharedReference(reference, rawImports) {
|
|
3364
|
+
var _a;
|
|
3365
|
+
if (reference.getIdentityInExpression(rawImports) !== null) {
|
|
3366
|
+
return false;
|
|
3367
|
+
}
|
|
3368
|
+
let current = reference.getIdentityIn(rawImports.getSourceFile());
|
|
3369
|
+
while (current !== null) {
|
|
3370
|
+
if (ts23.isVariableStatement(current)) {
|
|
3371
|
+
return !!((_a = current.modifiers) == null ? void 0 : _a.some((m) => m.kind === ts23.SyntaxKind.ExportKeyword));
|
|
3372
|
+
}
|
|
3373
|
+
current = current.parent;
|
|
3374
|
+
}
|
|
3375
|
+
return true;
|
|
3376
|
+
}
|
|
3362
3377
|
};
|
|
3363
3378
|
|
|
3364
|
-
// bazel-out/
|
|
3379
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
|
|
3365
3380
|
var UNUSED_STANDALONE_IMPORTS_RULE_ENABLED = true;
|
|
3366
3381
|
|
|
3367
|
-
// bazel-out/
|
|
3382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3368
3383
|
var SourceFileValidator = class {
|
|
3369
3384
|
constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
|
|
3370
3385
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -3405,7 +3420,7 @@ var SourceFileValidator = class {
|
|
|
3405
3420
|
}
|
|
3406
3421
|
};
|
|
3407
3422
|
|
|
3408
|
-
// bazel-out/
|
|
3423
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
3409
3424
|
function coreHasSymbol(program, symbol) {
|
|
3410
3425
|
const checker = program.getTypeChecker();
|
|
3411
3426
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -3424,7 +3439,7 @@ function isMaybeCore(sf) {
|
|
|
3424
3439
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
3425
3440
|
}
|
|
3426
3441
|
|
|
3427
|
-
// bazel-out/
|
|
3442
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3428
3443
|
import semver from "semver";
|
|
3429
3444
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3430
3445
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3433,7 +3448,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3433
3448
|
return semver.satisfies(coreVersion, minVersion);
|
|
3434
3449
|
}
|
|
3435
3450
|
|
|
3436
|
-
// bazel-out/
|
|
3451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3437
3452
|
var CompilationTicketKind;
|
|
3438
3453
|
(function(CompilationTicketKind2) {
|
|
3439
3454
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -4064,9 +4079,9 @@ var NgCompiler = class {
|
|
|
4064
4079
|
}
|
|
4065
4080
|
const jitDeclarationRegistry = new JitDeclarationRegistry();
|
|
4066
4081
|
const handlers = [
|
|
4067
|
-
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, localCompilationExtraImportsTracker, jitDeclarationRegistry, (_d = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _d : true),
|
|
4068
|
-
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, importTracker, supportTestBed, compilationMode, jitDeclarationRegistry),
|
|
4069
|
-
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed, compilationMode, !!this.options.generateExtraImportsInLocalMode),
|
|
4082
|
+
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, localCompilationExtraImportsTracker, jitDeclarationRegistry, (_d = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _d : true, !!this.options.strictStandalone),
|
|
4083
|
+
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, importTracker, supportTestBed, compilationMode, jitDeclarationRegistry, !!this.options.strictStandalone),
|
|
4084
|
+
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed, compilationMode, !!this.options.generateExtraImportsInLocalMode, !!this.options.strictStandalone),
|
|
4070
4085
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, compilationMode),
|
|
4071
4086
|
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_e = this.options.onlyPublishPublicTypingsForNgModules) != null ? _e : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, supportJitMode, compilationMode, localCompilationExtraImportsTracker, jitDeclarationRegistry)
|
|
4072
4087
|
];
|
|
@@ -4262,7 +4277,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
4262
4277
|
return versions;
|
|
4263
4278
|
}
|
|
4264
4279
|
|
|
4265
|
-
// bazel-out/
|
|
4280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
4266
4281
|
import ts25 from "typescript";
|
|
4267
4282
|
var DelegatingCompilerHost = class {
|
|
4268
4283
|
get jsDocParsingMode() {
|
|
@@ -4401,7 +4416,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4401
4416
|
}
|
|
4402
4417
|
};
|
|
4403
4418
|
|
|
4404
|
-
// bazel-out/
|
|
4419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4405
4420
|
var NgtscProgram = class {
|
|
4406
4421
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
4407
4422
|
this.options = options;
|
|
@@ -4627,15 +4642,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4627
4642
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4628
4643
|
}
|
|
4629
4644
|
|
|
4630
|
-
// bazel-out/
|
|
4645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4631
4646
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4632
4647
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4633
4648
|
}
|
|
4634
4649
|
|
|
4635
|
-
// bazel-out/
|
|
4650
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4636
4651
|
import ts28 from "typescript";
|
|
4637
4652
|
|
|
4638
|
-
// bazel-out/
|
|
4653
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4639
4654
|
import ts27 from "typescript";
|
|
4640
4655
|
function createMessageDiagnostic(messageText) {
|
|
4641
4656
|
return {
|
|
@@ -4649,7 +4664,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4649
4664
|
};
|
|
4650
4665
|
}
|
|
4651
4666
|
|
|
4652
|
-
// bazel-out/
|
|
4667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4653
4668
|
var defaultFormatHost = {
|
|
4654
4669
|
getCurrentDirectory: () => ts28.sys.getCurrentDirectory(),
|
|
4655
4670
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -4880,4 +4895,4 @@ export {
|
|
|
4880
4895
|
* Use of this source code is governed by an MIT-style license that can be
|
|
4881
4896
|
* found in the LICENSE file at https://angular.dev/license
|
|
4882
4897
|
*/
|
|
4883
|
-
//# sourceMappingURL=chunk-
|
|
4898
|
+
//# sourceMappingURL=chunk-IXNIFZCK.js.map
|