@angular/compiler-cli 13.0.0-rc.2 → 13.0.0-rc.3
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 +209 -218
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +279 -288
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +280 -289
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +244 -253
- 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/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +208 -217
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +206 -215
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
|
@@ -31,22 +31,22 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
31
31
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
// bazel-out/
|
|
34
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
35
35
|
import ts9 from "typescript";
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
38
38
|
import ts3 from "typescript";
|
|
39
39
|
|
|
40
|
-
// bazel-out/
|
|
40
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
41
41
|
import ts2 from "typescript";
|
|
42
42
|
|
|
43
|
-
// bazel-out/
|
|
43
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
44
44
|
import {
|
|
45
45
|
EOL
|
|
46
46
|
} from "os";
|
|
47
47
|
import ts from "typescript";
|
|
48
48
|
|
|
49
|
-
// bazel-out/
|
|
49
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
50
50
|
var InvalidFileSystem = class {
|
|
51
51
|
exists(path7) {
|
|
52
52
|
throw makeError();
|
|
@@ -134,13 +134,13 @@ function makeError() {
|
|
|
134
134
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
138
138
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
139
139
|
function stripExtension(path7) {
|
|
140
140
|
return path7.replace(TS_DTS_JS_EXTENSION, "");
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
// bazel-out/
|
|
143
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
144
144
|
var fs = new InvalidFileSystem();
|
|
145
145
|
function getFileSystem() {
|
|
146
146
|
return fs;
|
|
@@ -181,7 +181,7 @@ function toRelativeImport(relativePath) {
|
|
|
181
181
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
185
185
|
var NgtscCompilerHost = class {
|
|
186
186
|
constructor(fs5, options2 = {}) {
|
|
187
187
|
this.fs = fs5;
|
|
@@ -234,7 +234,7 @@ var NgtscCompilerHost = class {
|
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
238
238
|
var LogicalProjectPath = {
|
|
239
239
|
relativePathBetween: function(from, to) {
|
|
240
240
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -280,7 +280,7 @@ function isWithinBasePath(base, path7) {
|
|
|
280
280
|
return isLocalRelativePath(relative(base, path7));
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// bazel-out/
|
|
283
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
284
284
|
import {
|
|
285
285
|
copyFileSync,
|
|
286
286
|
existsSync,
|
|
@@ -425,7 +425,7 @@ function toggleCase(str) {
|
|
|
425
425
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
// bazel-out/
|
|
428
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
429
429
|
var D_TS = /\.d\.ts$/i;
|
|
430
430
|
function isSymbolWithValueDeclaration(symbol) {
|
|
431
431
|
return symbol != null && symbol.valueDeclaration !== void 0 && symbol.declarations !== void 0;
|
|
@@ -492,7 +492,7 @@ function isAssignment(node) {
|
|
|
492
492
|
return ts2.isBinaryExpression(node) && node.operatorToken.kind === ts2.SyntaxKind.EqualsToken;
|
|
493
493
|
}
|
|
494
494
|
|
|
495
|
-
// bazel-out/
|
|
495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
496
496
|
function findNamespaceOfIdentifier(id) {
|
|
497
497
|
return id.parent && ts3.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts3.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
498
498
|
}
|
|
@@ -577,10 +577,10 @@ function skipAliases(node) {
|
|
|
577
577
|
return node;
|
|
578
578
|
}
|
|
579
579
|
|
|
580
|
-
// bazel-out/
|
|
580
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
581
581
|
import ts8 from "typescript";
|
|
582
582
|
|
|
583
|
-
// bazel-out/
|
|
583
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
584
584
|
import ts4 from "typescript";
|
|
585
585
|
var Decorator = {
|
|
586
586
|
nodeForError: (decorator) => {
|
|
@@ -615,7 +615,7 @@ function isConcreteDeclaration(decl) {
|
|
|
615
615
|
return decl.kind === 0;
|
|
616
616
|
}
|
|
617
617
|
|
|
618
|
-
// bazel-out/
|
|
618
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
619
619
|
import ts5 from "typescript";
|
|
620
620
|
function typeToValue(typeNode, checker) {
|
|
621
621
|
if (typeNode === null) {
|
|
@@ -776,10 +776,10 @@ function extractModuleName(node) {
|
|
|
776
776
|
return node.moduleSpecifier.text;
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
-
// bazel-out/
|
|
779
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
780
780
|
import ts7 from "typescript";
|
|
781
781
|
|
|
782
|
-
// bazel-out/
|
|
782
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
783
783
|
import ts6 from "typescript";
|
|
784
784
|
function isNamedClassDeclaration(node) {
|
|
785
785
|
return ts6.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -794,7 +794,7 @@ function isIdentifier(node) {
|
|
|
794
794
|
return node !== void 0 && ts6.isIdentifier(node);
|
|
795
795
|
}
|
|
796
796
|
|
|
797
|
-
// bazel-out/
|
|
797
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
798
798
|
var TypeScriptReflectionHost = class {
|
|
799
799
|
constructor(checker) {
|
|
800
800
|
this.checker = checker;
|
|
@@ -1230,7 +1230,7 @@ function getExportedName(decl, originalId) {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
1232
1232
|
|
|
1233
|
-
// bazel-out/
|
|
1233
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
1234
1234
|
function isDefined(value) {
|
|
1235
1235
|
return value !== void 0 && value !== null;
|
|
1236
1236
|
}
|
|
@@ -1312,7 +1312,7 @@ function stripExtension2(fileName) {
|
|
|
1312
1312
|
return fileName.replace(/\..+$/, "");
|
|
1313
1313
|
}
|
|
1314
1314
|
|
|
1315
|
-
// bazel-out/
|
|
1315
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/module_resolver.mjs
|
|
1316
1316
|
var ModuleResolver = class {
|
|
1317
1317
|
constructor(fs5, pathMappings, relativeExtensions = ["", ".js", "/index.js"]) {
|
|
1318
1318
|
this.fs = fs5;
|
|
@@ -1441,7 +1441,7 @@ function isRelativeImport(from, to) {
|
|
|
1441
1441
|
return to.startsWith(from) && !to.includes("node_modules");
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
-
// bazel-out/
|
|
1444
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_host.mjs
|
|
1445
1445
|
function createDependencyInfo() {
|
|
1446
1446
|
return { dependencies: new Set(), missing: new Set(), deepImports: new Set() };
|
|
1447
1447
|
}
|
|
@@ -1498,7 +1498,7 @@ var DependencyHostBase = class {
|
|
|
1498
1498
|
}
|
|
1499
1499
|
};
|
|
1500
1500
|
|
|
1501
|
-
// bazel-out/
|
|
1501
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
1502
1502
|
var CommonJsDependencyHost = class extends DependencyHostBase {
|
|
1503
1503
|
canSkipFile(fileContents) {
|
|
1504
1504
|
return !hasRequireCalls(fileContents);
|
|
@@ -1542,20 +1542,20 @@ function hasRequireCalls(source) {
|
|
|
1542
1542
|
return /require\(['"]/.test(source);
|
|
1543
1543
|
}
|
|
1544
1544
|
|
|
1545
|
-
// bazel-out/
|
|
1545
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
1546
1546
|
import { DepGraph } from "dependency-graph";
|
|
1547
1547
|
import module2 from "module";
|
|
1548
1548
|
|
|
1549
|
-
// bazel-out/
|
|
1549
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
1550
1550
|
import ts15 from "typescript";
|
|
1551
1551
|
|
|
1552
|
-
// bazel-out/
|
|
1552
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
1553
1553
|
import ts14 from "typescript";
|
|
1554
1554
|
|
|
1555
|
-
// bazel-out/
|
|
1555
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
1556
1556
|
import ts12 from "typescript";
|
|
1557
1557
|
|
|
1558
|
-
// bazel-out/
|
|
1558
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
1559
1559
|
function isWithinPackage(packagePath, filePath) {
|
|
1560
1560
|
const relativePath = relative(packagePath, filePath);
|
|
1561
1561
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -1570,7 +1570,7 @@ var NoopDependencyTracker = class {
|
|
|
1570
1570
|
};
|
|
1571
1571
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
1572
1572
|
|
|
1573
|
-
// bazel-out/
|
|
1573
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/ngcc_host.mjs
|
|
1574
1574
|
import ts10 from "typescript";
|
|
1575
1575
|
var PRE_R3_MARKER = "__PRE_R3__";
|
|
1576
1576
|
var POST_R3_MARKER = "__POST_R3__";
|
|
@@ -1578,13 +1578,13 @@ function isSwitchableVariableDeclaration(node) {
|
|
|
1578
1578
|
return ts10.isVariableDeclaration(node) && !!node.initializer && ts10.isIdentifier(node.initializer) && node.initializer.text.endsWith(PRE_R3_MARKER);
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
1581
|
-
// bazel-out/
|
|
1581
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
1582
1582
|
import ts11 from "typescript";
|
|
1583
1583
|
function stripParentheses(node) {
|
|
1584
1584
|
return ts11.isParenthesizedExpression(node) ? node.expression : node;
|
|
1585
1585
|
}
|
|
1586
1586
|
|
|
1587
|
-
// bazel-out/
|
|
1587
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
1588
1588
|
var DECORATORS = "decorators";
|
|
1589
1589
|
var PROP_DECORATORS = "propDecorators";
|
|
1590
1590
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -2815,7 +2815,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
2815
2815
|
return outerNode;
|
|
2816
2816
|
}
|
|
2817
2817
|
|
|
2818
|
-
// bazel-out/
|
|
2818
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
2819
2819
|
import ts13 from "typescript";
|
|
2820
2820
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
2821
2821
|
getBaseClassExpression(clazz) {
|
|
@@ -3149,7 +3149,7 @@ function getIifeFn(classSymbol) {
|
|
|
3149
3149
|
return iifeWrapper && ts13.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
3150
3150
|
}
|
|
3151
3151
|
|
|
3152
|
-
// bazel-out/
|
|
3152
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
3153
3153
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
3154
3154
|
constructor(logger, isCore, src, dts = null) {
|
|
3155
3155
|
super(logger, isCore, src, dts);
|
|
@@ -3540,7 +3540,7 @@ function isExportsIdentifier(node) {
|
|
|
3540
3540
|
return ts14.isIdentifier(node) && node.text === "exports";
|
|
3541
3541
|
}
|
|
3542
3542
|
|
|
3543
|
-
// bazel-out/
|
|
3543
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
3544
3544
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
3545
3545
|
var NO_ENTRY_POINT = "no-entry-point";
|
|
3546
3546
|
var IGNORED_ENTRY_POINT = "ignored-entry-point";
|
|
@@ -3688,7 +3688,7 @@ function getPackageNameAndVersion(fs5, packagePath, packagePackageJson, entryPoi
|
|
|
3688
3688
|
};
|
|
3689
3689
|
}
|
|
3690
3690
|
|
|
3691
|
-
// bazel-out/
|
|
3691
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
3692
3692
|
var builtinNodeJsModules = new Set(module2.builtinModules);
|
|
3693
3693
|
var DependencyResolver = class {
|
|
3694
3694
|
constructor(fs5, logger, config, hosts, typingsHost) {
|
|
@@ -3790,7 +3790,7 @@ var DependencyResolver = class {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
};
|
|
3792
3792
|
|
|
3793
|
-
// bazel-out/
|
|
3793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.mjs
|
|
3794
3794
|
import ts16 from "typescript";
|
|
3795
3795
|
var EsmDependencyHost = class extends DependencyHostBase {
|
|
3796
3796
|
constructor(fs5, moduleResolver, scanImportExpressions = true) {
|
|
@@ -3956,7 +3956,7 @@ function canPrecedeARegex(kind) {
|
|
|
3956
3956
|
}
|
|
3957
3957
|
}
|
|
3958
3958
|
|
|
3959
|
-
// bazel-out/
|
|
3959
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.mjs
|
|
3960
3960
|
var DtsDependencyHost = class extends EsmDependencyHost {
|
|
3961
3961
|
constructor(fs5, pathMappings) {
|
|
3962
3962
|
super(fs5, new ModuleResolver(fs5, pathMappings, ["", ".d.ts", "/index.d.ts", ".js", "/index.js"]), false);
|
|
@@ -3966,7 +3966,7 @@ var DtsDependencyHost = class extends EsmDependencyHost {
|
|
|
3966
3966
|
}
|
|
3967
3967
|
};
|
|
3968
3968
|
|
|
3969
|
-
// bazel-out/
|
|
3969
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.mjs
|
|
3970
3970
|
import ts17 from "typescript";
|
|
3971
3971
|
var UmdDependencyHost = class extends DependencyHostBase {
|
|
3972
3972
|
canSkipFile(fileContents) {
|
|
@@ -3986,7 +3986,7 @@ var UmdDependencyHost = class extends DependencyHostBase {
|
|
|
3986
3986
|
}
|
|
3987
3987
|
};
|
|
3988
3988
|
|
|
3989
|
-
// bazel-out/
|
|
3989
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/utils.mjs
|
|
3990
3990
|
function getBasePaths(logger, sourceDirectory, pathMappings) {
|
|
3991
3991
|
const fs5 = getFileSystem();
|
|
3992
3992
|
const basePaths = [sourceDirectory];
|
|
@@ -4096,7 +4096,7 @@ function convertToLeaf(node, path7) {
|
|
|
4096
4096
|
node.path = path7;
|
|
4097
4097
|
}
|
|
4098
4098
|
|
|
4099
|
-
// bazel-out/
|
|
4099
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.mjs
|
|
4100
4100
|
var DirectoryWalkerEntryPointFinder = class {
|
|
4101
4101
|
constructor(logger, resolver, entryPointCollector, entryPointManifest, sourceDirectory, pathMappings) {
|
|
4102
4102
|
this.logger = logger;
|
|
@@ -4123,7 +4123,7 @@ var DirectoryWalkerEntryPointFinder = class {
|
|
|
4123
4123
|
}
|
|
4124
4124
|
};
|
|
4125
4125
|
|
|
4126
|
-
// bazel-out/
|
|
4126
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
4127
4127
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
4128
4128
|
var InPlaceFileWriter = class {
|
|
4129
4129
|
constructor(fs5, logger, errorOnFailedEntryPoint) {
|
|
@@ -4172,7 +4172,7 @@ This error may be caused by one of the following:
|
|
|
4172
4172
|
}
|
|
4173
4173
|
};
|
|
4174
4174
|
|
|
4175
|
-
// bazel-out/
|
|
4175
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
4176
4176
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
4177
4177
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
4178
4178
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -4280,7 +4280,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
4280
4280
|
}
|
|
4281
4281
|
};
|
|
4282
4282
|
|
|
4283
|
-
// bazel-out/
|
|
4283
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.mjs
|
|
4284
4284
|
var EntryPointCollector = class {
|
|
4285
4285
|
constructor(fs5, config, logger, resolver) {
|
|
4286
4286
|
this.fs = fs5;
|
|
@@ -4358,7 +4358,7 @@ function isIgnorablePath(path7) {
|
|
|
4358
4358
|
return path7.startsWith(".") || path7 === "node_modules" || path7 === NGCC_DIRECTORY;
|
|
4359
4359
|
}
|
|
4360
4360
|
|
|
4361
|
-
// bazel-out/
|
|
4361
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
4362
4362
|
function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
4363
4363
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
4364
4364
|
return {
|
|
@@ -4368,7 +4368,7 @@ function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
|
4368
4368
|
}
|
|
4369
4369
|
}
|
|
4370
4370
|
|
|
4371
|
-
// bazel-out/
|
|
4371
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.mjs
|
|
4372
4372
|
var TracingEntryPointFinder = class {
|
|
4373
4373
|
constructor(fs5, config, logger, resolver, basePath, pathMappings) {
|
|
4374
4374
|
this.fs = fs5;
|
|
@@ -4405,7 +4405,7 @@ var TracingEntryPointFinder = class {
|
|
|
4405
4405
|
}
|
|
4406
4406
|
};
|
|
4407
4407
|
|
|
4408
|
-
// bazel-out/
|
|
4408
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.mjs
|
|
4409
4409
|
var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
4410
4410
|
constructor(fs5, config, logger, resolver, entryPointCollector, entryPointManifest, basePath, tsConfig, projectPath) {
|
|
4411
4411
|
super(fs5, config, logger, resolver, basePath, getPathMappingsFromTsConfig(fs5, tsConfig, projectPath));
|
|
@@ -4456,8 +4456,8 @@ var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
4456
4456
|
}
|
|
4457
4457
|
};
|
|
4458
4458
|
|
|
4459
|
-
// bazel-out/
|
|
4460
|
-
var NGCC_VERSION = "13.0.0-rc.
|
|
4459
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
|
|
4460
|
+
var NGCC_VERSION = "13.0.0-rc.3";
|
|
4461
4461
|
function needsCleaning(packageJson) {
|
|
4462
4462
|
return Object.values(packageJson.__processed_by_ivy_ngcc__ || {}).some((value) => value !== NGCC_VERSION);
|
|
4463
4463
|
}
|
|
@@ -4498,7 +4498,7 @@ function markAsProcessed(pkgJsonUpdater, packageJson, packageJsonPath, formatPro
|
|
|
4498
4498
|
update.writeChanges(packageJsonPath, packageJson);
|
|
4499
4499
|
}
|
|
4500
4500
|
|
|
4501
|
-
// bazel-out/
|
|
4501
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.mjs
|
|
4502
4502
|
var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
4503
4503
|
constructor(fs5, config, logger, resolver, basePath, pathMappings, targetPath) {
|
|
4504
4504
|
super(fs5, config, logger, resolver, basePath, pathMappings);
|
|
@@ -4613,7 +4613,7 @@ var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
4613
4613
|
}
|
|
4614
4614
|
};
|
|
4615
4615
|
|
|
4616
|
-
// bazel-out/
|
|
4616
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
4617
4617
|
var DtsProcessing;
|
|
4618
4618
|
(function(DtsProcessing2) {
|
|
4619
4619
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -4622,7 +4622,7 @@ var DtsProcessing;
|
|
|
4622
4622
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
4623
4623
|
var TaskDependencies = Map;
|
|
4624
4624
|
|
|
4625
|
-
// bazel-out/
|
|
4625
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
4626
4626
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
4627
4627
|
function computeTaskDependencies(tasks, graph) {
|
|
4628
4628
|
const dependencies = new TaskDependencies();
|
|
@@ -4682,7 +4682,7 @@ function sortTasksByPriority(tasks, dependencies) {
|
|
|
4682
4682
|
});
|
|
4683
4683
|
}
|
|
4684
4684
|
|
|
4685
|
-
// bazel-out/
|
|
4685
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.mjs
|
|
4686
4686
|
var BaseTaskQueue = class {
|
|
4687
4687
|
constructor(logger, tasks, dependencies) {
|
|
4688
4688
|
this.logger = logger;
|
|
@@ -4748,7 +4748,7 @@ ${indentation}- ${stringifyTask(task)}`).join("");
|
|
|
4748
4748
|
}
|
|
4749
4749
|
};
|
|
4750
4750
|
|
|
4751
|
-
// bazel-out/
|
|
4751
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.mjs
|
|
4752
4752
|
var ParallelTaskQueue = class extends BaseTaskQueue {
|
|
4753
4753
|
constructor(logger, tasks, dependencies) {
|
|
4754
4754
|
super(logger, sortTasksByPriority(tasks, dependencies), dependencies);
|
|
@@ -4788,7 +4788,7 @@ ${indentation}- ${stringifyTask(task)} (${blockingTasks.size}): ` + this.stringi
|
|
|
4788
4788
|
}
|
|
4789
4789
|
};
|
|
4790
4790
|
|
|
4791
|
-
// bazel-out/
|
|
4791
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.mjs
|
|
4792
4792
|
var SerialTaskQueue = class extends BaseTaskQueue {
|
|
4793
4793
|
computeNextTask() {
|
|
4794
4794
|
const nextTask = this.tasks.shift() || null;
|
|
@@ -4803,7 +4803,7 @@ var SerialTaskQueue = class extends BaseTaskQueue {
|
|
|
4803
4803
|
}
|
|
4804
4804
|
};
|
|
4805
4805
|
|
|
4806
|
-
// bazel-out/
|
|
4806
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/utils.mjs
|
|
4807
4807
|
function isLocalDirectory(fs5, path7) {
|
|
4808
4808
|
if (fs5.exists(path7)) {
|
|
4809
4809
|
const stat = fs5.lstat(path7);
|
|
@@ -4813,7 +4813,7 @@ function isLocalDirectory(fs5, path7) {
|
|
|
4813
4813
|
}
|
|
4814
4814
|
}
|
|
4815
4815
|
|
|
4816
|
-
// bazel-out/
|
|
4816
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.mjs
|
|
4817
4817
|
var PackageJsonCleaner = class {
|
|
4818
4818
|
constructor(fs5) {
|
|
4819
4819
|
this.fs = fs5;
|
|
@@ -4852,7 +4852,7 @@ var BackupFileCleaner = class {
|
|
|
4852
4852
|
}
|
|
4853
4853
|
};
|
|
4854
4854
|
|
|
4855
|
-
// bazel-out/
|
|
4855
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.mjs
|
|
4856
4856
|
var PackageCleaner = class {
|
|
4857
4857
|
constructor(fs5, cleaners) {
|
|
4858
4858
|
this.fs = fs5;
|
|
@@ -4895,7 +4895,7 @@ function cleanOutdatedPackages(fileSystem, entryPoints) {
|
|
|
4895
4895
|
return packagesToClean.size > 0;
|
|
4896
4896
|
}
|
|
4897
4897
|
|
|
4898
|
-
// bazel-out/
|
|
4898
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.mjs
|
|
4899
4899
|
function getAnalyzeEntryPointsFn(logger, finder, fileSystem, supportedPropertiesToConsider, typingsOnly, compileAllFormats, propertiesToConsider, inParallel) {
|
|
4900
4900
|
return () => {
|
|
4901
4901
|
logger.debug("Analyzing entry-points...");
|
|
@@ -4984,11 +4984,11 @@ function getTaskQueue(logger, inParallel, tasks, graph) {
|
|
|
4984
4984
|
return inParallel ? new ParallelTaskQueue(logger, tasks, dependencies) : new SerialTaskQueue(logger, tasks, dependencies);
|
|
4985
4985
|
}
|
|
4986
4986
|
|
|
4987
|
-
// bazel-out/
|
|
4987
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
4988
4988
|
import cluster2 from "cluster";
|
|
4989
4989
|
import module3 from "module";
|
|
4990
4990
|
|
|
4991
|
-
// bazel-out/
|
|
4991
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
4992
4992
|
import cluster from "cluster";
|
|
4993
4993
|
var Deferred = class {
|
|
4994
4994
|
constructor() {
|
|
@@ -5011,7 +5011,7 @@ var sendMessageToWorker = (workerId, msg) => {
|
|
|
5011
5011
|
});
|
|
5012
5012
|
};
|
|
5013
5013
|
|
|
5014
|
-
// bazel-out/
|
|
5014
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
5015
5015
|
var ClusterMaster = class {
|
|
5016
5016
|
constructor(maxWorkerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, analyzeEntryPoints, createTaskCompletedCallback) {
|
|
5017
5017
|
this.maxWorkerCount = maxWorkerCount;
|
|
@@ -5204,7 +5204,7 @@ function getClusterWorkerScriptPath(fileSystem) {
|
|
|
5204
5204
|
return fileSystem.resolve(workerScriptPath);
|
|
5205
5205
|
}
|
|
5206
5206
|
|
|
5207
|
-
// bazel-out/
|
|
5207
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/executor.mjs
|
|
5208
5208
|
var ClusterExecutor = class {
|
|
5209
5209
|
constructor(workerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, lockFile, createTaskCompletedCallback) {
|
|
5210
5210
|
this.workerCount = workerCount;
|
|
@@ -5224,10 +5224,10 @@ var ClusterExecutor = class {
|
|
|
5224
5224
|
}
|
|
5225
5225
|
};
|
|
5226
5226
|
|
|
5227
|
-
// bazel-out/
|
|
5227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
5228
5228
|
import ts62 from "typescript";
|
|
5229
5229
|
|
|
5230
|
-
// bazel-out/
|
|
5230
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
5231
5231
|
var ErrorCode;
|
|
5232
5232
|
(function(ErrorCode2) {
|
|
5233
5233
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -5278,7 +5278,7 @@ var ErrorCode;
|
|
|
5278
5278
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
5279
5279
|
})(ErrorCode || (ErrorCode = {}));
|
|
5280
5280
|
|
|
5281
|
-
// bazel-out/
|
|
5281
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
5282
5282
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
5283
5283
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
5284
5284
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -5289,10 +5289,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
5289
5289
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
5290
5290
|
]);
|
|
5291
5291
|
|
|
5292
|
-
// bazel-out/
|
|
5292
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
5293
5293
|
import ts18 from "typescript";
|
|
5294
5294
|
|
|
5295
|
-
// bazel-out/
|
|
5295
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
5296
5296
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
5297
5297
|
function replaceTsWithNgInErrors(errors) {
|
|
5298
5298
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -5301,7 +5301,7 @@ function ngErrorCode(code) {
|
|
|
5301
5301
|
return parseInt("-99" + code);
|
|
5302
5302
|
}
|
|
5303
5303
|
|
|
5304
|
-
// bazel-out/
|
|
5304
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
5305
5305
|
var FatalDiagnosticError = class {
|
|
5306
5306
|
constructor(code, node, message, relatedInformation) {
|
|
5307
5307
|
this.code = code;
|
|
@@ -5341,10 +5341,10 @@ function isFatalDiagnosticError(err) {
|
|
|
5341
5341
|
return err._isFatalDiagnosticError === true;
|
|
5342
5342
|
}
|
|
5343
5343
|
|
|
5344
|
-
// bazel-out/
|
|
5344
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
5345
5345
|
import ts20 from "typescript";
|
|
5346
5346
|
|
|
5347
|
-
// bazel-out/
|
|
5347
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
5348
5348
|
import ts19 from "typescript";
|
|
5349
5349
|
function patchTsGetExpandoInitializer() {
|
|
5350
5350
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -5449,7 +5449,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
5449
5449
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
5450
5450
|
}
|
|
5451
5451
|
|
|
5452
|
-
// bazel-out/
|
|
5452
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
5453
5453
|
function makeBundleProgram(fs5, isCore, pkg, path7, r3FileName, options2, host, additionalFiles = []) {
|
|
5454
5454
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs5, fs5.dirname(path7), r3FileName) : null;
|
|
5455
5455
|
let rootPaths = r3SymbolsPath ? [path7, r3SymbolsPath, ...additionalFiles] : [path7, ...additionalFiles];
|
|
@@ -5479,7 +5479,7 @@ function findR3SymbolsPath(fs5, directory, filename) {
|
|
|
5479
5479
|
return null;
|
|
5480
5480
|
}
|
|
5481
5481
|
|
|
5482
|
-
// bazel-out/
|
|
5482
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
5483
5483
|
import ts21 from "typescript";
|
|
5484
5484
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
5485
5485
|
constructor(fs5, options2, cache, moduleResolutionCache, packagePath) {
|
|
@@ -5524,7 +5524,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
5524
5524
|
}
|
|
5525
5525
|
};
|
|
5526
5526
|
|
|
5527
|
-
// bazel-out/
|
|
5527
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
5528
5528
|
import ts22 from "typescript";
|
|
5529
5529
|
var SharedFileCache = class {
|
|
5530
5530
|
constructor(fs5) {
|
|
@@ -5625,7 +5625,7 @@ function createModuleResolutionCache(fs5) {
|
|
|
5625
5625
|
});
|
|
5626
5626
|
}
|
|
5627
5627
|
|
|
5628
|
-
// bazel-out/
|
|
5628
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
5629
5629
|
function makeEntryPointBundle(fs5, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, dtsProcessing, pathMappings, mirrorDtsFromSrc = false, enableI18nLegacyMessageIdFormat = true) {
|
|
5630
5630
|
const rootDir = entryPoint.packagePath;
|
|
5631
5631
|
const options2 = __spreadValues({ allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir }, pathMappings);
|
|
@@ -5666,13 +5666,13 @@ function computePotentialDtsFilesFromJsFiles(fs5, srcProgram, formatPath, typing
|
|
|
5666
5666
|
return additionalFiles;
|
|
5667
5667
|
}
|
|
5668
5668
|
|
|
5669
|
-
// bazel-out/
|
|
5669
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
5670
5670
|
import ts61 from "typescript";
|
|
5671
5671
|
|
|
5672
|
-
// bazel-out/
|
|
5672
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
5673
5673
|
import { ConstantPool as ConstantPool2 } from "@angular/compiler";
|
|
5674
5674
|
|
|
5675
|
-
// bazel-out/
|
|
5675
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
5676
5676
|
var PerfPhase;
|
|
5677
5677
|
(function(PerfPhase2) {
|
|
5678
5678
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -5737,7 +5737,7 @@ var PerfCheckpoint;
|
|
|
5737
5737
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
5738
5738
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
5739
5739
|
|
|
5740
|
-
// bazel-out/
|
|
5740
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
5741
5741
|
var NoopPerfRecorder = class {
|
|
5742
5742
|
eventCount() {
|
|
5743
5743
|
}
|
|
@@ -5754,18 +5754,18 @@ var NoopPerfRecorder = class {
|
|
|
5754
5754
|
};
|
|
5755
5755
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
5756
5756
|
|
|
5757
|
-
// bazel-out/
|
|
5757
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
5758
5758
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr7, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
5759
5759
|
import ts46 from "typescript";
|
|
5760
5760
|
|
|
5761
|
-
// bazel-out/
|
|
5761
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
5762
5762
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
5763
5763
|
|
|
5764
|
-
// bazel-out/
|
|
5764
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
5765
5765
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
5766
5766
|
import ts24 from "typescript";
|
|
5767
5767
|
|
|
5768
|
-
// bazel-out/
|
|
5768
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
5769
5769
|
import ts23 from "typescript";
|
|
5770
5770
|
function findExportedNameOfNode(target, file, reflector) {
|
|
5771
5771
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -5789,7 +5789,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
5789
5789
|
return foundExportName;
|
|
5790
5790
|
}
|
|
5791
5791
|
|
|
5792
|
-
// bazel-out/
|
|
5792
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
5793
5793
|
var ImportFlags;
|
|
5794
5794
|
(function(ImportFlags2) {
|
|
5795
5795
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -5919,7 +5919,7 @@ var LogicalProjectStrategy = class {
|
|
|
5919
5919
|
}
|
|
5920
5920
|
};
|
|
5921
5921
|
|
|
5922
|
-
// bazel-out/
|
|
5922
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
5923
5923
|
var PrivateExportAliasingHost = class {
|
|
5924
5924
|
constructor(host) {
|
|
5925
5925
|
this.host = host;
|
|
@@ -5949,13 +5949,13 @@ var PrivateExportAliasingHost = class {
|
|
|
5949
5949
|
}
|
|
5950
5950
|
};
|
|
5951
5951
|
|
|
5952
|
-
// bazel-out/
|
|
5952
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
5953
5953
|
function relativePathBetween(from, to) {
|
|
5954
5954
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
5955
5955
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
5956
5956
|
}
|
|
5957
5957
|
|
|
5958
|
-
// bazel-out/
|
|
5958
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
5959
5959
|
var NoopImportRewriter = class {
|
|
5960
5960
|
shouldImportSymbol(symbol, specifier) {
|
|
5961
5961
|
return true;
|
|
@@ -6013,14 +6013,14 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
6013
6013
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
6014
6014
|
}
|
|
6015
6015
|
|
|
6016
|
-
// bazel-out/
|
|
6016
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
6017
6017
|
import ts25 from "typescript";
|
|
6018
6018
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
6019
6019
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
6020
6020
|
expr[DefaultImportDeclaration] = importDecl;
|
|
6021
6021
|
}
|
|
6022
6022
|
|
|
6023
|
-
// bazel-out/
|
|
6023
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
6024
6024
|
var Reference = class {
|
|
6025
6025
|
constructor(node, bestGuessOwningModule = null) {
|
|
6026
6026
|
this.node = node;
|
|
@@ -6083,7 +6083,7 @@ var Reference = class {
|
|
|
6083
6083
|
}
|
|
6084
6084
|
};
|
|
6085
6085
|
|
|
6086
|
-
// bazel-out/
|
|
6086
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
6087
6087
|
var ModuleResolver2 = class {
|
|
6088
6088
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
6089
6089
|
this.program = program;
|
|
@@ -6100,7 +6100,7 @@ var ModuleResolver2 = class {
|
|
|
6100
6100
|
}
|
|
6101
6101
|
};
|
|
6102
6102
|
|
|
6103
|
-
// bazel-out/
|
|
6103
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
6104
6104
|
import ts26 from "typescript";
|
|
6105
6105
|
var SemanticSymbol = class {
|
|
6106
6106
|
constructor(decl) {
|
|
@@ -6116,13 +6116,13 @@ function getSymbolIdentifier(decl) {
|
|
|
6116
6116
|
return decl.name.text;
|
|
6117
6117
|
}
|
|
6118
6118
|
|
|
6119
|
-
// bazel-out/
|
|
6119
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
6120
6120
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
6121
6121
|
|
|
6122
|
-
// bazel-out/
|
|
6122
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
6123
6123
|
import ts27 from "typescript";
|
|
6124
6124
|
|
|
6125
|
-
// bazel-out/
|
|
6125
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
6126
6126
|
function isSymbolEqual(a, b) {
|
|
6127
6127
|
if (a.decl === b.decl) {
|
|
6128
6128
|
return true;
|
|
@@ -6172,7 +6172,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
6172
6172
|
return true;
|
|
6173
6173
|
}
|
|
6174
6174
|
|
|
6175
|
-
// bazel-out/
|
|
6175
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
6176
6176
|
function extractSemanticTypeParameters(node) {
|
|
6177
6177
|
if (!ts27.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
6178
6178
|
return null;
|
|
@@ -6192,17 +6192,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
6192
6192
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
6193
6193
|
}
|
|
6194
6194
|
|
|
6195
|
-
// bazel-out/
|
|
6195
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
6196
6196
|
var MetaType;
|
|
6197
6197
|
(function(MetaType2) {
|
|
6198
6198
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
6199
6199
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
6200
6200
|
})(MetaType || (MetaType = {}));
|
|
6201
6201
|
|
|
6202
|
-
// bazel-out/
|
|
6202
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
6203
6203
|
import ts29 from "typescript";
|
|
6204
6204
|
|
|
6205
|
-
// bazel-out/
|
|
6205
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
6206
6206
|
var ClassPropertyMapping = class {
|
|
6207
6207
|
constructor(forwardMap) {
|
|
6208
6208
|
this.forwardMap = forwardMap;
|
|
@@ -6278,7 +6278,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
6278
6278
|
return reverseMap;
|
|
6279
6279
|
}
|
|
6280
6280
|
|
|
6281
|
-
// bazel-out/
|
|
6281
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
6282
6282
|
import ts28 from "typescript";
|
|
6283
6283
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
6284
6284
|
if (!ts28.isTupleTypeNode(def)) {
|
|
@@ -6445,7 +6445,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
6445
6445
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
6446
6446
|
}
|
|
6447
6447
|
|
|
6448
|
-
// bazel-out/
|
|
6448
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
6449
6449
|
var DtsMetadataReader = class {
|
|
6450
6450
|
constructor(checker, reflector) {
|
|
6451
6451
|
this.checker = checker;
|
|
@@ -6545,7 +6545,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
6545
6545
|
return null;
|
|
6546
6546
|
}
|
|
6547
6547
|
|
|
6548
|
-
// bazel-out/
|
|
6548
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
6549
6549
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
6550
6550
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
6551
6551
|
if (topMeta === null) {
|
|
@@ -6602,7 +6602,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
6602
6602
|
});
|
|
6603
6603
|
}
|
|
6604
6604
|
|
|
6605
|
-
// bazel-out/
|
|
6605
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
6606
6606
|
var LocalMetadataRegistry = class {
|
|
6607
6607
|
constructor() {
|
|
6608
6608
|
this.directives = new Map();
|
|
@@ -6661,7 +6661,7 @@ var InjectableClassRegistry = class {
|
|
|
6661
6661
|
}
|
|
6662
6662
|
};
|
|
6663
6663
|
|
|
6664
|
-
// bazel-out/
|
|
6664
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
6665
6665
|
var ResourceRegistry = class {
|
|
6666
6666
|
constructor() {
|
|
6667
6667
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -6726,10 +6726,10 @@ var ResourceRegistry = class {
|
|
|
6726
6726
|
}
|
|
6727
6727
|
};
|
|
6728
6728
|
|
|
6729
|
-
// bazel-out/
|
|
6729
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
6730
6730
|
import ts30 from "typescript";
|
|
6731
6731
|
|
|
6732
|
-
// bazel-out/
|
|
6732
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
6733
6733
|
var DynamicValue = class {
|
|
6734
6734
|
constructor(node, reason, code) {
|
|
6735
6735
|
this.node = node;
|
|
@@ -6814,7 +6814,7 @@ var DynamicValue = class {
|
|
|
6814
6814
|
}
|
|
6815
6815
|
};
|
|
6816
6816
|
|
|
6817
|
-
// bazel-out/
|
|
6817
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
6818
6818
|
var ResolvedModule = class {
|
|
6819
6819
|
constructor(exports, evaluate) {
|
|
6820
6820
|
this.exports = exports;
|
|
@@ -6844,7 +6844,7 @@ var EnumValue = class {
|
|
|
6844
6844
|
var KnownFn = class {
|
|
6845
6845
|
};
|
|
6846
6846
|
|
|
6847
|
-
// bazel-out/
|
|
6847
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
6848
6848
|
function describeResolvedType(value, maxDepth = 1) {
|
|
6849
6849
|
var _a, _b;
|
|
6850
6850
|
if (value === null) {
|
|
@@ -6970,10 +6970,10 @@ function getContainerNode(node) {
|
|
|
6970
6970
|
return node.getSourceFile();
|
|
6971
6971
|
}
|
|
6972
6972
|
|
|
6973
|
-
// bazel-out/
|
|
6973
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
6974
6974
|
import ts31 from "typescript";
|
|
6975
6975
|
|
|
6976
|
-
// bazel-out/
|
|
6976
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
6977
6977
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
6978
6978
|
constructor(lhs) {
|
|
6979
6979
|
super();
|
|
@@ -7026,7 +7026,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
7026
7026
|
}
|
|
7027
7027
|
};
|
|
7028
7028
|
|
|
7029
|
-
// bazel-out/
|
|
7029
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
7030
7030
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
7031
7031
|
};
|
|
7032
7032
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -7079,7 +7079,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
7079
7079
|
}
|
|
7080
7080
|
};
|
|
7081
7081
|
|
|
7082
|
-
// bazel-out/
|
|
7082
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
7083
7083
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
7084
7084
|
var assignTsHelperFn = new AssignHelperFn();
|
|
7085
7085
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -7103,7 +7103,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
7103
7103
|
}
|
|
7104
7104
|
}
|
|
7105
7105
|
|
|
7106
|
-
// bazel-out/
|
|
7106
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
7107
7107
|
function literalBinaryOp(op) {
|
|
7108
7108
|
return { op, literal: true };
|
|
7109
7109
|
}
|
|
@@ -7688,7 +7688,7 @@ function owningModule(context, override = null) {
|
|
|
7688
7688
|
}
|
|
7689
7689
|
}
|
|
7690
7690
|
|
|
7691
|
-
// bazel-out/
|
|
7691
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
7692
7692
|
var PartialEvaluator = class {
|
|
7693
7693
|
constructor(host, checker, dependencyTracker) {
|
|
7694
7694
|
this.host = host;
|
|
@@ -7708,7 +7708,7 @@ var PartialEvaluator = class {
|
|
|
7708
7708
|
}
|
|
7709
7709
|
};
|
|
7710
7710
|
|
|
7711
|
-
// bazel-out/
|
|
7711
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
7712
7712
|
var CompilationMode;
|
|
7713
7713
|
(function(CompilationMode2) {
|
|
7714
7714
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -7726,13 +7726,13 @@ var HandlerFlags;
|
|
|
7726
7726
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
7727
7727
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
7728
7728
|
|
|
7729
|
-
// bazel-out/
|
|
7729
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
7730
7730
|
import ts32 from "typescript";
|
|
7731
7731
|
|
|
7732
|
-
// bazel-out/
|
|
7732
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
7733
7733
|
import ts33 from "typescript";
|
|
7734
7734
|
|
|
7735
|
-
// bazel-out/
|
|
7735
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
7736
7736
|
var TraitState;
|
|
7737
7737
|
(function(TraitState2) {
|
|
7738
7738
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -7787,7 +7787,7 @@ var TraitImpl = class {
|
|
|
7787
7787
|
}
|
|
7788
7788
|
};
|
|
7789
7789
|
|
|
7790
|
-
// bazel-out/
|
|
7790
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
7791
7791
|
var TraitCompiler = class {
|
|
7792
7792
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
7793
7793
|
this.handlers = handlers;
|
|
@@ -8224,10 +8224,10 @@ var TraitCompiler = class {
|
|
|
8224
8224
|
}
|
|
8225
8225
|
};
|
|
8226
8226
|
|
|
8227
|
-
// bazel-out/
|
|
8227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
8228
8228
|
import ts38 from "typescript";
|
|
8229
8229
|
|
|
8230
|
-
// bazel-out/
|
|
8230
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
8231
8231
|
var Context = class {
|
|
8232
8232
|
constructor(isStatement) {
|
|
8233
8233
|
this.isStatement = isStatement;
|
|
@@ -8240,7 +8240,7 @@ var Context = class {
|
|
|
8240
8240
|
}
|
|
8241
8241
|
};
|
|
8242
8242
|
|
|
8243
|
-
// bazel-out/
|
|
8243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
8244
8244
|
import ts34 from "typescript";
|
|
8245
8245
|
var ImportManager = class {
|
|
8246
8246
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -8276,7 +8276,7 @@ var ImportManager = class {
|
|
|
8276
8276
|
}
|
|
8277
8277
|
};
|
|
8278
8278
|
|
|
8279
|
-
// bazel-out/
|
|
8279
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
8280
8280
|
import {
|
|
8281
8281
|
BinaryOperator,
|
|
8282
8282
|
ConditionalExpr,
|
|
@@ -8520,7 +8520,7 @@ function createRange(span) {
|
|
|
8520
8520
|
};
|
|
8521
8521
|
}
|
|
8522
8522
|
|
|
8523
|
-
// bazel-out/
|
|
8523
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
8524
8524
|
import {
|
|
8525
8525
|
BuiltinTypeName
|
|
8526
8526
|
} from "@angular/compiler";
|
|
@@ -8699,7 +8699,7 @@ var TypeTranslatorVisitor = class {
|
|
|
8699
8699
|
}
|
|
8700
8700
|
};
|
|
8701
8701
|
|
|
8702
|
-
// bazel-out/
|
|
8702
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
8703
8703
|
import ts36 from "typescript";
|
|
8704
8704
|
var PureAnnotation;
|
|
8705
8705
|
(function(PureAnnotation2) {
|
|
@@ -8871,15 +8871,15 @@ function attachComments(statement, leadingComments) {
|
|
|
8871
8871
|
}
|
|
8872
8872
|
}
|
|
8873
8873
|
|
|
8874
|
-
// bazel-out/
|
|
8874
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
8875
8875
|
function translateStatement(statement, imports, options2 = {}) {
|
|
8876
8876
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options2.annotateForClosureCompiler === true), imports, options2), new Context(true));
|
|
8877
8877
|
}
|
|
8878
8878
|
|
|
8879
|
-
// bazel-out/
|
|
8879
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
8880
8880
|
import ts37 from "typescript";
|
|
8881
8881
|
|
|
8882
|
-
// bazel-out/
|
|
8882
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
8883
8883
|
var DtsTransformRegistry = class {
|
|
8884
8884
|
constructor() {
|
|
8885
8885
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -8930,20 +8930,20 @@ function markForEmitAsSingleLine(node) {
|
|
|
8930
8930
|
ts38.forEachChild(node, markForEmitAsSingleLine);
|
|
8931
8931
|
}
|
|
8932
8932
|
|
|
8933
|
-
// bazel-out/
|
|
8933
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
8934
8934
|
import { ConstantPool } from "@angular/compiler";
|
|
8935
8935
|
import ts40 from "typescript";
|
|
8936
8936
|
|
|
8937
|
-
// bazel-out/
|
|
8937
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
8938
8938
|
import ts39 from "typescript";
|
|
8939
8939
|
|
|
8940
|
-
// bazel-out/
|
|
8940
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
8941
8941
|
var NO_DECORATORS = new Set();
|
|
8942
8942
|
|
|
8943
|
-
// bazel-out/
|
|
8943
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8944
8944
|
import ts42 from "typescript";
|
|
8945
8945
|
|
|
8946
|
-
// bazel-out/
|
|
8946
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
8947
8947
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
8948
8948
|
import ts41 from "typescript";
|
|
8949
8949
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -9303,7 +9303,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
9303
9303
|
};
|
|
9304
9304
|
}
|
|
9305
9305
|
|
|
9306
|
-
// bazel-out/
|
|
9306
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
9307
9307
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
9308
9308
|
var _a;
|
|
9309
9309
|
let chainedMessage;
|
|
@@ -9399,11 +9399,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
9399
9399
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
9400
9400
|
}
|
|
9401
9401
|
|
|
9402
|
-
// bazel-out/
|
|
9402
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
9403
9403
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
9404
9404
|
import ts44 from "typescript";
|
|
9405
9405
|
|
|
9406
|
-
// bazel-out/
|
|
9406
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
9407
9407
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
9408
9408
|
function compileNgFactoryDefField(metadata) {
|
|
9409
9409
|
const res = compileFactoryFunction(metadata);
|
|
@@ -9414,7 +9414,7 @@ function compileDeclareFactory(metadata) {
|
|
|
9414
9414
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
9415
9415
|
}
|
|
9416
9416
|
|
|
9417
|
-
// bazel-out/
|
|
9417
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
9418
9418
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
9419
9419
|
import ts43 from "typescript";
|
|
9420
9420
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -9502,7 +9502,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
9502
9502
|
return result.transformed[0];
|
|
9503
9503
|
}
|
|
9504
9504
|
|
|
9505
|
-
// bazel-out/
|
|
9505
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
9506
9506
|
var EMPTY_OBJECT = {};
|
|
9507
9507
|
var FIELD_DECORATORS = [
|
|
9508
9508
|
"Input",
|
|
@@ -10064,8 +10064,8 @@ var QUERY_TYPES = new Set([
|
|
|
10064
10064
|
"ViewChildren"
|
|
10065
10065
|
]);
|
|
10066
10066
|
|
|
10067
|
-
// bazel-out/
|
|
10068
|
-
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2,
|
|
10067
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
10068
|
+
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, NO_ERRORS_SCHEMA, R3Identifiers, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
10069
10069
|
import ts45 from "typescript";
|
|
10070
10070
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
10071
10071
|
constructor() {
|
|
@@ -10112,7 +10112,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
10112
10112
|
}
|
|
10113
10113
|
};
|
|
10114
10114
|
var NgModuleDecoratorHandler = class {
|
|
10115
|
-
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf
|
|
10115
|
+
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf) {
|
|
10116
10116
|
this.reflector = reflector;
|
|
10117
10117
|
this.evaluator = evaluator;
|
|
10118
10118
|
this.metaReader = metaReader;
|
|
@@ -10125,7 +10125,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
10125
10125
|
this.annotateForClosureCompiler = annotateForClosureCompiler;
|
|
10126
10126
|
this.injectableRegistry = injectableRegistry;
|
|
10127
10127
|
this.perf = perf;
|
|
10128
|
-
this.localeId = localeId;
|
|
10129
10128
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
10130
10129
|
this.name = NgModuleDecoratorHandler.name;
|
|
10131
10130
|
}
|
|
@@ -10411,14 +10410,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
10411
10410
|
type: injectorDef.type
|
|
10412
10411
|
}
|
|
10413
10412
|
];
|
|
10414
|
-
if (this.localeId) {
|
|
10415
|
-
res.push({
|
|
10416
|
-
name: "\u0275loc",
|
|
10417
|
-
initializer: new LiteralExpr3(this.localeId),
|
|
10418
|
-
statements: [],
|
|
10419
|
-
type: STRING_TYPE
|
|
10420
|
-
});
|
|
10421
|
-
}
|
|
10422
10413
|
return res;
|
|
10423
10414
|
}
|
|
10424
10415
|
_toR3Reference(valueRef, valueContext, typeContext) {
|
|
@@ -10507,7 +10498,7 @@ function isNgModule(node, compilation) {
|
|
|
10507
10498
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
10508
10499
|
}
|
|
10509
10500
|
|
|
10510
|
-
// bazel-out/
|
|
10501
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
10511
10502
|
var EMPTY_MAP = new Map();
|
|
10512
10503
|
var EMPTY_ARRAY = [];
|
|
10513
10504
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -11391,8 +11382,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
11391
11382
|
return null;
|
|
11392
11383
|
}
|
|
11393
11384
|
|
|
11394
|
-
// bazel-out/
|
|
11395
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as
|
|
11385
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
11386
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
11396
11387
|
import ts47 from "typescript";
|
|
11397
11388
|
var InjectableDecoratorHandler = class {
|
|
11398
11389
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -11480,7 +11471,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
11480
11471
|
type,
|
|
11481
11472
|
typeArgumentCount,
|
|
11482
11473
|
internalType,
|
|
11483
|
-
providedIn: createR3ProviderExpression(new
|
|
11474
|
+
providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
|
|
11484
11475
|
};
|
|
11485
11476
|
} else if (decorator.args.length === 1) {
|
|
11486
11477
|
const metaNode = decorator.args[0];
|
|
@@ -11488,7 +11479,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
11488
11479
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
11489
11480
|
}
|
|
11490
11481
|
const meta = reflectObjectLiteral(metaNode);
|
|
11491
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new
|
|
11482
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new LiteralExpr3(null), false);
|
|
11492
11483
|
let deps = void 0;
|
|
11493
11484
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
11494
11485
|
const depsExpr = meta.get("deps");
|
|
@@ -11591,7 +11582,7 @@ function getDep(dep, reflector) {
|
|
|
11591
11582
|
return meta;
|
|
11592
11583
|
}
|
|
11593
11584
|
|
|
11594
|
-
// bazel-out/
|
|
11585
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
11595
11586
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
11596
11587
|
import ts48 from "typescript";
|
|
11597
11588
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -11716,7 +11707,7 @@ var PipeDecoratorHandler = class {
|
|
|
11716
11707
|
}
|
|
11717
11708
|
};
|
|
11718
11709
|
|
|
11719
|
-
// bazel-out/
|
|
11710
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
11720
11711
|
var CycleAnalyzer = class {
|
|
11721
11712
|
constructor(importGraph) {
|
|
11722
11713
|
this.importGraph = importGraph;
|
|
@@ -11787,7 +11778,7 @@ var Cycle = class {
|
|
|
11787
11778
|
}
|
|
11788
11779
|
};
|
|
11789
11780
|
|
|
11790
|
-
// bazel-out/
|
|
11781
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
11791
11782
|
import ts49 from "typescript";
|
|
11792
11783
|
var ImportGraph = class {
|
|
11793
11784
|
constructor(checker, perf) {
|
|
@@ -11870,7 +11861,7 @@ var Found = class {
|
|
|
11870
11861
|
}
|
|
11871
11862
|
};
|
|
11872
11863
|
|
|
11873
|
-
// bazel-out/
|
|
11864
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
11874
11865
|
var MetadataDtsModuleScopeResolver = class {
|
|
11875
11866
|
constructor(dtsMetaReader, aliasingHost) {
|
|
11876
11867
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -11956,7 +11947,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
11956
11947
|
}
|
|
11957
11948
|
};
|
|
11958
11949
|
|
|
11959
|
-
// bazel-out/
|
|
11950
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
11960
11951
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
11961
11952
|
import ts50 from "typescript";
|
|
11962
11953
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12264,7 +12255,7 @@ function reexportCollision(module7, refA, refB) {
|
|
|
12264
12255
|
]);
|
|
12265
12256
|
}
|
|
12266
12257
|
|
|
12267
|
-
// bazel-out/
|
|
12258
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12268
12259
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12269
12260
|
import ts51 from "typescript";
|
|
12270
12261
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12325,7 +12316,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12325
12316
|
}
|
|
12326
12317
|
};
|
|
12327
12318
|
|
|
12328
|
-
// bazel-out/
|
|
12319
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
12329
12320
|
import ts52 from "typescript";
|
|
12330
12321
|
function isClassDeclaration(clazz) {
|
|
12331
12322
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -12408,7 +12399,7 @@ function reifySourceFile(expr) {
|
|
|
12408
12399
|
return stmt.declarationList.declarations[0].initializer;
|
|
12409
12400
|
}
|
|
12410
12401
|
|
|
12411
|
-
// bazel-out/
|
|
12402
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
12412
12403
|
var MissingInjectableMigration = class {
|
|
12413
12404
|
apply(clazz, host) {
|
|
12414
12405
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -12513,7 +12504,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
12513
12504
|
return decorator.import.name;
|
|
12514
12505
|
}
|
|
12515
12506
|
|
|
12516
|
-
// bazel-out/
|
|
12507
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
12517
12508
|
var UndecoratedChildMigration = class {
|
|
12518
12509
|
apply(clazz, host) {
|
|
12519
12510
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -12548,7 +12539,7 @@ var UndecoratedChildMigration = class {
|
|
|
12548
12539
|
}
|
|
12549
12540
|
};
|
|
12550
12541
|
|
|
12551
|
-
// bazel-out/
|
|
12542
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
12552
12543
|
var UndecoratedParentMigration = class {
|
|
12553
12544
|
apply(clazz, host) {
|
|
12554
12545
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -12581,7 +12572,7 @@ function determineBaseClass(clazz, host) {
|
|
|
12581
12572
|
return baseClass;
|
|
12582
12573
|
}
|
|
12583
12574
|
|
|
12584
|
-
// bazel-out/
|
|
12575
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
12585
12576
|
import ts53 from "typescript";
|
|
12586
12577
|
var DefaultMigrationHost = class {
|
|
12587
12578
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -12641,7 +12632,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
12641
12632
|
return clone;
|
|
12642
12633
|
}
|
|
12643
12634
|
|
|
12644
|
-
// bazel-out/
|
|
12635
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
12645
12636
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
12646
12637
|
constructor(handlers, ngccReflector) {
|
|
12647
12638
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null);
|
|
@@ -12686,10 +12677,10 @@ var NoIncrementalBuild = class {
|
|
|
12686
12677
|
}
|
|
12687
12678
|
};
|
|
12688
12679
|
|
|
12689
|
-
// bazel-out/
|
|
12680
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
12690
12681
|
var DecorationAnalyses = Map;
|
|
12691
12682
|
|
|
12692
|
-
// bazel-out/
|
|
12683
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
12693
12684
|
var NgccResourceLoader = class {
|
|
12694
12685
|
constructor(fs5) {
|
|
12695
12686
|
this.fs = fs5;
|
|
@@ -12845,7 +12836,7 @@ var DecorationAnalyzer = class {
|
|
|
12845
12836
|
}
|
|
12846
12837
|
};
|
|
12847
12838
|
|
|
12848
|
-
// bazel-out/
|
|
12839
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
12849
12840
|
import ts54 from "typescript";
|
|
12850
12841
|
var ModuleWithProvidersAnalyses = Map;
|
|
12851
12842
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -12984,7 +12975,7 @@ function isAnyKeyword(typeParam) {
|
|
|
12984
12975
|
return typeParam.kind === ts54.SyntaxKind.AnyKeyword;
|
|
12985
12976
|
}
|
|
12986
12977
|
|
|
12987
|
-
// bazel-out/
|
|
12978
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
12988
12979
|
var NgccReferencesRegistry = class {
|
|
12989
12980
|
constructor(host) {
|
|
12990
12981
|
this.host = host;
|
|
@@ -13005,7 +12996,7 @@ var NgccReferencesRegistry = class {
|
|
|
13005
12996
|
}
|
|
13006
12997
|
};
|
|
13007
12998
|
|
|
13008
|
-
// bazel-out/
|
|
12999
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
13009
13000
|
var PrivateDeclarationsAnalyzer = class {
|
|
13010
13001
|
constructor(host, referencesRegistry) {
|
|
13011
13002
|
this.host = host;
|
|
@@ -13046,7 +13037,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
13046
13037
|
}
|
|
13047
13038
|
};
|
|
13048
13039
|
|
|
13049
|
-
// bazel-out/
|
|
13040
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.mjs
|
|
13050
13041
|
var SwitchMarkerAnalyses = Map;
|
|
13051
13042
|
var SwitchMarkerAnalyzer = class {
|
|
13052
13043
|
constructor(host, packagePath) {
|
|
@@ -13065,7 +13056,7 @@ var SwitchMarkerAnalyzer = class {
|
|
|
13065
13056
|
}
|
|
13066
13057
|
};
|
|
13067
13058
|
|
|
13068
|
-
// bazel-out/
|
|
13059
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
13069
13060
|
import ts55 from "typescript";
|
|
13070
13061
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
13071
13062
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -13229,7 +13220,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
13229
13220
|
}
|
|
13230
13221
|
};
|
|
13231
13222
|
|
|
13232
|
-
// bazel-out/
|
|
13223
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
13233
13224
|
var DelegatingReflectionHost = class {
|
|
13234
13225
|
constructor(tsHost, ngccHost) {
|
|
13235
13226
|
this.tsHost = tsHost;
|
|
@@ -13353,16 +13344,16 @@ var DelegatingReflectionHost = class {
|
|
|
13353
13344
|
}
|
|
13354
13345
|
};
|
|
13355
13346
|
|
|
13356
|
-
// bazel-out/
|
|
13347
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
13357
13348
|
import ts58 from "typescript";
|
|
13358
13349
|
|
|
13359
|
-
// bazel-out/
|
|
13350
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
13360
13351
|
import ts57 from "typescript";
|
|
13361
13352
|
|
|
13362
|
-
// bazel-out/
|
|
13353
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
13363
13354
|
import ts56 from "typescript";
|
|
13364
13355
|
|
|
13365
|
-
// bazel-out/
|
|
13356
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
13366
13357
|
var NgccFlatImportRewriter = class {
|
|
13367
13358
|
shouldImportSymbol(symbol, specifier) {
|
|
13368
13359
|
if (specifier === "@angular/core") {
|
|
@@ -13383,7 +13374,7 @@ var NgccFlatImportRewriter = class {
|
|
|
13383
13374
|
}
|
|
13384
13375
|
};
|
|
13385
13376
|
|
|
13386
|
-
// bazel-out/
|
|
13377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
13387
13378
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
13388
13379
|
if (isCore && isFlat) {
|
|
13389
13380
|
return new NgccFlatImportRewriter();
|
|
@@ -13397,7 +13388,7 @@ function stripExtension3(filePath) {
|
|
|
13397
13388
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
13398
13389
|
}
|
|
13399
13390
|
|
|
13400
|
-
// bazel-out/
|
|
13391
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
13401
13392
|
var EsmRenderingFormatter = class {
|
|
13402
13393
|
constructor(fs5, host, isCore) {
|
|
13403
13394
|
this.fs = fs5;
|
|
@@ -13565,7 +13556,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
13565
13556
|
return lastToken && lastToken.kind === ts56.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
13566
13557
|
}
|
|
13567
13558
|
|
|
13568
|
-
// bazel-out/
|
|
13559
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
13569
13560
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
13570
13561
|
addDefinitions(output, compiledClass, definitions) {
|
|
13571
13562
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -13593,7 +13584,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
13593
13584
|
}
|
|
13594
13585
|
};
|
|
13595
13586
|
|
|
13596
|
-
// bazel-out/
|
|
13587
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
13597
13588
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
13598
13589
|
constructor(fs5, commonJsHost, isCore) {
|
|
13599
13590
|
super(fs5, commonJsHost, isCore);
|
|
@@ -13642,18 +13633,18 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
13642
13633
|
}
|
|
13643
13634
|
};
|
|
13644
13635
|
|
|
13645
|
-
// bazel-out/
|
|
13636
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
13646
13637
|
import MagicString from "magic-string";
|
|
13647
13638
|
import ts59 from "typescript";
|
|
13648
13639
|
|
|
13649
|
-
// bazel-out/
|
|
13640
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
13650
13641
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
13651
13642
|
var NGCC_TIMED_OUT_EXIT_CODE = 177;
|
|
13652
13643
|
|
|
13653
|
-
// bazel-out/
|
|
13644
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
13654
13645
|
import mapHelpers3 from "convert-source-map";
|
|
13655
13646
|
|
|
13656
|
-
// bazel-out/
|
|
13647
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
13657
13648
|
var ContentOrigin;
|
|
13658
13649
|
(function(ContentOrigin2) {
|
|
13659
13650
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -13661,11 +13652,11 @@ var ContentOrigin;
|
|
|
13661
13652
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
13662
13653
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
13663
13654
|
|
|
13664
|
-
// bazel-out/
|
|
13655
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
13665
13656
|
import mapHelpers from "convert-source-map";
|
|
13666
13657
|
import { decode, encode } from "sourcemap-codec";
|
|
13667
13658
|
|
|
13668
|
-
// bazel-out/
|
|
13659
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
13669
13660
|
function compareSegments(a, b) {
|
|
13670
13661
|
return a.position - b.position;
|
|
13671
13662
|
}
|
|
@@ -13685,7 +13676,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
13685
13676
|
return { line, column, position, next: void 0 };
|
|
13686
13677
|
}
|
|
13687
13678
|
|
|
13688
|
-
// bazel-out/
|
|
13679
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
13689
13680
|
function removeSourceMapComments(contents) {
|
|
13690
13681
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
13691
13682
|
}
|
|
@@ -13936,7 +13927,7 @@ var Cache = class {
|
|
|
13936
13927
|
}
|
|
13937
13928
|
};
|
|
13938
13929
|
|
|
13939
|
-
// bazel-out/
|
|
13930
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
13940
13931
|
import mapHelpers2 from "convert-source-map";
|
|
13941
13932
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
13942
13933
|
var SourceFileLoader = class {
|
|
@@ -14053,7 +14044,7 @@ var SourceFileLoader = class {
|
|
|
14053
14044
|
}
|
|
14054
14045
|
};
|
|
14055
14046
|
|
|
14056
|
-
// bazel-out/
|
|
14047
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
14057
14048
|
function renderSourceAndMap(logger, fs5, sourceFile, generatedMagicString) {
|
|
14058
14049
|
var _a;
|
|
14059
14050
|
const sourceFilePath = absoluteFromSourceFile(sourceFile);
|
|
@@ -14087,7 +14078,7 @@ ${sourceMapComment}` },
|
|
|
14087
14078
|
}
|
|
14088
14079
|
}
|
|
14089
14080
|
|
|
14090
|
-
// bazel-out/
|
|
14081
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
14091
14082
|
var DtsRenderInfo = class {
|
|
14092
14083
|
constructor() {
|
|
14093
14084
|
this.classInfo = [];
|
|
@@ -14188,14 +14179,14 @@ function markForEmitAsSingleLine2(node) {
|
|
|
14188
14179
|
ts59.forEachChild(node, markForEmitAsSingleLine2);
|
|
14189
14180
|
}
|
|
14190
14181
|
|
|
14191
|
-
// bazel-out/
|
|
14182
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
14192
14183
|
import { jsDocComment, WrappedNodeExpr as WrappedNodeExpr9, WritePropExpr } from "@angular/compiler";
|
|
14193
14184
|
import MagicString2 from "magic-string";
|
|
14194
14185
|
|
|
14195
|
-
// bazel-out/
|
|
14186
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
14196
14187
|
var RedundantDecoratorMap = Map;
|
|
14197
14188
|
|
|
14198
|
-
// bazel-out/
|
|
14189
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
14199
14190
|
var Renderer = class {
|
|
14200
14191
|
constructor(host, srcFormatter, fs5, logger, bundle, tsConfig = null) {
|
|
14201
14192
|
this.host = host;
|
|
@@ -14302,7 +14293,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
14302
14293
|
return statement;
|
|
14303
14294
|
}
|
|
14304
14295
|
|
|
14305
|
-
// bazel-out/
|
|
14296
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
14306
14297
|
import ts60 from "typescript";
|
|
14307
14298
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
14308
14299
|
constructor(fs5, umdHost, isCore) {
|
|
@@ -14473,7 +14464,7 @@ function isTypeOf(node, ...types) {
|
|
|
14473
14464
|
return ts60.isBinaryExpression(node) && ts60.isTypeOfExpression(node.left) && ts60.isIdentifier(node.left.expression) && types.indexOf(node.left.expression.text) !== -1;
|
|
14474
14465
|
}
|
|
14475
14466
|
|
|
14476
|
-
// bazel-out/
|
|
14467
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
14477
14468
|
var Transformer = class {
|
|
14478
14469
|
constructor(fs5, logger, tsConfig = null) {
|
|
14479
14470
|
this.fs = fs5;
|
|
@@ -14557,7 +14548,7 @@ function hasErrors(diagnostics) {
|
|
|
14557
14548
|
return diagnostics.some((d) => d.category === ts61.DiagnosticCategory.Error);
|
|
14558
14549
|
}
|
|
14559
14550
|
|
|
14560
|
-
// bazel-out/
|
|
14551
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
14561
14552
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
14562
14553
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
14563
14554
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -14596,7 +14587,7 @@ ${errors}`);
|
|
|
14596
14587
|
};
|
|
14597
14588
|
}
|
|
14598
14589
|
|
|
14599
|
-
// bazel-out/
|
|
14590
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/single_process_executor.mjs
|
|
14600
14591
|
var SingleProcessorExecutorBase = class {
|
|
14601
14592
|
constructor(logger, createTaskCompletedCallback) {
|
|
14602
14593
|
this.logger = logger;
|
|
@@ -14638,7 +14629,7 @@ var SingleProcessExecutorAsync = class extends SingleProcessorExecutorBase {
|
|
|
14638
14629
|
}
|
|
14639
14630
|
};
|
|
14640
14631
|
|
|
14641
|
-
// bazel-out/
|
|
14632
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/completion.mjs
|
|
14642
14633
|
function composeTaskCompletedCallbacks(callbacks) {
|
|
14643
14634
|
return (task, outcome, message) => {
|
|
14644
14635
|
const callback = callbacks[outcome];
|
|
@@ -14678,7 +14669,7 @@ function createErrorMessage(fs5, task, message) {
|
|
|
14678
14669
|
return `Failed to compile entry-point ${task.entryPoint.name} (${format})` + message;
|
|
14679
14670
|
}
|
|
14680
14671
|
|
|
14681
|
-
// bazel-out/
|
|
14672
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/async_locker.mjs
|
|
14682
14673
|
var TimeoutError = class extends Error {
|
|
14683
14674
|
constructor() {
|
|
14684
14675
|
super(...arguments);
|
|
@@ -14727,11 +14718,11 @@ Waiting up to ${this.retryDelay * this.retryAttempts / 1e3}s for it to finish.
|
|
|
14727
14718
|
}
|
|
14728
14719
|
};
|
|
14729
14720
|
|
|
14730
|
-
// bazel-out/
|
|
14721
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
14731
14722
|
import { fork } from "child_process";
|
|
14732
14723
|
import module5 from "module";
|
|
14733
14724
|
|
|
14734
|
-
// bazel-out/
|
|
14725
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
14735
14726
|
var LogLevel;
|
|
14736
14727
|
(function(LogLevel2) {
|
|
14737
14728
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -14740,7 +14731,7 @@ var LogLevel;
|
|
|
14740
14731
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
14741
14732
|
})(LogLevel || (LogLevel = {}));
|
|
14742
14733
|
|
|
14743
|
-
// bazel-out/
|
|
14734
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
14744
14735
|
var RESET = "[0m";
|
|
14745
14736
|
var RED = "[31m";
|
|
14746
14737
|
var YELLOW = "[33m";
|
|
@@ -14770,7 +14761,7 @@ var ConsoleLogger = class {
|
|
|
14770
14761
|
}
|
|
14771
14762
|
};
|
|
14772
14763
|
|
|
14773
|
-
// bazel-out/
|
|
14764
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file.mjs
|
|
14774
14765
|
import module4 from "module";
|
|
14775
14766
|
function getLockFilePath(fs5) {
|
|
14776
14767
|
const requireFn = typeof __require !== "undefined" ? __require : module4.createRequire(__ESM_IMPORT_META_URL__);
|
|
@@ -14778,7 +14769,7 @@ function getLockFilePath(fs5) {
|
|
|
14778
14769
|
return fs5.resolve(ngccEntryPointFile, "../__ngcc_lock_file__");
|
|
14779
14770
|
}
|
|
14780
14771
|
|
|
14781
|
-
// bazel-out/
|
|
14772
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
|
|
14782
14773
|
function removeLockFile(fs5, logger, lockFilePath, pid) {
|
|
14783
14774
|
try {
|
|
14784
14775
|
logger.debug(`Attempting to remove lock-file at ${lockFilePath}.`);
|
|
@@ -14798,7 +14789,7 @@ function removeLockFile(fs5, logger, lockFilePath, pid) {
|
|
|
14798
14789
|
}
|
|
14799
14790
|
}
|
|
14800
14791
|
|
|
14801
|
-
// bazel-out/
|
|
14792
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
14802
14793
|
var LockFileWithChildProcess = class {
|
|
14803
14794
|
constructor(fs5, logger) {
|
|
14804
14795
|
this.fs = fs5;
|
|
@@ -14847,7 +14838,7 @@ function getLockFileUnlockerScriptPath(fileSystem) {
|
|
|
14847
14838
|
return fileSystem.resolve(unlockerScriptPath);
|
|
14848
14839
|
}
|
|
14849
14840
|
|
|
14850
|
-
// bazel-out/
|
|
14841
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/sync_locker.mjs
|
|
14851
14842
|
var SyncLocker = class {
|
|
14852
14843
|
constructor(lockFile) {
|
|
14853
14844
|
this.lockFile = lockFile;
|
|
@@ -14878,16 +14869,16 @@ If you are running multiple builds in parallel then you might try pre-processing
|
|
|
14878
14869
|
}
|
|
14879
14870
|
};
|
|
14880
14871
|
|
|
14881
|
-
// bazel-out/
|
|
14872
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
14882
14873
|
import {
|
|
14883
14874
|
cpus
|
|
14884
14875
|
} from "os";
|
|
14885
14876
|
|
|
14886
|
-
// bazel-out/
|
|
14877
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
14887
14878
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
14888
14879
|
import ts112 from "typescript";
|
|
14889
14880
|
|
|
14890
|
-
// bazel-out/
|
|
14881
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
14891
14882
|
var UNKNOWN_ERROR_CODE = 500;
|
|
14892
14883
|
var EmitFlags;
|
|
14893
14884
|
(function(EmitFlags2) {
|
|
@@ -14900,7 +14891,7 @@ var EmitFlags;
|
|
|
14900
14891
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
14901
14892
|
})(EmitFlags || (EmitFlags = {}));
|
|
14902
14893
|
|
|
14903
|
-
// bazel-out/
|
|
14894
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
14904
14895
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
14905
14896
|
import fs3 from "fs";
|
|
14906
14897
|
import {
|
|
@@ -14913,18 +14904,18 @@ import {
|
|
|
14913
14904
|
} from "path";
|
|
14914
14905
|
import ts69 from "typescript";
|
|
14915
14906
|
|
|
14916
|
-
// bazel-out/
|
|
14907
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
14917
14908
|
import ts65 from "typescript";
|
|
14918
14909
|
|
|
14919
|
-
// bazel-out/
|
|
14910
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
14920
14911
|
import ts63 from "typescript";
|
|
14921
14912
|
var spreadElementSyntaxKind = ts63.SyntaxKind.SpreadElement || ts63.SyntaxKind.SpreadElementExpression;
|
|
14922
14913
|
var empty = ts63.createNodeArray();
|
|
14923
14914
|
|
|
14924
|
-
// bazel-out/
|
|
14915
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
14925
14916
|
import ts64 from "typescript";
|
|
14926
14917
|
|
|
14927
|
-
// bazel-out/
|
|
14918
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
14928
14919
|
import {
|
|
14929
14920
|
basename as basename4,
|
|
14930
14921
|
dirname as dirname4,
|
|
@@ -14933,7 +14924,7 @@ import {
|
|
|
14933
14924
|
} from "path";
|
|
14934
14925
|
import ts67 from "typescript";
|
|
14935
14926
|
|
|
14936
|
-
// bazel-out/
|
|
14927
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
14937
14928
|
import {
|
|
14938
14929
|
basename as basename3,
|
|
14939
14930
|
dirname as dirname3,
|
|
@@ -14943,14 +14934,14 @@ import {
|
|
|
14943
14934
|
} from "path";
|
|
14944
14935
|
import ts66 from "typescript";
|
|
14945
14936
|
|
|
14946
|
-
// bazel-out/
|
|
14937
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
14947
14938
|
import { syntaxError } from "@angular/compiler";
|
|
14948
14939
|
import {
|
|
14949
14940
|
relative as relative3
|
|
14950
14941
|
} from "path";
|
|
14951
14942
|
import ts68 from "typescript";
|
|
14952
14943
|
|
|
14953
|
-
// bazel-out/
|
|
14944
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
14954
14945
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
14955
14946
|
import {
|
|
14956
14947
|
readFileSync as readFileSync2
|
|
@@ -14958,19 +14949,19 @@ import {
|
|
|
14958
14949
|
import * as path6 from "path";
|
|
14959
14950
|
import ts111 from "typescript";
|
|
14960
14951
|
|
|
14961
|
-
// bazel-out/
|
|
14952
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
14962
14953
|
import ts70 from "typescript";
|
|
14963
14954
|
|
|
14964
|
-
// bazel-out/
|
|
14955
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
14965
14956
|
import ts99 from "typescript";
|
|
14966
14957
|
|
|
14967
|
-
// bazel-out/
|
|
14958
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
14968
14959
|
import ts71 from "typescript";
|
|
14969
14960
|
|
|
14970
|
-
// bazel-out/
|
|
14961
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
14971
14962
|
import ts72 from "typescript";
|
|
14972
14963
|
|
|
14973
|
-
// bazel-out/
|
|
14964
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
14974
14965
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
14975
14966
|
var UpdateMode;
|
|
14976
14967
|
(function(UpdateMode2) {
|
|
@@ -14978,22 +14969,22 @@ var UpdateMode;
|
|
|
14978
14969
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
14979
14970
|
})(UpdateMode || (UpdateMode = {}));
|
|
14980
14971
|
|
|
14981
|
-
// bazel-out/
|
|
14972
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
14982
14973
|
import ts76 from "typescript";
|
|
14983
14974
|
|
|
14984
|
-
// bazel-out/
|
|
14975
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
14985
14976
|
import ts73 from "typescript";
|
|
14986
14977
|
|
|
14987
|
-
// bazel-out/
|
|
14978
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
14988
14979
|
var NgExtension = Symbol("NgExtension");
|
|
14989
14980
|
|
|
14990
|
-
// bazel-out/
|
|
14981
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
14991
14982
|
import ts74 from "typescript";
|
|
14992
14983
|
|
|
14993
|
-
// bazel-out/
|
|
14984
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
14994
14985
|
import ts75 from "typescript";
|
|
14995
14986
|
|
|
14996
|
-
// bazel-out/
|
|
14987
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
14997
14988
|
var IncrementalStateKind;
|
|
14998
14989
|
(function(IncrementalStateKind2) {
|
|
14999
14990
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -15001,17 +14992,17 @@ var IncrementalStateKind;
|
|
|
15001
14992
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
15002
14993
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
15003
14994
|
|
|
15004
|
-
// bazel-out/
|
|
14995
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
15005
14996
|
var PhaseKind;
|
|
15006
14997
|
(function(PhaseKind2) {
|
|
15007
14998
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
15008
14999
|
PhaseKind2[PhaseKind2["TypeCheckAndEmit"] = 1] = "TypeCheckAndEmit";
|
|
15009
15000
|
})(PhaseKind || (PhaseKind = {}));
|
|
15010
15001
|
|
|
15011
|
-
// bazel-out/
|
|
15002
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
15012
15003
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
15013
15004
|
|
|
15014
|
-
// bazel-out/
|
|
15005
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
15015
15006
|
var IdentifierKind;
|
|
15016
15007
|
(function(IdentifierKind2) {
|
|
15017
15008
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -15023,38 +15014,38 @@ var IdentifierKind;
|
|
|
15023
15014
|
IdentifierKind2[IdentifierKind2["Variable"] = 6] = "Variable";
|
|
15024
15015
|
})(IdentifierKind || (IdentifierKind = {}));
|
|
15025
15016
|
|
|
15026
|
-
// bazel-out/
|
|
15017
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
15027
15018
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
15028
15019
|
|
|
15029
|
-
// bazel-out/
|
|
15020
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
15030
15021
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
15031
15022
|
|
|
15032
|
-
// bazel-out/
|
|
15023
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
15033
15024
|
import ts77 from "typescript";
|
|
15034
15025
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
15035
15026
|
var RESOURCE_MARKER_TS = RESOURCE_MARKER + ".ts";
|
|
15036
15027
|
|
|
15037
|
-
// bazel-out/
|
|
15028
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
15038
15029
|
import ts78 from "typescript";
|
|
15039
15030
|
|
|
15040
|
-
// bazel-out/
|
|
15031
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15041
15032
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
15042
15033
|
|
|
15043
|
-
// bazel-out/
|
|
15034
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
15044
15035
|
var OptimizeFor;
|
|
15045
15036
|
(function(OptimizeFor2) {
|
|
15046
15037
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
15047
15038
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
15048
15039
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
15049
15040
|
|
|
15050
|
-
// bazel-out/
|
|
15041
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
15051
15042
|
var CompletionKind;
|
|
15052
15043
|
(function(CompletionKind2) {
|
|
15053
15044
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
15054
15045
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
15055
15046
|
})(CompletionKind || (CompletionKind = {}));
|
|
15056
15047
|
|
|
15057
|
-
// bazel-out/
|
|
15048
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
15058
15049
|
var SymbolKind;
|
|
15059
15050
|
(function(SymbolKind2) {
|
|
15060
15051
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -15070,18 +15061,18 @@ var SymbolKind;
|
|
|
15070
15061
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
15071
15062
|
})(SymbolKind || (SymbolKind = {}));
|
|
15072
15063
|
|
|
15073
|
-
// bazel-out/
|
|
15064
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
15074
15065
|
import ts79 from "typescript";
|
|
15075
15066
|
|
|
15076
|
-
// bazel-out/
|
|
15067
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
15077
15068
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
15078
15069
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
15079
15070
|
|
|
15080
|
-
// bazel-out/
|
|
15071
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
15081
15072
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
15082
15073
|
import ts81 from "typescript";
|
|
15083
15074
|
|
|
15084
|
-
// bazel-out/
|
|
15075
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
15085
15076
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
15086
15077
|
import ts80 from "typescript";
|
|
15087
15078
|
var CommentTriviaType;
|
|
@@ -15097,19 +15088,19 @@ var ExpressionIdentifier;
|
|
|
15097
15088
|
})(ExpressionIdentifier || (ExpressionIdentifier = {}));
|
|
15098
15089
|
var IGNORE_FOR_DIAGNOSTICS_MARKER = `${CommentTriviaType.DIAGNOSTIC}:ignore`;
|
|
15099
15090
|
|
|
15100
|
-
// bazel-out/
|
|
15091
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15101
15092
|
import ts95 from "typescript";
|
|
15102
15093
|
|
|
15103
|
-
// bazel-out/
|
|
15094
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
15104
15095
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
15105
15096
|
import ts82 from "typescript";
|
|
15106
15097
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
15107
15098
|
|
|
15108
|
-
// bazel-out/
|
|
15099
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
15109
15100
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
15110
15101
|
import ts88 from "typescript";
|
|
15111
15102
|
|
|
15112
|
-
// bazel-out/
|
|
15103
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
15113
15104
|
import ts83 from "typescript";
|
|
15114
15105
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
15115
15106
|
ts83.SyntaxKind.ParenthesizedExpression,
|
|
@@ -15128,19 +15119,19 @@ var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
|
15128
15119
|
ts83.SyntaxKind.UndefinedKeyword
|
|
15129
15120
|
]);
|
|
15130
15121
|
|
|
15131
|
-
// bazel-out/
|
|
15122
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
15132
15123
|
import ts87 from "typescript";
|
|
15133
15124
|
|
|
15134
|
-
// bazel-out/
|
|
15125
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
15135
15126
|
import ts86 from "typescript";
|
|
15136
15127
|
|
|
15137
|
-
// bazel-out/
|
|
15128
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
15138
15129
|
import ts85 from "typescript";
|
|
15139
15130
|
|
|
15140
|
-
// bazel-out/
|
|
15131
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
15141
15132
|
import ts84 from "typescript";
|
|
15142
15133
|
|
|
15143
|
-
// bazel-out/
|
|
15134
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
15144
15135
|
var TcbInliningRequirement;
|
|
15145
15136
|
(function(TcbInliningRequirement2) {
|
|
15146
15137
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -15148,22 +15139,22 @@ var TcbInliningRequirement;
|
|
|
15148
15139
|
TcbInliningRequirement2[TcbInliningRequirement2["None"] = 2] = "None";
|
|
15149
15140
|
})(TcbInliningRequirement || (TcbInliningRequirement = {}));
|
|
15150
15141
|
|
|
15151
|
-
// bazel-out/
|
|
15142
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
15152
15143
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
15153
15144
|
import ts89 from "typescript";
|
|
15154
15145
|
|
|
15155
|
-
// bazel-out/
|
|
15146
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
15156
15147
|
import ts90 from "typescript";
|
|
15157
15148
|
|
|
15158
|
-
// bazel-out/
|
|
15149
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
15159
15150
|
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";
|
|
15160
15151
|
import ts93 from "typescript";
|
|
15161
15152
|
|
|
15162
|
-
// bazel-out/
|
|
15153
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
15163
15154
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
15164
15155
|
import ts91 from "typescript";
|
|
15165
15156
|
|
|
15166
|
-
// bazel-out/
|
|
15157
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
15167
15158
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
15168
15159
|
import ts92 from "typescript";
|
|
15169
15160
|
var NULL_AS_ANY = ts92.createAsExpression(ts92.createNull(), ts92.createKeywordTypeNode(ts92.SyntaxKind.AnyKeyword));
|
|
@@ -15263,10 +15254,10 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
15263
15254
|
};
|
|
15264
15255
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
15265
15256
|
|
|
15266
|
-
// bazel-out/
|
|
15257
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
15267
15258
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
15268
15259
|
|
|
15269
|
-
// bazel-out/
|
|
15260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
15270
15261
|
var TcbGenericContextBehavior;
|
|
15271
15262
|
(function(TcbGenericContextBehavior2) {
|
|
15272
15263
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -15275,38 +15266,38 @@ var TcbGenericContextBehavior;
|
|
|
15275
15266
|
})(TcbGenericContextBehavior || (TcbGenericContextBehavior = {}));
|
|
15276
15267
|
var INFER_TYPE_FOR_CIRCULAR_OP_EXPR = ts93.createNonNullExpression(ts93.createNull());
|
|
15277
15268
|
|
|
15278
|
-
// bazel-out/
|
|
15269
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15279
15270
|
import ts94 from "typescript";
|
|
15280
15271
|
|
|
15281
|
-
// bazel-out/
|
|
15272
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15282
15273
|
var InliningMode;
|
|
15283
15274
|
(function(InliningMode2) {
|
|
15284
15275
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
15285
15276
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
15286
15277
|
})(InliningMode || (InliningMode = {}));
|
|
15287
15278
|
|
|
15288
|
-
// bazel-out/
|
|
15279
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15289
15280
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15290
15281
|
|
|
15291
|
-
// bazel-out/
|
|
15282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15292
15283
|
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";
|
|
15293
15284
|
import ts96 from "typescript";
|
|
15294
15285
|
|
|
15295
|
-
// bazel-out/
|
|
15286
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15296
15287
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
15297
15288
|
|
|
15298
|
-
// bazel-out/
|
|
15289
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
15299
15290
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
15300
15291
|
import ts97 from "typescript";
|
|
15301
15292
|
|
|
15302
|
-
// bazel-out/
|
|
15293
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
15303
15294
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
15304
15295
|
|
|
15305
|
-
// bazel-out/
|
|
15296
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
15306
15297
|
import { Binary } from "@angular/compiler";
|
|
15307
15298
|
import ts98 from "typescript";
|
|
15308
15299
|
|
|
15309
|
-
// bazel-out/
|
|
15300
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
15310
15301
|
var CompilationTicketKind;
|
|
15311
15302
|
(function(CompilationTicketKind2) {
|
|
15312
15303
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -15314,11 +15305,11 @@ var CompilationTicketKind;
|
|
|
15314
15305
|
CompilationTicketKind2[CompilationTicketKind2["IncrementalResource"] = 2] = "IncrementalResource";
|
|
15315
15306
|
})(CompilationTicketKind || (CompilationTicketKind = {}));
|
|
15316
15307
|
|
|
15317
|
-
// bazel-out/
|
|
15308
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
15318
15309
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
15319
15310
|
import ts102 from "typescript";
|
|
15320
15311
|
|
|
15321
|
-
// bazel-out/
|
|
15312
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
15322
15313
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
15323
15314
|
import {
|
|
15324
15315
|
relative as relative5,
|
|
@@ -15326,42 +15317,42 @@ import {
|
|
|
15326
15317
|
sep as sep2
|
|
15327
15318
|
} from "path";
|
|
15328
15319
|
|
|
15329
|
-
// bazel-out/
|
|
15320
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
15330
15321
|
import ts100 from "typescript";
|
|
15331
15322
|
var tsVersion = ts100.version;
|
|
15332
15323
|
|
|
15333
|
-
// bazel-out/
|
|
15324
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
15334
15325
|
import ts101 from "typescript";
|
|
15335
15326
|
|
|
15336
|
-
// bazel-out/
|
|
15327
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
15337
15328
|
import ts104 from "typescript";
|
|
15338
15329
|
|
|
15339
|
-
// bazel-out/
|
|
15330
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
15340
15331
|
import ts103 from "typescript";
|
|
15341
15332
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
15342
15333
|
|
|
15343
|
-
// bazel-out/
|
|
15334
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
15344
15335
|
import ts105 from "typescript";
|
|
15345
15336
|
|
|
15346
|
-
// bazel-out/
|
|
15337
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
15347
15338
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
15348
15339
|
import ts106 from "typescript";
|
|
15349
15340
|
|
|
15350
|
-
// bazel-out/
|
|
15341
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
15351
15342
|
import ts107 from "typescript";
|
|
15352
15343
|
|
|
15353
|
-
// bazel-out/
|
|
15344
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
15354
15345
|
import ts109 from "typescript";
|
|
15355
15346
|
|
|
15356
|
-
// bazel-out/
|
|
15347
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
15357
15348
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
15358
15349
|
import ts108 from "typescript";
|
|
15359
15350
|
|
|
15360
|
-
// bazel-out/
|
|
15351
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
15361
15352
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
15362
15353
|
import ts110 from "typescript";
|
|
15363
15354
|
|
|
15364
|
-
// bazel-out/
|
|
15355
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
15365
15356
|
var VE_DISABLED_MESSAGE = `
|
|
15366
15357
|
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
15367
15358
|
and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
|
|
@@ -15375,7 +15366,7 @@ var emptyModules = {
|
|
|
15375
15366
|
files: []
|
|
15376
15367
|
};
|
|
15377
15368
|
|
|
15378
|
-
// bazel-out/
|
|
15369
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
15379
15370
|
function calcProjectFileAndBasePath(project, host = getFileSystem()) {
|
|
15380
15371
|
const absProject = host.resolve(project);
|
|
15381
15372
|
const projectIsDir = host.lstat(absProject).isDirectory();
|
|
@@ -15474,7 +15465,7 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs5) {
|
|
|
15474
15465
|
return null;
|
|
15475
15466
|
}
|
|
15476
15467
|
|
|
15477
|
-
// bazel-out/
|
|
15468
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
15478
15469
|
function getSharedSetup(options2) {
|
|
15479
15470
|
const fileSystem = getFileSystem();
|
|
15480
15471
|
const absBasePath = absoluteFrom(options2.basePath);
|
|
@@ -15546,7 +15537,7 @@ function getMaxNumberOfWorkers() {
|
|
|
15546
15537
|
return numericMaxWorkers;
|
|
15547
15538
|
}
|
|
15548
15539
|
|
|
15549
|
-
// bazel-out/
|
|
15540
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/configuration.mjs
|
|
15550
15541
|
import { createHash } from "crypto";
|
|
15551
15542
|
import module6 from "module";
|
|
15552
15543
|
import semver from "semver";
|
|
@@ -15734,7 +15725,7 @@ var NgccConfiguration = class {
|
|
|
15734
15725
|
}
|
|
15735
15726
|
};
|
|
15736
15727
|
|
|
15737
|
-
// bazel-out/
|
|
15728
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.mjs
|
|
15738
15729
|
import { createHash as createHash2 } from "crypto";
|
|
15739
15730
|
var EntryPointManifest = class {
|
|
15740
15731
|
constructor(fs5, config, logger) {
|
|
@@ -15842,7 +15833,7 @@ var InvalidatingEntryPointManifest = class extends EntryPointManifest {
|
|
|
15842
15833
|
}
|
|
15843
15834
|
};
|
|
15844
15835
|
|
|
15845
|
-
// bazel-out/
|
|
15836
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
15846
15837
|
var PackageJsonUpdate = class {
|
|
15847
15838
|
constructor(writeChangesImpl) {
|
|
15848
15839
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -15934,7 +15925,7 @@ function positionProperty(ctx, prop, positioning) {
|
|
|
15934
15925
|
}
|
|
15935
15926
|
}
|
|
15936
15927
|
|
|
15937
|
-
// bazel-out/
|
|
15928
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/main.mjs
|
|
15938
15929
|
function mainNgcc(options2) {
|
|
15939
15930
|
const { basePath, targetEntryPointPath, propertiesToConsider, typingsOnly, compileAllFormats, logger, pathMappings, async, errorOnFailedEntryPoint, enableI18nLegacyMessageIdFormat, invalidateEntryPointManifest, fileSystem, absBasePath, projectPath, tsConfig, getFileWriter } = getSharedSetup(options2);
|
|
15940
15931
|
const config = new NgccConfiguration(fileSystem, projectPath);
|
|
@@ -16017,7 +16008,7 @@ function getEntryPointFinder(fs5, logger, resolver, config, entryPointManifest,
|
|
|
16017
16008
|
}
|
|
16018
16009
|
}
|
|
16019
16010
|
|
|
16020
|
-
// bazel-out/
|
|
16011
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/command_line_options.mjs
|
|
16021
16012
|
import yargs from "yargs";
|
|
16022
16013
|
function parseCommandLineOptions(args) {
|
|
16023
16014
|
var _a;
|
|
@@ -16108,7 +16099,7 @@ function parseCommandLineOptions(args) {
|
|
|
16108
16099
|
};
|
|
16109
16100
|
}
|
|
16110
16101
|
|
|
16111
|
-
// bazel-out/
|
|
16102
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/main-ngcc.mjs
|
|
16112
16103
|
process.title = "ngcc";
|
|
16113
16104
|
var startTime = Date.now();
|
|
16114
16105
|
var options = parseCommandLineOptions(process.argv.slice(2));
|