@angular/compiler-cli 13.2.7 → 13.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-IUG2QCU2.js → chunk-2ATXKOUL.js} +71 -71
- package/bundles/chunk-2ATXKOUL.js.map +6 -0
- package/bundles/{chunk-7PY7XEFH.js → chunk-A7GANIJT.js} +6 -6
- package/bundles/chunk-A7GANIJT.js.map +6 -0
- package/bundles/{chunk-A5PL3TE6.js → chunk-FDEQP2NW.js} +7 -7
- package/bundles/chunk-FDEQP2NW.js.map +6 -0
- package/bundles/{chunk-XNYP2SFR.js → chunk-FSD73D6W.js} +26 -26
- package/bundles/chunk-FSD73D6W.js.map +6 -0
- package/bundles/{chunk-WQ3TNYTD.js → chunk-GMSUYBZP.js} +8 -11
- package/bundles/{chunk-WQ3TNYTD.js.map → chunk-GMSUYBZP.js.map} +0 -0
- package/bundles/{chunk-NC7BJDOB.js → chunk-GRNU7Y46.js} +58 -58
- package/bundles/chunk-GRNU7Y46.js.map +6 -0
- package/bundles/{chunk-FXU7FMZC.js → chunk-HAJOG5B7.js} +8 -8
- package/bundles/chunk-HAJOG5B7.js.map +6 -0
- package/bundles/{chunk-XRCD4VXD.js → chunk-HAPVTQDJ.js} +176 -134
- package/bundles/chunk-HAPVTQDJ.js.map +6 -0
- package/bundles/{chunk-GLCRIILX.js → chunk-LC26KH5A.js} +5 -5
- package/bundles/chunk-LC26KH5A.js.map +6 -0
- package/bundles/{chunk-ALKVYGAK.js → chunk-M4CVK535.js} +32 -32
- package/bundles/chunk-M4CVK535.js.map +6 -0
- package/bundles/{chunk-CTSDWZWQ.js → chunk-MMWD6KMJ.js} +41 -41
- package/bundles/chunk-MMWD6KMJ.js.map +6 -0
- package/bundles/{chunk-VBVBCYZP.js → chunk-QWNLJJDM.js} +6 -6
- package/bundles/chunk-QWNLJJDM.js.map +6 -0
- package/bundles/{chunk-QDWL7SZJ.js → chunk-SJL5HBUW.js} +2 -2
- package/bundles/chunk-SJL5HBUW.js.map +6 -0
- package/bundles/{chunk-Z2HS4HDG.js → chunk-UDG7FV2F.js} +4 -4
- package/bundles/chunk-UDG7FV2F.js.map +6 -0
- package/bundles/{chunk-K2Z44JHH.js → chunk-UTSZJQCU.js} +8 -8
- package/bundles/chunk-UTSZJQCU.js.map +6 -0
- package/bundles/{chunk-SKBLJA43.js → chunk-ZCDB56AX.js} +7 -7
- package/bundles/chunk-ZCDB56AX.js.map +6 -0
- package/bundles/index.js +13 -13
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +13 -13
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +14 -14
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -5
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +1 -1
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +4 -4
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +3 -3
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/tsc_plugin.d.ts +1 -1
- package/src/ngtsc/typecheck/api/checker.d.ts +6 -6
- package/src/ngtsc/typecheck/api/completion.d.ts +3 -3
- package/src/ngtsc/typecheck/api/symbols.d.ts +23 -16
- package/src/ngtsc/typecheck/src/checker.d.ts +5 -4
- package/src/ngtsc/typecheck/src/completion.d.ts +6 -5
- package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +4 -3
- package/bundles/chunk-7PY7XEFH.js.map +0 -6
- package/bundles/chunk-A5PL3TE6.js.map +0 -6
- package/bundles/chunk-ALKVYGAK.js.map +0 -6
- package/bundles/chunk-CTSDWZWQ.js.map +0 -6
- package/bundles/chunk-FXU7FMZC.js.map +0 -6
- package/bundles/chunk-GLCRIILX.js.map +0 -6
- package/bundles/chunk-IUG2QCU2.js.map +0 -6
- package/bundles/chunk-K2Z44JHH.js.map +0 -6
- package/bundles/chunk-NC7BJDOB.js.map +0 -6
- package/bundles/chunk-QDWL7SZJ.js.map +0 -6
- package/bundles/chunk-SKBLJA43.js.map +0 -6
- package/bundles/chunk-VBVBCYZP.js.map +0 -6
- package/bundles/chunk-XNYP2SFR.js.map +0 -6
- package/bundles/chunk-XRCD4VXD.js.map +0 -6
- package/bundles/chunk-Z2HS4HDG.js.map +0 -6
|
@@ -34,11 +34,11 @@ import {
|
|
|
34
34
|
ivyTransformFactory,
|
|
35
35
|
retagAllTsFiles,
|
|
36
36
|
untagAllTsFiles
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-GRNU7Y46.js";
|
|
38
38
|
import {
|
|
39
39
|
TypeScriptReflectionHost,
|
|
40
40
|
isNamedClassDeclaration
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-A7GANIJT.js";
|
|
42
42
|
import {
|
|
43
43
|
AbsoluteModuleStrategy,
|
|
44
44
|
AliasStrategy,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
toUnredirectedSourceFile,
|
|
80
80
|
translateExpression,
|
|
81
81
|
translateType
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-FSD73D6W.js";
|
|
83
83
|
import {
|
|
84
84
|
LogicalFileSystem,
|
|
85
85
|
absoluteFrom,
|
|
@@ -89,20 +89,20 @@ import {
|
|
|
89
89
|
getSourceFileOrError,
|
|
90
90
|
join,
|
|
91
91
|
resolve
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-HAJOG5B7.js";
|
|
93
93
|
import {
|
|
94
94
|
ActivePerfRecorder,
|
|
95
95
|
DelegatingPerfRecorder,
|
|
96
96
|
PerfCheckpoint,
|
|
97
97
|
PerfEvent,
|
|
98
98
|
PerfPhase
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-LC26KH5A.js";
|
|
100
100
|
import {
|
|
101
101
|
__spreadProps,
|
|
102
102
|
__spreadValues
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-GMSUYBZP.js";
|
|
104
104
|
|
|
105
|
-
// bazel-out/
|
|
105
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
106
106
|
var DEFAULT_ERROR_CODE = 100;
|
|
107
107
|
var UNKNOWN_ERROR_CODE = 500;
|
|
108
108
|
var SOURCE = "angular";
|
|
@@ -120,7 +120,7 @@ var EmitFlags;
|
|
|
120
120
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
121
121
|
})(EmitFlags || (EmitFlags = {}));
|
|
122
122
|
|
|
123
|
-
// bazel-out/
|
|
123
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
124
124
|
import ts from "typescript";
|
|
125
125
|
var wrapHostForTest = null;
|
|
126
126
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -130,21 +130,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
130
130
|
return tsHost;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
// bazel-out/
|
|
133
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
134
134
|
var OptimizeFor;
|
|
135
135
|
(function(OptimizeFor2) {
|
|
136
136
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
137
137
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
138
138
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
139
139
|
|
|
140
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
141
141
|
var CompletionKind;
|
|
142
142
|
(function(CompletionKind2) {
|
|
143
143
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
144
144
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
145
145
|
})(CompletionKind || (CompletionKind = {}));
|
|
146
146
|
|
|
147
|
-
// bazel-out/
|
|
147
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
148
148
|
var SymbolKind;
|
|
149
149
|
(function(SymbolKind2) {
|
|
150
150
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -160,11 +160,11 @@ var SymbolKind;
|
|
|
160
160
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
161
161
|
})(SymbolKind || (SymbolKind = {}));
|
|
162
162
|
|
|
163
|
-
// bazel-out/
|
|
163
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
164
164
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
165
165
|
import ts32 from "typescript";
|
|
166
166
|
|
|
167
|
-
// bazel-out/
|
|
167
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
168
168
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
169
169
|
import * as path from "path";
|
|
170
170
|
function i18nGetExtension(formatName) {
|
|
@@ -215,10 +215,10 @@ function getPathNormalizer(basePath) {
|
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
// bazel-out/
|
|
218
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
219
219
|
import ts2 from "typescript";
|
|
220
220
|
|
|
221
|
-
// bazel-out/
|
|
221
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
222
222
|
function toNumbers(value) {
|
|
223
223
|
const suffixIndex = value.lastIndexOf("-");
|
|
224
224
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -253,9 +253,9 @@ function compareVersions(v1, v2) {
|
|
|
253
253
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
// bazel-out/
|
|
256
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
257
257
|
var MIN_TS_VERSION = "4.4.2";
|
|
258
|
-
var MAX_TS_VERSION = "4.
|
|
258
|
+
var MAX_TS_VERSION = "4.7.0";
|
|
259
259
|
var tsVersion = ts2.version;
|
|
260
260
|
function checkVersion(version, minVersion, maxVersion) {
|
|
261
261
|
if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
|
|
@@ -266,10 +266,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
266
266
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
270
270
|
import ts30 from "typescript";
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
273
273
|
var CycleAnalyzer = class {
|
|
274
274
|
constructor(importGraph) {
|
|
275
275
|
this.importGraph = importGraph;
|
|
@@ -340,7 +340,7 @@ var Cycle = class {
|
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
342
|
|
|
343
|
-
// bazel-out/
|
|
343
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
344
344
|
import ts3 from "typescript";
|
|
345
345
|
var ImportGraph = class {
|
|
346
346
|
constructor(checker, perf) {
|
|
@@ -432,7 +432,7 @@ var Found = class {
|
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
|
|
435
|
-
// bazel-out/
|
|
435
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
436
436
|
import ts4 from "typescript";
|
|
437
437
|
var FlatIndexGenerator = class {
|
|
438
438
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -457,7 +457,7 @@ export * from '${relativeEntryPoint}';
|
|
|
457
457
|
}
|
|
458
458
|
};
|
|
459
459
|
|
|
460
|
-
// bazel-out/
|
|
460
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
461
461
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
462
462
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
463
463
|
let resolvedEntryPoint = null;
|
|
@@ -473,7 +473,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
473
473
|
return resolvedEntryPoint;
|
|
474
474
|
}
|
|
475
475
|
|
|
476
|
-
// bazel-out/
|
|
476
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
477
477
|
import ts5 from "typescript";
|
|
478
478
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
479
479
|
const diagnostics = [];
|
|
@@ -553,7 +553,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
|
|
556
|
-
// bazel-out/
|
|
556
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
557
557
|
var ReferenceGraph = class {
|
|
558
558
|
constructor() {
|
|
559
559
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -607,7 +607,7 @@ var ReferenceGraph = class {
|
|
|
607
607
|
}
|
|
608
608
|
};
|
|
609
609
|
|
|
610
|
-
// bazel-out/
|
|
610
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
611
611
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
612
612
|
var UpdateMode;
|
|
613
613
|
(function(UpdateMode2) {
|
|
@@ -615,7 +615,7 @@ var UpdateMode;
|
|
|
615
615
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
616
616
|
})(UpdateMode || (UpdateMode = {}));
|
|
617
617
|
|
|
618
|
-
// bazel-out/
|
|
618
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
619
619
|
import ts6 from "typescript";
|
|
620
620
|
var DelegatingCompilerHost = class {
|
|
621
621
|
constructor(delegate) {
|
|
@@ -726,7 +726,7 @@ var TsCreateProgramDriver = class {
|
|
|
726
726
|
}
|
|
727
727
|
};
|
|
728
728
|
|
|
729
|
-
// bazel-out/
|
|
729
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
730
730
|
var FileDependencyGraph = class {
|
|
731
731
|
constructor() {
|
|
732
732
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -793,7 +793,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
793
793
|
return false;
|
|
794
794
|
}
|
|
795
795
|
|
|
796
|
-
// bazel-out/
|
|
796
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
797
797
|
var IncrementalStateKind;
|
|
798
798
|
(function(IncrementalStateKind2) {
|
|
799
799
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -801,7 +801,7 @@ var IncrementalStateKind;
|
|
|
801
801
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
802
802
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
803
803
|
|
|
804
|
-
// bazel-out/
|
|
804
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
805
805
|
var PhaseKind;
|
|
806
806
|
(function(PhaseKind2) {
|
|
807
807
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1002,7 +1002,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
|
-
// bazel-out/
|
|
1005
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1006
1006
|
var TrackedIncrementalBuildStrategy = class {
|
|
1007
1007
|
constructor() {
|
|
1008
1008
|
this.state = null;
|
|
@@ -1038,7 +1038,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1038
1038
|
};
|
|
1039
1039
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1040
1040
|
|
|
1041
|
-
// bazel-out/
|
|
1041
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1042
1042
|
var IdentifierKind;
|
|
1043
1043
|
(function(IdentifierKind2) {
|
|
1044
1044
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1056,7 +1056,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
};
|
|
1058
1058
|
|
|
1059
|
-
// bazel-out/
|
|
1059
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1060
1060
|
var IndexingContext = class {
|
|
1061
1061
|
constructor() {
|
|
1062
1062
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1066,10 +1066,10 @@ var IndexingContext = class {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
};
|
|
1068
1068
|
|
|
1069
|
-
// bazel-out/
|
|
1069
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1070
1070
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1071
1071
|
|
|
1072
|
-
// bazel-out/
|
|
1072
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1073
1073
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1074
1074
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1075
1075
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1306,7 +1306,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1306
1306
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1307
1307
|
}
|
|
1308
1308
|
|
|
1309
|
-
// bazel-out/
|
|
1309
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1310
1310
|
function generateAnalysis(context) {
|
|
1311
1311
|
const analysis = /* @__PURE__ */ new Map();
|
|
1312
1312
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1342,7 +1342,7 @@ function generateAnalysis(context) {
|
|
|
1342
1342
|
return analysis;
|
|
1343
1343
|
}
|
|
1344
1344
|
|
|
1345
|
-
// bazel-out/
|
|
1345
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1346
1346
|
import ts7 from "typescript";
|
|
1347
1347
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1348
1348
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1488,7 +1488,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1488
1488
|
};
|
|
1489
1489
|
}
|
|
1490
1490
|
|
|
1491
|
-
// bazel-out/
|
|
1491
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
1492
1492
|
var MetadataDtsModuleScopeResolver = class {
|
|
1493
1493
|
constructor(dtsMetaReader, aliasingHost) {
|
|
1494
1494
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -1574,7 +1574,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
1574
1574
|
}
|
|
1575
1575
|
};
|
|
1576
1576
|
|
|
1577
|
-
// bazel-out/
|
|
1577
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
1578
1578
|
import { ExternalExpr } from "@angular/compiler";
|
|
1579
1579
|
import ts8 from "typescript";
|
|
1580
1580
|
var LocalModuleScopeRegistry = class {
|
|
@@ -1884,7 +1884,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
1884
1884
|
]);
|
|
1885
1885
|
}
|
|
1886
1886
|
|
|
1887
|
-
// bazel-out/
|
|
1887
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
1888
1888
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
1889
1889
|
import ts9 from "typescript";
|
|
1890
1890
|
var TypeCheckScopeRegistry = class {
|
|
@@ -1945,10 +1945,10 @@ var TypeCheckScopeRegistry = class {
|
|
|
1945
1945
|
}
|
|
1946
1946
|
};
|
|
1947
1947
|
|
|
1948
|
-
// bazel-out/
|
|
1948
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1949
1949
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
1950
1950
|
|
|
1951
|
-
// bazel-out/
|
|
1951
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1952
1952
|
import ts10 from "typescript";
|
|
1953
1953
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1954
1954
|
if (mapping.type === "direct") {
|
|
@@ -2021,7 +2021,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
2021
2021
|
}
|
|
2022
2022
|
}
|
|
2023
2023
|
|
|
2024
|
-
// bazel-out/
|
|
2024
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2025
2025
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2026
2026
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2027
2027
|
function getTemplateId(clazz) {
|
|
@@ -2038,11 +2038,11 @@ function allocateTemplateId(sf) {
|
|
|
2038
2038
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2039
2039
|
}
|
|
2040
2040
|
|
|
2041
|
-
// bazel-out/
|
|
2041
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2042
2042
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2043
2043
|
import ts12 from "typescript";
|
|
2044
2044
|
|
|
2045
|
-
// bazel-out/
|
|
2045
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2046
2046
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2047
2047
|
import ts11 from "typescript";
|
|
2048
2048
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2162,12 +2162,13 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2162
2162
|
}) || false;
|
|
2163
2163
|
}
|
|
2164
2164
|
|
|
2165
|
-
// bazel-out/
|
|
2165
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2166
2166
|
var CompletionEngine = class {
|
|
2167
|
-
constructor(tcb, data,
|
|
2167
|
+
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2168
2168
|
this.tcb = tcb;
|
|
2169
2169
|
this.data = data;
|
|
2170
|
-
this.
|
|
2170
|
+
this.tcbPath = tcbPath;
|
|
2171
|
+
this.tcbIsShim = tcbIsShim;
|
|
2171
2172
|
this.templateContextCache = /* @__PURE__ */ new Map();
|
|
2172
2173
|
this.expressionCompletionCache = /* @__PURE__ */ new Map();
|
|
2173
2174
|
const globalRead = findFirstMatchingNode(this.tcb, {
|
|
@@ -2176,8 +2177,9 @@ var CompletionEngine = class {
|
|
|
2176
2177
|
});
|
|
2177
2178
|
if (globalRead !== null) {
|
|
2178
2179
|
this.componentContext = {
|
|
2179
|
-
|
|
2180
|
-
|
|
2180
|
+
tcbPath: this.tcbPath,
|
|
2181
|
+
isShimFile: this.tcbIsShim,
|
|
2182
|
+
positionInFile: globalRead.name.getStart()
|
|
2181
2183
|
};
|
|
2182
2184
|
} else {
|
|
2183
2185
|
this.componentContext = null;
|
|
@@ -2199,8 +2201,9 @@ var CompletionEngine = class {
|
|
|
2199
2201
|
});
|
|
2200
2202
|
if (nodeLocation !== null) {
|
|
2201
2203
|
nodeContext = {
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
+
tcbPath: this.tcbPath,
|
|
2205
|
+
isShimFile: this.tcbIsShim,
|
|
2206
|
+
positionInFile: nodeLocation.getStart()
|
|
2204
2207
|
};
|
|
2205
2208
|
}
|
|
2206
2209
|
}
|
|
@@ -2211,8 +2214,9 @@ var CompletionEngine = class {
|
|
|
2211
2214
|
});
|
|
2212
2215
|
if (nodeLocation) {
|
|
2213
2216
|
nodeContext = {
|
|
2214
|
-
|
|
2215
|
-
|
|
2217
|
+
tcbPath: this.tcbPath,
|
|
2218
|
+
isShimFile: this.tcbIsShim,
|
|
2219
|
+
positionInFile: nodeLocation.getStart()
|
|
2216
2220
|
};
|
|
2217
2221
|
}
|
|
2218
2222
|
}
|
|
@@ -2251,8 +2255,9 @@ var CompletionEngine = class {
|
|
|
2251
2255
|
return null;
|
|
2252
2256
|
}
|
|
2253
2257
|
const res = {
|
|
2254
|
-
|
|
2255
|
-
|
|
2258
|
+
tcbPath: this.tcbPath,
|
|
2259
|
+
isShimFile: this.tcbIsShim,
|
|
2260
|
+
positionInFile: tsExpr.name.getEnd()
|
|
2256
2261
|
};
|
|
2257
2262
|
this.expressionCompletionCache.set(expr, res);
|
|
2258
2263
|
return res;
|
|
@@ -2284,8 +2289,9 @@ var CompletionEngine = class {
|
|
|
2284
2289
|
positionInShimFile -= 1;
|
|
2285
2290
|
}
|
|
2286
2291
|
const res = {
|
|
2287
|
-
|
|
2288
|
-
|
|
2292
|
+
tcbPath: this.tcbPath,
|
|
2293
|
+
isShimFile: this.tcbIsShim,
|
|
2294
|
+
positionInFile: positionInShimFile
|
|
2289
2295
|
};
|
|
2290
2296
|
this.expressionCompletionCache.set(expr, res);
|
|
2291
2297
|
return res;
|
|
@@ -2313,10 +2319,10 @@ var CompletionEngine = class {
|
|
|
2313
2319
|
}
|
|
2314
2320
|
};
|
|
2315
2321
|
|
|
2316
|
-
// bazel-out/
|
|
2322
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2317
2323
|
import ts26 from "typescript";
|
|
2318
2324
|
|
|
2319
|
-
// bazel-out/
|
|
2325
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2320
2326
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2321
2327
|
import ts13 from "typescript";
|
|
2322
2328
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2366,11 +2372,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2366
2372
|
}
|
|
2367
2373
|
};
|
|
2368
2374
|
|
|
2369
|
-
// bazel-out/
|
|
2375
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2370
2376
|
import { ExpressionType, ExternalExpr as ExternalExpr2, TypeModifier } from "@angular/compiler";
|
|
2371
2377
|
import ts19 from "typescript";
|
|
2372
2378
|
|
|
2373
|
-
// bazel-out/
|
|
2379
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2374
2380
|
import ts14 from "typescript";
|
|
2375
2381
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2376
2382
|
ts14.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2439,16 +2445,16 @@ function isAccessExpression(node) {
|
|
|
2439
2445
|
return ts14.isPropertyAccessExpression(node) || ts14.isElementAccessExpression(node);
|
|
2440
2446
|
}
|
|
2441
2447
|
|
|
2442
|
-
// bazel-out/
|
|
2448
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2443
2449
|
import ts18 from "typescript";
|
|
2444
2450
|
|
|
2445
|
-
// bazel-out/
|
|
2451
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2446
2452
|
import ts17 from "typescript";
|
|
2447
2453
|
|
|
2448
|
-
// bazel-out/
|
|
2454
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2449
2455
|
import ts16 from "typescript";
|
|
2450
2456
|
|
|
2451
|
-
// bazel-out/
|
|
2457
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2452
2458
|
import ts15 from "typescript";
|
|
2453
2459
|
var INELIGIBLE = {};
|
|
2454
2460
|
function canEmitType(type, canEmit) {
|
|
@@ -2510,7 +2516,7 @@ var TypeEmitter = class {
|
|
|
2510
2516
|
}
|
|
2511
2517
|
};
|
|
2512
2518
|
|
|
2513
|
-
// bazel-out/
|
|
2519
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2514
2520
|
var TypeParameterEmitter = class {
|
|
2515
2521
|
constructor(typeParameters, reflector) {
|
|
2516
2522
|
this.typeParameters = typeParameters;
|
|
@@ -2587,7 +2593,7 @@ var TypeParameterEmitter = class {
|
|
|
2587
2593
|
}
|
|
2588
2594
|
};
|
|
2589
2595
|
|
|
2590
|
-
// bazel-out/
|
|
2596
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2591
2597
|
var TcbInliningRequirement;
|
|
2592
2598
|
(function(TcbInliningRequirement2) {
|
|
2593
2599
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2667,7 +2673,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2667
2673
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2668
2674
|
}
|
|
2669
2675
|
|
|
2670
|
-
// bazel-out/
|
|
2676
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2671
2677
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2672
2678
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2673
2679
|
const rawType = ts18.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2738,7 +2744,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2738
2744
|
});
|
|
2739
2745
|
}
|
|
2740
2746
|
|
|
2741
|
-
// bazel-out/
|
|
2747
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2742
2748
|
var Environment = class {
|
|
2743
2749
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2744
2750
|
this.config = config;
|
|
@@ -2830,7 +2836,7 @@ var Environment = class {
|
|
|
2830
2836
|
}
|
|
2831
2837
|
};
|
|
2832
2838
|
|
|
2833
|
-
// bazel-out/
|
|
2839
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2834
2840
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2835
2841
|
import ts20 from "typescript";
|
|
2836
2842
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2962,7 +2968,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2962
2968
|
});
|
|
2963
2969
|
}
|
|
2964
2970
|
|
|
2965
|
-
// bazel-out/
|
|
2971
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2966
2972
|
import ts21 from "typescript";
|
|
2967
2973
|
var TypeCheckShimGenerator = class {
|
|
2968
2974
|
constructor() {
|
|
@@ -2980,11 +2986,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2980
2986
|
}
|
|
2981
2987
|
};
|
|
2982
2988
|
|
|
2983
|
-
// bazel-out/
|
|
2989
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2984
2990
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, 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";
|
|
2985
2991
|
import ts24 from "typescript";
|
|
2986
2992
|
|
|
2987
|
-
// bazel-out/
|
|
2993
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2988
2994
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2989
2995
|
import ts22 from "typescript";
|
|
2990
2996
|
function wrapForDiagnostics(expr) {
|
|
@@ -3030,7 +3036,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3030
3036
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3031
3037
|
}
|
|
3032
3038
|
|
|
3033
|
-
// bazel-out/
|
|
3039
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3034
3040
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3035
3041
|
import ts23 from "typescript";
|
|
3036
3042
|
var NULL_AS_ANY = ts23.createAsExpression(ts23.createNull(), ts23.createKeywordTypeNode(ts23.SyntaxKind.AnyKeyword));
|
|
@@ -3360,7 +3366,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3360
3366
|
};
|
|
3361
3367
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3362
3368
|
|
|
3363
|
-
// bazel-out/
|
|
3369
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3364
3370
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3365
3371
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3366
3372
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3384,7 +3390,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3384
3390
|
}
|
|
3385
3391
|
};
|
|
3386
3392
|
|
|
3387
|
-
// bazel-out/
|
|
3393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3388
3394
|
var TcbGenericContextBehavior;
|
|
3389
3395
|
(function(TcbGenericContextBehavior2) {
|
|
3390
3396
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4434,7 +4440,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4434
4440
|
}
|
|
4435
4441
|
};
|
|
4436
4442
|
|
|
4437
|
-
// bazel-out/
|
|
4443
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4438
4444
|
import ts25 from "typescript";
|
|
4439
4445
|
var TypeCheckFile = class extends Environment {
|
|
4440
4446
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4470,7 +4476,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4470
4476
|
}
|
|
4471
4477
|
};
|
|
4472
4478
|
|
|
4473
|
-
// bazel-out/
|
|
4479
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4474
4480
|
var InliningMode;
|
|
4475
4481
|
(function(InliningMode2) {
|
|
4476
4482
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4700,10 +4706,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4700
4706
|
return splits;
|
|
4701
4707
|
}
|
|
4702
4708
|
|
|
4703
|
-
// bazel-out/
|
|
4709
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4704
4710
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4705
4711
|
|
|
4706
|
-
// bazel-out/
|
|
4712
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4707
4713
|
var LF_CHAR = 10;
|
|
4708
4714
|
var CR_CHAR = 13;
|
|
4709
4715
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4744,7 +4750,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4744
4750
|
return low - 1;
|
|
4745
4751
|
}
|
|
4746
4752
|
|
|
4747
|
-
// bazel-out/
|
|
4753
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4748
4754
|
var TemplateSource = class {
|
|
4749
4755
|
constructor(mapping, file) {
|
|
4750
4756
|
this.mapping = mapping;
|
|
@@ -4795,12 +4801,13 @@ var TemplateSourceManager = class {
|
|
|
4795
4801
|
}
|
|
4796
4802
|
};
|
|
4797
4803
|
|
|
4798
|
-
// bazel-out/
|
|
4804
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4799
4805
|
import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, 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";
|
|
4800
4806
|
import ts27 from "typescript";
|
|
4801
4807
|
var SymbolBuilder = class {
|
|
4802
|
-
constructor(
|
|
4803
|
-
this.
|
|
4808
|
+
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
4809
|
+
this.tcbPath = tcbPath;
|
|
4810
|
+
this.tcbIsShim = tcbIsShim;
|
|
4804
4811
|
this.typeCheckBlock = typeCheckBlock;
|
|
4805
4812
|
this.templateData = templateData;
|
|
4806
4813
|
this.componentScopeReader = componentScopeReader;
|
|
@@ -4949,7 +4956,7 @@ var SymbolBuilder = class {
|
|
|
4949
4956
|
const addEventListener = outputFieldAccess.name;
|
|
4950
4957
|
const tsSymbol = this.getTypeChecker().getSymbolAtLocation(addEventListener);
|
|
4951
4958
|
const tsType = this.getTypeChecker().getTypeAtLocation(addEventListener);
|
|
4952
|
-
const
|
|
4959
|
+
const positionInFile = this.getTcbPositionForNode(addEventListener);
|
|
4953
4960
|
const target = this.getSymbol(consumer);
|
|
4954
4961
|
if (target === null || tsSymbol === void 0) {
|
|
4955
4962
|
continue;
|
|
@@ -4959,7 +4966,11 @@ var SymbolBuilder = class {
|
|
|
4959
4966
|
tsSymbol,
|
|
4960
4967
|
tsType,
|
|
4961
4968
|
target,
|
|
4962
|
-
|
|
4969
|
+
tcbLocation: {
|
|
4970
|
+
tcbPath: this.tcbPath,
|
|
4971
|
+
isShimFile: this.tcbIsShim,
|
|
4972
|
+
positionInFile
|
|
4973
|
+
}
|
|
4963
4974
|
});
|
|
4964
4975
|
} else {
|
|
4965
4976
|
if (!ts27.isElementAccessExpression(outputFieldAccess)) {
|
|
@@ -4973,14 +4984,18 @@ var SymbolBuilder = class {
|
|
|
4973
4984
|
if (target === null) {
|
|
4974
4985
|
continue;
|
|
4975
4986
|
}
|
|
4976
|
-
const
|
|
4987
|
+
const positionInFile = this.getTcbPositionForNode(outputFieldAccess);
|
|
4977
4988
|
const tsType = this.getTypeChecker().getTypeAtLocation(outputFieldAccess);
|
|
4978
4989
|
bindings.push({
|
|
4979
4990
|
kind: SymbolKind.Binding,
|
|
4980
4991
|
tsSymbol,
|
|
4981
4992
|
tsType,
|
|
4982
4993
|
target,
|
|
4983
|
-
|
|
4994
|
+
tcbLocation: {
|
|
4995
|
+
tcbPath: this.tcbPath,
|
|
4996
|
+
isShimFile: this.tcbIsShim,
|
|
4997
|
+
positionInFile
|
|
4998
|
+
}
|
|
4984
4999
|
});
|
|
4985
5000
|
}
|
|
4986
5001
|
}
|
|
@@ -5042,7 +5057,7 @@ var SymbolBuilder = class {
|
|
|
5042
5057
|
kind: SymbolKind.Directive,
|
|
5043
5058
|
tsSymbol: symbol.tsSymbol,
|
|
5044
5059
|
tsType: symbol.tsType,
|
|
5045
|
-
|
|
5060
|
+
tcbLocation: symbol.tcbLocation,
|
|
5046
5061
|
isComponent,
|
|
5047
5062
|
isStructural,
|
|
5048
5063
|
selector,
|
|
@@ -5061,12 +5076,13 @@ var SymbolBuilder = class {
|
|
|
5061
5076
|
return {
|
|
5062
5077
|
tsType: expressionSymbol.tsType,
|
|
5063
5078
|
tsSymbol: expressionSymbol.tsSymbol,
|
|
5064
|
-
initializerLocation: expressionSymbol.
|
|
5079
|
+
initializerLocation: expressionSymbol.tcbLocation,
|
|
5065
5080
|
kind: SymbolKind.Variable,
|
|
5066
5081
|
declaration: variable,
|
|
5067
5082
|
localVarLocation: {
|
|
5068
|
-
|
|
5069
|
-
|
|
5083
|
+
tcbPath: this.tcbPath,
|
|
5084
|
+
isShimFile: this.tcbIsShim,
|
|
5085
|
+
positionInFile: this.getTcbPositionForNode(node.name)
|
|
5070
5086
|
}
|
|
5071
5087
|
};
|
|
5072
5088
|
}
|
|
@@ -5084,9 +5100,10 @@ var SymbolBuilder = class {
|
|
|
5084
5100
|
if (symbol === null || symbol.tsSymbol === null) {
|
|
5085
5101
|
return null;
|
|
5086
5102
|
}
|
|
5087
|
-
const
|
|
5088
|
-
|
|
5089
|
-
|
|
5103
|
+
const referenceVarTcbLocation = {
|
|
5104
|
+
tcbPath: this.tcbPath,
|
|
5105
|
+
isShimFile: this.tcbIsShim,
|
|
5106
|
+
positionInFile: this.getTcbPositionForNode(node)
|
|
5090
5107
|
};
|
|
5091
5108
|
if (target instanceof TmplAstTemplate3 || target instanceof TmplAstElement4) {
|
|
5092
5109
|
return {
|
|
@@ -5095,8 +5112,8 @@ var SymbolBuilder = class {
|
|
|
5095
5112
|
tsType: symbol.tsType,
|
|
5096
5113
|
target,
|
|
5097
5114
|
declaration: ref,
|
|
5098
|
-
targetLocation: symbol.
|
|
5099
|
-
referenceVarLocation:
|
|
5115
|
+
targetLocation: symbol.tcbLocation,
|
|
5116
|
+
referenceVarLocation: referenceVarTcbLocation
|
|
5100
5117
|
};
|
|
5101
5118
|
} else {
|
|
5102
5119
|
if (!ts27.isClassDeclaration(target.directive.ref.node)) {
|
|
@@ -5108,8 +5125,8 @@ var SymbolBuilder = class {
|
|
|
5108
5125
|
tsType: symbol.tsType,
|
|
5109
5126
|
declaration: ref,
|
|
5110
5127
|
target: target.directive.ref.node,
|
|
5111
|
-
targetLocation: symbol.
|
|
5112
|
-
referenceVarLocation:
|
|
5128
|
+
targetLocation: symbol.tcbLocation,
|
|
5129
|
+
referenceVarLocation: referenceVarTcbLocation
|
|
5113
5130
|
};
|
|
5114
5131
|
}
|
|
5115
5132
|
}
|
|
@@ -5191,17 +5208,21 @@ var SymbolBuilder = class {
|
|
|
5191
5208
|
} else {
|
|
5192
5209
|
tsSymbol = this.getTypeChecker().getSymbolAtLocation(node);
|
|
5193
5210
|
}
|
|
5194
|
-
const
|
|
5211
|
+
const positionInFile = this.getTcbPositionForNode(node);
|
|
5195
5212
|
const type = this.getTypeChecker().getTypeAtLocation(node);
|
|
5196
5213
|
return {
|
|
5197
5214
|
tsSymbol: (_a = tsSymbol != null ? tsSymbol : type.symbol) != null ? _a : null,
|
|
5198
5215
|
tsType: type,
|
|
5199
|
-
|
|
5216
|
+
tcbLocation: {
|
|
5217
|
+
tcbPath: this.tcbPath,
|
|
5218
|
+
isShimFile: this.tcbIsShim,
|
|
5219
|
+
positionInFile
|
|
5220
|
+
}
|
|
5200
5221
|
};
|
|
5201
5222
|
}
|
|
5202
|
-
|
|
5223
|
+
getTcbPositionForNode(node) {
|
|
5203
5224
|
if (ts27.isTypeReferenceNode(node)) {
|
|
5204
|
-
return this.
|
|
5225
|
+
return this.getTcbPositionForNode(node.typeName);
|
|
5205
5226
|
} else if (ts27.isQualifiedName(node)) {
|
|
5206
5227
|
return node.right.getStart();
|
|
5207
5228
|
} else if (ts27.isPropertyAccessExpression(node)) {
|
|
@@ -5220,7 +5241,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5220
5241
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5221
5242
|
}
|
|
5222
5243
|
|
|
5223
|
-
// bazel-out/
|
|
5244
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5224
5245
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5225
5246
|
var TemplateTypeCheckerImpl = class {
|
|
5226
5247
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -5256,7 +5277,7 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5256
5277
|
const shimPath = TypeCheckShimGenerator.shimFor(sfPath);
|
|
5257
5278
|
const fileRecord = this.getFileData(sfPath);
|
|
5258
5279
|
if (!fileRecord.shimData.has(shimPath)) {
|
|
5259
|
-
return { data: null, tcb: null, shimPath };
|
|
5280
|
+
return { data: null, tcb: null, tcbPath: shimPath, tcbIsShim: true };
|
|
5260
5281
|
}
|
|
5261
5282
|
const templateId = fileRecord.sourceManager.getTemplateId(component);
|
|
5262
5283
|
const shimRecord = fileRecord.shimData.get(shimPath);
|
|
@@ -5267,19 +5288,38 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5267
5288
|
throw new Error(`Error: no shim file in program: ${shimPath}`);
|
|
5268
5289
|
}
|
|
5269
5290
|
let tcb = findTypeCheckBlock(shimSf, id, false);
|
|
5291
|
+
let tcbPath = shimPath;
|
|
5270
5292
|
if (tcb === null) {
|
|
5271
5293
|
const inlineSf = getSourceFileOrError(program, sfPath);
|
|
5272
5294
|
tcb = findTypeCheckBlock(inlineSf, id, false);
|
|
5295
|
+
if (tcb !== null) {
|
|
5296
|
+
tcbPath = sfPath;
|
|
5297
|
+
}
|
|
5273
5298
|
}
|
|
5274
5299
|
let data = null;
|
|
5275
5300
|
if (shimRecord.templates.has(templateId)) {
|
|
5276
5301
|
data = shimRecord.templates.get(templateId);
|
|
5277
5302
|
}
|
|
5278
|
-
return { data, tcb, shimPath };
|
|
5303
|
+
return { data, tcb, tcbPath, tcbIsShim: tcbPath === shimPath };
|
|
5279
5304
|
}
|
|
5280
5305
|
isTrackedTypeCheckFile(filePath) {
|
|
5281
5306
|
return this.getFileAndShimRecordsForPath(filePath) !== null;
|
|
5282
5307
|
}
|
|
5308
|
+
getFileRecordForTcbLocation({ tcbPath, isShimFile }) {
|
|
5309
|
+
if (!isShimFile) {
|
|
5310
|
+
if (this.state.has(tcbPath)) {
|
|
5311
|
+
return this.state.get(tcbPath);
|
|
5312
|
+
} else {
|
|
5313
|
+
return null;
|
|
5314
|
+
}
|
|
5315
|
+
}
|
|
5316
|
+
const records = this.getFileAndShimRecordsForPath(tcbPath);
|
|
5317
|
+
if (records !== null) {
|
|
5318
|
+
return records.fileRecord;
|
|
5319
|
+
} else {
|
|
5320
|
+
return null;
|
|
5321
|
+
}
|
|
5322
|
+
}
|
|
5283
5323
|
getFileAndShimRecordsForPath(shimPath) {
|
|
5284
5324
|
for (const fileRecord of this.state.values()) {
|
|
5285
5325
|
if (fileRecord.shimData.has(shimPath)) {
|
|
@@ -5288,17 +5328,16 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5288
5328
|
}
|
|
5289
5329
|
return null;
|
|
5290
5330
|
}
|
|
5291
|
-
|
|
5292
|
-
const
|
|
5293
|
-
if (
|
|
5331
|
+
getTemplateMappingAtTcbLocation(tcbLocation) {
|
|
5332
|
+
const fileRecord = this.getFileRecordForTcbLocation(tcbLocation);
|
|
5333
|
+
if (fileRecord === null) {
|
|
5294
5334
|
return null;
|
|
5295
5335
|
}
|
|
5296
|
-
const
|
|
5297
|
-
const shimSf = this.programDriver.getProgram().getSourceFile(absoluteFrom(shimPath));
|
|
5336
|
+
const shimSf = this.programDriver.getProgram().getSourceFile(tcbLocation.tcbPath);
|
|
5298
5337
|
if (shimSf === void 0) {
|
|
5299
5338
|
return null;
|
|
5300
5339
|
}
|
|
5301
|
-
return getTemplateMapping(shimSf,
|
|
5340
|
+
return getTemplateMapping(shimSf, tcbLocation.positionInFile, fileRecord.sourceManager, false);
|
|
5302
5341
|
}
|
|
5303
5342
|
generateAllTypeCheckBlocks() {
|
|
5304
5343
|
this.ensureAllShimsForAllFiles();
|
|
@@ -5410,11 +5449,11 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5410
5449
|
if (this.completionCache.has(component)) {
|
|
5411
5450
|
return this.completionCache.get(component);
|
|
5412
5451
|
}
|
|
5413
|
-
const { tcb, data,
|
|
5452
|
+
const { tcb, data, tcbPath, tcbIsShim } = this.getLatestComponentState(component);
|
|
5414
5453
|
if (tcb === null || data === null) {
|
|
5415
5454
|
return null;
|
|
5416
5455
|
}
|
|
5417
|
-
const engine = new CompletionEngine(tcb, data,
|
|
5456
|
+
const engine = new CompletionEngine(tcb, data, tcbPath, tcbIsShim);
|
|
5418
5457
|
this.completionCache.set(component, engine);
|
|
5419
5458
|
return engine;
|
|
5420
5459
|
}
|
|
@@ -5538,11 +5577,11 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5538
5577
|
if (this.symbolBuilderCache.has(component)) {
|
|
5539
5578
|
return this.symbolBuilderCache.get(component);
|
|
5540
5579
|
}
|
|
5541
|
-
const { tcb, data,
|
|
5580
|
+
const { tcb, data, tcbPath, tcbIsShim } = this.getLatestComponentState(component);
|
|
5542
5581
|
if (tcb === null || data === null) {
|
|
5543
5582
|
return null;
|
|
5544
5583
|
}
|
|
5545
|
-
const builder = new SymbolBuilder(
|
|
5584
|
+
const builder = new SymbolBuilder(tcbPath, tcbIsShim, tcb, data, this.componentScopeReader, () => this.programDriver.getProgram().getTypeChecker());
|
|
5546
5585
|
this.symbolBuilderCache.set(component, builder);
|
|
5547
5586
|
return builder;
|
|
5548
5587
|
}
|
|
@@ -5736,10 +5775,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
5736
5775
|
}
|
|
5737
5776
|
};
|
|
5738
5777
|
|
|
5739
|
-
// bazel-out/
|
|
5778
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5740
5779
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
5741
5780
|
|
|
5742
|
-
// bazel-out/
|
|
5781
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
5743
5782
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
5744
5783
|
var TemplateCheckWithVisitor = class {
|
|
5745
5784
|
run(ctx, component, template) {
|
|
@@ -5816,7 +5855,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
5816
5855
|
}
|
|
5817
5856
|
};
|
|
5818
5857
|
|
|
5819
|
-
// bazel-out/
|
|
5858
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5820
5859
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
5821
5860
|
constructor() {
|
|
5822
5861
|
super(...arguments);
|
|
@@ -5841,7 +5880,7 @@ var factory = {
|
|
|
5841
5880
|
create: () => new InvalidBananaInBoxCheck()
|
|
5842
5881
|
};
|
|
5843
5882
|
|
|
5844
|
-
// bazel-out/
|
|
5883
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
5845
5884
|
import { Binary } from "@angular/compiler";
|
|
5846
5885
|
import ts28 from "typescript";
|
|
5847
5886
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -5866,8 +5905,11 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
5866
5905
|
if (symbol.kind !== SymbolKind.Expression) {
|
|
5867
5906
|
return [];
|
|
5868
5907
|
}
|
|
5869
|
-
const
|
|
5870
|
-
|
|
5908
|
+
const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
|
|
5909
|
+
if (templateMapping === null) {
|
|
5910
|
+
return [];
|
|
5911
|
+
}
|
|
5912
|
+
const diagnostic = ctx.makeTemplateDiagnostic(templateMapping.span, `The left side of this nullish coalescing operation does not include 'null' or 'undefined' in its type, therefore the '??' operator can be safely removed.`);
|
|
5871
5913
|
return [diagnostic];
|
|
5872
5914
|
}
|
|
5873
5915
|
};
|
|
@@ -5883,10 +5925,10 @@ var factory2 = {
|
|
|
5883
5925
|
}
|
|
5884
5926
|
};
|
|
5885
5927
|
|
|
5886
|
-
// bazel-out/
|
|
5928
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
5887
5929
|
import ts29 from "typescript";
|
|
5888
5930
|
|
|
5889
|
-
// bazel-out/
|
|
5931
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
5890
5932
|
var DiagnosticCategoryLabel;
|
|
5891
5933
|
(function(DiagnosticCategoryLabel2) {
|
|
5892
5934
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -5894,7 +5936,7 @@ var DiagnosticCategoryLabel;
|
|
|
5894
5936
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
5895
5937
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
5896
5938
|
|
|
5897
|
-
// bazel-out/
|
|
5939
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
5898
5940
|
var ExtendedTemplateCheckerImpl = class {
|
|
5899
5941
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
5900
5942
|
var _a, _b, _c, _d, _e;
|
|
@@ -5946,13 +5988,13 @@ function assertNever(value) {
|
|
|
5946
5988
|
${value}`);
|
|
5947
5989
|
}
|
|
5948
5990
|
|
|
5949
|
-
// bazel-out/
|
|
5991
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
5950
5992
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
5951
5993
|
factory,
|
|
5952
5994
|
factory2
|
|
5953
5995
|
];
|
|
5954
5996
|
|
|
5955
|
-
// bazel-out/
|
|
5997
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
5956
5998
|
var CompilationTicketKind;
|
|
5957
5999
|
(function(CompilationTicketKind2) {
|
|
5958
6000
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6647,7 +6689,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
6647
6689
|
return versions;
|
|
6648
6690
|
}
|
|
6649
6691
|
|
|
6650
|
-
// bazel-out/
|
|
6692
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
6651
6693
|
import ts31 from "typescript";
|
|
6652
6694
|
var DelegatingCompilerHost2 = class {
|
|
6653
6695
|
constructor(delegate) {
|
|
@@ -6788,7 +6830,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
6788
6830
|
}
|
|
6789
6831
|
};
|
|
6790
6832
|
|
|
6791
|
-
// bazel-out/
|
|
6833
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
6792
6834
|
var NgtscProgram = class {
|
|
6793
6835
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
6794
6836
|
this.options = options;
|
|
@@ -6995,15 +7037,15 @@ function mergeEmitResults(emitResults) {
|
|
|
6995
7037
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
6996
7038
|
}
|
|
6997
7039
|
|
|
6998
|
-
// bazel-out/
|
|
7040
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
6999
7041
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7000
7042
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7001
7043
|
}
|
|
7002
7044
|
|
|
7003
|
-
// bazel-out/
|
|
7045
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7004
7046
|
import ts34 from "typescript";
|
|
7005
7047
|
|
|
7006
|
-
// bazel-out/
|
|
7048
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7007
7049
|
import ts33 from "typescript";
|
|
7008
7050
|
var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
|
|
7009
7051
|
function createMessageDiagnostic(messageText) {
|
|
@@ -7018,7 +7060,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7018
7060
|
};
|
|
7019
7061
|
}
|
|
7020
7062
|
|
|
7021
|
-
// bazel-out/
|
|
7063
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7022
7064
|
var defaultFormatHost = {
|
|
7023
7065
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7024
7066
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7231,4 +7273,4 @@ export {
|
|
|
7231
7273
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7232
7274
|
* found in the LICENSE file at https://angular.io/license
|
|
7233
7275
|
*/
|
|
7234
|
-
//# sourceMappingURL=chunk-
|
|
7276
|
+
//# sourceMappingURL=chunk-HAPVTQDJ.js.map
|