@angular/compiler-cli 13.0.0-rc.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.js +229 -228
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +315 -320
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +316 -321
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +280 -285
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- 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 +67 -65
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +229 -227
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +227 -225
- package/bundles/src/bin/ngc.js.map +2 -2
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/main.d.ts +4 -1
- package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
- package/src/ngtsc/diagnostics/index.d.ts +4 -2
- package/src/ngtsc/diagnostics/src/docs.d.ts +14 -0
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +16 -0
- package/src/ngtsc/diagnostics/src/util.d.ts +2 -0
- package/src/perform_compile.d.ts +0 -1
package/bundles/ngcc/index.js
CHANGED
|
@@ -30,17 +30,17 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
30
30
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
// bazel-out/
|
|
33
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs
|
|
34
34
|
import { dirname as dirname6, join as join6 } from "path";
|
|
35
35
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
38
38
|
import {
|
|
39
39
|
EOL
|
|
40
40
|
} from "os";
|
|
41
41
|
import ts from "typescript";
|
|
42
42
|
|
|
43
|
-
// bazel-out/
|
|
43
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
44
44
|
var InvalidFileSystem = class {
|
|
45
45
|
exists(path7) {
|
|
46
46
|
throw makeError();
|
|
@@ -128,13 +128,13 @@ function makeError() {
|
|
|
128
128
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// bazel-out/
|
|
131
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
132
132
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
133
133
|
function stripExtension(path7) {
|
|
134
134
|
return path7.replace(TS_DTS_JS_EXTENSION, "");
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
138
138
|
var fs = new InvalidFileSystem();
|
|
139
139
|
function getFileSystem() {
|
|
140
140
|
return fs;
|
|
@@ -175,7 +175,7 @@ function toRelativeImport(relativePath) {
|
|
|
175
175
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
// bazel-out/
|
|
178
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
179
179
|
var NgtscCompilerHost = class {
|
|
180
180
|
constructor(fs5, options = {}) {
|
|
181
181
|
this.fs = fs5;
|
|
@@ -228,7 +228,7 @@ var NgtscCompilerHost = class {
|
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
|
|
231
|
-
// bazel-out/
|
|
231
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
232
232
|
var LogicalProjectPath = {
|
|
233
233
|
relativePathBetween: function(from, to) {
|
|
234
234
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -274,7 +274,7 @@ function isWithinBasePath(base, path7) {
|
|
|
274
274
|
return isLocalRelativePath(relative(base, path7));
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
// bazel-out/
|
|
277
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
278
278
|
import {
|
|
279
279
|
copyFileSync,
|
|
280
280
|
existsSync,
|
|
@@ -419,13 +419,13 @@ function toggleCase(str) {
|
|
|
419
419
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
// bazel-out/
|
|
422
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
423
423
|
import ts9 from "typescript";
|
|
424
424
|
|
|
425
|
-
// bazel-out/
|
|
425
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
426
426
|
import ts3 from "typescript";
|
|
427
427
|
|
|
428
|
-
// bazel-out/
|
|
428
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
429
429
|
import ts2 from "typescript";
|
|
430
430
|
var D_TS = /\.d\.ts$/i;
|
|
431
431
|
function isSymbolWithValueDeclaration(symbol) {
|
|
@@ -493,7 +493,7 @@ function isAssignment(node) {
|
|
|
493
493
|
return ts2.isBinaryExpression(node) && node.operatorToken.kind === ts2.SyntaxKind.EqualsToken;
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
// bazel-out/
|
|
496
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
497
497
|
function findNamespaceOfIdentifier(id) {
|
|
498
498
|
return id.parent && ts3.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts3.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
499
499
|
}
|
|
@@ -578,10 +578,10 @@ function skipAliases(node) {
|
|
|
578
578
|
return node;
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
-
// bazel-out/
|
|
581
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
582
582
|
import ts8 from "typescript";
|
|
583
583
|
|
|
584
|
-
// bazel-out/
|
|
584
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
585
585
|
import ts4 from "typescript";
|
|
586
586
|
var Decorator = {
|
|
587
587
|
nodeForError: (decorator) => {
|
|
@@ -616,7 +616,7 @@ function isConcreteDeclaration(decl) {
|
|
|
616
616
|
return decl.kind === 0;
|
|
617
617
|
}
|
|
618
618
|
|
|
619
|
-
// bazel-out/
|
|
619
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
620
620
|
import ts5 from "typescript";
|
|
621
621
|
function typeToValue(typeNode, checker) {
|
|
622
622
|
if (typeNode === null) {
|
|
@@ -777,10 +777,10 @@ function extractModuleName(node) {
|
|
|
777
777
|
return node.moduleSpecifier.text;
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
-
// bazel-out/
|
|
780
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
781
781
|
import ts7 from "typescript";
|
|
782
782
|
|
|
783
|
-
// bazel-out/
|
|
783
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
784
784
|
import ts6 from "typescript";
|
|
785
785
|
function isNamedClassDeclaration(node) {
|
|
786
786
|
return ts6.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -795,7 +795,7 @@ function isIdentifier(node) {
|
|
|
795
795
|
return node !== void 0 && ts6.isIdentifier(node);
|
|
796
796
|
}
|
|
797
797
|
|
|
798
|
-
// bazel-out/
|
|
798
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
799
799
|
var TypeScriptReflectionHost = class {
|
|
800
800
|
constructor(checker) {
|
|
801
801
|
this.checker = checker;
|
|
@@ -1231,7 +1231,7 @@ function getExportedName(decl, originalId) {
|
|
|
1231
1231
|
}
|
|
1232
1232
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
1233
1233
|
|
|
1234
|
-
// bazel-out/
|
|
1234
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
1235
1235
|
function isDefined(value) {
|
|
1236
1236
|
return value !== void 0 && value !== null;
|
|
1237
1237
|
}
|
|
@@ -1313,7 +1313,7 @@ function stripExtension2(fileName) {
|
|
|
1313
1313
|
return fileName.replace(/\..+$/, "");
|
|
1314
1314
|
}
|
|
1315
1315
|
|
|
1316
|
-
// bazel-out/
|
|
1316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/module_resolver.mjs
|
|
1317
1317
|
var ModuleResolver = class {
|
|
1318
1318
|
constructor(fs5, pathMappings, relativeExtensions = ["", ".js", "/index.js"]) {
|
|
1319
1319
|
this.fs = fs5;
|
|
@@ -1442,7 +1442,7 @@ function isRelativeImport(from, to) {
|
|
|
1442
1442
|
return to.startsWith(from) && !to.includes("node_modules");
|
|
1443
1443
|
}
|
|
1444
1444
|
|
|
1445
|
-
// bazel-out/
|
|
1445
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_host.mjs
|
|
1446
1446
|
function createDependencyInfo() {
|
|
1447
1447
|
return { dependencies: new Set(), missing: new Set(), deepImports: new Set() };
|
|
1448
1448
|
}
|
|
@@ -1499,7 +1499,7 @@ var DependencyHostBase = class {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
};
|
|
1501
1501
|
|
|
1502
|
-
// bazel-out/
|
|
1502
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
1503
1503
|
var CommonJsDependencyHost = class extends DependencyHostBase {
|
|
1504
1504
|
canSkipFile(fileContents) {
|
|
1505
1505
|
return !hasRequireCalls(fileContents);
|
|
@@ -1543,20 +1543,20 @@ function hasRequireCalls(source) {
|
|
|
1543
1543
|
return /require\(['"]/.test(source);
|
|
1544
1544
|
}
|
|
1545
1545
|
|
|
1546
|
-
// bazel-out/
|
|
1546
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
1547
1547
|
import { DepGraph } from "dependency-graph";
|
|
1548
1548
|
import module2 from "module";
|
|
1549
1549
|
|
|
1550
|
-
// bazel-out/
|
|
1550
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
1551
1551
|
import ts15 from "typescript";
|
|
1552
1552
|
|
|
1553
|
-
// bazel-out/
|
|
1553
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
1554
1554
|
import ts14 from "typescript";
|
|
1555
1555
|
|
|
1556
|
-
// bazel-out/
|
|
1556
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
1557
1557
|
import ts12 from "typescript";
|
|
1558
1558
|
|
|
1559
|
-
// bazel-out/
|
|
1559
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
1560
1560
|
function isWithinPackage(packagePath, filePath) {
|
|
1561
1561
|
const relativePath = relative(packagePath, filePath);
|
|
1562
1562
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -1571,7 +1571,7 @@ var NoopDependencyTracker = class {
|
|
|
1571
1571
|
};
|
|
1572
1572
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
1573
1573
|
|
|
1574
|
-
// bazel-out/
|
|
1574
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/ngcc_host.mjs
|
|
1575
1575
|
import ts10 from "typescript";
|
|
1576
1576
|
var PRE_R3_MARKER = "__PRE_R3__";
|
|
1577
1577
|
var POST_R3_MARKER = "__POST_R3__";
|
|
@@ -1579,13 +1579,13 @@ function isSwitchableVariableDeclaration(node) {
|
|
|
1579
1579
|
return ts10.isVariableDeclaration(node) && !!node.initializer && ts10.isIdentifier(node.initializer) && node.initializer.text.endsWith(PRE_R3_MARKER);
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
|
-
// bazel-out/
|
|
1582
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
1583
1583
|
import ts11 from "typescript";
|
|
1584
1584
|
function stripParentheses(node) {
|
|
1585
1585
|
return ts11.isParenthesizedExpression(node) ? node.expression : node;
|
|
1586
1586
|
}
|
|
1587
1587
|
|
|
1588
|
-
// bazel-out/
|
|
1588
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
1589
1589
|
var DECORATORS = "decorators";
|
|
1590
1590
|
var PROP_DECORATORS = "propDecorators";
|
|
1591
1591
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -2816,7 +2816,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
2816
2816
|
return outerNode;
|
|
2817
2817
|
}
|
|
2818
2818
|
|
|
2819
|
-
// bazel-out/
|
|
2819
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
2820
2820
|
import ts13 from "typescript";
|
|
2821
2821
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
2822
2822
|
getBaseClassExpression(clazz) {
|
|
@@ -3150,7 +3150,7 @@ function getIifeFn(classSymbol) {
|
|
|
3150
3150
|
return iifeWrapper && ts13.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
3151
3151
|
}
|
|
3152
3152
|
|
|
3153
|
-
// bazel-out/
|
|
3153
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
3154
3154
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
3155
3155
|
constructor(logger, isCore, src, dts = null) {
|
|
3156
3156
|
super(logger, isCore, src, dts);
|
|
@@ -3482,25 +3482,31 @@ var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
|
3482
3482
|
}
|
|
3483
3483
|
};
|
|
3484
3484
|
function parseStatementForUmdModule(statement) {
|
|
3485
|
-
const
|
|
3486
|
-
if (
|
|
3485
|
+
const wrapper = getUmdWrapper(statement);
|
|
3486
|
+
if (wrapper === null)
|
|
3487
3487
|
return null;
|
|
3488
|
-
const
|
|
3489
|
-
if (!ts14.isFunctionExpression(wrapperFn))
|
|
3490
|
-
return null;
|
|
3491
|
-
const factoryFnParamIndex = wrapperFn.parameters.findIndex((parameter) => ts14.isIdentifier(parameter.name) && parameter.name.text === "factory");
|
|
3488
|
+
const factoryFnParamIndex = wrapper.fn.parameters.findIndex((parameter) => ts14.isIdentifier(parameter.name) && parameter.name.text === "factory");
|
|
3492
3489
|
if (factoryFnParamIndex === -1)
|
|
3493
3490
|
return null;
|
|
3494
|
-
const factoryFn = stripParentheses(
|
|
3491
|
+
const factoryFn = stripParentheses(wrapper.call.arguments[factoryFnParamIndex]);
|
|
3495
3492
|
if (!factoryFn || !ts14.isFunctionExpression(factoryFn))
|
|
3496
3493
|
return null;
|
|
3497
|
-
return { wrapperFn, factoryFn };
|
|
3494
|
+
return { wrapperFn: wrapper.fn, factoryFn };
|
|
3498
3495
|
}
|
|
3499
|
-
function
|
|
3500
|
-
if (!ts14.isExpressionStatement(statement)
|
|
3496
|
+
function getUmdWrapper(statement) {
|
|
3497
|
+
if (!ts14.isExpressionStatement(statement))
|
|
3501
3498
|
return null;
|
|
3499
|
+
if (ts14.isParenthesizedExpression(statement.expression) && ts14.isCallExpression(statement.expression.expression) && ts14.isFunctionExpression(statement.expression.expression.expression)) {
|
|
3500
|
+
const call = statement.expression.expression;
|
|
3501
|
+
const fn = statement.expression.expression.expression;
|
|
3502
|
+
return { call, fn };
|
|
3503
|
+
}
|
|
3504
|
+
if (ts14.isCallExpression(statement.expression) && ts14.isParenthesizedExpression(statement.expression.expression) && ts14.isFunctionExpression(statement.expression.expression.expression)) {
|
|
3505
|
+
const call = statement.expression;
|
|
3506
|
+
const fn = statement.expression.expression.expression;
|
|
3507
|
+
return { call, fn };
|
|
3502
3508
|
}
|
|
3503
|
-
return
|
|
3509
|
+
return null;
|
|
3504
3510
|
}
|
|
3505
3511
|
function getImportsOfUmdModule(umdModule) {
|
|
3506
3512
|
const imports = [];
|
|
@@ -3535,7 +3541,7 @@ function isExportsIdentifier(node) {
|
|
|
3535
3541
|
return ts14.isIdentifier(node) && node.text === "exports";
|
|
3536
3542
|
}
|
|
3537
3543
|
|
|
3538
|
-
// bazel-out/
|
|
3544
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
3539
3545
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
3540
3546
|
var NO_ENTRY_POINT = "no-entry-point";
|
|
3541
3547
|
var IGNORED_ENTRY_POINT = "ignored-entry-point";
|
|
@@ -3683,7 +3689,7 @@ function getPackageNameAndVersion(fs5, packagePath, packagePackageJson, entryPoi
|
|
|
3683
3689
|
};
|
|
3684
3690
|
}
|
|
3685
3691
|
|
|
3686
|
-
// bazel-out/
|
|
3692
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
3687
3693
|
var builtinNodeJsModules = new Set(module2.builtinModules);
|
|
3688
3694
|
var DependencyResolver = class {
|
|
3689
3695
|
constructor(fs5, logger, config, hosts, typingsHost) {
|
|
@@ -3785,7 +3791,7 @@ var DependencyResolver = class {
|
|
|
3785
3791
|
}
|
|
3786
3792
|
};
|
|
3787
3793
|
|
|
3788
|
-
// bazel-out/
|
|
3794
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.mjs
|
|
3789
3795
|
import ts16 from "typescript";
|
|
3790
3796
|
var EsmDependencyHost = class extends DependencyHostBase {
|
|
3791
3797
|
constructor(fs5, moduleResolver, scanImportExpressions = true) {
|
|
@@ -3951,7 +3957,7 @@ function canPrecedeARegex(kind) {
|
|
|
3951
3957
|
}
|
|
3952
3958
|
}
|
|
3953
3959
|
|
|
3954
|
-
// bazel-out/
|
|
3960
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.mjs
|
|
3955
3961
|
var DtsDependencyHost = class extends EsmDependencyHost {
|
|
3956
3962
|
constructor(fs5, pathMappings) {
|
|
3957
3963
|
super(fs5, new ModuleResolver(fs5, pathMappings, ["", ".d.ts", "/index.d.ts", ".js", "/index.js"]), false);
|
|
@@ -3961,7 +3967,7 @@ var DtsDependencyHost = class extends EsmDependencyHost {
|
|
|
3961
3967
|
}
|
|
3962
3968
|
};
|
|
3963
3969
|
|
|
3964
|
-
// bazel-out/
|
|
3970
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.mjs
|
|
3965
3971
|
import ts17 from "typescript";
|
|
3966
3972
|
var UmdDependencyHost = class extends DependencyHostBase {
|
|
3967
3973
|
canSkipFile(fileContents) {
|
|
@@ -3981,7 +3987,7 @@ var UmdDependencyHost = class extends DependencyHostBase {
|
|
|
3981
3987
|
}
|
|
3982
3988
|
};
|
|
3983
3989
|
|
|
3984
|
-
// bazel-out/
|
|
3990
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/utils.mjs
|
|
3985
3991
|
function getBasePaths(logger, sourceDirectory, pathMappings) {
|
|
3986
3992
|
const fs5 = getFileSystem();
|
|
3987
3993
|
const basePaths = [sourceDirectory];
|
|
@@ -4091,7 +4097,7 @@ function convertToLeaf(node, path7) {
|
|
|
4091
4097
|
node.path = path7;
|
|
4092
4098
|
}
|
|
4093
4099
|
|
|
4094
|
-
// bazel-out/
|
|
4100
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.mjs
|
|
4095
4101
|
var DirectoryWalkerEntryPointFinder = class {
|
|
4096
4102
|
constructor(logger, resolver, entryPointCollector, entryPointManifest, sourceDirectory, pathMappings) {
|
|
4097
4103
|
this.logger = logger;
|
|
@@ -4118,7 +4124,7 @@ var DirectoryWalkerEntryPointFinder = class {
|
|
|
4118
4124
|
}
|
|
4119
4125
|
};
|
|
4120
4126
|
|
|
4121
|
-
// bazel-out/
|
|
4127
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
4122
4128
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
4123
4129
|
var InPlaceFileWriter = class {
|
|
4124
4130
|
constructor(fs5, logger, errorOnFailedEntryPoint) {
|
|
@@ -4167,7 +4173,7 @@ This error may be caused by one of the following:
|
|
|
4167
4173
|
}
|
|
4168
4174
|
};
|
|
4169
4175
|
|
|
4170
|
-
// bazel-out/
|
|
4176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
4171
4177
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
4172
4178
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
4173
4179
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -4275,7 +4281,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
4275
4281
|
}
|
|
4276
4282
|
};
|
|
4277
4283
|
|
|
4278
|
-
// bazel-out/
|
|
4284
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.mjs
|
|
4279
4285
|
var EntryPointCollector = class {
|
|
4280
4286
|
constructor(fs5, config, logger, resolver) {
|
|
4281
4287
|
this.fs = fs5;
|
|
@@ -4353,7 +4359,7 @@ function isIgnorablePath(path7) {
|
|
|
4353
4359
|
return path7.startsWith(".") || path7 === "node_modules" || path7 === NGCC_DIRECTORY;
|
|
4354
4360
|
}
|
|
4355
4361
|
|
|
4356
|
-
// bazel-out/
|
|
4362
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
4357
4363
|
function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
4358
4364
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
4359
4365
|
return {
|
|
@@ -4363,7 +4369,7 @@ function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
|
4363
4369
|
}
|
|
4364
4370
|
}
|
|
4365
4371
|
|
|
4366
|
-
// bazel-out/
|
|
4372
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.mjs
|
|
4367
4373
|
var TracingEntryPointFinder = class {
|
|
4368
4374
|
constructor(fs5, config, logger, resolver, basePath, pathMappings) {
|
|
4369
4375
|
this.fs = fs5;
|
|
@@ -4400,7 +4406,7 @@ var TracingEntryPointFinder = class {
|
|
|
4400
4406
|
}
|
|
4401
4407
|
};
|
|
4402
4408
|
|
|
4403
|
-
// bazel-out/
|
|
4409
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.mjs
|
|
4404
4410
|
var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
4405
4411
|
constructor(fs5, config, logger, resolver, entryPointCollector, entryPointManifest, basePath, tsConfig, projectPath) {
|
|
4406
4412
|
super(fs5, config, logger, resolver, basePath, getPathMappingsFromTsConfig(fs5, tsConfig, projectPath));
|
|
@@ -4451,8 +4457,8 @@ var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
4451
4457
|
}
|
|
4452
4458
|
};
|
|
4453
4459
|
|
|
4454
|
-
// bazel-out/
|
|
4455
|
-
var NGCC_VERSION = "13.0.0
|
|
4460
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
|
|
4461
|
+
var NGCC_VERSION = "13.0.0";
|
|
4456
4462
|
function needsCleaning(packageJson) {
|
|
4457
4463
|
return Object.values(packageJson.__processed_by_ivy_ngcc__ || {}).some((value) => value !== NGCC_VERSION);
|
|
4458
4464
|
}
|
|
@@ -4493,7 +4499,7 @@ function markAsProcessed(pkgJsonUpdater, packageJson, packageJsonPath, formatPro
|
|
|
4493
4499
|
update.writeChanges(packageJsonPath, packageJson);
|
|
4494
4500
|
}
|
|
4495
4501
|
|
|
4496
|
-
// bazel-out/
|
|
4502
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.mjs
|
|
4497
4503
|
var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
4498
4504
|
constructor(fs5, config, logger, resolver, basePath, pathMappings, targetPath) {
|
|
4499
4505
|
super(fs5, config, logger, resolver, basePath, pathMappings);
|
|
@@ -4608,7 +4614,7 @@ var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
4608
4614
|
}
|
|
4609
4615
|
};
|
|
4610
4616
|
|
|
4611
|
-
// bazel-out/
|
|
4617
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
4612
4618
|
var DtsProcessing;
|
|
4613
4619
|
(function(DtsProcessing2) {
|
|
4614
4620
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -4617,7 +4623,7 @@ var DtsProcessing;
|
|
|
4617
4623
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
4618
4624
|
var TaskDependencies = Map;
|
|
4619
4625
|
|
|
4620
|
-
// bazel-out/
|
|
4626
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
4621
4627
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
4622
4628
|
function computeTaskDependencies(tasks, graph) {
|
|
4623
4629
|
const dependencies = new TaskDependencies();
|
|
@@ -4677,7 +4683,7 @@ function sortTasksByPriority(tasks, dependencies) {
|
|
|
4677
4683
|
});
|
|
4678
4684
|
}
|
|
4679
4685
|
|
|
4680
|
-
// bazel-out/
|
|
4686
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.mjs
|
|
4681
4687
|
var BaseTaskQueue = class {
|
|
4682
4688
|
constructor(logger, tasks, dependencies) {
|
|
4683
4689
|
this.logger = logger;
|
|
@@ -4743,7 +4749,7 @@ ${indentation}- ${stringifyTask(task)}`).join("");
|
|
|
4743
4749
|
}
|
|
4744
4750
|
};
|
|
4745
4751
|
|
|
4746
|
-
// bazel-out/
|
|
4752
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.mjs
|
|
4747
4753
|
var ParallelTaskQueue = class extends BaseTaskQueue {
|
|
4748
4754
|
constructor(logger, tasks, dependencies) {
|
|
4749
4755
|
super(logger, sortTasksByPriority(tasks, dependencies), dependencies);
|
|
@@ -4783,7 +4789,7 @@ ${indentation}- ${stringifyTask(task)} (${blockingTasks.size}): ` + this.stringi
|
|
|
4783
4789
|
}
|
|
4784
4790
|
};
|
|
4785
4791
|
|
|
4786
|
-
// bazel-out/
|
|
4792
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.mjs
|
|
4787
4793
|
var SerialTaskQueue = class extends BaseTaskQueue {
|
|
4788
4794
|
computeNextTask() {
|
|
4789
4795
|
const nextTask = this.tasks.shift() || null;
|
|
@@ -4798,7 +4804,7 @@ var SerialTaskQueue = class extends BaseTaskQueue {
|
|
|
4798
4804
|
}
|
|
4799
4805
|
};
|
|
4800
4806
|
|
|
4801
|
-
// bazel-out/
|
|
4807
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/utils.mjs
|
|
4802
4808
|
function isLocalDirectory(fs5, path7) {
|
|
4803
4809
|
if (fs5.exists(path7)) {
|
|
4804
4810
|
const stat = fs5.lstat(path7);
|
|
@@ -4808,7 +4814,7 @@ function isLocalDirectory(fs5, path7) {
|
|
|
4808
4814
|
}
|
|
4809
4815
|
}
|
|
4810
4816
|
|
|
4811
|
-
// bazel-out/
|
|
4817
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.mjs
|
|
4812
4818
|
var PackageJsonCleaner = class {
|
|
4813
4819
|
constructor(fs5) {
|
|
4814
4820
|
this.fs = fs5;
|
|
@@ -4847,7 +4853,7 @@ var BackupFileCleaner = class {
|
|
|
4847
4853
|
}
|
|
4848
4854
|
};
|
|
4849
4855
|
|
|
4850
|
-
// bazel-out/
|
|
4856
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.mjs
|
|
4851
4857
|
var PackageCleaner = class {
|
|
4852
4858
|
constructor(fs5, cleaners) {
|
|
4853
4859
|
this.fs = fs5;
|
|
@@ -4890,7 +4896,7 @@ function cleanOutdatedPackages(fileSystem, entryPoints) {
|
|
|
4890
4896
|
return packagesToClean.size > 0;
|
|
4891
4897
|
}
|
|
4892
4898
|
|
|
4893
|
-
// bazel-out/
|
|
4899
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.mjs
|
|
4894
4900
|
function getAnalyzeEntryPointsFn(logger, finder, fileSystem, supportedPropertiesToConsider, typingsOnly, compileAllFormats, propertiesToConsider, inParallel) {
|
|
4895
4901
|
return () => {
|
|
4896
4902
|
logger.debug("Analyzing entry-points...");
|
|
@@ -4979,11 +4985,11 @@ function getTaskQueue(logger, inParallel, tasks, graph) {
|
|
|
4979
4985
|
return inParallel ? new ParallelTaskQueue(logger, tasks, dependencies) : new SerialTaskQueue(logger, tasks, dependencies);
|
|
4980
4986
|
}
|
|
4981
4987
|
|
|
4982
|
-
// bazel-out/
|
|
4988
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
4983
4989
|
import cluster2 from "cluster";
|
|
4984
4990
|
import module3 from "module";
|
|
4985
4991
|
|
|
4986
|
-
// bazel-out/
|
|
4992
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
4987
4993
|
import cluster from "cluster";
|
|
4988
4994
|
var Deferred = class {
|
|
4989
4995
|
constructor() {
|
|
@@ -5006,7 +5012,7 @@ var sendMessageToWorker = (workerId, msg) => {
|
|
|
5006
5012
|
});
|
|
5007
5013
|
};
|
|
5008
5014
|
|
|
5009
|
-
// bazel-out/
|
|
5015
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
5010
5016
|
var ClusterMaster = class {
|
|
5011
5017
|
constructor(maxWorkerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, analyzeEntryPoints, createTaskCompletedCallback) {
|
|
5012
5018
|
this.maxWorkerCount = maxWorkerCount;
|
|
@@ -5199,7 +5205,7 @@ function getClusterWorkerScriptPath(fileSystem) {
|
|
|
5199
5205
|
return fileSystem.resolve(workerScriptPath);
|
|
5200
5206
|
}
|
|
5201
5207
|
|
|
5202
|
-
// bazel-out/
|
|
5208
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/executor.mjs
|
|
5203
5209
|
var ClusterExecutor = class {
|
|
5204
5210
|
constructor(workerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, lockFile, createTaskCompletedCallback) {
|
|
5205
5211
|
this.workerCount = workerCount;
|
|
@@ -5219,13 +5225,10 @@ var ClusterExecutor = class {
|
|
|
5219
5225
|
}
|
|
5220
5226
|
};
|
|
5221
5227
|
|
|
5222
|
-
// bazel-out/
|
|
5228
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
5223
5229
|
import ts62 from "typescript";
|
|
5224
5230
|
|
|
5225
|
-
// bazel-out/
|
|
5226
|
-
import ts18 from "typescript";
|
|
5227
|
-
|
|
5228
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
5231
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
5229
5232
|
var ErrorCode;
|
|
5230
5233
|
(function(ErrorCode2) {
|
|
5231
5234
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -5275,6 +5278,8 @@ var ErrorCode;
|
|
|
5275
5278
|
ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
|
|
5276
5279
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
5277
5280
|
})(ErrorCode || (ErrorCode = {}));
|
|
5281
|
+
|
|
5282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
5278
5283
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
5279
5284
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
5280
5285
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -5284,11 +5289,20 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
5284
5289
|
ErrorCode.MISSING_REFERENCE_TARGET,
|
|
5285
5290
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
5286
5291
|
]);
|
|
5292
|
+
|
|
5293
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
5294
|
+
import ts18 from "typescript";
|
|
5295
|
+
|
|
5296
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
5297
|
+
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
5298
|
+
function replaceTsWithNgInErrors(errors) {
|
|
5299
|
+
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
5300
|
+
}
|
|
5287
5301
|
function ngErrorCode(code) {
|
|
5288
5302
|
return parseInt("-99" + code);
|
|
5289
5303
|
}
|
|
5290
5304
|
|
|
5291
|
-
// bazel-out/
|
|
5305
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
5292
5306
|
var FatalDiagnosticError = class {
|
|
5293
5307
|
constructor(code, node, message, relatedInformation) {
|
|
5294
5308
|
this.code = code;
|
|
@@ -5328,16 +5342,10 @@ function isFatalDiagnosticError(err) {
|
|
|
5328
5342
|
return err._isFatalDiagnosticError === true;
|
|
5329
5343
|
}
|
|
5330
5344
|
|
|
5331
|
-
// bazel-out/
|
|
5332
|
-
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
5333
|
-
function replaceTsWithNgInErrors(errors) {
|
|
5334
|
-
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
5335
|
-
}
|
|
5336
|
-
|
|
5337
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
5345
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
5338
5346
|
import ts20 from "typescript";
|
|
5339
5347
|
|
|
5340
|
-
// bazel-out/
|
|
5348
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
5341
5349
|
import ts19 from "typescript";
|
|
5342
5350
|
function patchTsGetExpandoInitializer() {
|
|
5343
5351
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -5442,7 +5450,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
5442
5450
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
5443
5451
|
}
|
|
5444
5452
|
|
|
5445
|
-
// bazel-out/
|
|
5453
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
5446
5454
|
function makeBundleProgram(fs5, isCore, pkg, path7, r3FileName, options, host, additionalFiles = []) {
|
|
5447
5455
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs5, fs5.dirname(path7), r3FileName) : null;
|
|
5448
5456
|
let rootPaths = r3SymbolsPath ? [path7, r3SymbolsPath, ...additionalFiles] : [path7, ...additionalFiles];
|
|
@@ -5472,7 +5480,7 @@ function findR3SymbolsPath(fs5, directory, filename) {
|
|
|
5472
5480
|
return null;
|
|
5473
5481
|
}
|
|
5474
5482
|
|
|
5475
|
-
// bazel-out/
|
|
5483
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
5476
5484
|
import ts21 from "typescript";
|
|
5477
5485
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
5478
5486
|
constructor(fs5, options, cache, moduleResolutionCache, packagePath) {
|
|
@@ -5517,7 +5525,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
5517
5525
|
}
|
|
5518
5526
|
};
|
|
5519
5527
|
|
|
5520
|
-
// bazel-out/
|
|
5528
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
5521
5529
|
import ts22 from "typescript";
|
|
5522
5530
|
var SharedFileCache = class {
|
|
5523
5531
|
constructor(fs5) {
|
|
@@ -5618,7 +5626,7 @@ function createModuleResolutionCache(fs5) {
|
|
|
5618
5626
|
});
|
|
5619
5627
|
}
|
|
5620
5628
|
|
|
5621
|
-
// bazel-out/
|
|
5629
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
5622
5630
|
function makeEntryPointBundle(fs5, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, dtsProcessing, pathMappings, mirrorDtsFromSrc = false, enableI18nLegacyMessageIdFormat = true) {
|
|
5623
5631
|
const rootDir = entryPoint.packagePath;
|
|
5624
5632
|
const options = __spreadValues({ allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir }, pathMappings);
|
|
@@ -5659,13 +5667,13 @@ function computePotentialDtsFilesFromJsFiles(fs5, srcProgram, formatPath, typing
|
|
|
5659
5667
|
return additionalFiles;
|
|
5660
5668
|
}
|
|
5661
5669
|
|
|
5662
|
-
// bazel-out/
|
|
5670
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
5663
5671
|
import ts61 from "typescript";
|
|
5664
5672
|
|
|
5665
|
-
// bazel-out/
|
|
5673
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
5666
5674
|
import { ConstantPool as ConstantPool2 } from "@angular/compiler";
|
|
5667
5675
|
|
|
5668
|
-
// bazel-out/
|
|
5676
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
5669
5677
|
var PerfPhase;
|
|
5670
5678
|
(function(PerfPhase2) {
|
|
5671
5679
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -5730,7 +5738,7 @@ var PerfCheckpoint;
|
|
|
5730
5738
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
5731
5739
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
5732
5740
|
|
|
5733
|
-
// bazel-out/
|
|
5741
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
5734
5742
|
var NoopPerfRecorder = class {
|
|
5735
5743
|
eventCount() {
|
|
5736
5744
|
}
|
|
@@ -5747,18 +5755,18 @@ var NoopPerfRecorder = class {
|
|
|
5747
5755
|
};
|
|
5748
5756
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
5749
5757
|
|
|
5750
|
-
// bazel-out/
|
|
5758
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
5751
5759
|
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";
|
|
5752
5760
|
import ts46 from "typescript";
|
|
5753
5761
|
|
|
5754
|
-
// bazel-out/
|
|
5762
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
5755
5763
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
5756
5764
|
|
|
5757
|
-
// bazel-out/
|
|
5765
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
5758
5766
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
5759
5767
|
import ts24 from "typescript";
|
|
5760
5768
|
|
|
5761
|
-
// bazel-out/
|
|
5769
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
5762
5770
|
import ts23 from "typescript";
|
|
5763
5771
|
function findExportedNameOfNode(target, file, reflector) {
|
|
5764
5772
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -5782,7 +5790,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
5782
5790
|
return foundExportName;
|
|
5783
5791
|
}
|
|
5784
5792
|
|
|
5785
|
-
// bazel-out/
|
|
5793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
5786
5794
|
var ImportFlags;
|
|
5787
5795
|
(function(ImportFlags2) {
|
|
5788
5796
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -5912,7 +5920,7 @@ var LogicalProjectStrategy = class {
|
|
|
5912
5920
|
}
|
|
5913
5921
|
};
|
|
5914
5922
|
|
|
5915
|
-
// bazel-out/
|
|
5923
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
5916
5924
|
var PrivateExportAliasingHost = class {
|
|
5917
5925
|
constructor(host) {
|
|
5918
5926
|
this.host = host;
|
|
@@ -5942,13 +5950,13 @@ var PrivateExportAliasingHost = class {
|
|
|
5942
5950
|
}
|
|
5943
5951
|
};
|
|
5944
5952
|
|
|
5945
|
-
// bazel-out/
|
|
5953
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
5946
5954
|
function relativePathBetween(from, to) {
|
|
5947
5955
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
5948
5956
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
5949
5957
|
}
|
|
5950
5958
|
|
|
5951
|
-
// bazel-out/
|
|
5959
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
5952
5960
|
var NoopImportRewriter = class {
|
|
5953
5961
|
shouldImportSymbol(symbol, specifier) {
|
|
5954
5962
|
return true;
|
|
@@ -6006,14 +6014,14 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
6006
6014
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
6007
6015
|
}
|
|
6008
6016
|
|
|
6009
|
-
// bazel-out/
|
|
6017
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
6010
6018
|
import ts25 from "typescript";
|
|
6011
6019
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
6012
6020
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
6013
6021
|
expr[DefaultImportDeclaration] = importDecl;
|
|
6014
6022
|
}
|
|
6015
6023
|
|
|
6016
|
-
// bazel-out/
|
|
6024
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
6017
6025
|
var Reference = class {
|
|
6018
6026
|
constructor(node, bestGuessOwningModule = null) {
|
|
6019
6027
|
this.node = node;
|
|
@@ -6076,7 +6084,7 @@ var Reference = class {
|
|
|
6076
6084
|
}
|
|
6077
6085
|
};
|
|
6078
6086
|
|
|
6079
|
-
// bazel-out/
|
|
6087
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
6080
6088
|
var ModuleResolver2 = class {
|
|
6081
6089
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
6082
6090
|
this.program = program;
|
|
@@ -6093,7 +6101,7 @@ var ModuleResolver2 = class {
|
|
|
6093
6101
|
}
|
|
6094
6102
|
};
|
|
6095
6103
|
|
|
6096
|
-
// bazel-out/
|
|
6104
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
6097
6105
|
import ts26 from "typescript";
|
|
6098
6106
|
var SemanticSymbol = class {
|
|
6099
6107
|
constructor(decl) {
|
|
@@ -6109,13 +6117,13 @@ function getSymbolIdentifier(decl) {
|
|
|
6109
6117
|
return decl.name.text;
|
|
6110
6118
|
}
|
|
6111
6119
|
|
|
6112
|
-
// bazel-out/
|
|
6120
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
6113
6121
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
6114
6122
|
|
|
6115
|
-
// bazel-out/
|
|
6123
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
6116
6124
|
import ts27 from "typescript";
|
|
6117
6125
|
|
|
6118
|
-
// bazel-out/
|
|
6126
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
6119
6127
|
function isSymbolEqual(a, b) {
|
|
6120
6128
|
if (a.decl === b.decl) {
|
|
6121
6129
|
return true;
|
|
@@ -6165,7 +6173,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
6165
6173
|
return true;
|
|
6166
6174
|
}
|
|
6167
6175
|
|
|
6168
|
-
// bazel-out/
|
|
6176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
6169
6177
|
function extractSemanticTypeParameters(node) {
|
|
6170
6178
|
if (!ts27.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
6171
6179
|
return null;
|
|
@@ -6185,17 +6193,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
6185
6193
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
6186
6194
|
}
|
|
6187
6195
|
|
|
6188
|
-
// bazel-out/
|
|
6196
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
6189
6197
|
var MetaType;
|
|
6190
6198
|
(function(MetaType2) {
|
|
6191
6199
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
6192
6200
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
6193
6201
|
})(MetaType || (MetaType = {}));
|
|
6194
6202
|
|
|
6195
|
-
// bazel-out/
|
|
6203
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
6196
6204
|
import ts29 from "typescript";
|
|
6197
6205
|
|
|
6198
|
-
// bazel-out/
|
|
6206
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
6199
6207
|
var ClassPropertyMapping = class {
|
|
6200
6208
|
constructor(forwardMap) {
|
|
6201
6209
|
this.forwardMap = forwardMap;
|
|
@@ -6271,7 +6279,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
6271
6279
|
return reverseMap;
|
|
6272
6280
|
}
|
|
6273
6281
|
|
|
6274
|
-
// bazel-out/
|
|
6282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
6275
6283
|
import ts28 from "typescript";
|
|
6276
6284
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
6277
6285
|
if (!ts28.isTupleTypeNode(def)) {
|
|
@@ -6438,7 +6446,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
6438
6446
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
6439
6447
|
}
|
|
6440
6448
|
|
|
6441
|
-
// bazel-out/
|
|
6449
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
6442
6450
|
var DtsMetadataReader = class {
|
|
6443
6451
|
constructor(checker, reflector) {
|
|
6444
6452
|
this.checker = checker;
|
|
@@ -6538,7 +6546,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
6538
6546
|
return null;
|
|
6539
6547
|
}
|
|
6540
6548
|
|
|
6541
|
-
// bazel-out/
|
|
6549
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
6542
6550
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
6543
6551
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
6544
6552
|
if (topMeta === null) {
|
|
@@ -6595,7 +6603,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
6595
6603
|
});
|
|
6596
6604
|
}
|
|
6597
6605
|
|
|
6598
|
-
// bazel-out/
|
|
6606
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
6599
6607
|
var LocalMetadataRegistry = class {
|
|
6600
6608
|
constructor() {
|
|
6601
6609
|
this.directives = new Map();
|
|
@@ -6654,7 +6662,7 @@ var InjectableClassRegistry = class {
|
|
|
6654
6662
|
}
|
|
6655
6663
|
};
|
|
6656
6664
|
|
|
6657
|
-
// bazel-out/
|
|
6665
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
6658
6666
|
var ResourceRegistry = class {
|
|
6659
6667
|
constructor() {
|
|
6660
6668
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -6719,10 +6727,10 @@ var ResourceRegistry = class {
|
|
|
6719
6727
|
}
|
|
6720
6728
|
};
|
|
6721
6729
|
|
|
6722
|
-
// bazel-out/
|
|
6730
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
6723
6731
|
import ts30 from "typescript";
|
|
6724
6732
|
|
|
6725
|
-
// bazel-out/
|
|
6733
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
6726
6734
|
var DynamicValue = class {
|
|
6727
6735
|
constructor(node, reason, code) {
|
|
6728
6736
|
this.node = node;
|
|
@@ -6807,7 +6815,7 @@ var DynamicValue = class {
|
|
|
6807
6815
|
}
|
|
6808
6816
|
};
|
|
6809
6817
|
|
|
6810
|
-
// bazel-out/
|
|
6818
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
6811
6819
|
var ResolvedModule = class {
|
|
6812
6820
|
constructor(exports, evaluate) {
|
|
6813
6821
|
this.exports = exports;
|
|
@@ -6837,7 +6845,7 @@ var EnumValue = class {
|
|
|
6837
6845
|
var KnownFn = class {
|
|
6838
6846
|
};
|
|
6839
6847
|
|
|
6840
|
-
// bazel-out/
|
|
6848
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
6841
6849
|
function describeResolvedType(value, maxDepth = 1) {
|
|
6842
6850
|
var _a, _b;
|
|
6843
6851
|
if (value === null) {
|
|
@@ -6963,10 +6971,10 @@ function getContainerNode(node) {
|
|
|
6963
6971
|
return node.getSourceFile();
|
|
6964
6972
|
}
|
|
6965
6973
|
|
|
6966
|
-
// bazel-out/
|
|
6974
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
6967
6975
|
import ts31 from "typescript";
|
|
6968
6976
|
|
|
6969
|
-
// bazel-out/
|
|
6977
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
6970
6978
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
6971
6979
|
constructor(lhs) {
|
|
6972
6980
|
super();
|
|
@@ -7019,7 +7027,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
7019
7027
|
}
|
|
7020
7028
|
};
|
|
7021
7029
|
|
|
7022
|
-
// bazel-out/
|
|
7030
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
7023
7031
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
7024
7032
|
};
|
|
7025
7033
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -7072,7 +7080,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
7072
7080
|
}
|
|
7073
7081
|
};
|
|
7074
7082
|
|
|
7075
|
-
// bazel-out/
|
|
7083
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
7076
7084
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
7077
7085
|
var assignTsHelperFn = new AssignHelperFn();
|
|
7078
7086
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -7096,7 +7104,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
7096
7104
|
}
|
|
7097
7105
|
}
|
|
7098
7106
|
|
|
7099
|
-
// bazel-out/
|
|
7107
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
7100
7108
|
function literalBinaryOp(op) {
|
|
7101
7109
|
return { op, literal: true };
|
|
7102
7110
|
}
|
|
@@ -7681,7 +7689,7 @@ function owningModule(context, override = null) {
|
|
|
7681
7689
|
}
|
|
7682
7690
|
}
|
|
7683
7691
|
|
|
7684
|
-
// bazel-out/
|
|
7692
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
7685
7693
|
var PartialEvaluator = class {
|
|
7686
7694
|
constructor(host, checker, dependencyTracker) {
|
|
7687
7695
|
this.host = host;
|
|
@@ -7701,7 +7709,7 @@ var PartialEvaluator = class {
|
|
|
7701
7709
|
}
|
|
7702
7710
|
};
|
|
7703
7711
|
|
|
7704
|
-
// bazel-out/
|
|
7712
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
7705
7713
|
var CompilationMode;
|
|
7706
7714
|
(function(CompilationMode2) {
|
|
7707
7715
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -7719,13 +7727,13 @@ var HandlerFlags;
|
|
|
7719
7727
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
7720
7728
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
7721
7729
|
|
|
7722
|
-
// bazel-out/
|
|
7730
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
7723
7731
|
import ts32 from "typescript";
|
|
7724
7732
|
|
|
7725
|
-
// bazel-out/
|
|
7733
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
7726
7734
|
import ts33 from "typescript";
|
|
7727
7735
|
|
|
7728
|
-
// bazel-out/
|
|
7736
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
7729
7737
|
var TraitState;
|
|
7730
7738
|
(function(TraitState2) {
|
|
7731
7739
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -7780,7 +7788,7 @@ var TraitImpl = class {
|
|
|
7780
7788
|
}
|
|
7781
7789
|
};
|
|
7782
7790
|
|
|
7783
|
-
// bazel-out/
|
|
7791
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
7784
7792
|
var TraitCompiler = class {
|
|
7785
7793
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
7786
7794
|
this.handlers = handlers;
|
|
@@ -8217,10 +8225,10 @@ var TraitCompiler = class {
|
|
|
8217
8225
|
}
|
|
8218
8226
|
};
|
|
8219
8227
|
|
|
8220
|
-
// bazel-out/
|
|
8228
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
8221
8229
|
import ts38 from "typescript";
|
|
8222
8230
|
|
|
8223
|
-
// bazel-out/
|
|
8231
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
8224
8232
|
var Context = class {
|
|
8225
8233
|
constructor(isStatement) {
|
|
8226
8234
|
this.isStatement = isStatement;
|
|
@@ -8233,7 +8241,7 @@ var Context = class {
|
|
|
8233
8241
|
}
|
|
8234
8242
|
};
|
|
8235
8243
|
|
|
8236
|
-
// bazel-out/
|
|
8244
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
8237
8245
|
import ts34 from "typescript";
|
|
8238
8246
|
var ImportManager = class {
|
|
8239
8247
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -8269,7 +8277,7 @@ var ImportManager = class {
|
|
|
8269
8277
|
}
|
|
8270
8278
|
};
|
|
8271
8279
|
|
|
8272
|
-
// bazel-out/
|
|
8280
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
8273
8281
|
import {
|
|
8274
8282
|
BinaryOperator,
|
|
8275
8283
|
ConditionalExpr,
|
|
@@ -8513,7 +8521,7 @@ function createRange(span) {
|
|
|
8513
8521
|
};
|
|
8514
8522
|
}
|
|
8515
8523
|
|
|
8516
|
-
// bazel-out/
|
|
8524
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
8517
8525
|
import {
|
|
8518
8526
|
BuiltinTypeName
|
|
8519
8527
|
} from "@angular/compiler";
|
|
@@ -8692,7 +8700,7 @@ var TypeTranslatorVisitor = class {
|
|
|
8692
8700
|
}
|
|
8693
8701
|
};
|
|
8694
8702
|
|
|
8695
|
-
// bazel-out/
|
|
8703
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
8696
8704
|
import ts36 from "typescript";
|
|
8697
8705
|
var PureAnnotation;
|
|
8698
8706
|
(function(PureAnnotation2) {
|
|
@@ -8864,15 +8872,15 @@ function attachComments(statement, leadingComments) {
|
|
|
8864
8872
|
}
|
|
8865
8873
|
}
|
|
8866
8874
|
|
|
8867
|
-
// bazel-out/
|
|
8875
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
8868
8876
|
function translateStatement(statement, imports, options = {}) {
|
|
8869
8877
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
8870
8878
|
}
|
|
8871
8879
|
|
|
8872
|
-
// bazel-out/
|
|
8880
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
8873
8881
|
import ts37 from "typescript";
|
|
8874
8882
|
|
|
8875
|
-
// bazel-out/
|
|
8883
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
8876
8884
|
var DtsTransformRegistry = class {
|
|
8877
8885
|
constructor() {
|
|
8878
8886
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -8923,20 +8931,20 @@ function markForEmitAsSingleLine(node) {
|
|
|
8923
8931
|
ts38.forEachChild(node, markForEmitAsSingleLine);
|
|
8924
8932
|
}
|
|
8925
8933
|
|
|
8926
|
-
// bazel-out/
|
|
8934
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
8927
8935
|
import { ConstantPool } from "@angular/compiler";
|
|
8928
8936
|
import ts40 from "typescript";
|
|
8929
8937
|
|
|
8930
|
-
// bazel-out/
|
|
8938
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
8931
8939
|
import ts39 from "typescript";
|
|
8932
8940
|
|
|
8933
|
-
// bazel-out/
|
|
8941
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
8934
8942
|
var NO_DECORATORS = new Set();
|
|
8935
8943
|
|
|
8936
|
-
// bazel-out/
|
|
8944
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8937
8945
|
import ts42 from "typescript";
|
|
8938
8946
|
|
|
8939
|
-
// bazel-out/
|
|
8947
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
8940
8948
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
8941
8949
|
import ts41 from "typescript";
|
|
8942
8950
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -9296,7 +9304,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
9296
9304
|
};
|
|
9297
9305
|
}
|
|
9298
9306
|
|
|
9299
|
-
// bazel-out/
|
|
9307
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
9300
9308
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
9301
9309
|
var _a;
|
|
9302
9310
|
let chainedMessage;
|
|
@@ -9392,11 +9400,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
9392
9400
|
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}.`);
|
|
9393
9401
|
}
|
|
9394
9402
|
|
|
9395
|
-
// bazel-out/
|
|
9403
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
9396
9404
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
9397
9405
|
import ts44 from "typescript";
|
|
9398
9406
|
|
|
9399
|
-
// bazel-out/
|
|
9407
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
9400
9408
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
9401
9409
|
function compileNgFactoryDefField(metadata) {
|
|
9402
9410
|
const res = compileFactoryFunction(metadata);
|
|
@@ -9407,7 +9415,7 @@ function compileDeclareFactory(metadata) {
|
|
|
9407
9415
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
9408
9416
|
}
|
|
9409
9417
|
|
|
9410
|
-
// bazel-out/
|
|
9418
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
9411
9419
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
9412
9420
|
import ts43 from "typescript";
|
|
9413
9421
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -9495,7 +9503,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
9495
9503
|
return result.transformed[0];
|
|
9496
9504
|
}
|
|
9497
9505
|
|
|
9498
|
-
// bazel-out/
|
|
9506
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
9499
9507
|
var EMPTY_OBJECT = {};
|
|
9500
9508
|
var FIELD_DECORATORS = [
|
|
9501
9509
|
"Input",
|
|
@@ -10057,8 +10065,8 @@ var QUERY_TYPES = new Set([
|
|
|
10057
10065
|
"ViewChildren"
|
|
10058
10066
|
]);
|
|
10059
10067
|
|
|
10060
|
-
// bazel-out/
|
|
10061
|
-
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2,
|
|
10068
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
10069
|
+
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";
|
|
10062
10070
|
import ts45 from "typescript";
|
|
10063
10071
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
10064
10072
|
constructor() {
|
|
@@ -10105,7 +10113,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
10105
10113
|
}
|
|
10106
10114
|
};
|
|
10107
10115
|
var NgModuleDecoratorHandler = class {
|
|
10108
|
-
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf
|
|
10116
|
+
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf) {
|
|
10109
10117
|
this.reflector = reflector;
|
|
10110
10118
|
this.evaluator = evaluator;
|
|
10111
10119
|
this.metaReader = metaReader;
|
|
@@ -10118,7 +10126,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
10118
10126
|
this.annotateForClosureCompiler = annotateForClosureCompiler;
|
|
10119
10127
|
this.injectableRegistry = injectableRegistry;
|
|
10120
10128
|
this.perf = perf;
|
|
10121
|
-
this.localeId = localeId;
|
|
10122
10129
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
10123
10130
|
this.name = NgModuleDecoratorHandler.name;
|
|
10124
10131
|
}
|
|
@@ -10404,14 +10411,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
10404
10411
|
type: injectorDef.type
|
|
10405
10412
|
}
|
|
10406
10413
|
];
|
|
10407
|
-
if (this.localeId) {
|
|
10408
|
-
res.push({
|
|
10409
|
-
name: "\u0275loc",
|
|
10410
|
-
initializer: new LiteralExpr3(this.localeId),
|
|
10411
|
-
statements: [],
|
|
10412
|
-
type: STRING_TYPE
|
|
10413
|
-
});
|
|
10414
|
-
}
|
|
10415
10414
|
return res;
|
|
10416
10415
|
}
|
|
10417
10416
|
_toR3Reference(valueRef, valueContext, typeContext) {
|
|
@@ -10500,7 +10499,7 @@ function isNgModule(node, compilation) {
|
|
|
10500
10499
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
10501
10500
|
}
|
|
10502
10501
|
|
|
10503
|
-
// bazel-out/
|
|
10502
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
10504
10503
|
var EMPTY_MAP = new Map();
|
|
10505
10504
|
var EMPTY_ARRAY = [];
|
|
10506
10505
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -11384,8 +11383,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
11384
11383
|
return null;
|
|
11385
11384
|
}
|
|
11386
11385
|
|
|
11387
|
-
// bazel-out/
|
|
11388
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as
|
|
11386
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
11387
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
11389
11388
|
import ts47 from "typescript";
|
|
11390
11389
|
var InjectableDecoratorHandler = class {
|
|
11391
11390
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -11473,7 +11472,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
11473
11472
|
type,
|
|
11474
11473
|
typeArgumentCount,
|
|
11475
11474
|
internalType,
|
|
11476
|
-
providedIn: createR3ProviderExpression(new
|
|
11475
|
+
providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
|
|
11477
11476
|
};
|
|
11478
11477
|
} else if (decorator.args.length === 1) {
|
|
11479
11478
|
const metaNode = decorator.args[0];
|
|
@@ -11481,7 +11480,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
11481
11480
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
11482
11481
|
}
|
|
11483
11482
|
const meta = reflectObjectLiteral(metaNode);
|
|
11484
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new
|
|
11483
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new LiteralExpr3(null), false);
|
|
11485
11484
|
let deps = void 0;
|
|
11486
11485
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
11487
11486
|
const depsExpr = meta.get("deps");
|
|
@@ -11584,7 +11583,7 @@ function getDep(dep, reflector) {
|
|
|
11584
11583
|
return meta;
|
|
11585
11584
|
}
|
|
11586
11585
|
|
|
11587
|
-
// bazel-out/
|
|
11586
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
11588
11587
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
11589
11588
|
import ts48 from "typescript";
|
|
11590
11589
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -11709,7 +11708,7 @@ var PipeDecoratorHandler = class {
|
|
|
11709
11708
|
}
|
|
11710
11709
|
};
|
|
11711
11710
|
|
|
11712
|
-
// bazel-out/
|
|
11711
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
11713
11712
|
var CycleAnalyzer = class {
|
|
11714
11713
|
constructor(importGraph) {
|
|
11715
11714
|
this.importGraph = importGraph;
|
|
@@ -11780,7 +11779,7 @@ var Cycle = class {
|
|
|
11780
11779
|
}
|
|
11781
11780
|
};
|
|
11782
11781
|
|
|
11783
|
-
// bazel-out/
|
|
11782
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
11784
11783
|
import ts49 from "typescript";
|
|
11785
11784
|
var ImportGraph = class {
|
|
11786
11785
|
constructor(checker, perf) {
|
|
@@ -11863,7 +11862,7 @@ var Found = class {
|
|
|
11863
11862
|
}
|
|
11864
11863
|
};
|
|
11865
11864
|
|
|
11866
|
-
// bazel-out/
|
|
11865
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
11867
11866
|
var MetadataDtsModuleScopeResolver = class {
|
|
11868
11867
|
constructor(dtsMetaReader, aliasingHost) {
|
|
11869
11868
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -11949,7 +11948,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
11949
11948
|
}
|
|
11950
11949
|
};
|
|
11951
11950
|
|
|
11952
|
-
// bazel-out/
|
|
11951
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
11953
11952
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
11954
11953
|
import ts50 from "typescript";
|
|
11955
11954
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12257,7 +12256,7 @@ function reexportCollision(module7, refA, refB) {
|
|
|
12257
12256
|
]);
|
|
12258
12257
|
}
|
|
12259
12258
|
|
|
12260
|
-
// bazel-out/
|
|
12259
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12261
12260
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12262
12261
|
import ts51 from "typescript";
|
|
12263
12262
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12318,7 +12317,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12318
12317
|
}
|
|
12319
12318
|
};
|
|
12320
12319
|
|
|
12321
|
-
// bazel-out/
|
|
12320
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
12322
12321
|
import ts52 from "typescript";
|
|
12323
12322
|
function isClassDeclaration(clazz) {
|
|
12324
12323
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -12401,7 +12400,7 @@ function reifySourceFile(expr) {
|
|
|
12401
12400
|
return stmt.declarationList.declarations[0].initializer;
|
|
12402
12401
|
}
|
|
12403
12402
|
|
|
12404
|
-
// bazel-out/
|
|
12403
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
12405
12404
|
var MissingInjectableMigration = class {
|
|
12406
12405
|
apply(clazz, host) {
|
|
12407
12406
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -12506,7 +12505,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
12506
12505
|
return decorator.import.name;
|
|
12507
12506
|
}
|
|
12508
12507
|
|
|
12509
|
-
// bazel-out/
|
|
12508
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
12510
12509
|
var UndecoratedChildMigration = class {
|
|
12511
12510
|
apply(clazz, host) {
|
|
12512
12511
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -12541,7 +12540,7 @@ var UndecoratedChildMigration = class {
|
|
|
12541
12540
|
}
|
|
12542
12541
|
};
|
|
12543
12542
|
|
|
12544
|
-
// bazel-out/
|
|
12543
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
12545
12544
|
var UndecoratedParentMigration = class {
|
|
12546
12545
|
apply(clazz, host) {
|
|
12547
12546
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -12574,7 +12573,7 @@ function determineBaseClass(clazz, host) {
|
|
|
12574
12573
|
return baseClass;
|
|
12575
12574
|
}
|
|
12576
12575
|
|
|
12577
|
-
// bazel-out/
|
|
12576
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
12578
12577
|
import ts53 from "typescript";
|
|
12579
12578
|
var DefaultMigrationHost = class {
|
|
12580
12579
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -12634,7 +12633,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
12634
12633
|
return clone;
|
|
12635
12634
|
}
|
|
12636
12635
|
|
|
12637
|
-
// bazel-out/
|
|
12636
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
12638
12637
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
12639
12638
|
constructor(handlers, ngccReflector) {
|
|
12640
12639
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null);
|
|
@@ -12679,10 +12678,10 @@ var NoIncrementalBuild = class {
|
|
|
12679
12678
|
}
|
|
12680
12679
|
};
|
|
12681
12680
|
|
|
12682
|
-
// bazel-out/
|
|
12681
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
12683
12682
|
var DecorationAnalyses = Map;
|
|
12684
12683
|
|
|
12685
|
-
// bazel-out/
|
|
12684
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
12686
12685
|
var NgccResourceLoader = class {
|
|
12687
12686
|
constructor(fs5) {
|
|
12688
12687
|
this.fs = fs5;
|
|
@@ -12838,7 +12837,7 @@ var DecorationAnalyzer = class {
|
|
|
12838
12837
|
}
|
|
12839
12838
|
};
|
|
12840
12839
|
|
|
12841
|
-
// bazel-out/
|
|
12840
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
12842
12841
|
import ts54 from "typescript";
|
|
12843
12842
|
var ModuleWithProvidersAnalyses = Map;
|
|
12844
12843
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -12977,7 +12976,7 @@ function isAnyKeyword(typeParam) {
|
|
|
12977
12976
|
return typeParam.kind === ts54.SyntaxKind.AnyKeyword;
|
|
12978
12977
|
}
|
|
12979
12978
|
|
|
12980
|
-
// bazel-out/
|
|
12979
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
12981
12980
|
var NgccReferencesRegistry = class {
|
|
12982
12981
|
constructor(host) {
|
|
12983
12982
|
this.host = host;
|
|
@@ -12998,7 +12997,7 @@ var NgccReferencesRegistry = class {
|
|
|
12998
12997
|
}
|
|
12999
12998
|
};
|
|
13000
12999
|
|
|
13001
|
-
// bazel-out/
|
|
13000
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
13002
13001
|
var PrivateDeclarationsAnalyzer = class {
|
|
13003
13002
|
constructor(host, referencesRegistry) {
|
|
13004
13003
|
this.host = host;
|
|
@@ -13039,7 +13038,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
13039
13038
|
}
|
|
13040
13039
|
};
|
|
13041
13040
|
|
|
13042
|
-
// bazel-out/
|
|
13041
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.mjs
|
|
13043
13042
|
var SwitchMarkerAnalyses = Map;
|
|
13044
13043
|
var SwitchMarkerAnalyzer = class {
|
|
13045
13044
|
constructor(host, packagePath) {
|
|
@@ -13058,7 +13057,7 @@ var SwitchMarkerAnalyzer = class {
|
|
|
13058
13057
|
}
|
|
13059
13058
|
};
|
|
13060
13059
|
|
|
13061
|
-
// bazel-out/
|
|
13060
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
13062
13061
|
import ts55 from "typescript";
|
|
13063
13062
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
13064
13063
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -13222,7 +13221,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
13222
13221
|
}
|
|
13223
13222
|
};
|
|
13224
13223
|
|
|
13225
|
-
// bazel-out/
|
|
13224
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
13226
13225
|
var DelegatingReflectionHost = class {
|
|
13227
13226
|
constructor(tsHost, ngccHost) {
|
|
13228
13227
|
this.tsHost = tsHost;
|
|
@@ -13346,16 +13345,16 @@ var DelegatingReflectionHost = class {
|
|
|
13346
13345
|
}
|
|
13347
13346
|
};
|
|
13348
13347
|
|
|
13349
|
-
// bazel-out/
|
|
13348
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
13350
13349
|
import ts58 from "typescript";
|
|
13351
13350
|
|
|
13352
|
-
// bazel-out/
|
|
13351
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
13353
13352
|
import ts57 from "typescript";
|
|
13354
13353
|
|
|
13355
|
-
// bazel-out/
|
|
13354
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
13356
13355
|
import ts56 from "typescript";
|
|
13357
13356
|
|
|
13358
|
-
// bazel-out/
|
|
13357
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
13359
13358
|
var NgccFlatImportRewriter = class {
|
|
13360
13359
|
shouldImportSymbol(symbol, specifier) {
|
|
13361
13360
|
if (specifier === "@angular/core") {
|
|
@@ -13376,7 +13375,7 @@ var NgccFlatImportRewriter = class {
|
|
|
13376
13375
|
}
|
|
13377
13376
|
};
|
|
13378
13377
|
|
|
13379
|
-
// bazel-out/
|
|
13378
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
13380
13379
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
13381
13380
|
if (isCore && isFlat) {
|
|
13382
13381
|
return new NgccFlatImportRewriter();
|
|
@@ -13390,7 +13389,7 @@ function stripExtension3(filePath) {
|
|
|
13390
13389
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
13391
13390
|
}
|
|
13392
13391
|
|
|
13393
|
-
// bazel-out/
|
|
13392
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
13394
13393
|
var EsmRenderingFormatter = class {
|
|
13395
13394
|
constructor(fs5, host, isCore) {
|
|
13396
13395
|
this.fs = fs5;
|
|
@@ -13558,7 +13557,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
13558
13557
|
return lastToken && lastToken.kind === ts56.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
13559
13558
|
}
|
|
13560
13559
|
|
|
13561
|
-
// bazel-out/
|
|
13560
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
13562
13561
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
13563
13562
|
addDefinitions(output, compiledClass, definitions) {
|
|
13564
13563
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -13586,7 +13585,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
13586
13585
|
}
|
|
13587
13586
|
};
|
|
13588
13587
|
|
|
13589
|
-
// bazel-out/
|
|
13588
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
13590
13589
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
13591
13590
|
constructor(fs5, commonJsHost, isCore) {
|
|
13592
13591
|
super(fs5, commonJsHost, isCore);
|
|
@@ -13635,18 +13634,18 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
13635
13634
|
}
|
|
13636
13635
|
};
|
|
13637
13636
|
|
|
13638
|
-
// bazel-out/
|
|
13637
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
13639
13638
|
import MagicString from "magic-string";
|
|
13640
13639
|
import ts59 from "typescript";
|
|
13641
13640
|
|
|
13642
|
-
// bazel-out/
|
|
13641
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
13643
13642
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
13644
13643
|
var NGCC_TIMED_OUT_EXIT_CODE = 177;
|
|
13645
13644
|
|
|
13646
|
-
// bazel-out/
|
|
13645
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
13647
13646
|
import mapHelpers3 from "convert-source-map";
|
|
13648
13647
|
|
|
13649
|
-
// bazel-out/
|
|
13648
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
13650
13649
|
var ContentOrigin;
|
|
13651
13650
|
(function(ContentOrigin2) {
|
|
13652
13651
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -13654,11 +13653,11 @@ var ContentOrigin;
|
|
|
13654
13653
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
13655
13654
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
13656
13655
|
|
|
13657
|
-
// bazel-out/
|
|
13656
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
13658
13657
|
import mapHelpers from "convert-source-map";
|
|
13659
13658
|
import { decode, encode } from "sourcemap-codec";
|
|
13660
13659
|
|
|
13661
|
-
// bazel-out/
|
|
13660
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
13662
13661
|
function compareSegments(a, b) {
|
|
13663
13662
|
return a.position - b.position;
|
|
13664
13663
|
}
|
|
@@ -13678,7 +13677,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
13678
13677
|
return { line, column, position, next: void 0 };
|
|
13679
13678
|
}
|
|
13680
13679
|
|
|
13681
|
-
// bazel-out/
|
|
13680
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
13682
13681
|
function removeSourceMapComments(contents) {
|
|
13683
13682
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
13684
13683
|
}
|
|
@@ -13929,7 +13928,7 @@ var Cache = class {
|
|
|
13929
13928
|
}
|
|
13930
13929
|
};
|
|
13931
13930
|
|
|
13932
|
-
// bazel-out/
|
|
13931
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
13933
13932
|
import mapHelpers2 from "convert-source-map";
|
|
13934
13933
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
13935
13934
|
var SourceFileLoader = class {
|
|
@@ -14046,7 +14045,7 @@ var SourceFileLoader = class {
|
|
|
14046
14045
|
}
|
|
14047
14046
|
};
|
|
14048
14047
|
|
|
14049
|
-
// bazel-out/
|
|
14048
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
14050
14049
|
function renderSourceAndMap(logger, fs5, sourceFile, generatedMagicString) {
|
|
14051
14050
|
var _a;
|
|
14052
14051
|
const sourceFilePath = absoluteFromSourceFile(sourceFile);
|
|
@@ -14080,7 +14079,7 @@ ${sourceMapComment}` },
|
|
|
14080
14079
|
}
|
|
14081
14080
|
}
|
|
14082
14081
|
|
|
14083
|
-
// bazel-out/
|
|
14082
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
14084
14083
|
var DtsRenderInfo = class {
|
|
14085
14084
|
constructor() {
|
|
14086
14085
|
this.classInfo = [];
|
|
@@ -14181,14 +14180,14 @@ function markForEmitAsSingleLine2(node) {
|
|
|
14181
14180
|
ts59.forEachChild(node, markForEmitAsSingleLine2);
|
|
14182
14181
|
}
|
|
14183
14182
|
|
|
14184
|
-
// bazel-out/
|
|
14183
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
14185
14184
|
import { jsDocComment, WrappedNodeExpr as WrappedNodeExpr9, WritePropExpr } from "@angular/compiler";
|
|
14186
14185
|
import MagicString2 from "magic-string";
|
|
14187
14186
|
|
|
14188
|
-
// bazel-out/
|
|
14187
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
14189
14188
|
var RedundantDecoratorMap = Map;
|
|
14190
14189
|
|
|
14191
|
-
// bazel-out/
|
|
14190
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
14192
14191
|
var Renderer = class {
|
|
14193
14192
|
constructor(host, srcFormatter, fs5, logger, bundle, tsConfig = null) {
|
|
14194
14193
|
this.host = host;
|
|
@@ -14295,7 +14294,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
14295
14294
|
return statement;
|
|
14296
14295
|
}
|
|
14297
14296
|
|
|
14298
|
-
// bazel-out/
|
|
14297
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
14299
14298
|
import ts60 from "typescript";
|
|
14300
14299
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
14301
14300
|
constructor(fs5, umdHost, isCore) {
|
|
@@ -14310,11 +14309,11 @@ var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
|
14310
14309
|
if (!umdModule) {
|
|
14311
14310
|
return;
|
|
14312
14311
|
}
|
|
14313
|
-
const
|
|
14314
|
-
renderCommonJsDependencies(output,
|
|
14315
|
-
renderAmdDependencies(output,
|
|
14316
|
-
renderGlobalDependencies(output,
|
|
14317
|
-
renderFactoryParameters(output,
|
|
14312
|
+
const { wrapperFn, factoryFn } = umdModule;
|
|
14313
|
+
renderCommonJsDependencies(output, wrapperFn, imports);
|
|
14314
|
+
renderAmdDependencies(output, wrapperFn, imports);
|
|
14315
|
+
renderGlobalDependencies(output, wrapperFn, imports);
|
|
14316
|
+
renderFactoryParameters(output, factoryFn, imports);
|
|
14318
14317
|
}
|
|
14319
14318
|
addExports(output, entryPointBasePath, exports, importManager, file) {
|
|
14320
14319
|
const umdModule = this.umdHost.getUmdModule(file);
|
|
@@ -14400,16 +14399,7 @@ function renderGlobalDependencies(output, wrapperFunction, imports) {
|
|
|
14400
14399
|
const importString = imports.map((i) => `global.${getGlobalIdentifier(i)}`).join(",");
|
|
14401
14400
|
output.appendLeft(injectionPoint, importString + (globalFactoryCall.arguments.length > 0 ? "," : ""));
|
|
14402
14401
|
}
|
|
14403
|
-
function renderFactoryParameters(output,
|
|
14404
|
-
const wrapperCall = wrapperFunction.parent;
|
|
14405
|
-
const secondArgument = wrapperCall.arguments[1];
|
|
14406
|
-
if (!secondArgument) {
|
|
14407
|
-
return;
|
|
14408
|
-
}
|
|
14409
|
-
const factoryFunction = ts60.isParenthesizedExpression(secondArgument) ? secondArgument.expression : secondArgument;
|
|
14410
|
-
if (!ts60.isFunctionExpression(factoryFunction)) {
|
|
14411
|
-
return;
|
|
14412
|
-
}
|
|
14402
|
+
function renderFactoryParameters(output, factoryFunction, imports) {
|
|
14413
14403
|
const parameters = factoryFunction.parameters;
|
|
14414
14404
|
const parameterString = imports.map((i) => i.qualifier.text).join(",");
|
|
14415
14405
|
if (parameters.length > 0) {
|
|
@@ -14475,7 +14465,7 @@ function isTypeOf(node, ...types) {
|
|
|
14475
14465
|
return ts60.isBinaryExpression(node) && ts60.isTypeOfExpression(node.left) && ts60.isIdentifier(node.left.expression) && types.indexOf(node.left.expression.text) !== -1;
|
|
14476
14466
|
}
|
|
14477
14467
|
|
|
14478
|
-
// bazel-out/
|
|
14468
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
14479
14469
|
var Transformer = class {
|
|
14480
14470
|
constructor(fs5, logger, tsConfig = null) {
|
|
14481
14471
|
this.fs = fs5;
|
|
@@ -14559,7 +14549,7 @@ function hasErrors(diagnostics) {
|
|
|
14559
14549
|
return diagnostics.some((d) => d.category === ts61.DiagnosticCategory.Error);
|
|
14560
14550
|
}
|
|
14561
14551
|
|
|
14562
|
-
// bazel-out/
|
|
14552
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
14563
14553
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
14564
14554
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
14565
14555
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -14598,7 +14588,7 @@ ${errors}`);
|
|
|
14598
14588
|
};
|
|
14599
14589
|
}
|
|
14600
14590
|
|
|
14601
|
-
// bazel-out/
|
|
14591
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/single_process_executor.mjs
|
|
14602
14592
|
var SingleProcessorExecutorBase = class {
|
|
14603
14593
|
constructor(logger, createTaskCompletedCallback) {
|
|
14604
14594
|
this.logger = logger;
|
|
@@ -14640,7 +14630,7 @@ var SingleProcessExecutorAsync = class extends SingleProcessorExecutorBase {
|
|
|
14640
14630
|
}
|
|
14641
14631
|
};
|
|
14642
14632
|
|
|
14643
|
-
// bazel-out/
|
|
14633
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/completion.mjs
|
|
14644
14634
|
function composeTaskCompletedCallbacks(callbacks) {
|
|
14645
14635
|
return (task, outcome, message) => {
|
|
14646
14636
|
const callback = callbacks[outcome];
|
|
@@ -14680,7 +14670,7 @@ function createErrorMessage(fs5, task, message) {
|
|
|
14680
14670
|
return `Failed to compile entry-point ${task.entryPoint.name} (${format})` + message;
|
|
14681
14671
|
}
|
|
14682
14672
|
|
|
14683
|
-
// bazel-out/
|
|
14673
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/async_locker.mjs
|
|
14684
14674
|
var TimeoutError = class extends Error {
|
|
14685
14675
|
constructor() {
|
|
14686
14676
|
super(...arguments);
|
|
@@ -14729,11 +14719,11 @@ Waiting up to ${this.retryDelay * this.retryAttempts / 1e3}s for it to finish.
|
|
|
14729
14719
|
}
|
|
14730
14720
|
};
|
|
14731
14721
|
|
|
14732
|
-
// bazel-out/
|
|
14722
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
14733
14723
|
import { fork } from "child_process";
|
|
14734
14724
|
import module5 from "module";
|
|
14735
14725
|
|
|
14736
|
-
// bazel-out/
|
|
14726
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
14737
14727
|
var LogLevel;
|
|
14738
14728
|
(function(LogLevel2) {
|
|
14739
14729
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -14742,7 +14732,7 @@ var LogLevel;
|
|
|
14742
14732
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
14743
14733
|
})(LogLevel || (LogLevel = {}));
|
|
14744
14734
|
|
|
14745
|
-
// bazel-out/
|
|
14735
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
14746
14736
|
var RESET = "[0m";
|
|
14747
14737
|
var RED = "[31m";
|
|
14748
14738
|
var YELLOW = "[33m";
|
|
@@ -14772,7 +14762,7 @@ var ConsoleLogger = class {
|
|
|
14772
14762
|
}
|
|
14773
14763
|
};
|
|
14774
14764
|
|
|
14775
|
-
// bazel-out/
|
|
14765
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file.mjs
|
|
14776
14766
|
import module4 from "module";
|
|
14777
14767
|
function getLockFilePath(fs5) {
|
|
14778
14768
|
const requireFn = typeof __require !== "undefined" ? __require : module4.createRequire(__ESM_IMPORT_META_URL__);
|
|
@@ -14780,7 +14770,7 @@ function getLockFilePath(fs5) {
|
|
|
14780
14770
|
return fs5.resolve(ngccEntryPointFile, "../__ngcc_lock_file__");
|
|
14781
14771
|
}
|
|
14782
14772
|
|
|
14783
|
-
// bazel-out/
|
|
14773
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
|
|
14784
14774
|
function removeLockFile(fs5, logger, lockFilePath, pid) {
|
|
14785
14775
|
try {
|
|
14786
14776
|
logger.debug(`Attempting to remove lock-file at ${lockFilePath}.`);
|
|
@@ -14800,7 +14790,7 @@ function removeLockFile(fs5, logger, lockFilePath, pid) {
|
|
|
14800
14790
|
}
|
|
14801
14791
|
}
|
|
14802
14792
|
|
|
14803
|
-
// bazel-out/
|
|
14793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
14804
14794
|
var LockFileWithChildProcess = class {
|
|
14805
14795
|
constructor(fs5, logger) {
|
|
14806
14796
|
this.fs = fs5;
|
|
@@ -14849,7 +14839,7 @@ function getLockFileUnlockerScriptPath(fileSystem) {
|
|
|
14849
14839
|
return fileSystem.resolve(unlockerScriptPath);
|
|
14850
14840
|
}
|
|
14851
14841
|
|
|
14852
|
-
// bazel-out/
|
|
14842
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/sync_locker.mjs
|
|
14853
14843
|
var SyncLocker = class {
|
|
14854
14844
|
constructor(lockFile) {
|
|
14855
14845
|
this.lockFile = lockFile;
|
|
@@ -14880,16 +14870,16 @@ If you are running multiple builds in parallel then you might try pre-processing
|
|
|
14880
14870
|
}
|
|
14881
14871
|
};
|
|
14882
14872
|
|
|
14883
|
-
// bazel-out/
|
|
14873
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
14884
14874
|
import {
|
|
14885
14875
|
cpus
|
|
14886
14876
|
} from "os";
|
|
14887
14877
|
|
|
14888
|
-
// bazel-out/
|
|
14878
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
14889
14879
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
14890
14880
|
import ts112 from "typescript";
|
|
14891
14881
|
|
|
14892
|
-
// bazel-out/
|
|
14882
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
14893
14883
|
var UNKNOWN_ERROR_CODE = 500;
|
|
14894
14884
|
var EmitFlags;
|
|
14895
14885
|
(function(EmitFlags2) {
|
|
@@ -14902,7 +14892,7 @@ var EmitFlags;
|
|
|
14902
14892
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
14903
14893
|
})(EmitFlags || (EmitFlags = {}));
|
|
14904
14894
|
|
|
14905
|
-
// bazel-out/
|
|
14895
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
14906
14896
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
14907
14897
|
import fs3 from "fs";
|
|
14908
14898
|
import {
|
|
@@ -14915,18 +14905,18 @@ import {
|
|
|
14915
14905
|
} from "path";
|
|
14916
14906
|
import ts69 from "typescript";
|
|
14917
14907
|
|
|
14918
|
-
// bazel-out/
|
|
14908
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
14919
14909
|
import ts65 from "typescript";
|
|
14920
14910
|
|
|
14921
|
-
// bazel-out/
|
|
14911
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
14922
14912
|
import ts63 from "typescript";
|
|
14923
14913
|
var spreadElementSyntaxKind = ts63.SyntaxKind.SpreadElement || ts63.SyntaxKind.SpreadElementExpression;
|
|
14924
14914
|
var empty = ts63.createNodeArray();
|
|
14925
14915
|
|
|
14926
|
-
// bazel-out/
|
|
14916
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
14927
14917
|
import ts64 from "typescript";
|
|
14928
14918
|
|
|
14929
|
-
// bazel-out/
|
|
14919
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
14930
14920
|
import {
|
|
14931
14921
|
basename as basename4,
|
|
14932
14922
|
dirname as dirname4,
|
|
@@ -14935,7 +14925,7 @@ import {
|
|
|
14935
14925
|
} from "path";
|
|
14936
14926
|
import ts67 from "typescript";
|
|
14937
14927
|
|
|
14938
|
-
// bazel-out/
|
|
14928
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
14939
14929
|
import {
|
|
14940
14930
|
basename as basename3,
|
|
14941
14931
|
dirname as dirname3,
|
|
@@ -14945,14 +14935,14 @@ import {
|
|
|
14945
14935
|
} from "path";
|
|
14946
14936
|
import ts66 from "typescript";
|
|
14947
14937
|
|
|
14948
|
-
// bazel-out/
|
|
14938
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
14949
14939
|
import { syntaxError } from "@angular/compiler";
|
|
14950
14940
|
import {
|
|
14951
14941
|
relative as relative3
|
|
14952
14942
|
} from "path";
|
|
14953
14943
|
import ts68 from "typescript";
|
|
14954
14944
|
|
|
14955
|
-
// bazel-out/
|
|
14945
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
14956
14946
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
14957
14947
|
import {
|
|
14958
14948
|
readFileSync as readFileSync2
|
|
@@ -14960,19 +14950,19 @@ import {
|
|
|
14960
14950
|
import * as path6 from "path";
|
|
14961
14951
|
import ts111 from "typescript";
|
|
14962
14952
|
|
|
14963
|
-
// bazel-out/
|
|
14953
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
14964
14954
|
import ts70 from "typescript";
|
|
14965
14955
|
|
|
14966
|
-
// bazel-out/
|
|
14956
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
14967
14957
|
import ts99 from "typescript";
|
|
14968
14958
|
|
|
14969
|
-
// bazel-out/
|
|
14959
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
14970
14960
|
import ts71 from "typescript";
|
|
14971
14961
|
|
|
14972
|
-
// bazel-out/
|
|
14962
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
14973
14963
|
import ts72 from "typescript";
|
|
14974
14964
|
|
|
14975
|
-
// bazel-out/
|
|
14965
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
14976
14966
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
14977
14967
|
var UpdateMode;
|
|
14978
14968
|
(function(UpdateMode2) {
|
|
@@ -14980,22 +14970,22 @@ var UpdateMode;
|
|
|
14980
14970
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
14981
14971
|
})(UpdateMode || (UpdateMode = {}));
|
|
14982
14972
|
|
|
14983
|
-
// bazel-out/
|
|
14973
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
14984
14974
|
import ts76 from "typescript";
|
|
14985
14975
|
|
|
14986
|
-
// bazel-out/
|
|
14976
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
14987
14977
|
import ts73 from "typescript";
|
|
14988
14978
|
|
|
14989
|
-
// bazel-out/
|
|
14979
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
14990
14980
|
var NgExtension = Symbol("NgExtension");
|
|
14991
14981
|
|
|
14992
|
-
// bazel-out/
|
|
14982
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
14993
14983
|
import ts74 from "typescript";
|
|
14994
14984
|
|
|
14995
|
-
// bazel-out/
|
|
14985
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
14996
14986
|
import ts75 from "typescript";
|
|
14997
14987
|
|
|
14998
|
-
// bazel-out/
|
|
14988
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
14999
14989
|
var IncrementalStateKind;
|
|
15000
14990
|
(function(IncrementalStateKind2) {
|
|
15001
14991
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -15003,17 +14993,17 @@ var IncrementalStateKind;
|
|
|
15003
14993
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
15004
14994
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
15005
14995
|
|
|
15006
|
-
// bazel-out/
|
|
14996
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
15007
14997
|
var PhaseKind;
|
|
15008
14998
|
(function(PhaseKind2) {
|
|
15009
14999
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
15010
15000
|
PhaseKind2[PhaseKind2["TypeCheckAndEmit"] = 1] = "TypeCheckAndEmit";
|
|
15011
15001
|
})(PhaseKind || (PhaseKind = {}));
|
|
15012
15002
|
|
|
15013
|
-
// bazel-out/
|
|
15003
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
15014
15004
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
15015
15005
|
|
|
15016
|
-
// bazel-out/
|
|
15006
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
15017
15007
|
var IdentifierKind;
|
|
15018
15008
|
(function(IdentifierKind2) {
|
|
15019
15009
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -15025,38 +15015,38 @@ var IdentifierKind;
|
|
|
15025
15015
|
IdentifierKind2[IdentifierKind2["Variable"] = 6] = "Variable";
|
|
15026
15016
|
})(IdentifierKind || (IdentifierKind = {}));
|
|
15027
15017
|
|
|
15028
|
-
// bazel-out/
|
|
15018
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
15029
15019
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
15030
15020
|
|
|
15031
|
-
// bazel-out/
|
|
15021
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
15032
15022
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
15033
15023
|
|
|
15034
|
-
// bazel-out/
|
|
15024
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
15035
15025
|
import ts77 from "typescript";
|
|
15036
15026
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
15037
15027
|
var RESOURCE_MARKER_TS = RESOURCE_MARKER + ".ts";
|
|
15038
15028
|
|
|
15039
|
-
// bazel-out/
|
|
15029
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
15040
15030
|
import ts78 from "typescript";
|
|
15041
15031
|
|
|
15042
|
-
// bazel-out/
|
|
15032
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15043
15033
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
15044
15034
|
|
|
15045
|
-
// bazel-out/
|
|
15035
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
15046
15036
|
var OptimizeFor;
|
|
15047
15037
|
(function(OptimizeFor2) {
|
|
15048
15038
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
15049
15039
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
15050
15040
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
15051
15041
|
|
|
15052
|
-
// bazel-out/
|
|
15042
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
15053
15043
|
var CompletionKind;
|
|
15054
15044
|
(function(CompletionKind2) {
|
|
15055
15045
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
15056
15046
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
15057
15047
|
})(CompletionKind || (CompletionKind = {}));
|
|
15058
15048
|
|
|
15059
|
-
// bazel-out/
|
|
15049
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
15060
15050
|
var SymbolKind;
|
|
15061
15051
|
(function(SymbolKind2) {
|
|
15062
15052
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -15072,18 +15062,18 @@ var SymbolKind;
|
|
|
15072
15062
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
15073
15063
|
})(SymbolKind || (SymbolKind = {}));
|
|
15074
15064
|
|
|
15075
|
-
// bazel-out/
|
|
15065
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
15076
15066
|
import ts79 from "typescript";
|
|
15077
15067
|
|
|
15078
|
-
// bazel-out/
|
|
15068
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
15079
15069
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
15080
15070
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
15081
15071
|
|
|
15082
|
-
// bazel-out/
|
|
15072
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
15083
15073
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
15084
15074
|
import ts81 from "typescript";
|
|
15085
15075
|
|
|
15086
|
-
// bazel-out/
|
|
15076
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
15087
15077
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
15088
15078
|
import ts80 from "typescript";
|
|
15089
15079
|
var CommentTriviaType;
|
|
@@ -15099,19 +15089,19 @@ var ExpressionIdentifier;
|
|
|
15099
15089
|
})(ExpressionIdentifier || (ExpressionIdentifier = {}));
|
|
15100
15090
|
var IGNORE_FOR_DIAGNOSTICS_MARKER = `${CommentTriviaType.DIAGNOSTIC}:ignore`;
|
|
15101
15091
|
|
|
15102
|
-
// bazel-out/
|
|
15092
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15103
15093
|
import ts95 from "typescript";
|
|
15104
15094
|
|
|
15105
|
-
// bazel-out/
|
|
15095
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
15106
15096
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
15107
15097
|
import ts82 from "typescript";
|
|
15108
15098
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
15109
15099
|
|
|
15110
|
-
// bazel-out/
|
|
15100
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
15111
15101
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
15112
15102
|
import ts88 from "typescript";
|
|
15113
15103
|
|
|
15114
|
-
// bazel-out/
|
|
15104
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
15115
15105
|
import ts83 from "typescript";
|
|
15116
15106
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
15117
15107
|
ts83.SyntaxKind.ParenthesizedExpression,
|
|
@@ -15130,19 +15120,19 @@ var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
|
15130
15120
|
ts83.SyntaxKind.UndefinedKeyword
|
|
15131
15121
|
]);
|
|
15132
15122
|
|
|
15133
|
-
// bazel-out/
|
|
15123
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
15134
15124
|
import ts87 from "typescript";
|
|
15135
15125
|
|
|
15136
|
-
// bazel-out/
|
|
15126
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
15137
15127
|
import ts86 from "typescript";
|
|
15138
15128
|
|
|
15139
|
-
// bazel-out/
|
|
15129
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
15140
15130
|
import ts85 from "typescript";
|
|
15141
15131
|
|
|
15142
|
-
// bazel-out/
|
|
15132
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
15143
15133
|
import ts84 from "typescript";
|
|
15144
15134
|
|
|
15145
|
-
// bazel-out/
|
|
15135
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
15146
15136
|
var TcbInliningRequirement;
|
|
15147
15137
|
(function(TcbInliningRequirement2) {
|
|
15148
15138
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -15150,22 +15140,22 @@ var TcbInliningRequirement;
|
|
|
15150
15140
|
TcbInliningRequirement2[TcbInliningRequirement2["None"] = 2] = "None";
|
|
15151
15141
|
})(TcbInliningRequirement || (TcbInliningRequirement = {}));
|
|
15152
15142
|
|
|
15153
|
-
// bazel-out/
|
|
15143
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
15154
15144
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
15155
15145
|
import ts89 from "typescript";
|
|
15156
15146
|
|
|
15157
|
-
// bazel-out/
|
|
15147
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
15158
15148
|
import ts90 from "typescript";
|
|
15159
15149
|
|
|
15160
|
-
// bazel-out/
|
|
15150
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
15161
15151
|
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";
|
|
15162
15152
|
import ts93 from "typescript";
|
|
15163
15153
|
|
|
15164
|
-
// bazel-out/
|
|
15154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
15165
15155
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
15166
15156
|
import ts91 from "typescript";
|
|
15167
15157
|
|
|
15168
|
-
// bazel-out/
|
|
15158
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
15169
15159
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
15170
15160
|
import ts92 from "typescript";
|
|
15171
15161
|
var NULL_AS_ANY = ts92.createAsExpression(ts92.createNull(), ts92.createKeywordTypeNode(ts92.SyntaxKind.AnyKeyword));
|
|
@@ -15265,10 +15255,10 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
15265
15255
|
};
|
|
15266
15256
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
15267
15257
|
|
|
15268
|
-
// bazel-out/
|
|
15258
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
15269
15259
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
15270
15260
|
|
|
15271
|
-
// bazel-out/
|
|
15261
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
15272
15262
|
var TcbGenericContextBehavior;
|
|
15273
15263
|
(function(TcbGenericContextBehavior2) {
|
|
15274
15264
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -15277,38 +15267,38 @@ var TcbGenericContextBehavior;
|
|
|
15277
15267
|
})(TcbGenericContextBehavior || (TcbGenericContextBehavior = {}));
|
|
15278
15268
|
var INFER_TYPE_FOR_CIRCULAR_OP_EXPR = ts93.createNonNullExpression(ts93.createNull());
|
|
15279
15269
|
|
|
15280
|
-
// bazel-out/
|
|
15270
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15281
15271
|
import ts94 from "typescript";
|
|
15282
15272
|
|
|
15283
|
-
// bazel-out/
|
|
15273
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15284
15274
|
var InliningMode;
|
|
15285
15275
|
(function(InliningMode2) {
|
|
15286
15276
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
15287
15277
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
15288
15278
|
})(InliningMode || (InliningMode = {}));
|
|
15289
15279
|
|
|
15290
|
-
// bazel-out/
|
|
15280
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15291
15281
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15292
15282
|
|
|
15293
|
-
// bazel-out/
|
|
15283
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15294
15284
|
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";
|
|
15295
15285
|
import ts96 from "typescript";
|
|
15296
15286
|
|
|
15297
|
-
// bazel-out/
|
|
15287
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15298
15288
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
15299
15289
|
|
|
15300
|
-
// bazel-out/
|
|
15290
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
15301
15291
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
15302
15292
|
import ts97 from "typescript";
|
|
15303
15293
|
|
|
15304
|
-
// bazel-out/
|
|
15294
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
15305
15295
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
15306
15296
|
|
|
15307
|
-
// bazel-out/
|
|
15297
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
15308
15298
|
import { Binary } from "@angular/compiler";
|
|
15309
15299
|
import ts98 from "typescript";
|
|
15310
15300
|
|
|
15311
|
-
// bazel-out/
|
|
15301
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
15312
15302
|
var CompilationTicketKind;
|
|
15313
15303
|
(function(CompilationTicketKind2) {
|
|
15314
15304
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -15316,11 +15306,11 @@ var CompilationTicketKind;
|
|
|
15316
15306
|
CompilationTicketKind2[CompilationTicketKind2["IncrementalResource"] = 2] = "IncrementalResource";
|
|
15317
15307
|
})(CompilationTicketKind || (CompilationTicketKind = {}));
|
|
15318
15308
|
|
|
15319
|
-
// bazel-out/
|
|
15309
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
15320
15310
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
15321
15311
|
import ts102 from "typescript";
|
|
15322
15312
|
|
|
15323
|
-
// bazel-out/
|
|
15313
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
15324
15314
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
15325
15315
|
import {
|
|
15326
15316
|
relative as relative5,
|
|
@@ -15328,42 +15318,47 @@ import {
|
|
|
15328
15318
|
sep as sep2
|
|
15329
15319
|
} from "path";
|
|
15330
15320
|
|
|
15331
|
-
// bazel-out/
|
|
15321
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
15332
15322
|
import ts100 from "typescript";
|
|
15333
15323
|
var tsVersion = ts100.version;
|
|
15334
15324
|
|
|
15335
|
-
// bazel-out/
|
|
15325
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
15336
15326
|
import ts101 from "typescript";
|
|
15337
15327
|
|
|
15338
|
-
// bazel-out/
|
|
15328
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
15339
15329
|
import ts104 from "typescript";
|
|
15340
15330
|
|
|
15341
|
-
// bazel-out/
|
|
15331
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
15342
15332
|
import ts103 from "typescript";
|
|
15343
15333
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
15344
15334
|
|
|
15345
|
-
// bazel-out/
|
|
15335
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
15346
15336
|
import ts105 from "typescript";
|
|
15347
15337
|
|
|
15348
|
-
// bazel-out/
|
|
15338
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
15349
15339
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
15350
15340
|
import ts106 from "typescript";
|
|
15351
15341
|
|
|
15352
|
-
// bazel-out/
|
|
15342
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
15353
15343
|
import ts107 from "typescript";
|
|
15354
15344
|
|
|
15355
|
-
// bazel-out/
|
|
15345
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
15356
15346
|
import ts109 from "typescript";
|
|
15357
15347
|
|
|
15358
|
-
// bazel-out/
|
|
15348
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
15359
15349
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
15360
15350
|
import ts108 from "typescript";
|
|
15361
15351
|
|
|
15362
|
-
// bazel-out/
|
|
15352
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
15363
15353
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
15364
15354
|
import ts110 from "typescript";
|
|
15365
15355
|
|
|
15366
|
-
// bazel-out/
|
|
15356
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
15357
|
+
var VE_DISABLED_MESSAGE = `
|
|
15358
|
+
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
15359
|
+
and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
|
|
15360
|
+
https://angular.io/guide/ivy for more information.
|
|
15361
|
+
`.trim().split("\n").join(" ");
|
|
15367
15362
|
var LOWER_FIELDS = ["useValue", "useFactory", "data", "id", "loadChildren"];
|
|
15368
15363
|
var R3_LOWER_FIELDS = [...LOWER_FIELDS, "providers", "imports", "exports"];
|
|
15369
15364
|
var emptyModules = {
|
|
@@ -15372,7 +15367,7 @@ var emptyModules = {
|
|
|
15372
15367
|
files: []
|
|
15373
15368
|
};
|
|
15374
15369
|
|
|
15375
|
-
// bazel-out/
|
|
15370
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
15376
15371
|
function calcProjectFileAndBasePath(project, host = getFileSystem()) {
|
|
15377
15372
|
const absProject = host.resolve(project);
|
|
15378
15373
|
const projectIsDir = host.lstat(absProject).isDirectory();
|
|
@@ -15471,7 +15466,7 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs5) {
|
|
|
15471
15466
|
return null;
|
|
15472
15467
|
}
|
|
15473
15468
|
|
|
15474
|
-
// bazel-out/
|
|
15469
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
15475
15470
|
function getSharedSetup(options) {
|
|
15476
15471
|
const fileSystem = getFileSystem();
|
|
15477
15472
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -15547,7 +15542,7 @@ function getMaxNumberOfWorkers() {
|
|
|
15547
15542
|
return numericMaxWorkers;
|
|
15548
15543
|
}
|
|
15549
15544
|
|
|
15550
|
-
// bazel-out/
|
|
15545
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/configuration.mjs
|
|
15551
15546
|
import { createHash } from "crypto";
|
|
15552
15547
|
import module6 from "module";
|
|
15553
15548
|
import semver from "semver";
|
|
@@ -15735,7 +15730,7 @@ var NgccConfiguration = class {
|
|
|
15735
15730
|
}
|
|
15736
15731
|
};
|
|
15737
15732
|
|
|
15738
|
-
// bazel-out/
|
|
15733
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.mjs
|
|
15739
15734
|
import { createHash as createHash2 } from "crypto";
|
|
15740
15735
|
var EntryPointManifest = class {
|
|
15741
15736
|
constructor(fs5, config, logger) {
|
|
@@ -15843,7 +15838,7 @@ var InvalidatingEntryPointManifest = class extends EntryPointManifest {
|
|
|
15843
15838
|
}
|
|
15844
15839
|
};
|
|
15845
15840
|
|
|
15846
|
-
// bazel-out/
|
|
15841
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
15847
15842
|
var PackageJsonUpdate = class {
|
|
15848
15843
|
constructor(writeChangesImpl) {
|
|
15849
15844
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -15935,7 +15930,7 @@ function positionProperty(ctx, prop, positioning) {
|
|
|
15935
15930
|
}
|
|
15936
15931
|
}
|
|
15937
15932
|
|
|
15938
|
-
// bazel-out/
|
|
15933
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/main.mjs
|
|
15939
15934
|
function mainNgcc(options) {
|
|
15940
15935
|
const { basePath, targetEntryPointPath, propertiesToConsider, typingsOnly, compileAllFormats, logger, pathMappings, async, errorOnFailedEntryPoint, enableI18nLegacyMessageIdFormat, invalidateEntryPointManifest, fileSystem, absBasePath, projectPath, tsConfig, getFileWriter } = getSharedSetup(options);
|
|
15941
15936
|
const config = new NgccConfiguration(fileSystem, projectPath);
|
|
@@ -16018,7 +16013,7 @@ function getEntryPointFinder(fs5, logger, resolver, config, entryPointManifest,
|
|
|
16018
16013
|
}
|
|
16019
16014
|
}
|
|
16020
16015
|
|
|
16021
|
-
// bazel-out/
|
|
16016
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs
|
|
16022
16017
|
function process2(options) {
|
|
16023
16018
|
setFileSystem(new NodeJSFileSystem());
|
|
16024
16019
|
return mainNgcc(options);
|