@angular/compiler-cli 13.0.0 → 13.0.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/index.js +235 -230
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +67 -67
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +59 -59
- package/bundles/linker/index.js.map +1 -1
- package/bundles/ngcc/index.js +376 -363
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +377 -364
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +248 -248
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +64 -64
- package/bundles/private/migrations.js.map +1 -1
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +234 -229
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +232 -227
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +2 -2
- package/linker/src/file_linker/translator.d.ts +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/ngcc/src/packages/entry_point.d.ts +5 -0
- package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
|
@@ -31,22 +31,22 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
31
31
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
// bazel-out/
|
|
34
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
35
35
|
import ts9 from "typescript";
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
38
38
|
import ts3 from "typescript";
|
|
39
39
|
|
|
40
|
-
// bazel-out/
|
|
40
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
41
41
|
import ts2 from "typescript";
|
|
42
42
|
|
|
43
|
-
// bazel-out/
|
|
43
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
44
44
|
import {
|
|
45
45
|
EOL
|
|
46
46
|
} from "os";
|
|
47
47
|
import ts from "typescript";
|
|
48
48
|
|
|
49
|
-
// bazel-out/
|
|
49
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
50
50
|
var InvalidFileSystem = class {
|
|
51
51
|
exists(path7) {
|
|
52
52
|
throw makeError();
|
|
@@ -134,13 +134,13 @@ function makeError() {
|
|
|
134
134
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
138
138
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
139
139
|
function stripExtension(path7) {
|
|
140
140
|
return path7.replace(TS_DTS_JS_EXTENSION, "");
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
// bazel-out/
|
|
143
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
144
144
|
var fs = new InvalidFileSystem();
|
|
145
145
|
function getFileSystem() {
|
|
146
146
|
return fs;
|
|
@@ -181,7 +181,7 @@ function toRelativeImport(relativePath) {
|
|
|
181
181
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
185
185
|
var NgtscCompilerHost = class {
|
|
186
186
|
constructor(fs5, options2 = {}) {
|
|
187
187
|
this.fs = fs5;
|
|
@@ -234,7 +234,7 @@ var NgtscCompilerHost = class {
|
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
238
238
|
var LogicalProjectPath = {
|
|
239
239
|
relativePathBetween: function(from, to) {
|
|
240
240
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -280,7 +280,7 @@ function isWithinBasePath(base, path7) {
|
|
|
280
280
|
return isLocalRelativePath(relative(base, path7));
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// bazel-out/
|
|
283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
284
284
|
import {
|
|
285
285
|
copyFileSync,
|
|
286
286
|
existsSync,
|
|
@@ -425,7 +425,7 @@ function toggleCase(str) {
|
|
|
425
425
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
// bazel-out/
|
|
428
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
429
429
|
var D_TS = /\.d\.ts$/i;
|
|
430
430
|
function isSymbolWithValueDeclaration(symbol) {
|
|
431
431
|
return symbol != null && symbol.valueDeclaration !== void 0 && symbol.declarations !== void 0;
|
|
@@ -492,7 +492,7 @@ function isAssignment(node) {
|
|
|
492
492
|
return ts2.isBinaryExpression(node) && node.operatorToken.kind === ts2.SyntaxKind.EqualsToken;
|
|
493
493
|
}
|
|
494
494
|
|
|
495
|
-
// bazel-out/
|
|
495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
496
496
|
function findNamespaceOfIdentifier(id) {
|
|
497
497
|
return id.parent && ts3.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts3.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
498
498
|
}
|
|
@@ -577,10 +577,10 @@ function skipAliases(node) {
|
|
|
577
577
|
return node;
|
|
578
578
|
}
|
|
579
579
|
|
|
580
|
-
// bazel-out/
|
|
580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
581
581
|
import ts8 from "typescript";
|
|
582
582
|
|
|
583
|
-
// bazel-out/
|
|
583
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
584
584
|
import ts4 from "typescript";
|
|
585
585
|
var Decorator = {
|
|
586
586
|
nodeForError: (decorator) => {
|
|
@@ -615,7 +615,7 @@ function isConcreteDeclaration(decl) {
|
|
|
615
615
|
return decl.kind === 0;
|
|
616
616
|
}
|
|
617
617
|
|
|
618
|
-
// bazel-out/
|
|
618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
619
619
|
import ts5 from "typescript";
|
|
620
620
|
function typeToValue(typeNode, checker) {
|
|
621
621
|
if (typeNode === null) {
|
|
@@ -776,10 +776,10 @@ function extractModuleName(node) {
|
|
|
776
776
|
return node.moduleSpecifier.text;
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
-
// bazel-out/
|
|
779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
780
780
|
import ts7 from "typescript";
|
|
781
781
|
|
|
782
|
-
// bazel-out/
|
|
782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
783
783
|
import ts6 from "typescript";
|
|
784
784
|
function isNamedClassDeclaration(node) {
|
|
785
785
|
return ts6.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -794,7 +794,7 @@ function isIdentifier(node) {
|
|
|
794
794
|
return node !== void 0 && ts6.isIdentifier(node);
|
|
795
795
|
}
|
|
796
796
|
|
|
797
|
-
// bazel-out/
|
|
797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
798
798
|
var TypeScriptReflectionHost = class {
|
|
799
799
|
constructor(checker) {
|
|
800
800
|
this.checker = checker;
|
|
@@ -1230,7 +1230,7 @@ function getExportedName(decl, originalId) {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
1232
1232
|
|
|
1233
|
-
// bazel-out/
|
|
1233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
1234
1234
|
function isDefined(value) {
|
|
1235
1235
|
return value !== void 0 && value !== null;
|
|
1236
1236
|
}
|
|
@@ -1312,7 +1312,7 @@ function stripExtension2(fileName) {
|
|
|
1312
1312
|
return fileName.replace(/\..+$/, "");
|
|
1313
1313
|
}
|
|
1314
1314
|
|
|
1315
|
-
// bazel-out/
|
|
1315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/module_resolver.mjs
|
|
1316
1316
|
var ModuleResolver = class {
|
|
1317
1317
|
constructor(fs5, pathMappings, relativeExtensions = ["", ".js", "/index.js"]) {
|
|
1318
1318
|
this.fs = fs5;
|
|
@@ -1441,7 +1441,7 @@ function isRelativeImport(from, to) {
|
|
|
1441
1441
|
return to.startsWith(from) && !to.includes("node_modules");
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
-
// bazel-out/
|
|
1444
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_host.mjs
|
|
1445
1445
|
function createDependencyInfo() {
|
|
1446
1446
|
return { dependencies: new Set(), missing: new Set(), deepImports: new Set() };
|
|
1447
1447
|
}
|
|
@@ -1498,7 +1498,7 @@ var DependencyHostBase = class {
|
|
|
1498
1498
|
}
|
|
1499
1499
|
};
|
|
1500
1500
|
|
|
1501
|
-
// bazel-out/
|
|
1501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
1502
1502
|
var CommonJsDependencyHost = class extends DependencyHostBase {
|
|
1503
1503
|
canSkipFile(fileContents) {
|
|
1504
1504
|
return !hasRequireCalls(fileContents);
|
|
@@ -1542,20 +1542,20 @@ function hasRequireCalls(source) {
|
|
|
1542
1542
|
return /require\(['"]/.test(source);
|
|
1543
1543
|
}
|
|
1544
1544
|
|
|
1545
|
-
// bazel-out/
|
|
1545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
1546
1546
|
import { DepGraph } from "dependency-graph";
|
|
1547
1547
|
import module2 from "module";
|
|
1548
1548
|
|
|
1549
|
-
// bazel-out/
|
|
1549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
1550
1550
|
import ts15 from "typescript";
|
|
1551
1551
|
|
|
1552
|
-
// bazel-out/
|
|
1552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
1553
1553
|
import ts14 from "typescript";
|
|
1554
1554
|
|
|
1555
|
-
// bazel-out/
|
|
1555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
1556
1556
|
import ts12 from "typescript";
|
|
1557
1557
|
|
|
1558
|
-
// bazel-out/
|
|
1558
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
1559
1559
|
function isWithinPackage(packagePath, filePath) {
|
|
1560
1560
|
const relativePath = relative(packagePath, filePath);
|
|
1561
1561
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -1570,7 +1570,7 @@ var NoopDependencyTracker = class {
|
|
|
1570
1570
|
};
|
|
1571
1571
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
1572
1572
|
|
|
1573
|
-
// bazel-out/
|
|
1573
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/ngcc_host.mjs
|
|
1574
1574
|
import ts10 from "typescript";
|
|
1575
1575
|
var PRE_R3_MARKER = "__PRE_R3__";
|
|
1576
1576
|
var POST_R3_MARKER = "__POST_R3__";
|
|
@@ -1578,13 +1578,13 @@ function isSwitchableVariableDeclaration(node) {
|
|
|
1578
1578
|
return ts10.isVariableDeclaration(node) && !!node.initializer && ts10.isIdentifier(node.initializer) && node.initializer.text.endsWith(PRE_R3_MARKER);
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
1581
|
-
// bazel-out/
|
|
1581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
1582
1582
|
import ts11 from "typescript";
|
|
1583
1583
|
function stripParentheses(node) {
|
|
1584
1584
|
return ts11.isParenthesizedExpression(node) ? node.expression : node;
|
|
1585
1585
|
}
|
|
1586
1586
|
|
|
1587
|
-
// bazel-out/
|
|
1587
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
1588
1588
|
var DECORATORS = "decorators";
|
|
1589
1589
|
var PROP_DECORATORS = "propDecorators";
|
|
1590
1590
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -2815,7 +2815,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
2815
2815
|
return outerNode;
|
|
2816
2816
|
}
|
|
2817
2817
|
|
|
2818
|
-
// bazel-out/
|
|
2818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
2819
2819
|
import ts13 from "typescript";
|
|
2820
2820
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
2821
2821
|
getBaseClassExpression(clazz) {
|
|
@@ -3149,7 +3149,7 @@ function getIifeFn(classSymbol) {
|
|
|
3149
3149
|
return iifeWrapper && ts13.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
3150
3150
|
}
|
|
3151
3151
|
|
|
3152
|
-
// bazel-out/
|
|
3152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
3153
3153
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
3154
3154
|
constructor(logger, isCore, src, dts = null) {
|
|
3155
3155
|
super(logger, isCore, src, dts);
|
|
@@ -3540,7 +3540,7 @@ function isExportsIdentifier(node) {
|
|
|
3540
3540
|
return ts14.isIdentifier(node) && node.text === "exports";
|
|
3541
3541
|
}
|
|
3542
3542
|
|
|
3543
|
-
// bazel-out/
|
|
3543
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
3544
3544
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
3545
3545
|
var NO_ENTRY_POINT = "no-entry-point";
|
|
3546
3546
|
var IGNORED_ENTRY_POINT = "ignored-entry-point";
|
|
@@ -3551,6 +3551,7 @@ function getEntryPointInfo(fs5, config, logger, packagePath, entryPointPath) {
|
|
|
3551
3551
|
const loadedPackagePackageJson = loadPackageJson(fs5, packagePackageJsonPath);
|
|
3552
3552
|
const loadedEntryPointPackageJson = packagePackageJsonPath === entryPointPackageJsonPath ? loadedPackagePackageJson : loadPackageJson(fs5, entryPointPackageJsonPath);
|
|
3553
3553
|
const { packageName, packageVersion } = getPackageNameAndVersion(fs5, packagePath, loadedPackagePackageJson, loadedEntryPointPackageJson);
|
|
3554
|
+
const repositoryUrl = getRepositoryUrl(loadedPackagePackageJson);
|
|
3554
3555
|
const packageConfig = config.getPackageConfig(packageName, packagePath, packageVersion);
|
|
3555
3556
|
const entryPointConfig = packageConfig.entryPoints.get(entryPointPath);
|
|
3556
3557
|
let entryPointPackageJson;
|
|
@@ -3579,6 +3580,7 @@ function getEntryPointInfo(fs5, config, logger, packagePath, entryPointPath) {
|
|
|
3579
3580
|
path: entryPointPath,
|
|
3580
3581
|
packageName,
|
|
3581
3582
|
packagePath,
|
|
3583
|
+
repositoryUrl,
|
|
3582
3584
|
packageJson: entryPointPackageJson,
|
|
3583
3585
|
typings: fs5.resolve(entryPointPath, typings),
|
|
3584
3586
|
compiledByAngular,
|
|
@@ -3687,8 +3689,17 @@ function getPackageNameAndVersion(fs5, packagePath, packagePackageJson, entryPoi
|
|
|
3687
3689
|
packageVersion: (_a = packagePackageJson == null ? void 0 : packagePackageJson.version) != null ? _a : null
|
|
3688
3690
|
};
|
|
3689
3691
|
}
|
|
3692
|
+
function getRepositoryUrl(packageJson) {
|
|
3693
|
+
if ((packageJson == null ? void 0 : packageJson.repository) === void 0) {
|
|
3694
|
+
return "";
|
|
3695
|
+
}
|
|
3696
|
+
if (typeof packageJson.repository === "string") {
|
|
3697
|
+
return packageJson.repository;
|
|
3698
|
+
}
|
|
3699
|
+
return packageJson.repository.url;
|
|
3700
|
+
}
|
|
3690
3701
|
|
|
3691
|
-
// bazel-out/
|
|
3702
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
3692
3703
|
var builtinNodeJsModules = new Set(module2.builtinModules);
|
|
3693
3704
|
var DependencyResolver = class {
|
|
3694
3705
|
constructor(fs5, logger, config, hosts, typingsHost) {
|
|
@@ -3790,7 +3801,7 @@ var DependencyResolver = class {
|
|
|
3790
3801
|
}
|
|
3791
3802
|
};
|
|
3792
3803
|
|
|
3793
|
-
// bazel-out/
|
|
3804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.mjs
|
|
3794
3805
|
import ts16 from "typescript";
|
|
3795
3806
|
var EsmDependencyHost = class extends DependencyHostBase {
|
|
3796
3807
|
constructor(fs5, moduleResolver, scanImportExpressions = true) {
|
|
@@ -3956,7 +3967,7 @@ function canPrecedeARegex(kind) {
|
|
|
3956
3967
|
}
|
|
3957
3968
|
}
|
|
3958
3969
|
|
|
3959
|
-
// bazel-out/
|
|
3970
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.mjs
|
|
3960
3971
|
var DtsDependencyHost = class extends EsmDependencyHost {
|
|
3961
3972
|
constructor(fs5, pathMappings) {
|
|
3962
3973
|
super(fs5, new ModuleResolver(fs5, pathMappings, ["", ".d.ts", "/index.d.ts", ".js", "/index.js"]), false);
|
|
@@ -3966,7 +3977,7 @@ var DtsDependencyHost = class extends EsmDependencyHost {
|
|
|
3966
3977
|
}
|
|
3967
3978
|
};
|
|
3968
3979
|
|
|
3969
|
-
// bazel-out/
|
|
3980
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.mjs
|
|
3970
3981
|
import ts17 from "typescript";
|
|
3971
3982
|
var UmdDependencyHost = class extends DependencyHostBase {
|
|
3972
3983
|
canSkipFile(fileContents) {
|
|
@@ -3986,7 +3997,7 @@ var UmdDependencyHost = class extends DependencyHostBase {
|
|
|
3986
3997
|
}
|
|
3987
3998
|
};
|
|
3988
3999
|
|
|
3989
|
-
// bazel-out/
|
|
4000
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/utils.mjs
|
|
3990
4001
|
function getBasePaths(logger, sourceDirectory, pathMappings) {
|
|
3991
4002
|
const fs5 = getFileSystem();
|
|
3992
4003
|
const basePaths = [sourceDirectory];
|
|
@@ -4096,7 +4107,7 @@ function convertToLeaf(node, path7) {
|
|
|
4096
4107
|
node.path = path7;
|
|
4097
4108
|
}
|
|
4098
4109
|
|
|
4099
|
-
// bazel-out/
|
|
4110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.mjs
|
|
4100
4111
|
var DirectoryWalkerEntryPointFinder = class {
|
|
4101
4112
|
constructor(logger, resolver, entryPointCollector, entryPointManifest, sourceDirectory, pathMappings) {
|
|
4102
4113
|
this.logger = logger;
|
|
@@ -4123,7 +4134,7 @@ var DirectoryWalkerEntryPointFinder = class {
|
|
|
4123
4134
|
}
|
|
4124
4135
|
};
|
|
4125
4136
|
|
|
4126
|
-
// bazel-out/
|
|
4137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
4127
4138
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
4128
4139
|
var InPlaceFileWriter = class {
|
|
4129
4140
|
constructor(fs5, logger, errorOnFailedEntryPoint) {
|
|
@@ -4172,7 +4183,7 @@ This error may be caused by one of the following:
|
|
|
4172
4183
|
}
|
|
4173
4184
|
};
|
|
4174
4185
|
|
|
4175
|
-
// bazel-out/
|
|
4186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
4176
4187
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
4177
4188
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
4178
4189
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -4280,7 +4291,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
4280
4291
|
}
|
|
4281
4292
|
};
|
|
4282
4293
|
|
|
4283
|
-
// bazel-out/
|
|
4294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.mjs
|
|
4284
4295
|
var EntryPointCollector = class {
|
|
4285
4296
|
constructor(fs5, config, logger, resolver) {
|
|
4286
4297
|
this.fs = fs5;
|
|
@@ -4358,7 +4369,7 @@ function isIgnorablePath(path7) {
|
|
|
4358
4369
|
return path7.startsWith(".") || path7 === "node_modules" || path7 === NGCC_DIRECTORY;
|
|
4359
4370
|
}
|
|
4360
4371
|
|
|
4361
|
-
// bazel-out/
|
|
4372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
4362
4373
|
function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
4363
4374
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
4364
4375
|
return {
|
|
@@ -4368,7 +4379,7 @@ function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
|
4368
4379
|
}
|
|
4369
4380
|
}
|
|
4370
4381
|
|
|
4371
|
-
// bazel-out/
|
|
4382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.mjs
|
|
4372
4383
|
var TracingEntryPointFinder = class {
|
|
4373
4384
|
constructor(fs5, config, logger, resolver, basePath, pathMappings) {
|
|
4374
4385
|
this.fs = fs5;
|
|
@@ -4405,7 +4416,7 @@ var TracingEntryPointFinder = class {
|
|
|
4405
4416
|
}
|
|
4406
4417
|
};
|
|
4407
4418
|
|
|
4408
|
-
// bazel-out/
|
|
4419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.mjs
|
|
4409
4420
|
var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
4410
4421
|
constructor(fs5, config, logger, resolver, entryPointCollector, entryPointManifest, basePath, tsConfig, projectPath) {
|
|
4411
4422
|
super(fs5, config, logger, resolver, basePath, getPathMappingsFromTsConfig(fs5, tsConfig, projectPath));
|
|
@@ -4456,8 +4467,8 @@ var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
4456
4467
|
}
|
|
4457
4468
|
};
|
|
4458
4469
|
|
|
4459
|
-
// bazel-out/
|
|
4460
|
-
var NGCC_VERSION = "13.0.
|
|
4470
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
|
|
4471
|
+
var NGCC_VERSION = "13.0.1";
|
|
4461
4472
|
function needsCleaning(packageJson) {
|
|
4462
4473
|
return Object.values(packageJson.__processed_by_ivy_ngcc__ || {}).some((value) => value !== NGCC_VERSION);
|
|
4463
4474
|
}
|
|
@@ -4498,7 +4509,7 @@ function markAsProcessed(pkgJsonUpdater, packageJson, packageJsonPath, formatPro
|
|
|
4498
4509
|
update.writeChanges(packageJsonPath, packageJson);
|
|
4499
4510
|
}
|
|
4500
4511
|
|
|
4501
|
-
// bazel-out/
|
|
4512
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.mjs
|
|
4502
4513
|
var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
4503
4514
|
constructor(fs5, config, logger, resolver, basePath, pathMappings, targetPath) {
|
|
4504
4515
|
super(fs5, config, logger, resolver, basePath, pathMappings);
|
|
@@ -4613,7 +4624,7 @@ var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
4613
4624
|
}
|
|
4614
4625
|
};
|
|
4615
4626
|
|
|
4616
|
-
// bazel-out/
|
|
4627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
4617
4628
|
var DtsProcessing;
|
|
4618
4629
|
(function(DtsProcessing2) {
|
|
4619
4630
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -4622,7 +4633,7 @@ var DtsProcessing;
|
|
|
4622
4633
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
4623
4634
|
var TaskDependencies = Map;
|
|
4624
4635
|
|
|
4625
|
-
// bazel-out/
|
|
4636
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
4626
4637
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
4627
4638
|
function computeTaskDependencies(tasks, graph) {
|
|
4628
4639
|
const dependencies = new TaskDependencies();
|
|
@@ -4682,7 +4693,7 @@ function sortTasksByPriority(tasks, dependencies) {
|
|
|
4682
4693
|
});
|
|
4683
4694
|
}
|
|
4684
4695
|
|
|
4685
|
-
// bazel-out/
|
|
4696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.mjs
|
|
4686
4697
|
var BaseTaskQueue = class {
|
|
4687
4698
|
constructor(logger, tasks, dependencies) {
|
|
4688
4699
|
this.logger = logger;
|
|
@@ -4748,7 +4759,7 @@ ${indentation}- ${stringifyTask(task)}`).join("");
|
|
|
4748
4759
|
}
|
|
4749
4760
|
};
|
|
4750
4761
|
|
|
4751
|
-
// bazel-out/
|
|
4762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.mjs
|
|
4752
4763
|
var ParallelTaskQueue = class extends BaseTaskQueue {
|
|
4753
4764
|
constructor(logger, tasks, dependencies) {
|
|
4754
4765
|
super(logger, sortTasksByPriority(tasks, dependencies), dependencies);
|
|
@@ -4788,7 +4799,7 @@ ${indentation}- ${stringifyTask(task)} (${blockingTasks.size}): ` + this.stringi
|
|
|
4788
4799
|
}
|
|
4789
4800
|
};
|
|
4790
4801
|
|
|
4791
|
-
// bazel-out/
|
|
4802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.mjs
|
|
4792
4803
|
var SerialTaskQueue = class extends BaseTaskQueue {
|
|
4793
4804
|
computeNextTask() {
|
|
4794
4805
|
const nextTask = this.tasks.shift() || null;
|
|
@@ -4803,7 +4814,7 @@ var SerialTaskQueue = class extends BaseTaskQueue {
|
|
|
4803
4814
|
}
|
|
4804
4815
|
};
|
|
4805
4816
|
|
|
4806
|
-
// bazel-out/
|
|
4817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/utils.mjs
|
|
4807
4818
|
function isLocalDirectory(fs5, path7) {
|
|
4808
4819
|
if (fs5.exists(path7)) {
|
|
4809
4820
|
const stat = fs5.lstat(path7);
|
|
@@ -4813,7 +4824,7 @@ function isLocalDirectory(fs5, path7) {
|
|
|
4813
4824
|
}
|
|
4814
4825
|
}
|
|
4815
4826
|
|
|
4816
|
-
// bazel-out/
|
|
4827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.mjs
|
|
4817
4828
|
var PackageJsonCleaner = class {
|
|
4818
4829
|
constructor(fs5) {
|
|
4819
4830
|
this.fs = fs5;
|
|
@@ -4852,7 +4863,7 @@ var BackupFileCleaner = class {
|
|
|
4852
4863
|
}
|
|
4853
4864
|
};
|
|
4854
4865
|
|
|
4855
|
-
// bazel-out/
|
|
4866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.mjs
|
|
4856
4867
|
var PackageCleaner = class {
|
|
4857
4868
|
constructor(fs5, cleaners) {
|
|
4858
4869
|
this.fs = fs5;
|
|
@@ -4895,7 +4906,7 @@ function cleanOutdatedPackages(fileSystem, entryPoints) {
|
|
|
4895
4906
|
return packagesToClean.size > 0;
|
|
4896
4907
|
}
|
|
4897
4908
|
|
|
4898
|
-
// bazel-out/
|
|
4909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.mjs
|
|
4899
4910
|
function getAnalyzeEntryPointsFn(logger, finder, fileSystem, supportedPropertiesToConsider, typingsOnly, compileAllFormats, propertiesToConsider, inParallel) {
|
|
4900
4911
|
return () => {
|
|
4901
4912
|
logger.debug("Analyzing entry-points...");
|
|
@@ -4984,11 +4995,11 @@ function getTaskQueue(logger, inParallel, tasks, graph) {
|
|
|
4984
4995
|
return inParallel ? new ParallelTaskQueue(logger, tasks, dependencies) : new SerialTaskQueue(logger, tasks, dependencies);
|
|
4985
4996
|
}
|
|
4986
4997
|
|
|
4987
|
-
// bazel-out/
|
|
4998
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
4988
4999
|
import cluster2 from "cluster";
|
|
4989
5000
|
import module3 from "module";
|
|
4990
5001
|
|
|
4991
|
-
// bazel-out/
|
|
5002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
4992
5003
|
import cluster from "cluster";
|
|
4993
5004
|
var Deferred = class {
|
|
4994
5005
|
constructor() {
|
|
@@ -5011,7 +5022,7 @@ var sendMessageToWorker = (workerId, msg) => {
|
|
|
5011
5022
|
});
|
|
5012
5023
|
};
|
|
5013
5024
|
|
|
5014
|
-
// bazel-out/
|
|
5025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
5015
5026
|
var ClusterMaster = class {
|
|
5016
5027
|
constructor(maxWorkerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, analyzeEntryPoints, createTaskCompletedCallback) {
|
|
5017
5028
|
this.maxWorkerCount = maxWorkerCount;
|
|
@@ -5034,6 +5045,7 @@ var ClusterMaster = class {
|
|
|
5034
5045
|
if (this.taskQueue.allTasksCompleted) {
|
|
5035
5046
|
return Promise.resolve();
|
|
5036
5047
|
}
|
|
5048
|
+
this.logger.info('Processing legacy "View Engine" libraries:');
|
|
5037
5049
|
cluster2.on("message", this.wrapEventHandler((worker, msg) => this.onWorkerMessage(worker.id, msg)));
|
|
5038
5050
|
cluster2.on("exit", this.wrapEventHandler((worker, code, signal) => this.onWorkerExit(worker, code, signal)));
|
|
5039
5051
|
cluster2.fork();
|
|
@@ -5047,6 +5059,7 @@ var ClusterMaster = class {
|
|
|
5047
5059
|
if (this.taskQueue.allTasksCompleted) {
|
|
5048
5060
|
const duration = Math.round((Date.now() - this.processingStartTime) / 100) / 10;
|
|
5049
5061
|
this.logger.debug(`Processed tasks in ${duration}s.`);
|
|
5062
|
+
this.logger.info("Encourage the library authors to publish an Ivy distribution.");
|
|
5050
5063
|
return this.finishedDeferred.resolve();
|
|
5051
5064
|
}
|
|
5052
5065
|
for (const [workerId, assignedTask] of Array.from(this.taskAssignments)) {
|
|
@@ -5204,7 +5217,7 @@ function getClusterWorkerScriptPath(fileSystem) {
|
|
|
5204
5217
|
return fileSystem.resolve(workerScriptPath);
|
|
5205
5218
|
}
|
|
5206
5219
|
|
|
5207
|
-
// bazel-out/
|
|
5220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/executor.mjs
|
|
5208
5221
|
var ClusterExecutor = class {
|
|
5209
5222
|
constructor(workerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, lockFile, createTaskCompletedCallback) {
|
|
5210
5223
|
this.workerCount = workerCount;
|
|
@@ -5224,10 +5237,10 @@ var ClusterExecutor = class {
|
|
|
5224
5237
|
}
|
|
5225
5238
|
};
|
|
5226
5239
|
|
|
5227
|
-
// bazel-out/
|
|
5240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
5228
5241
|
import ts62 from "typescript";
|
|
5229
5242
|
|
|
5230
|
-
// bazel-out/
|
|
5243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
5231
5244
|
var ErrorCode;
|
|
5232
5245
|
(function(ErrorCode2) {
|
|
5233
5246
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -5278,7 +5291,7 @@ var ErrorCode;
|
|
|
5278
5291
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
5279
5292
|
})(ErrorCode || (ErrorCode = {}));
|
|
5280
5293
|
|
|
5281
|
-
// bazel-out/
|
|
5294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
5282
5295
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
5283
5296
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
5284
5297
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -5289,10 +5302,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
5289
5302
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
5290
5303
|
]);
|
|
5291
5304
|
|
|
5292
|
-
// bazel-out/
|
|
5305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
5293
5306
|
import ts18 from "typescript";
|
|
5294
5307
|
|
|
5295
|
-
// bazel-out/
|
|
5308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
5296
5309
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
5297
5310
|
function replaceTsWithNgInErrors(errors) {
|
|
5298
5311
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -5301,7 +5314,7 @@ function ngErrorCode(code) {
|
|
|
5301
5314
|
return parseInt("-99" + code);
|
|
5302
5315
|
}
|
|
5303
5316
|
|
|
5304
|
-
// bazel-out/
|
|
5317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
5305
5318
|
var FatalDiagnosticError = class {
|
|
5306
5319
|
constructor(code, node, message, relatedInformation) {
|
|
5307
5320
|
this.code = code;
|
|
@@ -5341,10 +5354,10 @@ function isFatalDiagnosticError(err) {
|
|
|
5341
5354
|
return err._isFatalDiagnosticError === true;
|
|
5342
5355
|
}
|
|
5343
5356
|
|
|
5344
|
-
// bazel-out/
|
|
5357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
5345
5358
|
import ts20 from "typescript";
|
|
5346
5359
|
|
|
5347
|
-
// bazel-out/
|
|
5360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
5348
5361
|
import ts19 from "typescript";
|
|
5349
5362
|
function patchTsGetExpandoInitializer() {
|
|
5350
5363
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -5449,7 +5462,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
5449
5462
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
5450
5463
|
}
|
|
5451
5464
|
|
|
5452
|
-
// bazel-out/
|
|
5465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
5453
5466
|
function makeBundleProgram(fs5, isCore, pkg, path7, r3FileName, options2, host, additionalFiles = []) {
|
|
5454
5467
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs5, fs5.dirname(path7), r3FileName) : null;
|
|
5455
5468
|
let rootPaths = r3SymbolsPath ? [path7, r3SymbolsPath, ...additionalFiles] : [path7, ...additionalFiles];
|
|
@@ -5479,7 +5492,7 @@ function findR3SymbolsPath(fs5, directory, filename) {
|
|
|
5479
5492
|
return null;
|
|
5480
5493
|
}
|
|
5481
5494
|
|
|
5482
|
-
// bazel-out/
|
|
5495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
5483
5496
|
import ts21 from "typescript";
|
|
5484
5497
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
5485
5498
|
constructor(fs5, options2, cache, moduleResolutionCache, packagePath) {
|
|
@@ -5524,7 +5537,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
5524
5537
|
}
|
|
5525
5538
|
};
|
|
5526
5539
|
|
|
5527
|
-
// bazel-out/
|
|
5540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
5528
5541
|
import ts22 from "typescript";
|
|
5529
5542
|
var SharedFileCache = class {
|
|
5530
5543
|
constructor(fs5) {
|
|
@@ -5625,7 +5638,7 @@ function createModuleResolutionCache(fs5) {
|
|
|
5625
5638
|
});
|
|
5626
5639
|
}
|
|
5627
5640
|
|
|
5628
|
-
// bazel-out/
|
|
5641
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
5629
5642
|
function makeEntryPointBundle(fs5, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, dtsProcessing, pathMappings, mirrorDtsFromSrc = false, enableI18nLegacyMessageIdFormat = true) {
|
|
5630
5643
|
const rootDir = entryPoint.packagePath;
|
|
5631
5644
|
const options2 = __spreadValues({ allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir }, pathMappings);
|
|
@@ -5666,106 +5679,24 @@ function computePotentialDtsFilesFromJsFiles(fs5, srcProgram, formatPath, typing
|
|
|
5666
5679
|
return additionalFiles;
|
|
5667
5680
|
}
|
|
5668
5681
|
|
|
5669
|
-
// bazel-out/
|
|
5682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
5670
5683
|
import ts61 from "typescript";
|
|
5671
5684
|
|
|
5672
|
-
// bazel-out/
|
|
5685
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
5673
5686
|
import { ConstantPool as ConstantPool2 } from "@angular/compiler";
|
|
5674
5687
|
|
|
5675
|
-
// bazel-out/
|
|
5676
|
-
var PerfPhase;
|
|
5677
|
-
(function(PerfPhase2) {
|
|
5678
|
-
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
5679
|
-
PerfPhase2[PerfPhase2["Setup"] = 1] = "Setup";
|
|
5680
|
-
PerfPhase2[PerfPhase2["TypeScriptProgramCreate"] = 2] = "TypeScriptProgramCreate";
|
|
5681
|
-
PerfPhase2[PerfPhase2["Reconciliation"] = 3] = "Reconciliation";
|
|
5682
|
-
PerfPhase2[PerfPhase2["ResourceUpdate"] = 4] = "ResourceUpdate";
|
|
5683
|
-
PerfPhase2[PerfPhase2["TypeScriptDiagnostics"] = 5] = "TypeScriptDiagnostics";
|
|
5684
|
-
PerfPhase2[PerfPhase2["Analysis"] = 6] = "Analysis";
|
|
5685
|
-
PerfPhase2[PerfPhase2["Resolve"] = 7] = "Resolve";
|
|
5686
|
-
PerfPhase2[PerfPhase2["CycleDetection"] = 8] = "CycleDetection";
|
|
5687
|
-
PerfPhase2[PerfPhase2["TcbGeneration"] = 9] = "TcbGeneration";
|
|
5688
|
-
PerfPhase2[PerfPhase2["TcbUpdateProgram"] = 10] = "TcbUpdateProgram";
|
|
5689
|
-
PerfPhase2[PerfPhase2["TypeScriptEmit"] = 11] = "TypeScriptEmit";
|
|
5690
|
-
PerfPhase2[PerfPhase2["Compile"] = 12] = "Compile";
|
|
5691
|
-
PerfPhase2[PerfPhase2["TtcAutocompletion"] = 13] = "TtcAutocompletion";
|
|
5692
|
-
PerfPhase2[PerfPhase2["TtcDiagnostics"] = 14] = "TtcDiagnostics";
|
|
5693
|
-
PerfPhase2[PerfPhase2["TtcSymbol"] = 15] = "TtcSymbol";
|
|
5694
|
-
PerfPhase2[PerfPhase2["LsReferencesAndRenames"] = 16] = "LsReferencesAndRenames";
|
|
5695
|
-
PerfPhase2[PerfPhase2["LsQuickInfo"] = 17] = "LsQuickInfo";
|
|
5696
|
-
PerfPhase2[PerfPhase2["LsDefinition"] = 18] = "LsDefinition";
|
|
5697
|
-
PerfPhase2[PerfPhase2["LsCompletions"] = 19] = "LsCompletions";
|
|
5698
|
-
PerfPhase2[PerfPhase2["LsTcb"] = 20] = "LsTcb";
|
|
5699
|
-
PerfPhase2[PerfPhase2["LsDiagnostics"] = 21] = "LsDiagnostics";
|
|
5700
|
-
PerfPhase2[PerfPhase2["LsComponentLocations"] = 22] = "LsComponentLocations";
|
|
5701
|
-
PerfPhase2[PerfPhase2["LsSignatureHelp"] = 23] = "LsSignatureHelp";
|
|
5702
|
-
PerfPhase2[PerfPhase2["LAST"] = 24] = "LAST";
|
|
5703
|
-
})(PerfPhase || (PerfPhase = {}));
|
|
5704
|
-
var PerfEvent;
|
|
5705
|
-
(function(PerfEvent2) {
|
|
5706
|
-
PerfEvent2[PerfEvent2["InputDtsFile"] = 0] = "InputDtsFile";
|
|
5707
|
-
PerfEvent2[PerfEvent2["InputTsFile"] = 1] = "InputTsFile";
|
|
5708
|
-
PerfEvent2[PerfEvent2["AnalyzeComponent"] = 2] = "AnalyzeComponent";
|
|
5709
|
-
PerfEvent2[PerfEvent2["AnalyzeDirective"] = 3] = "AnalyzeDirective";
|
|
5710
|
-
PerfEvent2[PerfEvent2["AnalyzeInjectable"] = 4] = "AnalyzeInjectable";
|
|
5711
|
-
PerfEvent2[PerfEvent2["AnalyzeNgModule"] = 5] = "AnalyzeNgModule";
|
|
5712
|
-
PerfEvent2[PerfEvent2["AnalyzePipe"] = 6] = "AnalyzePipe";
|
|
5713
|
-
PerfEvent2[PerfEvent2["TraitAnalyze"] = 7] = "TraitAnalyze";
|
|
5714
|
-
PerfEvent2[PerfEvent2["TraitReuseAnalysis"] = 8] = "TraitReuseAnalysis";
|
|
5715
|
-
PerfEvent2[PerfEvent2["SourceFilePhysicalChange"] = 9] = "SourceFilePhysicalChange";
|
|
5716
|
-
PerfEvent2[PerfEvent2["SourceFileLogicalChange"] = 10] = "SourceFileLogicalChange";
|
|
5717
|
-
PerfEvent2[PerfEvent2["SourceFileReuseAnalysis"] = 11] = "SourceFileReuseAnalysis";
|
|
5718
|
-
PerfEvent2[PerfEvent2["GenerateTcb"] = 12] = "GenerateTcb";
|
|
5719
|
-
PerfEvent2[PerfEvent2["SkipGenerateTcbNoInline"] = 13] = "SkipGenerateTcbNoInline";
|
|
5720
|
-
PerfEvent2[PerfEvent2["ReuseTypeCheckFile"] = 14] = "ReuseTypeCheckFile";
|
|
5721
|
-
PerfEvent2[PerfEvent2["UpdateTypeCheckProgram"] = 15] = "UpdateTypeCheckProgram";
|
|
5722
|
-
PerfEvent2[PerfEvent2["EmitSkipSourceFile"] = 16] = "EmitSkipSourceFile";
|
|
5723
|
-
PerfEvent2[PerfEvent2["EmitSourceFile"] = 17] = "EmitSourceFile";
|
|
5724
|
-
PerfEvent2[PerfEvent2["LAST"] = 18] = "LAST";
|
|
5725
|
-
})(PerfEvent || (PerfEvent = {}));
|
|
5726
|
-
var PerfCheckpoint;
|
|
5727
|
-
(function(PerfCheckpoint2) {
|
|
5728
|
-
PerfCheckpoint2[PerfCheckpoint2["Initial"] = 0] = "Initial";
|
|
5729
|
-
PerfCheckpoint2[PerfCheckpoint2["TypeScriptProgramCreate"] = 1] = "TypeScriptProgramCreate";
|
|
5730
|
-
PerfCheckpoint2[PerfCheckpoint2["PreAnalysis"] = 2] = "PreAnalysis";
|
|
5731
|
-
PerfCheckpoint2[PerfCheckpoint2["Analysis"] = 3] = "Analysis";
|
|
5732
|
-
PerfCheckpoint2[PerfCheckpoint2["Resolve"] = 4] = "Resolve";
|
|
5733
|
-
PerfCheckpoint2[PerfCheckpoint2["TtcGeneration"] = 5] = "TtcGeneration";
|
|
5734
|
-
PerfCheckpoint2[PerfCheckpoint2["TtcUpdateProgram"] = 6] = "TtcUpdateProgram";
|
|
5735
|
-
PerfCheckpoint2[PerfCheckpoint2["PreEmit"] = 7] = "PreEmit";
|
|
5736
|
-
PerfCheckpoint2[PerfCheckpoint2["Emit"] = 8] = "Emit";
|
|
5737
|
-
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
5738
|
-
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
5739
|
-
|
|
5740
|
-
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
5741
|
-
var NoopPerfRecorder = class {
|
|
5742
|
-
eventCount() {
|
|
5743
|
-
}
|
|
5744
|
-
memory() {
|
|
5745
|
-
}
|
|
5746
|
-
phase() {
|
|
5747
|
-
return PerfPhase.Unaccounted;
|
|
5748
|
-
}
|
|
5749
|
-
inPhase(phase, fn) {
|
|
5750
|
-
return fn();
|
|
5751
|
-
}
|
|
5752
|
-
reset() {
|
|
5753
|
-
}
|
|
5754
|
-
};
|
|
5755
|
-
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
5756
|
-
|
|
5757
|
-
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
5688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
5758
5689
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr7, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
5759
5690
|
import ts46 from "typescript";
|
|
5760
5691
|
|
|
5761
|
-
// bazel-out/
|
|
5692
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
5762
5693
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
5763
5694
|
|
|
5764
|
-
// bazel-out/
|
|
5695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
5765
5696
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
5766
5697
|
import ts24 from "typescript";
|
|
5767
5698
|
|
|
5768
|
-
// bazel-out/
|
|
5699
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
5769
5700
|
import ts23 from "typescript";
|
|
5770
5701
|
function findExportedNameOfNode(target, file, reflector) {
|
|
5771
5702
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -5789,7 +5720,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
5789
5720
|
return foundExportName;
|
|
5790
5721
|
}
|
|
5791
5722
|
|
|
5792
|
-
// bazel-out/
|
|
5723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
5793
5724
|
var ImportFlags;
|
|
5794
5725
|
(function(ImportFlags2) {
|
|
5795
5726
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -5919,7 +5850,7 @@ var LogicalProjectStrategy = class {
|
|
|
5919
5850
|
}
|
|
5920
5851
|
};
|
|
5921
5852
|
|
|
5922
|
-
// bazel-out/
|
|
5853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
5923
5854
|
var PrivateExportAliasingHost = class {
|
|
5924
5855
|
constructor(host) {
|
|
5925
5856
|
this.host = host;
|
|
@@ -5949,13 +5880,13 @@ var PrivateExportAliasingHost = class {
|
|
|
5949
5880
|
}
|
|
5950
5881
|
};
|
|
5951
5882
|
|
|
5952
|
-
// bazel-out/
|
|
5883
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
5953
5884
|
function relativePathBetween(from, to) {
|
|
5954
5885
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
5955
5886
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
5956
5887
|
}
|
|
5957
5888
|
|
|
5958
|
-
// bazel-out/
|
|
5889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
5959
5890
|
var NoopImportRewriter = class {
|
|
5960
5891
|
shouldImportSymbol(symbol, specifier) {
|
|
5961
5892
|
return true;
|
|
@@ -6013,14 +5944,14 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
6013
5944
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
6014
5945
|
}
|
|
6015
5946
|
|
|
6016
|
-
// bazel-out/
|
|
5947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
6017
5948
|
import ts25 from "typescript";
|
|
6018
5949
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
6019
5950
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
6020
5951
|
expr[DefaultImportDeclaration] = importDecl;
|
|
6021
5952
|
}
|
|
6022
5953
|
|
|
6023
|
-
// bazel-out/
|
|
5954
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
6024
5955
|
var Reference = class {
|
|
6025
5956
|
constructor(node, bestGuessOwningModule = null) {
|
|
6026
5957
|
this.node = node;
|
|
@@ -6083,7 +6014,7 @@ var Reference = class {
|
|
|
6083
6014
|
}
|
|
6084
6015
|
};
|
|
6085
6016
|
|
|
6086
|
-
// bazel-out/
|
|
6017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
6087
6018
|
var ModuleResolver2 = class {
|
|
6088
6019
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
6089
6020
|
this.program = program;
|
|
@@ -6100,7 +6031,7 @@ var ModuleResolver2 = class {
|
|
|
6100
6031
|
}
|
|
6101
6032
|
};
|
|
6102
6033
|
|
|
6103
|
-
// bazel-out/
|
|
6034
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
6104
6035
|
import ts26 from "typescript";
|
|
6105
6036
|
var SemanticSymbol = class {
|
|
6106
6037
|
constructor(decl) {
|
|
@@ -6116,13 +6047,13 @@ function getSymbolIdentifier(decl) {
|
|
|
6116
6047
|
return decl.name.text;
|
|
6117
6048
|
}
|
|
6118
6049
|
|
|
6119
|
-
// bazel-out/
|
|
6050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
6120
6051
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
6121
6052
|
|
|
6122
|
-
// bazel-out/
|
|
6053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
6123
6054
|
import ts27 from "typescript";
|
|
6124
6055
|
|
|
6125
|
-
// bazel-out/
|
|
6056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
6126
6057
|
function isSymbolEqual(a, b) {
|
|
6127
6058
|
if (a.decl === b.decl) {
|
|
6128
6059
|
return true;
|
|
@@ -6172,7 +6103,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
6172
6103
|
return true;
|
|
6173
6104
|
}
|
|
6174
6105
|
|
|
6175
|
-
// bazel-out/
|
|
6106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
6176
6107
|
function extractSemanticTypeParameters(node) {
|
|
6177
6108
|
if (!ts27.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
6178
6109
|
return null;
|
|
@@ -6192,17 +6123,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
6192
6123
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
6193
6124
|
}
|
|
6194
6125
|
|
|
6195
|
-
// bazel-out/
|
|
6126
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
6196
6127
|
var MetaType;
|
|
6197
6128
|
(function(MetaType2) {
|
|
6198
6129
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
6199
6130
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
6200
6131
|
})(MetaType || (MetaType = {}));
|
|
6201
6132
|
|
|
6202
|
-
// bazel-out/
|
|
6133
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
6203
6134
|
import ts29 from "typescript";
|
|
6204
6135
|
|
|
6205
|
-
// bazel-out/
|
|
6136
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
6206
6137
|
var ClassPropertyMapping = class {
|
|
6207
6138
|
constructor(forwardMap) {
|
|
6208
6139
|
this.forwardMap = forwardMap;
|
|
@@ -6278,7 +6209,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
6278
6209
|
return reverseMap;
|
|
6279
6210
|
}
|
|
6280
6211
|
|
|
6281
|
-
// bazel-out/
|
|
6212
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
6282
6213
|
import ts28 from "typescript";
|
|
6283
6214
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
6284
6215
|
if (!ts28.isTupleTypeNode(def)) {
|
|
@@ -6445,7 +6376,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
6445
6376
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
6446
6377
|
}
|
|
6447
6378
|
|
|
6448
|
-
// bazel-out/
|
|
6379
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
6449
6380
|
var DtsMetadataReader = class {
|
|
6450
6381
|
constructor(checker, reflector) {
|
|
6451
6382
|
this.checker = checker;
|
|
@@ -6545,7 +6476,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
6545
6476
|
return null;
|
|
6546
6477
|
}
|
|
6547
6478
|
|
|
6548
|
-
// bazel-out/
|
|
6479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
6549
6480
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
6550
6481
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
6551
6482
|
if (topMeta === null) {
|
|
@@ -6602,7 +6533,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
6602
6533
|
});
|
|
6603
6534
|
}
|
|
6604
6535
|
|
|
6605
|
-
// bazel-out/
|
|
6536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
6606
6537
|
var LocalMetadataRegistry = class {
|
|
6607
6538
|
constructor() {
|
|
6608
6539
|
this.directives = new Map();
|
|
@@ -6661,7 +6592,7 @@ var InjectableClassRegistry = class {
|
|
|
6661
6592
|
}
|
|
6662
6593
|
};
|
|
6663
6594
|
|
|
6664
|
-
// bazel-out/
|
|
6595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
6665
6596
|
var ResourceRegistry = class {
|
|
6666
6597
|
constructor() {
|
|
6667
6598
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -6726,10 +6657,10 @@ var ResourceRegistry = class {
|
|
|
6726
6657
|
}
|
|
6727
6658
|
};
|
|
6728
6659
|
|
|
6729
|
-
// bazel-out/
|
|
6660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
6730
6661
|
import ts30 from "typescript";
|
|
6731
6662
|
|
|
6732
|
-
// bazel-out/
|
|
6663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
6733
6664
|
var DynamicValue = class {
|
|
6734
6665
|
constructor(node, reason, code) {
|
|
6735
6666
|
this.node = node;
|
|
@@ -6814,7 +6745,7 @@ var DynamicValue = class {
|
|
|
6814
6745
|
}
|
|
6815
6746
|
};
|
|
6816
6747
|
|
|
6817
|
-
// bazel-out/
|
|
6748
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
6818
6749
|
var ResolvedModule = class {
|
|
6819
6750
|
constructor(exports, evaluate) {
|
|
6820
6751
|
this.exports = exports;
|
|
@@ -6844,7 +6775,7 @@ var EnumValue = class {
|
|
|
6844
6775
|
var KnownFn = class {
|
|
6845
6776
|
};
|
|
6846
6777
|
|
|
6847
|
-
// bazel-out/
|
|
6778
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
6848
6779
|
function describeResolvedType(value, maxDepth = 1) {
|
|
6849
6780
|
var _a, _b;
|
|
6850
6781
|
if (value === null) {
|
|
@@ -6970,10 +6901,10 @@ function getContainerNode(node) {
|
|
|
6970
6901
|
return node.getSourceFile();
|
|
6971
6902
|
}
|
|
6972
6903
|
|
|
6973
|
-
// bazel-out/
|
|
6904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
6974
6905
|
import ts31 from "typescript";
|
|
6975
6906
|
|
|
6976
|
-
// bazel-out/
|
|
6907
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
6977
6908
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
6978
6909
|
constructor(lhs) {
|
|
6979
6910
|
super();
|
|
@@ -7026,7 +6957,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
7026
6957
|
}
|
|
7027
6958
|
};
|
|
7028
6959
|
|
|
7029
|
-
// bazel-out/
|
|
6960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
7030
6961
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
7031
6962
|
};
|
|
7032
6963
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -7079,7 +7010,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
7079
7010
|
}
|
|
7080
7011
|
};
|
|
7081
7012
|
|
|
7082
|
-
// bazel-out/
|
|
7013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
7083
7014
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
7084
7015
|
var assignTsHelperFn = new AssignHelperFn();
|
|
7085
7016
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -7103,7 +7034,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
7103
7034
|
}
|
|
7104
7035
|
}
|
|
7105
7036
|
|
|
7106
|
-
// bazel-out/
|
|
7037
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
7107
7038
|
function literalBinaryOp(op) {
|
|
7108
7039
|
return { op, literal: true };
|
|
7109
7040
|
}
|
|
@@ -7688,7 +7619,7 @@ function owningModule(context, override = null) {
|
|
|
7688
7619
|
}
|
|
7689
7620
|
}
|
|
7690
7621
|
|
|
7691
|
-
// bazel-out/
|
|
7622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
7692
7623
|
var PartialEvaluator = class {
|
|
7693
7624
|
constructor(host, checker, dependencyTracker) {
|
|
7694
7625
|
this.host = host;
|
|
@@ -7708,7 +7639,89 @@ var PartialEvaluator = class {
|
|
|
7708
7639
|
}
|
|
7709
7640
|
};
|
|
7710
7641
|
|
|
7711
|
-
// bazel-out/
|
|
7642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
7643
|
+
var PerfPhase;
|
|
7644
|
+
(function(PerfPhase2) {
|
|
7645
|
+
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
7646
|
+
PerfPhase2[PerfPhase2["Setup"] = 1] = "Setup";
|
|
7647
|
+
PerfPhase2[PerfPhase2["TypeScriptProgramCreate"] = 2] = "TypeScriptProgramCreate";
|
|
7648
|
+
PerfPhase2[PerfPhase2["Reconciliation"] = 3] = "Reconciliation";
|
|
7649
|
+
PerfPhase2[PerfPhase2["ResourceUpdate"] = 4] = "ResourceUpdate";
|
|
7650
|
+
PerfPhase2[PerfPhase2["TypeScriptDiagnostics"] = 5] = "TypeScriptDiagnostics";
|
|
7651
|
+
PerfPhase2[PerfPhase2["Analysis"] = 6] = "Analysis";
|
|
7652
|
+
PerfPhase2[PerfPhase2["Resolve"] = 7] = "Resolve";
|
|
7653
|
+
PerfPhase2[PerfPhase2["CycleDetection"] = 8] = "CycleDetection";
|
|
7654
|
+
PerfPhase2[PerfPhase2["TcbGeneration"] = 9] = "TcbGeneration";
|
|
7655
|
+
PerfPhase2[PerfPhase2["TcbUpdateProgram"] = 10] = "TcbUpdateProgram";
|
|
7656
|
+
PerfPhase2[PerfPhase2["TypeScriptEmit"] = 11] = "TypeScriptEmit";
|
|
7657
|
+
PerfPhase2[PerfPhase2["Compile"] = 12] = "Compile";
|
|
7658
|
+
PerfPhase2[PerfPhase2["TtcAutocompletion"] = 13] = "TtcAutocompletion";
|
|
7659
|
+
PerfPhase2[PerfPhase2["TtcDiagnostics"] = 14] = "TtcDiagnostics";
|
|
7660
|
+
PerfPhase2[PerfPhase2["TtcSymbol"] = 15] = "TtcSymbol";
|
|
7661
|
+
PerfPhase2[PerfPhase2["LsReferencesAndRenames"] = 16] = "LsReferencesAndRenames";
|
|
7662
|
+
PerfPhase2[PerfPhase2["LsQuickInfo"] = 17] = "LsQuickInfo";
|
|
7663
|
+
PerfPhase2[PerfPhase2["LsDefinition"] = 18] = "LsDefinition";
|
|
7664
|
+
PerfPhase2[PerfPhase2["LsCompletions"] = 19] = "LsCompletions";
|
|
7665
|
+
PerfPhase2[PerfPhase2["LsTcb"] = 20] = "LsTcb";
|
|
7666
|
+
PerfPhase2[PerfPhase2["LsDiagnostics"] = 21] = "LsDiagnostics";
|
|
7667
|
+
PerfPhase2[PerfPhase2["LsComponentLocations"] = 22] = "LsComponentLocations";
|
|
7668
|
+
PerfPhase2[PerfPhase2["LsSignatureHelp"] = 23] = "LsSignatureHelp";
|
|
7669
|
+
PerfPhase2[PerfPhase2["LAST"] = 24] = "LAST";
|
|
7670
|
+
})(PerfPhase || (PerfPhase = {}));
|
|
7671
|
+
var PerfEvent;
|
|
7672
|
+
(function(PerfEvent2) {
|
|
7673
|
+
PerfEvent2[PerfEvent2["InputDtsFile"] = 0] = "InputDtsFile";
|
|
7674
|
+
PerfEvent2[PerfEvent2["InputTsFile"] = 1] = "InputTsFile";
|
|
7675
|
+
PerfEvent2[PerfEvent2["AnalyzeComponent"] = 2] = "AnalyzeComponent";
|
|
7676
|
+
PerfEvent2[PerfEvent2["AnalyzeDirective"] = 3] = "AnalyzeDirective";
|
|
7677
|
+
PerfEvent2[PerfEvent2["AnalyzeInjectable"] = 4] = "AnalyzeInjectable";
|
|
7678
|
+
PerfEvent2[PerfEvent2["AnalyzeNgModule"] = 5] = "AnalyzeNgModule";
|
|
7679
|
+
PerfEvent2[PerfEvent2["AnalyzePipe"] = 6] = "AnalyzePipe";
|
|
7680
|
+
PerfEvent2[PerfEvent2["TraitAnalyze"] = 7] = "TraitAnalyze";
|
|
7681
|
+
PerfEvent2[PerfEvent2["TraitReuseAnalysis"] = 8] = "TraitReuseAnalysis";
|
|
7682
|
+
PerfEvent2[PerfEvent2["SourceFilePhysicalChange"] = 9] = "SourceFilePhysicalChange";
|
|
7683
|
+
PerfEvent2[PerfEvent2["SourceFileLogicalChange"] = 10] = "SourceFileLogicalChange";
|
|
7684
|
+
PerfEvent2[PerfEvent2["SourceFileReuseAnalysis"] = 11] = "SourceFileReuseAnalysis";
|
|
7685
|
+
PerfEvent2[PerfEvent2["GenerateTcb"] = 12] = "GenerateTcb";
|
|
7686
|
+
PerfEvent2[PerfEvent2["SkipGenerateTcbNoInline"] = 13] = "SkipGenerateTcbNoInline";
|
|
7687
|
+
PerfEvent2[PerfEvent2["ReuseTypeCheckFile"] = 14] = "ReuseTypeCheckFile";
|
|
7688
|
+
PerfEvent2[PerfEvent2["UpdateTypeCheckProgram"] = 15] = "UpdateTypeCheckProgram";
|
|
7689
|
+
PerfEvent2[PerfEvent2["EmitSkipSourceFile"] = 16] = "EmitSkipSourceFile";
|
|
7690
|
+
PerfEvent2[PerfEvent2["EmitSourceFile"] = 17] = "EmitSourceFile";
|
|
7691
|
+
PerfEvent2[PerfEvent2["LAST"] = 18] = "LAST";
|
|
7692
|
+
})(PerfEvent || (PerfEvent = {}));
|
|
7693
|
+
var PerfCheckpoint;
|
|
7694
|
+
(function(PerfCheckpoint2) {
|
|
7695
|
+
PerfCheckpoint2[PerfCheckpoint2["Initial"] = 0] = "Initial";
|
|
7696
|
+
PerfCheckpoint2[PerfCheckpoint2["TypeScriptProgramCreate"] = 1] = "TypeScriptProgramCreate";
|
|
7697
|
+
PerfCheckpoint2[PerfCheckpoint2["PreAnalysis"] = 2] = "PreAnalysis";
|
|
7698
|
+
PerfCheckpoint2[PerfCheckpoint2["Analysis"] = 3] = "Analysis";
|
|
7699
|
+
PerfCheckpoint2[PerfCheckpoint2["Resolve"] = 4] = "Resolve";
|
|
7700
|
+
PerfCheckpoint2[PerfCheckpoint2["TtcGeneration"] = 5] = "TtcGeneration";
|
|
7701
|
+
PerfCheckpoint2[PerfCheckpoint2["TtcUpdateProgram"] = 6] = "TtcUpdateProgram";
|
|
7702
|
+
PerfCheckpoint2[PerfCheckpoint2["PreEmit"] = 7] = "PreEmit";
|
|
7703
|
+
PerfCheckpoint2[PerfCheckpoint2["Emit"] = 8] = "Emit";
|
|
7704
|
+
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
7705
|
+
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
7706
|
+
|
|
7707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
7708
|
+
var NoopPerfRecorder = class {
|
|
7709
|
+
eventCount() {
|
|
7710
|
+
}
|
|
7711
|
+
memory() {
|
|
7712
|
+
}
|
|
7713
|
+
phase() {
|
|
7714
|
+
return PerfPhase.Unaccounted;
|
|
7715
|
+
}
|
|
7716
|
+
inPhase(phase, fn) {
|
|
7717
|
+
return fn();
|
|
7718
|
+
}
|
|
7719
|
+
reset() {
|
|
7720
|
+
}
|
|
7721
|
+
};
|
|
7722
|
+
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
7723
|
+
|
|
7724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
7712
7725
|
var CompilationMode;
|
|
7713
7726
|
(function(CompilationMode2) {
|
|
7714
7727
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -7726,13 +7739,13 @@ var HandlerFlags;
|
|
|
7726
7739
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
7727
7740
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
7728
7741
|
|
|
7729
|
-
// bazel-out/
|
|
7742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
7730
7743
|
import ts32 from "typescript";
|
|
7731
7744
|
|
|
7732
|
-
// bazel-out/
|
|
7745
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
7733
7746
|
import ts33 from "typescript";
|
|
7734
7747
|
|
|
7735
|
-
// bazel-out/
|
|
7748
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
7736
7749
|
var TraitState;
|
|
7737
7750
|
(function(TraitState2) {
|
|
7738
7751
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -7787,7 +7800,7 @@ var TraitImpl = class {
|
|
|
7787
7800
|
}
|
|
7788
7801
|
};
|
|
7789
7802
|
|
|
7790
|
-
// bazel-out/
|
|
7803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
7791
7804
|
var TraitCompiler = class {
|
|
7792
7805
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
7793
7806
|
this.handlers = handlers;
|
|
@@ -8224,10 +8237,10 @@ var TraitCompiler = class {
|
|
|
8224
8237
|
}
|
|
8225
8238
|
};
|
|
8226
8239
|
|
|
8227
|
-
// bazel-out/
|
|
8240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
8228
8241
|
import ts38 from "typescript";
|
|
8229
8242
|
|
|
8230
|
-
// bazel-out/
|
|
8243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
8231
8244
|
var Context = class {
|
|
8232
8245
|
constructor(isStatement) {
|
|
8233
8246
|
this.isStatement = isStatement;
|
|
@@ -8240,7 +8253,7 @@ var Context = class {
|
|
|
8240
8253
|
}
|
|
8241
8254
|
};
|
|
8242
8255
|
|
|
8243
|
-
// bazel-out/
|
|
8256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
8244
8257
|
import ts34 from "typescript";
|
|
8245
8258
|
var ImportManager = class {
|
|
8246
8259
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -8276,7 +8289,7 @@ var ImportManager = class {
|
|
|
8276
8289
|
}
|
|
8277
8290
|
};
|
|
8278
8291
|
|
|
8279
|
-
// bazel-out/
|
|
8292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
8280
8293
|
import {
|
|
8281
8294
|
BinaryOperator,
|
|
8282
8295
|
ConditionalExpr,
|
|
@@ -8520,7 +8533,7 @@ function createRange(span) {
|
|
|
8520
8533
|
};
|
|
8521
8534
|
}
|
|
8522
8535
|
|
|
8523
|
-
// bazel-out/
|
|
8536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
8524
8537
|
import {
|
|
8525
8538
|
BuiltinTypeName
|
|
8526
8539
|
} from "@angular/compiler";
|
|
@@ -8699,7 +8712,7 @@ var TypeTranslatorVisitor = class {
|
|
|
8699
8712
|
}
|
|
8700
8713
|
};
|
|
8701
8714
|
|
|
8702
|
-
// bazel-out/
|
|
8715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
8703
8716
|
import ts36 from "typescript";
|
|
8704
8717
|
var PureAnnotation;
|
|
8705
8718
|
(function(PureAnnotation2) {
|
|
@@ -8871,15 +8884,15 @@ function attachComments(statement, leadingComments) {
|
|
|
8871
8884
|
}
|
|
8872
8885
|
}
|
|
8873
8886
|
|
|
8874
|
-
// bazel-out/
|
|
8887
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
8875
8888
|
function translateStatement(statement, imports, options2 = {}) {
|
|
8876
8889
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options2.annotateForClosureCompiler === true), imports, options2), new Context(true));
|
|
8877
8890
|
}
|
|
8878
8891
|
|
|
8879
|
-
// bazel-out/
|
|
8892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
8880
8893
|
import ts37 from "typescript";
|
|
8881
8894
|
|
|
8882
|
-
// bazel-out/
|
|
8895
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
8883
8896
|
var DtsTransformRegistry = class {
|
|
8884
8897
|
constructor() {
|
|
8885
8898
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -8930,20 +8943,20 @@ function markForEmitAsSingleLine(node) {
|
|
|
8930
8943
|
ts38.forEachChild(node, markForEmitAsSingleLine);
|
|
8931
8944
|
}
|
|
8932
8945
|
|
|
8933
|
-
// bazel-out/
|
|
8946
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
8934
8947
|
import { ConstantPool } from "@angular/compiler";
|
|
8935
8948
|
import ts40 from "typescript";
|
|
8936
8949
|
|
|
8937
|
-
// bazel-out/
|
|
8950
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
8938
8951
|
import ts39 from "typescript";
|
|
8939
8952
|
|
|
8940
|
-
// bazel-out/
|
|
8953
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
8941
8954
|
var NO_DECORATORS = new Set();
|
|
8942
8955
|
|
|
8943
|
-
// bazel-out/
|
|
8956
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8944
8957
|
import ts42 from "typescript";
|
|
8945
8958
|
|
|
8946
|
-
// bazel-out/
|
|
8959
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
8947
8960
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
8948
8961
|
import ts41 from "typescript";
|
|
8949
8962
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -9303,7 +9316,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
9303
9316
|
};
|
|
9304
9317
|
}
|
|
9305
9318
|
|
|
9306
|
-
// bazel-out/
|
|
9319
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
9307
9320
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
9308
9321
|
var _a;
|
|
9309
9322
|
let chainedMessage;
|
|
@@ -9399,11 +9412,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
9399
9412
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
9400
9413
|
}
|
|
9401
9414
|
|
|
9402
|
-
// bazel-out/
|
|
9403
|
-
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
9415
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
9416
|
+
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
9404
9417
|
import ts44 from "typescript";
|
|
9405
9418
|
|
|
9406
|
-
// bazel-out/
|
|
9419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
9407
9420
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
9408
9421
|
function compileNgFactoryDefField(metadata) {
|
|
9409
9422
|
const res = compileFactoryFunction(metadata);
|
|
@@ -9414,7 +9427,7 @@ function compileDeclareFactory(metadata) {
|
|
|
9414
9427
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
9415
9428
|
}
|
|
9416
9429
|
|
|
9417
|
-
// bazel-out/
|
|
9430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
9418
9431
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
9419
9432
|
import ts43 from "typescript";
|
|
9420
9433
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -9502,7 +9515,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
9502
9515
|
return result.transformed[0];
|
|
9503
9516
|
}
|
|
9504
9517
|
|
|
9505
|
-
// bazel-out/
|
|
9518
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
9506
9519
|
var EMPTY_OBJECT = {};
|
|
9507
9520
|
var FIELD_DECORATORS = [
|
|
9508
9521
|
"Input",
|
|
@@ -9810,17 +9823,17 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, isCore
|
|
|
9810
9823
|
};
|
|
9811
9824
|
}
|
|
9812
9825
|
function extractQueryMetadata(exprNode, name, args, propertyName, reflector, evaluator) {
|
|
9813
|
-
var _a;
|
|
9814
9826
|
if (args.length === 0) {
|
|
9815
9827
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, exprNode, `@${name} must have arguments`);
|
|
9816
9828
|
}
|
|
9817
9829
|
const first = name === "ViewChild" || name === "ContentChild";
|
|
9818
|
-
const
|
|
9830
|
+
const forwardReferenceTarget = tryUnwrapForwardRef(args[0], reflector);
|
|
9831
|
+
const node = forwardReferenceTarget != null ? forwardReferenceTarget : args[0];
|
|
9819
9832
|
const arg = evaluator.evaluate(node);
|
|
9820
9833
|
let isStatic = false;
|
|
9821
9834
|
let predicate = null;
|
|
9822
9835
|
if (arg instanceof Reference || arg instanceof DynamicValue) {
|
|
9823
|
-
predicate = new WrappedNodeExpr4(node);
|
|
9836
|
+
predicate = createMayBeForwardRefExpression(new WrappedNodeExpr4(node), forwardReferenceTarget !== null ? 2 : 0);
|
|
9824
9837
|
} else if (typeof arg === "string") {
|
|
9825
9838
|
predicate = [arg];
|
|
9826
9839
|
} else if (isStringArrayOrDie(arg, `@${name} predicate`, node)) {
|
|
@@ -10064,7 +10077,7 @@ var QUERY_TYPES = new Set([
|
|
|
10064
10077
|
"ViewChildren"
|
|
10065
10078
|
]);
|
|
10066
10079
|
|
|
10067
|
-
// bazel-out/
|
|
10080
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
10068
10081
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, NO_ERRORS_SCHEMA, R3Identifiers, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
10069
10082
|
import ts45 from "typescript";
|
|
10070
10083
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
@@ -10498,7 +10511,7 @@ function isNgModule(node, compilation) {
|
|
|
10498
10511
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
10499
10512
|
}
|
|
10500
10513
|
|
|
10501
|
-
// bazel-out/
|
|
10514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
10502
10515
|
var EMPTY_MAP = new Map();
|
|
10503
10516
|
var EMPTY_ARRAY = [];
|
|
10504
10517
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -11382,8 +11395,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
11382
11395
|
return null;
|
|
11383
11396
|
}
|
|
11384
11397
|
|
|
11385
|
-
// bazel-out/
|
|
11386
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable,
|
|
11398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
11399
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
11387
11400
|
import ts47 from "typescript";
|
|
11388
11401
|
var InjectableDecoratorHandler = class {
|
|
11389
11402
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -11471,7 +11484,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
11471
11484
|
type,
|
|
11472
11485
|
typeArgumentCount,
|
|
11473
11486
|
internalType,
|
|
11474
|
-
providedIn:
|
|
11487
|
+
providedIn: createMayBeForwardRefExpression2(new LiteralExpr3(null), 0)
|
|
11475
11488
|
};
|
|
11476
11489
|
} else if (decorator.args.length === 1) {
|
|
11477
11490
|
const metaNode = decorator.args[0];
|
|
@@ -11479,7 +11492,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
11479
11492
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
11480
11493
|
}
|
|
11481
11494
|
const meta = reflectObjectLiteral(metaNode);
|
|
11482
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) :
|
|
11495
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createMayBeForwardRefExpression2(new LiteralExpr3(null), 0);
|
|
11483
11496
|
let deps = void 0;
|
|
11484
11497
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
11485
11498
|
const depsExpr = meta.get("deps");
|
|
@@ -11507,7 +11520,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
11507
11520
|
}
|
|
11508
11521
|
function getProviderExpression(expression, reflector) {
|
|
11509
11522
|
const forwardRefValue = tryUnwrapForwardRef(expression, reflector);
|
|
11510
|
-
return
|
|
11523
|
+
return createMayBeForwardRefExpression2(new WrappedNodeExpr7(forwardRefValue != null ? forwardRefValue : expression), forwardRefValue !== null ? 2 : 0);
|
|
11511
11524
|
}
|
|
11512
11525
|
function extractInjectableCtorDeps(clazz, meta, decorator, reflector, isCore, strictCtorDeps) {
|
|
11513
11526
|
if (decorator.args === null) {
|
|
@@ -11582,7 +11595,7 @@ function getDep(dep, reflector) {
|
|
|
11582
11595
|
return meta;
|
|
11583
11596
|
}
|
|
11584
11597
|
|
|
11585
|
-
// bazel-out/
|
|
11598
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
11586
11599
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
11587
11600
|
import ts48 from "typescript";
|
|
11588
11601
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -11707,7 +11720,7 @@ var PipeDecoratorHandler = class {
|
|
|
11707
11720
|
}
|
|
11708
11721
|
};
|
|
11709
11722
|
|
|
11710
|
-
// bazel-out/
|
|
11723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
11711
11724
|
var CycleAnalyzer = class {
|
|
11712
11725
|
constructor(importGraph) {
|
|
11713
11726
|
this.importGraph = importGraph;
|
|
@@ -11778,7 +11791,7 @@ var Cycle = class {
|
|
|
11778
11791
|
}
|
|
11779
11792
|
};
|
|
11780
11793
|
|
|
11781
|
-
// bazel-out/
|
|
11794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
11782
11795
|
import ts49 from "typescript";
|
|
11783
11796
|
var ImportGraph = class {
|
|
11784
11797
|
constructor(checker, perf) {
|
|
@@ -11861,7 +11874,7 @@ var Found = class {
|
|
|
11861
11874
|
}
|
|
11862
11875
|
};
|
|
11863
11876
|
|
|
11864
|
-
// bazel-out/
|
|
11877
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
11865
11878
|
var MetadataDtsModuleScopeResolver = class {
|
|
11866
11879
|
constructor(dtsMetaReader, aliasingHost) {
|
|
11867
11880
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -11947,7 +11960,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
11947
11960
|
}
|
|
11948
11961
|
};
|
|
11949
11962
|
|
|
11950
|
-
// bazel-out/
|
|
11963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
11951
11964
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
11952
11965
|
import ts50 from "typescript";
|
|
11953
11966
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12255,7 +12268,7 @@ function reexportCollision(module7, refA, refB) {
|
|
|
12255
12268
|
]);
|
|
12256
12269
|
}
|
|
12257
12270
|
|
|
12258
|
-
// bazel-out/
|
|
12271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12259
12272
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12260
12273
|
import ts51 from "typescript";
|
|
12261
12274
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12316,7 +12329,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12316
12329
|
}
|
|
12317
12330
|
};
|
|
12318
12331
|
|
|
12319
|
-
// bazel-out/
|
|
12332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
12320
12333
|
import ts52 from "typescript";
|
|
12321
12334
|
function isClassDeclaration(clazz) {
|
|
12322
12335
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -12399,7 +12412,7 @@ function reifySourceFile(expr) {
|
|
|
12399
12412
|
return stmt.declarationList.declarations[0].initializer;
|
|
12400
12413
|
}
|
|
12401
12414
|
|
|
12402
|
-
// bazel-out/
|
|
12415
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
12403
12416
|
var MissingInjectableMigration = class {
|
|
12404
12417
|
apply(clazz, host) {
|
|
12405
12418
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -12504,7 +12517,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
12504
12517
|
return decorator.import.name;
|
|
12505
12518
|
}
|
|
12506
12519
|
|
|
12507
|
-
// bazel-out/
|
|
12520
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
12508
12521
|
var UndecoratedChildMigration = class {
|
|
12509
12522
|
apply(clazz, host) {
|
|
12510
12523
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -12539,7 +12552,7 @@ var UndecoratedChildMigration = class {
|
|
|
12539
12552
|
}
|
|
12540
12553
|
};
|
|
12541
12554
|
|
|
12542
|
-
// bazel-out/
|
|
12555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
12543
12556
|
var UndecoratedParentMigration = class {
|
|
12544
12557
|
apply(clazz, host) {
|
|
12545
12558
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -12572,7 +12585,7 @@ function determineBaseClass(clazz, host) {
|
|
|
12572
12585
|
return baseClass;
|
|
12573
12586
|
}
|
|
12574
12587
|
|
|
12575
|
-
// bazel-out/
|
|
12588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
12576
12589
|
import ts53 from "typescript";
|
|
12577
12590
|
var DefaultMigrationHost = class {
|
|
12578
12591
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -12632,7 +12645,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
12632
12645
|
return clone;
|
|
12633
12646
|
}
|
|
12634
12647
|
|
|
12635
|
-
// bazel-out/
|
|
12648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
12636
12649
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
12637
12650
|
constructor(handlers, ngccReflector) {
|
|
12638
12651
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null);
|
|
@@ -12677,10 +12690,10 @@ var NoIncrementalBuild = class {
|
|
|
12677
12690
|
}
|
|
12678
12691
|
};
|
|
12679
12692
|
|
|
12680
|
-
// bazel-out/
|
|
12693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
12681
12694
|
var DecorationAnalyses = Map;
|
|
12682
12695
|
|
|
12683
|
-
// bazel-out/
|
|
12696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
12684
12697
|
var NgccResourceLoader = class {
|
|
12685
12698
|
constructor(fs5) {
|
|
12686
12699
|
this.fs = fs5;
|
|
@@ -12836,7 +12849,7 @@ var DecorationAnalyzer = class {
|
|
|
12836
12849
|
}
|
|
12837
12850
|
};
|
|
12838
12851
|
|
|
12839
|
-
// bazel-out/
|
|
12852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
12840
12853
|
import ts54 from "typescript";
|
|
12841
12854
|
var ModuleWithProvidersAnalyses = Map;
|
|
12842
12855
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -12975,7 +12988,7 @@ function isAnyKeyword(typeParam) {
|
|
|
12975
12988
|
return typeParam.kind === ts54.SyntaxKind.AnyKeyword;
|
|
12976
12989
|
}
|
|
12977
12990
|
|
|
12978
|
-
// bazel-out/
|
|
12991
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
12979
12992
|
var NgccReferencesRegistry = class {
|
|
12980
12993
|
constructor(host) {
|
|
12981
12994
|
this.host = host;
|
|
@@ -12996,7 +13009,7 @@ var NgccReferencesRegistry = class {
|
|
|
12996
13009
|
}
|
|
12997
13010
|
};
|
|
12998
13011
|
|
|
12999
|
-
// bazel-out/
|
|
13012
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
13000
13013
|
var PrivateDeclarationsAnalyzer = class {
|
|
13001
13014
|
constructor(host, referencesRegistry) {
|
|
13002
13015
|
this.host = host;
|
|
@@ -13037,7 +13050,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
13037
13050
|
}
|
|
13038
13051
|
};
|
|
13039
13052
|
|
|
13040
|
-
// bazel-out/
|
|
13053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.mjs
|
|
13041
13054
|
var SwitchMarkerAnalyses = Map;
|
|
13042
13055
|
var SwitchMarkerAnalyzer = class {
|
|
13043
13056
|
constructor(host, packagePath) {
|
|
@@ -13056,7 +13069,7 @@ var SwitchMarkerAnalyzer = class {
|
|
|
13056
13069
|
}
|
|
13057
13070
|
};
|
|
13058
13071
|
|
|
13059
|
-
// bazel-out/
|
|
13072
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
13060
13073
|
import ts55 from "typescript";
|
|
13061
13074
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
13062
13075
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -13220,7 +13233,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
13220
13233
|
}
|
|
13221
13234
|
};
|
|
13222
13235
|
|
|
13223
|
-
// bazel-out/
|
|
13236
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
13224
13237
|
var DelegatingReflectionHost = class {
|
|
13225
13238
|
constructor(tsHost, ngccHost) {
|
|
13226
13239
|
this.tsHost = tsHost;
|
|
@@ -13344,16 +13357,16 @@ var DelegatingReflectionHost = class {
|
|
|
13344
13357
|
}
|
|
13345
13358
|
};
|
|
13346
13359
|
|
|
13347
|
-
// bazel-out/
|
|
13360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
13348
13361
|
import ts58 from "typescript";
|
|
13349
13362
|
|
|
13350
|
-
// bazel-out/
|
|
13363
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
13351
13364
|
import ts57 from "typescript";
|
|
13352
13365
|
|
|
13353
|
-
// bazel-out/
|
|
13366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
13354
13367
|
import ts56 from "typescript";
|
|
13355
13368
|
|
|
13356
|
-
// bazel-out/
|
|
13369
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
13357
13370
|
var NgccFlatImportRewriter = class {
|
|
13358
13371
|
shouldImportSymbol(symbol, specifier) {
|
|
13359
13372
|
if (specifier === "@angular/core") {
|
|
@@ -13374,7 +13387,7 @@ var NgccFlatImportRewriter = class {
|
|
|
13374
13387
|
}
|
|
13375
13388
|
};
|
|
13376
13389
|
|
|
13377
|
-
// bazel-out/
|
|
13390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
13378
13391
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
13379
13392
|
if (isCore && isFlat) {
|
|
13380
13393
|
return new NgccFlatImportRewriter();
|
|
@@ -13388,7 +13401,7 @@ function stripExtension3(filePath) {
|
|
|
13388
13401
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
13389
13402
|
}
|
|
13390
13403
|
|
|
13391
|
-
// bazel-out/
|
|
13404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
13392
13405
|
var EsmRenderingFormatter = class {
|
|
13393
13406
|
constructor(fs5, host, isCore) {
|
|
13394
13407
|
this.fs = fs5;
|
|
@@ -13556,7 +13569,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
13556
13569
|
return lastToken && lastToken.kind === ts56.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
13557
13570
|
}
|
|
13558
13571
|
|
|
13559
|
-
// bazel-out/
|
|
13572
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
13560
13573
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
13561
13574
|
addDefinitions(output, compiledClass, definitions) {
|
|
13562
13575
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -13584,7 +13597,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
13584
13597
|
}
|
|
13585
13598
|
};
|
|
13586
13599
|
|
|
13587
|
-
// bazel-out/
|
|
13600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
13588
13601
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
13589
13602
|
constructor(fs5, commonJsHost, isCore) {
|
|
13590
13603
|
super(fs5, commonJsHost, isCore);
|
|
@@ -13633,18 +13646,18 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
13633
13646
|
}
|
|
13634
13647
|
};
|
|
13635
13648
|
|
|
13636
|
-
// bazel-out/
|
|
13649
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
13637
13650
|
import MagicString from "magic-string";
|
|
13638
13651
|
import ts59 from "typescript";
|
|
13639
13652
|
|
|
13640
|
-
// bazel-out/
|
|
13653
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
13641
13654
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
13642
13655
|
var NGCC_TIMED_OUT_EXIT_CODE = 177;
|
|
13643
13656
|
|
|
13644
|
-
// bazel-out/
|
|
13657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
13645
13658
|
import mapHelpers3 from "convert-source-map";
|
|
13646
13659
|
|
|
13647
|
-
// bazel-out/
|
|
13660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
13648
13661
|
var ContentOrigin;
|
|
13649
13662
|
(function(ContentOrigin2) {
|
|
13650
13663
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -13652,11 +13665,11 @@ var ContentOrigin;
|
|
|
13652
13665
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
13653
13666
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
13654
13667
|
|
|
13655
|
-
// bazel-out/
|
|
13668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
13656
13669
|
import mapHelpers from "convert-source-map";
|
|
13657
13670
|
import { decode, encode } from "sourcemap-codec";
|
|
13658
13671
|
|
|
13659
|
-
// bazel-out/
|
|
13672
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
13660
13673
|
function compareSegments(a, b) {
|
|
13661
13674
|
return a.position - b.position;
|
|
13662
13675
|
}
|
|
@@ -13676,7 +13689,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
13676
13689
|
return { line, column, position, next: void 0 };
|
|
13677
13690
|
}
|
|
13678
13691
|
|
|
13679
|
-
// bazel-out/
|
|
13692
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
13680
13693
|
function removeSourceMapComments(contents) {
|
|
13681
13694
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
13682
13695
|
}
|
|
@@ -13927,7 +13940,7 @@ var Cache = class {
|
|
|
13927
13940
|
}
|
|
13928
13941
|
};
|
|
13929
13942
|
|
|
13930
|
-
// bazel-out/
|
|
13943
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
13931
13944
|
import mapHelpers2 from "convert-source-map";
|
|
13932
13945
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
13933
13946
|
var SourceFileLoader = class {
|
|
@@ -14044,7 +14057,7 @@ var SourceFileLoader = class {
|
|
|
14044
14057
|
}
|
|
14045
14058
|
};
|
|
14046
14059
|
|
|
14047
|
-
// bazel-out/
|
|
14060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
14048
14061
|
function renderSourceAndMap(logger, fs5, sourceFile, generatedMagicString) {
|
|
14049
14062
|
var _a;
|
|
14050
14063
|
const sourceFilePath = absoluteFromSourceFile(sourceFile);
|
|
@@ -14078,7 +14091,7 @@ ${sourceMapComment}` },
|
|
|
14078
14091
|
}
|
|
14079
14092
|
}
|
|
14080
14093
|
|
|
14081
|
-
// bazel-out/
|
|
14094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
14082
14095
|
var DtsRenderInfo = class {
|
|
14083
14096
|
constructor() {
|
|
14084
14097
|
this.classInfo = [];
|
|
@@ -14179,14 +14192,14 @@ function markForEmitAsSingleLine2(node) {
|
|
|
14179
14192
|
ts59.forEachChild(node, markForEmitAsSingleLine2);
|
|
14180
14193
|
}
|
|
14181
14194
|
|
|
14182
|
-
// bazel-out/
|
|
14195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
14183
14196
|
import { jsDocComment, WrappedNodeExpr as WrappedNodeExpr9, WritePropExpr } from "@angular/compiler";
|
|
14184
14197
|
import MagicString2 from "magic-string";
|
|
14185
14198
|
|
|
14186
|
-
// bazel-out/
|
|
14199
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
14187
14200
|
var RedundantDecoratorMap = Map;
|
|
14188
14201
|
|
|
14189
|
-
// bazel-out/
|
|
14202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
14190
14203
|
var Renderer = class {
|
|
14191
14204
|
constructor(host, srcFormatter, fs5, logger, bundle, tsConfig = null) {
|
|
14192
14205
|
this.host = host;
|
|
@@ -14293,7 +14306,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
14293
14306
|
return statement;
|
|
14294
14307
|
}
|
|
14295
14308
|
|
|
14296
|
-
// bazel-out/
|
|
14309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
14297
14310
|
import ts60 from "typescript";
|
|
14298
14311
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
14299
14312
|
constructor(fs5, umdHost, isCore) {
|
|
@@ -14464,7 +14477,7 @@ function isTypeOf(node, ...types) {
|
|
|
14464
14477
|
return ts60.isBinaryExpression(node) && ts60.isTypeOfExpression(node.left) && ts60.isIdentifier(node.left.expression) && types.indexOf(node.left.expression.text) !== -1;
|
|
14465
14478
|
}
|
|
14466
14479
|
|
|
14467
|
-
// bazel-out/
|
|
14480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
14468
14481
|
var Transformer = class {
|
|
14469
14482
|
constructor(fs5, logger, tsConfig = null) {
|
|
14470
14483
|
this.fs = fs5;
|
|
@@ -14548,7 +14561,7 @@ function hasErrors(diagnostics) {
|
|
|
14548
14561
|
return diagnostics.some((d) => d.category === ts61.DiagnosticCategory.Error);
|
|
14549
14562
|
}
|
|
14550
14563
|
|
|
14551
|
-
// bazel-out/
|
|
14564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
14552
14565
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
14553
14566
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
14554
14567
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -14564,7 +14577,7 @@ function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMess
|
|
|
14564
14577
|
onTaskCompleted(task, 1, `property \`${formatProperty}\` pointing to a missing or empty file: ${formatPath}`);
|
|
14565
14578
|
return;
|
|
14566
14579
|
}
|
|
14567
|
-
logger.info(
|
|
14580
|
+
logger.info(`- ${entryPoint.name} [${formatProperty}/${format}] (${entryPoint.repositoryUrl})`);
|
|
14568
14581
|
const bundle = makeEntryPointBundle(fileSystem, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, processDts, pathMappings, true, enableI18nLegacyMessageIdFormat);
|
|
14569
14582
|
const result = transformer.transform(bundle);
|
|
14570
14583
|
if (result.success) {
|
|
@@ -14587,7 +14600,7 @@ ${errors}`);
|
|
|
14587
14600
|
};
|
|
14588
14601
|
}
|
|
14589
14602
|
|
|
14590
|
-
// bazel-out/
|
|
14603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/single_process_executor.mjs
|
|
14591
14604
|
var SingleProcessorExecutorBase = class {
|
|
14592
14605
|
constructor(logger, createTaskCompletedCallback) {
|
|
14593
14606
|
this.logger = logger;
|
|
@@ -14629,7 +14642,7 @@ var SingleProcessExecutorAsync = class extends SingleProcessorExecutorBase {
|
|
|
14629
14642
|
}
|
|
14630
14643
|
};
|
|
14631
14644
|
|
|
14632
|
-
// bazel-out/
|
|
14645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/completion.mjs
|
|
14633
14646
|
function composeTaskCompletedCallbacks(callbacks) {
|
|
14634
14647
|
return (task, outcome, message) => {
|
|
14635
14648
|
const callback = callbacks[outcome];
|
|
@@ -14669,7 +14682,7 @@ function createErrorMessage(fs5, task, message) {
|
|
|
14669
14682
|
return `Failed to compile entry-point ${task.entryPoint.name} (${format})` + message;
|
|
14670
14683
|
}
|
|
14671
14684
|
|
|
14672
|
-
// bazel-out/
|
|
14685
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/async_locker.mjs
|
|
14673
14686
|
var TimeoutError = class extends Error {
|
|
14674
14687
|
constructor() {
|
|
14675
14688
|
super(...arguments);
|
|
@@ -14718,11 +14731,11 @@ Waiting up to ${this.retryDelay * this.retryAttempts / 1e3}s for it to finish.
|
|
|
14718
14731
|
}
|
|
14719
14732
|
};
|
|
14720
14733
|
|
|
14721
|
-
// bazel-out/
|
|
14734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
14722
14735
|
import { fork } from "child_process";
|
|
14723
14736
|
import module5 from "module";
|
|
14724
14737
|
|
|
14725
|
-
// bazel-out/
|
|
14738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
14726
14739
|
var LogLevel;
|
|
14727
14740
|
(function(LogLevel2) {
|
|
14728
14741
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -14731,7 +14744,7 @@ var LogLevel;
|
|
|
14731
14744
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
14732
14745
|
})(LogLevel || (LogLevel = {}));
|
|
14733
14746
|
|
|
14734
|
-
// bazel-out/
|
|
14747
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
14735
14748
|
var RESET = "[0m";
|
|
14736
14749
|
var RED = "[31m";
|
|
14737
14750
|
var YELLOW = "[33m";
|
|
@@ -14761,7 +14774,7 @@ var ConsoleLogger = class {
|
|
|
14761
14774
|
}
|
|
14762
14775
|
};
|
|
14763
14776
|
|
|
14764
|
-
// bazel-out/
|
|
14777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file.mjs
|
|
14765
14778
|
import module4 from "module";
|
|
14766
14779
|
function getLockFilePath(fs5) {
|
|
14767
14780
|
const requireFn = typeof __require !== "undefined" ? __require : module4.createRequire(__ESM_IMPORT_META_URL__);
|
|
@@ -14769,7 +14782,7 @@ function getLockFilePath(fs5) {
|
|
|
14769
14782
|
return fs5.resolve(ngccEntryPointFile, "../__ngcc_lock_file__");
|
|
14770
14783
|
}
|
|
14771
14784
|
|
|
14772
|
-
// bazel-out/
|
|
14785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
|
|
14773
14786
|
function removeLockFile(fs5, logger, lockFilePath, pid) {
|
|
14774
14787
|
try {
|
|
14775
14788
|
logger.debug(`Attempting to remove lock-file at ${lockFilePath}.`);
|
|
@@ -14789,7 +14802,7 @@ function removeLockFile(fs5, logger, lockFilePath, pid) {
|
|
|
14789
14802
|
}
|
|
14790
14803
|
}
|
|
14791
14804
|
|
|
14792
|
-
// bazel-out/
|
|
14805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
14793
14806
|
var LockFileWithChildProcess = class {
|
|
14794
14807
|
constructor(fs5, logger) {
|
|
14795
14808
|
this.fs = fs5;
|
|
@@ -14838,7 +14851,7 @@ function getLockFileUnlockerScriptPath(fileSystem) {
|
|
|
14838
14851
|
return fileSystem.resolve(unlockerScriptPath);
|
|
14839
14852
|
}
|
|
14840
14853
|
|
|
14841
|
-
// bazel-out/
|
|
14854
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/sync_locker.mjs
|
|
14842
14855
|
var SyncLocker = class {
|
|
14843
14856
|
constructor(lockFile) {
|
|
14844
14857
|
this.lockFile = lockFile;
|
|
@@ -14869,16 +14882,16 @@ If you are running multiple builds in parallel then you might try pre-processing
|
|
|
14869
14882
|
}
|
|
14870
14883
|
};
|
|
14871
14884
|
|
|
14872
|
-
// bazel-out/
|
|
14885
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
14873
14886
|
import {
|
|
14874
14887
|
cpus
|
|
14875
14888
|
} from "os";
|
|
14876
14889
|
|
|
14877
|
-
// bazel-out/
|
|
14890
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
14878
14891
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
14879
14892
|
import ts112 from "typescript";
|
|
14880
14893
|
|
|
14881
|
-
// bazel-out/
|
|
14894
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
14882
14895
|
var UNKNOWN_ERROR_CODE = 500;
|
|
14883
14896
|
var EmitFlags;
|
|
14884
14897
|
(function(EmitFlags2) {
|
|
@@ -14891,7 +14904,7 @@ var EmitFlags;
|
|
|
14891
14904
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
14892
14905
|
})(EmitFlags || (EmitFlags = {}));
|
|
14893
14906
|
|
|
14894
|
-
// bazel-out/
|
|
14907
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
14895
14908
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
14896
14909
|
import fs3 from "fs";
|
|
14897
14910
|
import {
|
|
@@ -14904,18 +14917,18 @@ import {
|
|
|
14904
14917
|
} from "path";
|
|
14905
14918
|
import ts69 from "typescript";
|
|
14906
14919
|
|
|
14907
|
-
// bazel-out/
|
|
14920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
14908
14921
|
import ts65 from "typescript";
|
|
14909
14922
|
|
|
14910
|
-
// bazel-out/
|
|
14923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
14911
14924
|
import ts63 from "typescript";
|
|
14912
14925
|
var spreadElementSyntaxKind = ts63.SyntaxKind.SpreadElement || ts63.SyntaxKind.SpreadElementExpression;
|
|
14913
14926
|
var empty = ts63.createNodeArray();
|
|
14914
14927
|
|
|
14915
|
-
// bazel-out/
|
|
14928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
14916
14929
|
import ts64 from "typescript";
|
|
14917
14930
|
|
|
14918
|
-
// bazel-out/
|
|
14931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
14919
14932
|
import {
|
|
14920
14933
|
basename as basename4,
|
|
14921
14934
|
dirname as dirname4,
|
|
@@ -14924,7 +14937,7 @@ import {
|
|
|
14924
14937
|
} from "path";
|
|
14925
14938
|
import ts67 from "typescript";
|
|
14926
14939
|
|
|
14927
|
-
// bazel-out/
|
|
14940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
14928
14941
|
import {
|
|
14929
14942
|
basename as basename3,
|
|
14930
14943
|
dirname as dirname3,
|
|
@@ -14934,14 +14947,14 @@ import {
|
|
|
14934
14947
|
} from "path";
|
|
14935
14948
|
import ts66 from "typescript";
|
|
14936
14949
|
|
|
14937
|
-
// bazel-out/
|
|
14950
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
14938
14951
|
import { syntaxError } from "@angular/compiler";
|
|
14939
14952
|
import {
|
|
14940
14953
|
relative as relative3
|
|
14941
14954
|
} from "path";
|
|
14942
14955
|
import ts68 from "typescript";
|
|
14943
14956
|
|
|
14944
|
-
// bazel-out/
|
|
14957
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
14945
14958
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
14946
14959
|
import {
|
|
14947
14960
|
readFileSync as readFileSync2
|
|
@@ -14949,19 +14962,19 @@ import {
|
|
|
14949
14962
|
import * as path6 from "path";
|
|
14950
14963
|
import ts111 from "typescript";
|
|
14951
14964
|
|
|
14952
|
-
// bazel-out/
|
|
14965
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
14953
14966
|
import ts70 from "typescript";
|
|
14954
14967
|
|
|
14955
|
-
// bazel-out/
|
|
14968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
14956
14969
|
import ts99 from "typescript";
|
|
14957
14970
|
|
|
14958
|
-
// bazel-out/
|
|
14971
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
14959
14972
|
import ts71 from "typescript";
|
|
14960
14973
|
|
|
14961
|
-
// bazel-out/
|
|
14974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
14962
14975
|
import ts72 from "typescript";
|
|
14963
14976
|
|
|
14964
|
-
// bazel-out/
|
|
14977
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
14965
14978
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
14966
14979
|
var UpdateMode;
|
|
14967
14980
|
(function(UpdateMode2) {
|
|
@@ -14969,22 +14982,22 @@ var UpdateMode;
|
|
|
14969
14982
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
14970
14983
|
})(UpdateMode || (UpdateMode = {}));
|
|
14971
14984
|
|
|
14972
|
-
// bazel-out/
|
|
14985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
14973
14986
|
import ts76 from "typescript";
|
|
14974
14987
|
|
|
14975
|
-
// bazel-out/
|
|
14988
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
14976
14989
|
import ts73 from "typescript";
|
|
14977
14990
|
|
|
14978
|
-
// bazel-out/
|
|
14991
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
14979
14992
|
var NgExtension = Symbol("NgExtension");
|
|
14980
14993
|
|
|
14981
|
-
// bazel-out/
|
|
14994
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
14982
14995
|
import ts74 from "typescript";
|
|
14983
14996
|
|
|
14984
|
-
// bazel-out/
|
|
14997
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
14985
14998
|
import ts75 from "typescript";
|
|
14986
14999
|
|
|
14987
|
-
// bazel-out/
|
|
15000
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
14988
15001
|
var IncrementalStateKind;
|
|
14989
15002
|
(function(IncrementalStateKind2) {
|
|
14990
15003
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -14992,17 +15005,17 @@ var IncrementalStateKind;
|
|
|
14992
15005
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
14993
15006
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
14994
15007
|
|
|
14995
|
-
// bazel-out/
|
|
15008
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
14996
15009
|
var PhaseKind;
|
|
14997
15010
|
(function(PhaseKind2) {
|
|
14998
15011
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
14999
15012
|
PhaseKind2[PhaseKind2["TypeCheckAndEmit"] = 1] = "TypeCheckAndEmit";
|
|
15000
15013
|
})(PhaseKind || (PhaseKind = {}));
|
|
15001
15014
|
|
|
15002
|
-
// bazel-out/
|
|
15015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
15003
15016
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
15004
15017
|
|
|
15005
|
-
// bazel-out/
|
|
15018
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
15006
15019
|
var IdentifierKind;
|
|
15007
15020
|
(function(IdentifierKind2) {
|
|
15008
15021
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -15014,38 +15027,38 @@ var IdentifierKind;
|
|
|
15014
15027
|
IdentifierKind2[IdentifierKind2["Variable"] = 6] = "Variable";
|
|
15015
15028
|
})(IdentifierKind || (IdentifierKind = {}));
|
|
15016
15029
|
|
|
15017
|
-
// bazel-out/
|
|
15030
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
15018
15031
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
15019
15032
|
|
|
15020
|
-
// bazel-out/
|
|
15033
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
15021
15034
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
15022
15035
|
|
|
15023
|
-
// bazel-out/
|
|
15036
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
15024
15037
|
import ts77 from "typescript";
|
|
15025
15038
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
15026
15039
|
var RESOURCE_MARKER_TS = RESOURCE_MARKER + ".ts";
|
|
15027
15040
|
|
|
15028
|
-
// bazel-out/
|
|
15041
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
15029
15042
|
import ts78 from "typescript";
|
|
15030
15043
|
|
|
15031
|
-
// bazel-out/
|
|
15044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15032
15045
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
15033
15046
|
|
|
15034
|
-
// bazel-out/
|
|
15047
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
15035
15048
|
var OptimizeFor;
|
|
15036
15049
|
(function(OptimizeFor2) {
|
|
15037
15050
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
15038
15051
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
15039
15052
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
15040
15053
|
|
|
15041
|
-
// bazel-out/
|
|
15054
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
15042
15055
|
var CompletionKind;
|
|
15043
15056
|
(function(CompletionKind2) {
|
|
15044
15057
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
15045
15058
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
15046
15059
|
})(CompletionKind || (CompletionKind = {}));
|
|
15047
15060
|
|
|
15048
|
-
// bazel-out/
|
|
15061
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
15049
15062
|
var SymbolKind;
|
|
15050
15063
|
(function(SymbolKind2) {
|
|
15051
15064
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -15061,18 +15074,18 @@ var SymbolKind;
|
|
|
15061
15074
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
15062
15075
|
})(SymbolKind || (SymbolKind = {}));
|
|
15063
15076
|
|
|
15064
|
-
// bazel-out/
|
|
15077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
15065
15078
|
import ts79 from "typescript";
|
|
15066
15079
|
|
|
15067
|
-
// bazel-out/
|
|
15080
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
15068
15081
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
15069
15082
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
15070
15083
|
|
|
15071
|
-
// bazel-out/
|
|
15084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
15072
15085
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
15073
15086
|
import ts81 from "typescript";
|
|
15074
15087
|
|
|
15075
|
-
// bazel-out/
|
|
15088
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
15076
15089
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
15077
15090
|
import ts80 from "typescript";
|
|
15078
15091
|
var CommentTriviaType;
|
|
@@ -15088,19 +15101,19 @@ var ExpressionIdentifier;
|
|
|
15088
15101
|
})(ExpressionIdentifier || (ExpressionIdentifier = {}));
|
|
15089
15102
|
var IGNORE_FOR_DIAGNOSTICS_MARKER = `${CommentTriviaType.DIAGNOSTIC}:ignore`;
|
|
15090
15103
|
|
|
15091
|
-
// bazel-out/
|
|
15104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15092
15105
|
import ts95 from "typescript";
|
|
15093
15106
|
|
|
15094
|
-
// bazel-out/
|
|
15107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
15095
15108
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
15096
15109
|
import ts82 from "typescript";
|
|
15097
15110
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
15098
15111
|
|
|
15099
|
-
// bazel-out/
|
|
15112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
15100
15113
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
15101
15114
|
import ts88 from "typescript";
|
|
15102
15115
|
|
|
15103
|
-
// bazel-out/
|
|
15116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
15104
15117
|
import ts83 from "typescript";
|
|
15105
15118
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
15106
15119
|
ts83.SyntaxKind.ParenthesizedExpression,
|
|
@@ -15119,19 +15132,19 @@ var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
|
15119
15132
|
ts83.SyntaxKind.UndefinedKeyword
|
|
15120
15133
|
]);
|
|
15121
15134
|
|
|
15122
|
-
// bazel-out/
|
|
15135
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
15123
15136
|
import ts87 from "typescript";
|
|
15124
15137
|
|
|
15125
|
-
// bazel-out/
|
|
15138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
15126
15139
|
import ts86 from "typescript";
|
|
15127
15140
|
|
|
15128
|
-
// bazel-out/
|
|
15141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
15129
15142
|
import ts85 from "typescript";
|
|
15130
15143
|
|
|
15131
|
-
// bazel-out/
|
|
15144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
15132
15145
|
import ts84 from "typescript";
|
|
15133
15146
|
|
|
15134
|
-
// bazel-out/
|
|
15147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
15135
15148
|
var TcbInliningRequirement;
|
|
15136
15149
|
(function(TcbInliningRequirement2) {
|
|
15137
15150
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -15139,22 +15152,22 @@ var TcbInliningRequirement;
|
|
|
15139
15152
|
TcbInliningRequirement2[TcbInliningRequirement2["None"] = 2] = "None";
|
|
15140
15153
|
})(TcbInliningRequirement || (TcbInliningRequirement = {}));
|
|
15141
15154
|
|
|
15142
|
-
// bazel-out/
|
|
15155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
15143
15156
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
15144
15157
|
import ts89 from "typescript";
|
|
15145
15158
|
|
|
15146
|
-
// bazel-out/
|
|
15159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
15147
15160
|
import ts90 from "typescript";
|
|
15148
15161
|
|
|
15149
|
-
// bazel-out/
|
|
15162
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
15150
15163
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
15151
15164
|
import ts93 from "typescript";
|
|
15152
15165
|
|
|
15153
|
-
// bazel-out/
|
|
15166
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
15154
15167
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
15155
15168
|
import ts91 from "typescript";
|
|
15156
15169
|
|
|
15157
|
-
// bazel-out/
|
|
15170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
15158
15171
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
15159
15172
|
import ts92 from "typescript";
|
|
15160
15173
|
var NULL_AS_ANY = ts92.createAsExpression(ts92.createNull(), ts92.createKeywordTypeNode(ts92.SyntaxKind.AnyKeyword));
|
|
@@ -15254,10 +15267,10 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
15254
15267
|
};
|
|
15255
15268
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
15256
15269
|
|
|
15257
|
-
// bazel-out/
|
|
15270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
15258
15271
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
15259
15272
|
|
|
15260
|
-
// bazel-out/
|
|
15273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
15261
15274
|
var TcbGenericContextBehavior;
|
|
15262
15275
|
(function(TcbGenericContextBehavior2) {
|
|
15263
15276
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -15266,38 +15279,38 @@ var TcbGenericContextBehavior;
|
|
|
15266
15279
|
})(TcbGenericContextBehavior || (TcbGenericContextBehavior = {}));
|
|
15267
15280
|
var INFER_TYPE_FOR_CIRCULAR_OP_EXPR = ts93.createNonNullExpression(ts93.createNull());
|
|
15268
15281
|
|
|
15269
|
-
// bazel-out/
|
|
15282
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15270
15283
|
import ts94 from "typescript";
|
|
15271
15284
|
|
|
15272
|
-
// bazel-out/
|
|
15285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15273
15286
|
var InliningMode;
|
|
15274
15287
|
(function(InliningMode2) {
|
|
15275
15288
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
15276
15289
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
15277
15290
|
})(InliningMode || (InliningMode = {}));
|
|
15278
15291
|
|
|
15279
|
-
// bazel-out/
|
|
15292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15280
15293
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15281
15294
|
|
|
15282
|
-
// bazel-out/
|
|
15295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15283
15296
|
import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead3, PropertyWrite as PropertyWrite3, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
|
|
15284
15297
|
import ts96 from "typescript";
|
|
15285
15298
|
|
|
15286
|
-
// bazel-out/
|
|
15299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15287
15300
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
15288
15301
|
|
|
15289
|
-
// bazel-out/
|
|
15302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
15290
15303
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
15291
15304
|
import ts97 from "typescript";
|
|
15292
15305
|
|
|
15293
|
-
// bazel-out/
|
|
15306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
15294
15307
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
15295
15308
|
|
|
15296
|
-
// bazel-out/
|
|
15309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
15297
15310
|
import { Binary } from "@angular/compiler";
|
|
15298
15311
|
import ts98 from "typescript";
|
|
15299
15312
|
|
|
15300
|
-
// bazel-out/
|
|
15313
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
15301
15314
|
var CompilationTicketKind;
|
|
15302
15315
|
(function(CompilationTicketKind2) {
|
|
15303
15316
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -15305,11 +15318,11 @@ var CompilationTicketKind;
|
|
|
15305
15318
|
CompilationTicketKind2[CompilationTicketKind2["IncrementalResource"] = 2] = "IncrementalResource";
|
|
15306
15319
|
})(CompilationTicketKind || (CompilationTicketKind = {}));
|
|
15307
15320
|
|
|
15308
|
-
// bazel-out/
|
|
15321
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
15309
15322
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
15310
15323
|
import ts102 from "typescript";
|
|
15311
15324
|
|
|
15312
|
-
// bazel-out/
|
|
15325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
15313
15326
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
15314
15327
|
import {
|
|
15315
15328
|
relative as relative5,
|
|
@@ -15317,42 +15330,42 @@ import {
|
|
|
15317
15330
|
sep as sep2
|
|
15318
15331
|
} from "path";
|
|
15319
15332
|
|
|
15320
|
-
// bazel-out/
|
|
15333
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
15321
15334
|
import ts100 from "typescript";
|
|
15322
15335
|
var tsVersion = ts100.version;
|
|
15323
15336
|
|
|
15324
|
-
// bazel-out/
|
|
15337
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
15325
15338
|
import ts101 from "typescript";
|
|
15326
15339
|
|
|
15327
|
-
// bazel-out/
|
|
15340
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
15328
15341
|
import ts104 from "typescript";
|
|
15329
15342
|
|
|
15330
|
-
// bazel-out/
|
|
15343
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
15331
15344
|
import ts103 from "typescript";
|
|
15332
15345
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
15333
15346
|
|
|
15334
|
-
// bazel-out/
|
|
15347
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
15335
15348
|
import ts105 from "typescript";
|
|
15336
15349
|
|
|
15337
|
-
// bazel-out/
|
|
15350
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
15338
15351
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
15339
15352
|
import ts106 from "typescript";
|
|
15340
15353
|
|
|
15341
|
-
// bazel-out/
|
|
15354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
15342
15355
|
import ts107 from "typescript";
|
|
15343
15356
|
|
|
15344
|
-
// bazel-out/
|
|
15357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
15345
15358
|
import ts109 from "typescript";
|
|
15346
15359
|
|
|
15347
|
-
// bazel-out/
|
|
15360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
15348
15361
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
15349
15362
|
import ts108 from "typescript";
|
|
15350
15363
|
|
|
15351
|
-
// bazel-out/
|
|
15364
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
15352
15365
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
15353
15366
|
import ts110 from "typescript";
|
|
15354
15367
|
|
|
15355
|
-
// bazel-out/
|
|
15368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
15356
15369
|
var VE_DISABLED_MESSAGE = `
|
|
15357
15370
|
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
15358
15371
|
and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
|
|
@@ -15366,7 +15379,7 @@ var emptyModules = {
|
|
|
15366
15379
|
files: []
|
|
15367
15380
|
};
|
|
15368
15381
|
|
|
15369
|
-
// bazel-out/
|
|
15382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
15370
15383
|
function calcProjectFileAndBasePath(project, host = getFileSystem()) {
|
|
15371
15384
|
const absProject = host.resolve(project);
|
|
15372
15385
|
const projectIsDir = host.lstat(absProject).isDirectory();
|
|
@@ -15465,7 +15478,7 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs5) {
|
|
|
15465
15478
|
return null;
|
|
15466
15479
|
}
|
|
15467
15480
|
|
|
15468
|
-
// bazel-out/
|
|
15481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
15469
15482
|
function getSharedSetup(options2) {
|
|
15470
15483
|
const fileSystem = getFileSystem();
|
|
15471
15484
|
const absBasePath = absoluteFrom(options2.basePath);
|
|
@@ -15537,7 +15550,7 @@ function getMaxNumberOfWorkers() {
|
|
|
15537
15550
|
return numericMaxWorkers;
|
|
15538
15551
|
}
|
|
15539
15552
|
|
|
15540
|
-
// bazel-out/
|
|
15553
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/configuration.mjs
|
|
15541
15554
|
import { createHash } from "crypto";
|
|
15542
15555
|
import module6 from "module";
|
|
15543
15556
|
import semver from "semver";
|
|
@@ -15725,7 +15738,7 @@ var NgccConfiguration = class {
|
|
|
15725
15738
|
}
|
|
15726
15739
|
};
|
|
15727
15740
|
|
|
15728
|
-
// bazel-out/
|
|
15741
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.mjs
|
|
15729
15742
|
import { createHash as createHash2 } from "crypto";
|
|
15730
15743
|
var EntryPointManifest = class {
|
|
15731
15744
|
constructor(fs5, config, logger) {
|
|
@@ -15833,7 +15846,7 @@ var InvalidatingEntryPointManifest = class extends EntryPointManifest {
|
|
|
15833
15846
|
}
|
|
15834
15847
|
};
|
|
15835
15848
|
|
|
15836
|
-
// bazel-out/
|
|
15849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
15837
15850
|
var PackageJsonUpdate = class {
|
|
15838
15851
|
constructor(writeChangesImpl) {
|
|
15839
15852
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -15925,7 +15938,7 @@ function positionProperty(ctx, prop, positioning) {
|
|
|
15925
15938
|
}
|
|
15926
15939
|
}
|
|
15927
15940
|
|
|
15928
|
-
// bazel-out/
|
|
15941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/main.mjs
|
|
15929
15942
|
function mainNgcc(options2) {
|
|
15930
15943
|
const { basePath, targetEntryPointPath, propertiesToConsider, typingsOnly, compileAllFormats, logger, pathMappings, async, errorOnFailedEntryPoint, enableI18nLegacyMessageIdFormat, invalidateEntryPointManifest, fileSystem, absBasePath, projectPath, tsConfig, getFileWriter } = getSharedSetup(options2);
|
|
15931
15944
|
const config = new NgccConfiguration(fileSystem, projectPath);
|
|
@@ -16008,7 +16021,7 @@ function getEntryPointFinder(fs5, logger, resolver, config, entryPointManifest,
|
|
|
16008
16021
|
}
|
|
16009
16022
|
}
|
|
16010
16023
|
|
|
16011
|
-
// bazel-out/
|
|
16024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/command_line_options.mjs
|
|
16012
16025
|
import yargs from "yargs";
|
|
16013
16026
|
function parseCommandLineOptions(args) {
|
|
16014
16027
|
var _a;
|
|
@@ -16099,7 +16112,7 @@ function parseCommandLineOptions(args) {
|
|
|
16099
16112
|
};
|
|
16100
16113
|
}
|
|
16101
16114
|
|
|
16102
|
-
// bazel-out/
|
|
16115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/main-ngcc.mjs
|
|
16103
16116
|
process.title = "ngcc";
|
|
16104
16117
|
var startTime = Date.now();
|
|
16105
16118
|
var options = parseCommandLineOptions(process.argv.slice(2));
|