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