@angular/compiler-cli 19.2.0-next.2 → 19.2.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
- package/bundles/{chunk-3WDOF2PD.js → chunk-67OPP2P5.js} +113 -86
- package/bundles/{chunk-3WDOF2PD.js.map → chunk-67OPP2P5.js.map} +3 -3
- package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
- package/bundles/{chunk-SPTIAMJL.js → chunk-E7POVVFX.js} +13 -13
- package/bundles/chunk-E7POVVFX.js.map +6 -0
- package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
- package/bundles/{chunk-7U2MEXOV.js → chunk-FTZQEOD7.js} +5 -5
- package/bundles/{chunk-GSGK42HV.js → chunk-HHTMNOE7.js} +132 -127
- package/bundles/{chunk-GSGK42HV.js.map → chunk-HHTMNOE7.js.map} +1 -1
- package/bundles/{chunk-2LUVAZUS.js → chunk-J7S5XIBF.js} +31 -31
- package/bundles/{chunk-KNAEEOO7.js → chunk-JBQ2W4H2.js} +3 -3
- package/bundles/{chunk-T2AA53RT.js → chunk-OZ2WSYWM.js} +49 -44
- package/bundles/chunk-OZ2WSYWM.js.map +6 -0
- package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.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 +3 -3
- package/src/ngtsc/imports/src/patch_alias_reference_resolution.d.ts +6 -1
- package/bundles/chunk-SPTIAMJL.js.map +0 -6
- package/bundles/chunk-T2AA53RT.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-7U2MEXOV.js.map → chunk-FTZQEOD7.js.map} +0 -0
- /package/bundles/{chunk-2LUVAZUS.js.map → chunk-J7S5XIBF.js.map} +0 -0
- /package/bundles/{chunk-KNAEEOO7.js.map → chunk-JBQ2W4H2.js.map} +0 -0
- /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-E7POVVFX.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-HHTMNOE7.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-OZ2WSYWM.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 ts11 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 ts5 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 ts3 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,12 +254,12 @@ 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
|
function extractResolvedTypeString(node, checker) {
|
|
259
259
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
263
263
|
var FunctionExtractor = class {
|
|
264
264
|
name;
|
|
265
265
|
exportDeclaration;
|
|
@@ -350,7 +350,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
350
350
|
return implementation;
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
// bazel-out/
|
|
353
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
354
354
|
import ts4 from "typescript";
|
|
355
355
|
function isInternal(member) {
|
|
356
356
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -369,7 +369,7 @@ function hasLeadingInternalComment(member) {
|
|
|
369
369
|
)) != null ? _a : false;
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
// bazel-out/
|
|
372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
373
373
|
var ClassExtractor = class {
|
|
374
374
|
declaration;
|
|
375
375
|
typeChecker;
|
|
@@ -671,7 +671,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
671
671
|
return extractor.extract();
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
// bazel-out/
|
|
674
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
675
675
|
import ts6 from "typescript";
|
|
676
676
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
677
677
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -729,7 +729,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
729
729
|
});
|
|
730
730
|
}
|
|
731
731
|
|
|
732
|
-
// bazel-out/
|
|
732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
733
733
|
import ts7 from "typescript";
|
|
734
734
|
function extractorDecorator(declaration, typeChecker) {
|
|
735
735
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -802,7 +802,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
802
802
|
return callSignature;
|
|
803
803
|
}
|
|
804
804
|
|
|
805
|
-
// bazel-out/
|
|
805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
806
806
|
import ts8 from "typescript";
|
|
807
807
|
function extractEnum(declaration, typeChecker) {
|
|
808
808
|
return {
|
|
@@ -833,7 +833,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
833
833
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
834
834
|
}
|
|
835
835
|
|
|
836
|
-
// bazel-out/
|
|
836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
837
837
|
import ts9 from "typescript";
|
|
838
838
|
var initializerApiTag = "initializerApiFunction";
|
|
839
839
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -942,7 +942,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
|
|
|
942
942
|
};
|
|
943
943
|
}
|
|
944
944
|
|
|
945
|
-
// bazel-out/
|
|
945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
946
946
|
function extractTypeAlias(declaration) {
|
|
947
947
|
return {
|
|
948
948
|
name: declaration.name.getText(),
|
|
@@ -955,7 +955,7 @@ function extractTypeAlias(declaration) {
|
|
|
955
955
|
};
|
|
956
956
|
}
|
|
957
957
|
|
|
958
|
-
// bazel-out/
|
|
958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
|
|
959
959
|
import ts10 from "typescript";
|
|
960
960
|
function getImportedSymbols(sourceFile) {
|
|
961
961
|
const importSpecifiers = /* @__PURE__ */ new Map();
|
|
@@ -980,7 +980,7 @@ function getImportedSymbols(sourceFile) {
|
|
|
980
980
|
return importSpecifiers;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
// bazel-out/
|
|
983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
984
984
|
var DocsExtractor = class {
|
|
985
985
|
typeChecker;
|
|
986
986
|
metadataReader;
|
|
@@ -1068,11 +1068,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
1068
1068
|
return relativePath;
|
|
1069
1069
|
}
|
|
1070
1070
|
|
|
1071
|
-
// bazel-out/
|
|
1071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
1072
1072
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
1073
1073
|
import ts26 from "typescript";
|
|
1074
1074
|
|
|
1075
|
-
// bazel-out/
|
|
1075
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
1076
1076
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
1077
1077
|
import * as path from "path";
|
|
1078
1078
|
function i18nGetExtension(formatName) {
|
|
@@ -1123,10 +1123,10 @@ function getPathNormalizer(basePath) {
|
|
|
1123
1123
|
};
|
|
1124
1124
|
}
|
|
1125
1125
|
|
|
1126
|
-
// bazel-out/
|
|
1126
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1127
1127
|
import ts12 from "typescript";
|
|
1128
1128
|
|
|
1129
|
-
// bazel-out/
|
|
1129
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1130
1130
|
function toNumbers(value) {
|
|
1131
1131
|
const suffixIndex = value.lastIndexOf("-");
|
|
1132
1132
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1161,7 +1161,7 @@ function compareVersions(v1, v2) {
|
|
|
1161
1161
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1162
1162
|
}
|
|
1163
1163
|
|
|
1164
|
-
// bazel-out/
|
|
1164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1165
1165
|
var MIN_TS_VERSION = "5.5.0";
|
|
1166
1166
|
var MAX_TS_VERSION = "5.9.0";
|
|
1167
1167
|
var tsVersion = ts12.version;
|
|
@@ -1174,11 +1174,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1174
1174
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1175
1175
|
}
|
|
1176
1176
|
|
|
1177
|
-
// bazel-out/
|
|
1177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1178
1178
|
import { R3Identifiers } from "@angular/compiler";
|
|
1179
1179
|
import ts24 from "typescript";
|
|
1180
1180
|
|
|
1181
|
-
// bazel-out/
|
|
1181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1182
1182
|
var CycleAnalyzer = class {
|
|
1183
1183
|
importGraph;
|
|
1184
1184
|
cachedResults = null;
|
|
@@ -1255,7 +1255,7 @@ var Cycle = class {
|
|
|
1255
1255
|
}
|
|
1256
1256
|
};
|
|
1257
1257
|
|
|
1258
|
-
// bazel-out/
|
|
1258
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1259
1259
|
import ts13 from "typescript";
|
|
1260
1260
|
var ImportGraph = class {
|
|
1261
1261
|
checker;
|
|
@@ -1351,7 +1351,7 @@ var Found = class {
|
|
|
1351
1351
|
}
|
|
1352
1352
|
};
|
|
1353
1353
|
|
|
1354
|
-
// bazel-out/
|
|
1354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1355
1355
|
import ts14 from "typescript";
|
|
1356
1356
|
var FlatIndexGenerator = class {
|
|
1357
1357
|
entryPoint;
|
|
@@ -1379,7 +1379,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1379
1379
|
}
|
|
1380
1380
|
};
|
|
1381
1381
|
|
|
1382
|
-
// bazel-out/
|
|
1382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1383
1383
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1384
1384
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1385
1385
|
let resolvedEntryPoint = null;
|
|
@@ -1395,7 +1395,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1395
1395
|
return resolvedEntryPoint;
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
1398
|
-
// bazel-out/
|
|
1398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1399
1399
|
import ts15 from "typescript";
|
|
1400
1400
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1401
1401
|
const diagnostics = [];
|
|
@@ -1475,7 +1475,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
}
|
|
1477
1477
|
|
|
1478
|
-
// bazel-out/
|
|
1478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1479
1479
|
var ReferenceGraph = class {
|
|
1480
1480
|
references = /* @__PURE__ */ new Map();
|
|
1481
1481
|
add(from, to) {
|
|
@@ -1527,7 +1527,7 @@ var ReferenceGraph = class {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
};
|
|
1529
1529
|
|
|
1530
|
-
// bazel-out/
|
|
1530
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1531
1531
|
var FileDependencyGraph = class {
|
|
1532
1532
|
nodes = /* @__PURE__ */ new Map();
|
|
1533
1533
|
addDependency(from, on) {
|
|
@@ -1592,7 +1592,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1592
1592
|
return false;
|
|
1593
1593
|
}
|
|
1594
1594
|
|
|
1595
|
-
// bazel-out/
|
|
1595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1596
1596
|
var IncrementalStateKind;
|
|
1597
1597
|
(function(IncrementalStateKind2) {
|
|
1598
1598
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1600,7 +1600,7 @@ var IncrementalStateKind;
|
|
|
1600
1600
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1601
1601
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1602
1602
|
|
|
1603
|
-
// bazel-out/
|
|
1603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1604
1604
|
var PhaseKind;
|
|
1605
1605
|
(function(PhaseKind2) {
|
|
1606
1606
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1806,7 +1806,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
}
|
|
1808
1808
|
|
|
1809
|
-
// bazel-out/
|
|
1809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1810
1810
|
var TrackedIncrementalBuildStrategy = class {
|
|
1811
1811
|
state = null;
|
|
1812
1812
|
isSet = false;
|
|
@@ -1840,7 +1840,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1840
1840
|
};
|
|
1841
1841
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1842
1842
|
|
|
1843
|
-
// bazel-out/
|
|
1843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1844
1844
|
var IdentifierKind;
|
|
1845
1845
|
(function(IdentifierKind2) {
|
|
1846
1846
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1861,7 +1861,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
};
|
|
1863
1863
|
|
|
1864
|
-
// bazel-out/
|
|
1864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1865
1865
|
var IndexingContext = class {
|
|
1866
1866
|
components = /* @__PURE__ */ new Set();
|
|
1867
1867
|
addComponent(info) {
|
|
@@ -1869,10 +1869,10 @@ var IndexingContext = class {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
};
|
|
1871
1871
|
|
|
1872
|
-
// bazel-out/
|
|
1872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1873
1873
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1874
1874
|
|
|
1875
|
-
// bazel-out/
|
|
1875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1876
1876
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1877
1877
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1878
1878
|
expressionStr;
|
|
@@ -2172,7 +2172,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2172
2172
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2173
2173
|
}
|
|
2174
2174
|
|
|
2175
|
-
// bazel-out/
|
|
2175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2176
2176
|
function generateAnalysis(context) {
|
|
2177
2177
|
const analysis = /* @__PURE__ */ new Map();
|
|
2178
2178
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2208,7 +2208,7 @@ function generateAnalysis(context) {
|
|
|
2208
2208
|
return analysis;
|
|
2209
2209
|
}
|
|
2210
2210
|
|
|
2211
|
-
// bazel-out/
|
|
2211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2212
2212
|
var NgModuleIndexImpl = class {
|
|
2213
2213
|
metaReader;
|
|
2214
2214
|
localReader;
|
|
@@ -2299,7 +2299,7 @@ var NgModuleIndexImpl = class {
|
|
|
2299
2299
|
}
|
|
2300
2300
|
};
|
|
2301
2301
|
|
|
2302
|
-
// bazel-out/
|
|
2302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2303
2303
|
import ts16 from "typescript";
|
|
2304
2304
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2305
2305
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2457,7 +2457,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2457
2457
|
};
|
|
2458
2458
|
}
|
|
2459
2459
|
|
|
2460
|
-
// bazel-out/
|
|
2460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2461
2461
|
var StandaloneComponentScopeReader = class {
|
|
2462
2462
|
metaReader;
|
|
2463
2463
|
localModuleReader;
|
|
@@ -2556,10 +2556,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2556
2556
|
}
|
|
2557
2557
|
};
|
|
2558
2558
|
|
|
2559
|
-
// bazel-out/
|
|
2559
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2560
2560
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2561
2561
|
|
|
2562
|
-
// bazel-out/
|
|
2562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2563
2563
|
import ts17 from "typescript";
|
|
2564
2564
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2565
2565
|
"WritableSignal",
|
|
@@ -2579,7 +2579,7 @@ function isSignalSymbol(symbol) {
|
|
|
2579
2579
|
});
|
|
2580
2580
|
}
|
|
2581
2581
|
|
|
2582
|
-
// bazel-out/
|
|
2582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2583
2583
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2584
2584
|
var TemplateCheckWithVisitor = class {
|
|
2585
2585
|
canVisitStructuralAttributes = true;
|
|
@@ -2716,7 +2716,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2716
2716
|
}
|
|
2717
2717
|
};
|
|
2718
2718
|
|
|
2719
|
-
// bazel-out/
|
|
2719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2720
2720
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2721
2721
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2722
2722
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2765,7 +2765,7 @@ var factory = {
|
|
|
2765
2765
|
create: () => new InterpolatedSignalCheck()
|
|
2766
2766
|
};
|
|
2767
2767
|
|
|
2768
|
-
// bazel-out/
|
|
2768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2769
2769
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2770
2770
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2771
2771
|
code = ErrorCode.INVALID_BANANA_IN_BOX;
|
|
@@ -2788,7 +2788,7 @@ var factory2 = {
|
|
|
2788
2788
|
create: () => new InvalidBananaInBoxCheck()
|
|
2789
2789
|
};
|
|
2790
2790
|
|
|
2791
|
-
// bazel-out/
|
|
2791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2792
2792
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2793
2793
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2794
2794
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2830,7 +2830,7 @@ var factory3 = {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
};
|
|
2832
2832
|
|
|
2833
|
-
// bazel-out/
|
|
2833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2834
2834
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2835
2835
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2836
2836
|
code = ErrorCode.MISSING_NGFOROF_LET;
|
|
@@ -2860,7 +2860,7 @@ var factory4 = {
|
|
|
2860
2860
|
create: () => new MissingNgForOfLetCheck()
|
|
2861
2861
|
};
|
|
2862
2862
|
|
|
2863
|
-
// bazel-out/
|
|
2863
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2864
2864
|
import { Binary } from "@angular/compiler";
|
|
2865
2865
|
import ts18 from "typescript";
|
|
2866
2866
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2903,7 +2903,7 @@ var factory5 = {
|
|
|
2903
2903
|
}
|
|
2904
2904
|
};
|
|
2905
2905
|
|
|
2906
|
-
// bazel-out/
|
|
2906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2907
2907
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2908
2908
|
import ts19 from "typescript";
|
|
2909
2909
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2947,7 +2947,7 @@ var factory6 = {
|
|
|
2947
2947
|
}
|
|
2948
2948
|
};
|
|
2949
2949
|
|
|
2950
|
-
// bazel-out/
|
|
2950
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
2951
2951
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
|
|
2952
2952
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
2953
2953
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2968,7 +2968,7 @@ var factory7 = {
|
|
|
2968
2968
|
create: () => new SuffixNotSupportedCheck()
|
|
2969
2969
|
};
|
|
2970
2970
|
|
|
2971
|
-
// bazel-out/
|
|
2971
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
2972
2972
|
import { TmplAstTextAttribute } from "@angular/compiler";
|
|
2973
2973
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2974
2974
|
code = ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING;
|
|
@@ -3004,7 +3004,7 @@ var factory8 = {
|
|
|
3004
3004
|
create: () => new TextAttributeNotBindingSpec()
|
|
3005
3005
|
};
|
|
3006
3006
|
|
|
3007
|
-
// bazel-out/
|
|
3007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
3008
3008
|
import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
3009
3009
|
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
3010
3010
|
code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
|
|
@@ -3053,7 +3053,7 @@ var factory9 = {
|
|
|
3053
3053
|
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
3054
3054
|
};
|
|
3055
3055
|
|
|
3056
|
-
// bazel-out/
|
|
3056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
|
|
3057
3057
|
import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
|
|
3058
3058
|
var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
|
|
3059
3059
|
code = ErrorCode.UNUSED_LET_DECLARATION;
|
|
@@ -3095,10 +3095,36 @@ var factory10 = {
|
|
|
3095
3095
|
create: () => new UnusedLetDeclarationCheck()
|
|
3096
3096
|
};
|
|
3097
3097
|
|
|
3098
|
-
// bazel-out/
|
|
3098
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
|
|
3099
|
+
import { TmplAstBoundAttribute as TmplAstBoundAttribute3, TmplAstTextAttribute as TmplAstTextAttribute2 } from "@angular/compiler";
|
|
3100
|
+
var NG_SKIP_HYDRATION_ATTR_NAME = "ngSkipHydration";
|
|
3101
|
+
var NgSkipHydrationSpec = class extends TemplateCheckWithVisitor {
|
|
3102
|
+
code = ErrorCode.SKIP_HYDRATION_NOT_STATIC;
|
|
3103
|
+
visitNode(ctx, component, node) {
|
|
3104
|
+
if (node instanceof TmplAstBoundAttribute3 && node.name === NG_SKIP_HYDRATION_ATTR_NAME) {
|
|
3105
|
+
const errorString = `ngSkipHydration should not be used as a binding.`;
|
|
3106
|
+
const diagnostic = ctx.makeTemplateDiagnostic(node.sourceSpan, errorString);
|
|
3107
|
+
return [diagnostic];
|
|
3108
|
+
}
|
|
3109
|
+
const acceptedValues = ["true", ""];
|
|
3110
|
+
if (node instanceof TmplAstTextAttribute2 && node.name === NG_SKIP_HYDRATION_ATTR_NAME && !acceptedValues.includes(node.value) && node.value !== void 0) {
|
|
3111
|
+
const errorString = `ngSkipHydration only accepts "true" or "" as value or no value at all. For example 'ngSkipHydration="true"' or 'ngSkipHydration'`;
|
|
3112
|
+
const diagnostic = ctx.makeTemplateDiagnostic(node.sourceSpan, errorString);
|
|
3113
|
+
return [diagnostic];
|
|
3114
|
+
}
|
|
3115
|
+
return [];
|
|
3116
|
+
}
|
|
3117
|
+
};
|
|
3118
|
+
var factory11 = {
|
|
3119
|
+
code: ErrorCode.SKIP_HYDRATION_NOT_STATIC,
|
|
3120
|
+
name: ExtendedTemplateDiagnosticName.SKIP_HYDRATION_NOT_STATIC,
|
|
3121
|
+
create: () => new NgSkipHydrationSpec()
|
|
3122
|
+
};
|
|
3123
|
+
|
|
3124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3099
3125
|
import ts20 from "typescript";
|
|
3100
3126
|
|
|
3101
|
-
// bazel-out/
|
|
3127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
3102
3128
|
var DiagnosticCategoryLabel;
|
|
3103
3129
|
(function(DiagnosticCategoryLabel2) {
|
|
3104
3130
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -3106,7 +3132,7 @@ var DiagnosticCategoryLabel;
|
|
|
3106
3132
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
3107
3133
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
3108
3134
|
|
|
3109
|
-
// bazel-out/
|
|
3135
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3110
3136
|
var ExtendedTemplateCheckerImpl = class {
|
|
3111
3137
|
partialCtx;
|
|
3112
3138
|
templateChecks;
|
|
@@ -3114,12 +3140,12 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
3114
3140
|
var _a, _b, _c, _d, _e;
|
|
3115
3141
|
this.partialCtx = { templateTypeChecker, typeChecker };
|
|
3116
3142
|
this.templateChecks = /* @__PURE__ */ new Map();
|
|
3117
|
-
for (const
|
|
3118
|
-
const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[
|
|
3143
|
+
for (const factory12 of templateCheckFactories) {
|
|
3144
|
+
const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[factory12.name]) != null ? _d : (_c = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) != null ? _e : DiagnosticCategoryLabel.Warning);
|
|
3119
3145
|
if (category === null) {
|
|
3120
3146
|
continue;
|
|
3121
3147
|
}
|
|
3122
|
-
const check =
|
|
3148
|
+
const check = factory12.create(options);
|
|
3123
3149
|
if (check === null) {
|
|
3124
3150
|
continue;
|
|
3125
3151
|
}
|
|
@@ -3161,7 +3187,7 @@ function assertNever(value) {
|
|
|
3161
3187
|
${value}`);
|
|
3162
3188
|
}
|
|
3163
3189
|
|
|
3164
|
-
// bazel-out/
|
|
3190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
3165
3191
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
3166
3192
|
factory2,
|
|
3167
3193
|
factory5,
|
|
@@ -3172,15 +3198,16 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
3172
3198
|
factory7,
|
|
3173
3199
|
factory,
|
|
3174
3200
|
factory9,
|
|
3175
|
-
factory10
|
|
3201
|
+
factory10,
|
|
3202
|
+
factory11
|
|
3176
3203
|
];
|
|
3177
3204
|
var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
3178
3205
|
ExtendedTemplateDiagnosticName.CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION,
|
|
3179
3206
|
ExtendedTemplateDiagnosticName.UNUSED_STANDALONE_IMPORTS,
|
|
3180
|
-
...ALL_DIAGNOSTIC_FACTORIES.map((
|
|
3207
|
+
...ALL_DIAGNOSTIC_FACTORIES.map((factory12) => factory12.name)
|
|
3181
3208
|
]);
|
|
3182
3209
|
|
|
3183
|
-
// bazel-out/
|
|
3210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
3184
3211
|
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";
|
|
3185
3212
|
import ts21 from "typescript";
|
|
3186
3213
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -3276,7 +3303,7 @@ function unwrapAstWithSource(ast) {
|
|
|
3276
3303
|
return ast instanceof ASTWithSource6 ? ast.ast : ast;
|
|
3277
3304
|
}
|
|
3278
3305
|
|
|
3279
|
-
// bazel-out/
|
|
3306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3280
3307
|
import ts22 from "typescript";
|
|
3281
3308
|
var APIS_TO_CHECK = [
|
|
3282
3309
|
INPUT_INITIALIZER_FN,
|
|
@@ -3329,7 +3356,7 @@ var InitializerApiUsageRule = class {
|
|
|
3329
3356
|
}
|
|
3330
3357
|
};
|
|
3331
3358
|
|
|
3332
|
-
// bazel-out/
|
|
3359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
|
|
3333
3360
|
import ts23 from "typescript";
|
|
3334
3361
|
var UnusedStandaloneImportsRule = class {
|
|
3335
3362
|
templateTypeChecker;
|
|
@@ -3421,10 +3448,10 @@ function closestNode(start, predicate) {
|
|
|
3421
3448
|
return null;
|
|
3422
3449
|
}
|
|
3423
3450
|
|
|
3424
|
-
// bazel-out/
|
|
3451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
|
|
3425
3452
|
var UNUSED_STANDALONE_IMPORTS_RULE_ENABLED = true;
|
|
3426
3453
|
|
|
3427
|
-
// bazel-out/
|
|
3454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3428
3455
|
var SourceFileValidator = class {
|
|
3429
3456
|
rules;
|
|
3430
3457
|
constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
|
|
@@ -3466,7 +3493,7 @@ var SourceFileValidator = class {
|
|
|
3466
3493
|
}
|
|
3467
3494
|
};
|
|
3468
3495
|
|
|
3469
|
-
// bazel-out/
|
|
3496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
3470
3497
|
function coreHasSymbol(program, symbol) {
|
|
3471
3498
|
const checker = program.getTypeChecker();
|
|
3472
3499
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -3485,7 +3512,7 @@ function isMaybeCore(sf) {
|
|
|
3485
3512
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
3486
3513
|
}
|
|
3487
3514
|
|
|
3488
|
-
// bazel-out/
|
|
3515
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3489
3516
|
import semver from "semver";
|
|
3490
3517
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3491
3518
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3494,7 +3521,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3494
3521
|
return semver.satisfies(coreVersion, minVersion, { includePrerelease: true });
|
|
3495
3522
|
}
|
|
3496
3523
|
|
|
3497
|
-
// bazel-out/
|
|
3524
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3498
3525
|
var CompilationTicketKind;
|
|
3499
3526
|
(function(CompilationTicketKind2) {
|
|
3500
3527
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -4374,7 +4401,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
4374
4401
|
return versions;
|
|
4375
4402
|
}
|
|
4376
4403
|
|
|
4377
|
-
// bazel-out/
|
|
4404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
4378
4405
|
import ts25 from "typescript";
|
|
4379
4406
|
var DelegatingCompilerHost = class {
|
|
4380
4407
|
delegate;
|
|
@@ -4548,7 +4575,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4548
4575
|
}
|
|
4549
4576
|
};
|
|
4550
4577
|
|
|
4551
|
-
// bazel-out/
|
|
4578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4552
4579
|
var NgtscProgram = class {
|
|
4553
4580
|
options;
|
|
4554
4581
|
compiler;
|
|
@@ -4779,15 +4806,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4779
4806
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4780
4807
|
}
|
|
4781
4808
|
|
|
4782
|
-
// bazel-out/
|
|
4809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4783
4810
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4784
4811
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4785
4812
|
}
|
|
4786
4813
|
|
|
4787
|
-
// bazel-out/
|
|
4814
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4788
4815
|
import ts28 from "typescript";
|
|
4789
4816
|
|
|
4790
|
-
// bazel-out/
|
|
4817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4791
4818
|
import ts27 from "typescript";
|
|
4792
4819
|
function createMessageDiagnostic(messageText) {
|
|
4793
4820
|
return {
|
|
@@ -4801,7 +4828,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4801
4828
|
};
|
|
4802
4829
|
}
|
|
4803
4830
|
|
|
4804
|
-
// bazel-out/
|
|
4831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4805
4832
|
var defaultFormatHost = {
|
|
4806
4833
|
getCurrentDirectory: () => ts28.sys.getCurrentDirectory(),
|
|
4807
4834
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -5034,4 +5061,4 @@ export {
|
|
|
5034
5061
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5035
5062
|
* found in the LICENSE file at https://angular.dev/license
|
|
5036
5063
|
*/
|
|
5037
|
-
//# sourceMappingURL=chunk-
|
|
5064
|
+
//# sourceMappingURL=chunk-67OPP2P5.js.map
|