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