@angular/compiler-cli 15.1.0-next.0 → 15.1.0-next.2
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-KGTNU2UU.js → chunk-4ENQEGGA.js} +5 -5
- package/bundles/{chunk-KGTNU2UU.js.map → chunk-4ENQEGGA.js.map} +0 -0
- package/bundles/{chunk-LHZD6YT2.js → chunk-BGOUKBDI.js} +35 -35
- package/bundles/chunk-BGOUKBDI.js.map +6 -0
- package/bundles/{chunk-VOEFUUJH.js → chunk-DLVFMDSC.js} +2 -2
- package/bundles/{chunk-VOEFUUJH.js.map → chunk-DLVFMDSC.js.map} +0 -0
- package/bundles/{chunk-NXGWYLNC.js → chunk-E7DPJFUS.js} +7 -7
- package/bundles/{chunk-NXGWYLNC.js.map → chunk-E7DPJFUS.js.map} +0 -0
- package/bundles/{chunk-UUIUKASM.js → chunk-IZN5U2AM.js} +11 -2
- package/bundles/chunk-IZN5U2AM.js.map +6 -0
- package/bundles/{chunk-QKS2XPFG.js → chunk-KY7HVS6H.js} +87 -77
- package/bundles/chunk-KY7HVS6H.js.map +6 -0
- package/bundles/{chunk-XVHC4VAO.js → chunk-MAF2KC4N.js} +8 -8
- package/bundles/{chunk-XVHC4VAO.js.map → chunk-MAF2KC4N.js.map} +1 -1
- package/bundles/{chunk-FPQZA7NP.js → chunk-OFXSI6E3.js} +3 -3
- package/bundles/{chunk-FPQZA7NP.js.map → chunk-OFXSI6E3.js.map} +0 -0
- package/bundles/{chunk-22N3RTKA.js → chunk-OHYTYUA4.js} +7 -7
- package/bundles/{chunk-22N3RTKA.js.map → chunk-OHYTYUA4.js.map} +0 -0
- package/bundles/{chunk-A6MA5NDQ.js → chunk-ONRVYLCK.js} +128 -129
- package/bundles/chunk-ONRVYLCK.js.map +6 -0
- package/bundles/{chunk-JZDWEOSI.js → chunk-PPMCRK4H.js} +74 -73
- package/bundles/{chunk-JZDWEOSI.js.map → chunk-PPMCRK4H.js.map} +1 -1
- package/bundles/{chunk-6TLW4724.js → chunk-PPWXQG65.js} +51 -49
- package/bundles/{chunk-6TLW4724.js.map → chunk-PPWXQG65.js.map} +1 -1
- package/bundles/{chunk-JY5KP5YT.js → chunk-QVO57CDR.js} +4 -4
- package/bundles/{chunk-JY5KP5YT.js.map → chunk-QVO57CDR.js.map} +0 -0
- package/bundles/{chunk-OKDR75TI.js → chunk-TTNJEW7O.js} +7 -7
- package/bundles/{chunk-OKDR75TI.js.map → chunk-TTNJEW7O.js.map} +0 -0
- package/bundles/{chunk-TZNP5L2W.js → chunk-UN4WV3U4.js} +35 -30
- package/bundles/chunk-UN4WV3U4.js.map +6 -0
- package/bundles/{chunk-GIA6ASYG.js → chunk-Y6MBLTIR.js} +7 -7
- package/bundles/{chunk-GIA6ASYG.js.map → chunk-Y6MBLTIR.js.map} +0 -0
- package/bundles/index.js +19 -19
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +13 -13
- package/bundles/ngcc/main-ngcc.js +14 -14
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +20 -19
- 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 +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- 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/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/linker/babel/src/babel_core.d.ts +4 -4
- package/linker/babel/src/babel_declaration_scope.d.ts +1 -1
- package/linker/src/ast/ast_value.d.ts +11 -16
- package/linker/src/file_linker/get_source_file.d.ts +1 -1
- package/ngcc/src/analysis/module_with_providers_analyzer.d.ts +1 -1
- package/ngcc/src/analysis/private_declarations_analyzer.d.ts +1 -1
- package/ngcc/src/analysis/types.d.ts +1 -1
- package/ngcc/src/dependencies/dependency_resolver.d.ts +1 -1
- package/ngcc/src/dependencies/module_resolver.d.ts +1 -1
- package/ngcc/src/execution/api.d.ts +3 -3
- package/ngcc/src/execution/cluster/api.d.ts +2 -2
- package/ngcc/src/execution/tasks/api.d.ts +4 -4
- package/ngcc/src/execution/tasks/completion.d.ts +1 -1
- package/ngcc/src/host/esm2015_host.d.ts +5 -5
- package/ngcc/src/host/ngcc_host.d.ts +1 -1
- package/ngcc/src/ngcc_options.d.ts +6 -6
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/ngcc/src/packages/entry_point.d.ts +4 -4
- package/ngcc/src/packages/entry_point_manifest.d.ts +2 -2
- package/ngcc/src/packages/transformer.d.ts +1 -1
- package/ngcc/src/path_mappings.d.ts +1 -1
- package/ngcc/src/rendering/rendering_formatter.d.ts +1 -1
- package/ngcc/src/utils.d.ts +2 -2
- package/ngcc/src/writing/package_json_updater.d.ts +3 -3
- package/package.json +4 -4
- package/src/main.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/di.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/factory.d.ts +1 -1
- package/src/ngtsc/annotations/component/src/metadata.d.ts +2 -2
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -1
- package/src/ngtsc/core/api/src/adapter.d.ts +1 -1
- package/src/ngtsc/core/src/compiler.d.ts +1 -1
- package/src/ngtsc/core/src/host.d.ts +1 -1
- package/src/ngtsc/file_system/src/logical.d.ts +1 -1
- package/src/ngtsc/file_system/src/types.d.ts +4 -4
- package/src/ngtsc/imports/src/emitter.d.ts +2 -2
- package/src/ngtsc/incremental/src/state.d.ts +1 -1
- package/src/ngtsc/indexer/src/api.d.ts +1 -1
- package/src/ngtsc/metadata/src/inheritance.d.ts +1 -1
- package/src/ngtsc/metadata/src/property_mapping.d.ts +2 -2
- package/src/ngtsc/partial_evaluator/src/interface.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/interpreter.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/result.d.ts +1 -1
- package/src/ngtsc/perf/src/clock.d.ts +1 -1
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +1 -1
- package/src/ngtsc/reflection/src/host.d.ts +9 -9
- package/src/ngtsc/scope/src/api.d.ts +1 -1
- package/src/ngtsc/scope/src/typecheck.d.ts +1 -1
- package/src/ngtsc/transform/src/trait.d.ts +1 -1
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +3 -3
- package/src/ngtsc/translator/src/translator.d.ts +1 -1
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +50 -14
- package/src/ngtsc/typecheck/api/api.d.ts +3 -3
- package/src/ngtsc/typecheck/api/completion.d.ts +1 -1
- package/src/ngtsc/typecheck/api/scope.d.ts +1 -1
- package/src/ngtsc/typecheck/api/symbols.d.ts +3 -3
- package/src/ngtsc/typecheck/src/type_emitter.d.ts +1 -1
- package/src/ngtsc/util/src/typescript.d.ts +3 -3
- package/src/ngtsc/util/src/visitor.d.ts +1 -1
- package/src/perform_compile.d.ts +1 -1
- package/bundles/chunk-A6MA5NDQ.js.map +0 -6
- package/bundles/chunk-LHZD6YT2.js.map +0 -6
- package/bundles/chunk-QKS2XPFG.js.map +0 -6
- package/bundles/chunk-TZNP5L2W.js.map +0 -6
- package/bundles/chunk-UUIUKASM.js.map +0 -6
|
@@ -31,11 +31,11 @@ import {
|
|
|
31
31
|
aliasTransformFactory,
|
|
32
32
|
declarationTransformFactory,
|
|
33
33
|
ivyTransformFactory
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KY7HVS6H.js";
|
|
35
35
|
import {
|
|
36
36
|
TypeScriptReflectionHost,
|
|
37
37
|
isNamedClassDeclaration
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-OHYTYUA4.js";
|
|
39
39
|
import {
|
|
40
40
|
AbsoluteModuleStrategy,
|
|
41
41
|
AliasStrategy,
|
|
@@ -76,12 +76,14 @@ import {
|
|
|
76
76
|
toUnredirectedSourceFile,
|
|
77
77
|
translateExpression,
|
|
78
78
|
translateType
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-UN4WV3U4.js";
|
|
80
80
|
import {
|
|
81
|
+
createFunctionDeclaration,
|
|
82
|
+
createParameterDeclaration,
|
|
81
83
|
getDecorators,
|
|
82
84
|
getModifiers,
|
|
83
85
|
updateImportDeclaration
|
|
84
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-IZN5U2AM.js";
|
|
85
87
|
import {
|
|
86
88
|
LogicalFileSystem,
|
|
87
89
|
absoluteFrom,
|
|
@@ -92,16 +94,16 @@ import {
|
|
|
92
94
|
getSourceFileOrError,
|
|
93
95
|
join,
|
|
94
96
|
resolve
|
|
95
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-E7DPJFUS.js";
|
|
96
98
|
import {
|
|
97
99
|
ActivePerfRecorder,
|
|
98
100
|
DelegatingPerfRecorder,
|
|
99
101
|
PerfCheckpoint,
|
|
100
102
|
PerfEvent,
|
|
101
103
|
PerfPhase
|
|
102
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-MAF2KC4N.js";
|
|
103
105
|
|
|
104
|
-
// bazel-out/
|
|
106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
105
107
|
var DEFAULT_ERROR_CODE = 100;
|
|
106
108
|
var UNKNOWN_ERROR_CODE = 500;
|
|
107
109
|
var SOURCE = "angular";
|
|
@@ -119,7 +121,7 @@ var EmitFlags;
|
|
|
119
121
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
120
122
|
})(EmitFlags || (EmitFlags = {}));
|
|
121
123
|
|
|
122
|
-
// bazel-out/
|
|
124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
123
125
|
import ts from "typescript";
|
|
124
126
|
var wrapHostForTest = null;
|
|
125
127
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -129,28 +131,28 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
129
131
|
return tsHost;
|
|
130
132
|
}
|
|
131
133
|
|
|
132
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
133
135
|
var OptimizeFor;
|
|
134
136
|
(function(OptimizeFor2) {
|
|
135
137
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
136
138
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
137
139
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
138
140
|
|
|
139
|
-
// bazel-out/
|
|
141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
140
142
|
var CompletionKind;
|
|
141
143
|
(function(CompletionKind2) {
|
|
142
144
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
143
145
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
144
146
|
})(CompletionKind || (CompletionKind = {}));
|
|
145
147
|
|
|
146
|
-
// bazel-out/
|
|
148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
147
149
|
var PotentialImportKind;
|
|
148
150
|
(function(PotentialImportKind2) {
|
|
149
151
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
150
152
|
PotentialImportKind2[PotentialImportKind2["Standalone"] = 1] = "Standalone";
|
|
151
153
|
})(PotentialImportKind || (PotentialImportKind = {}));
|
|
152
154
|
|
|
153
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
154
156
|
var SymbolKind;
|
|
155
157
|
(function(SymbolKind2) {
|
|
156
158
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -166,11 +168,11 @@ var SymbolKind;
|
|
|
166
168
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
167
169
|
})(SymbolKind || (SymbolKind = {}));
|
|
168
170
|
|
|
169
|
-
// bazel-out/
|
|
171
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
170
172
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
171
173
|
import ts34 from "typescript";
|
|
172
174
|
|
|
173
|
-
// bazel-out/
|
|
175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
174
176
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
175
177
|
import * as path from "path";
|
|
176
178
|
function i18nGetExtension(formatName) {
|
|
@@ -221,10 +223,10 @@ function getPathNormalizer(basePath) {
|
|
|
221
223
|
};
|
|
222
224
|
}
|
|
223
225
|
|
|
224
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
225
227
|
import ts2 from "typescript";
|
|
226
228
|
|
|
227
|
-
// bazel-out/
|
|
229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
228
230
|
function toNumbers(value) {
|
|
229
231
|
const suffixIndex = value.lastIndexOf("-");
|
|
230
232
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -259,9 +261,9 @@ function compareVersions(v1, v2) {
|
|
|
259
261
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
260
262
|
}
|
|
261
263
|
|
|
262
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
263
265
|
var MIN_TS_VERSION = "4.8.2";
|
|
264
|
-
var MAX_TS_VERSION = "
|
|
266
|
+
var MAX_TS_VERSION = "5.0.0";
|
|
265
267
|
var tsVersion = ts2.version;
|
|
266
268
|
function checkVersion(version, minVersion, maxVersion) {
|
|
267
269
|
if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
|
|
@@ -272,10 +274,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
272
274
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
273
275
|
}
|
|
274
276
|
|
|
275
|
-
// bazel-out/
|
|
277
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
276
278
|
import ts32 from "typescript";
|
|
277
279
|
|
|
278
|
-
// bazel-out/
|
|
280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
279
281
|
var CycleAnalyzer = class {
|
|
280
282
|
constructor(importGraph) {
|
|
281
283
|
this.importGraph = importGraph;
|
|
@@ -346,7 +348,7 @@ var Cycle = class {
|
|
|
346
348
|
}
|
|
347
349
|
};
|
|
348
350
|
|
|
349
|
-
// bazel-out/
|
|
351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
350
352
|
import ts3 from "typescript";
|
|
351
353
|
var ImportGraph = class {
|
|
352
354
|
constructor(checker, perf) {
|
|
@@ -438,7 +440,7 @@ var Found = class {
|
|
|
438
440
|
}
|
|
439
441
|
};
|
|
440
442
|
|
|
441
|
-
// bazel-out/
|
|
443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
442
444
|
import ts4 from "typescript";
|
|
443
445
|
var FlatIndexGenerator = class {
|
|
444
446
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -463,7 +465,7 @@ export * from '${relativeEntryPoint}';
|
|
|
463
465
|
}
|
|
464
466
|
};
|
|
465
467
|
|
|
466
|
-
// bazel-out/
|
|
468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
467
469
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
468
470
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
469
471
|
let resolvedEntryPoint = null;
|
|
@@ -479,7 +481,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
479
481
|
return resolvedEntryPoint;
|
|
480
482
|
}
|
|
481
483
|
|
|
482
|
-
// bazel-out/
|
|
484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
483
485
|
import ts5 from "typescript";
|
|
484
486
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
485
487
|
const diagnostics = [];
|
|
@@ -559,7 +561,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
559
561
|
}
|
|
560
562
|
}
|
|
561
563
|
|
|
562
|
-
// bazel-out/
|
|
564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
563
565
|
var ReferenceGraph = class {
|
|
564
566
|
constructor() {
|
|
565
567
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -613,7 +615,7 @@ var ReferenceGraph = class {
|
|
|
613
615
|
}
|
|
614
616
|
};
|
|
615
617
|
|
|
616
|
-
// bazel-out/
|
|
618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
617
619
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
618
620
|
var UpdateMode;
|
|
619
621
|
(function(UpdateMode2) {
|
|
@@ -621,13 +623,13 @@ var UpdateMode;
|
|
|
621
623
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
622
624
|
})(UpdateMode || (UpdateMode = {}));
|
|
623
625
|
|
|
624
|
-
// bazel-out/
|
|
626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
625
627
|
import ts9 from "typescript";
|
|
626
628
|
|
|
627
|
-
// bazel-out/
|
|
629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
628
630
|
import ts6 from "typescript";
|
|
629
631
|
|
|
630
|
-
// bazel-out/
|
|
632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
631
633
|
var NgExtension = Symbol("NgExtension");
|
|
632
634
|
function isExtended(sf) {
|
|
633
635
|
return sf[NgExtension] !== void 0;
|
|
@@ -687,7 +689,7 @@ function retagTsFile(sf) {
|
|
|
687
689
|
}
|
|
688
690
|
}
|
|
689
691
|
|
|
690
|
-
// bazel-out/
|
|
692
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
691
693
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
692
694
|
function makeShimFileName(fileName, suffix) {
|
|
693
695
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -702,7 +704,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
702
704
|
return moduleName;
|
|
703
705
|
}
|
|
704
706
|
|
|
705
|
-
// bazel-out/
|
|
707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
706
708
|
var ShimAdapter = class {
|
|
707
709
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
708
710
|
this.delegate = delegate;
|
|
@@ -797,7 +799,7 @@ var ShimAdapter = class {
|
|
|
797
799
|
}
|
|
798
800
|
};
|
|
799
801
|
|
|
800
|
-
// bazel-out/
|
|
802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
801
803
|
import ts7 from "typescript";
|
|
802
804
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
803
805
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -957,7 +959,7 @@ function updateInitializers(stmt, update) {
|
|
|
957
959
|
return ts7.factory.updateVariableStatement(stmt, getModifiers(stmt), ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.factory.updateVariableDeclaration(decl, decl.name, decl.exclamationToken, decl.type, update(decl.initializer)))));
|
|
958
960
|
}
|
|
959
961
|
|
|
960
|
-
// bazel-out/
|
|
962
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
961
963
|
var ShimReferenceTagger = class {
|
|
962
964
|
constructor(shimExtensions) {
|
|
963
965
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -991,7 +993,7 @@ var ShimReferenceTagger = class {
|
|
|
991
993
|
}
|
|
992
994
|
};
|
|
993
995
|
|
|
994
|
-
// bazel-out/
|
|
996
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
995
997
|
import ts8 from "typescript";
|
|
996
998
|
var SummaryGenerator = class {
|
|
997
999
|
constructor() {
|
|
@@ -1032,7 +1034,7 @@ function isExported2(decl) {
|
|
|
1032
1034
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
|
|
1033
1035
|
}
|
|
1034
1036
|
|
|
1035
|
-
// bazel-out/
|
|
1037
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1036
1038
|
var DelegatingCompilerHost = class {
|
|
1037
1039
|
constructor(delegate) {
|
|
1038
1040
|
this.delegate = delegate;
|
|
@@ -1143,7 +1145,7 @@ var TsCreateProgramDriver = class {
|
|
|
1143
1145
|
}
|
|
1144
1146
|
};
|
|
1145
1147
|
|
|
1146
|
-
// bazel-out/
|
|
1148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1147
1149
|
var FileDependencyGraph = class {
|
|
1148
1150
|
constructor() {
|
|
1149
1151
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1210,7 +1212,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1210
1212
|
return false;
|
|
1211
1213
|
}
|
|
1212
1214
|
|
|
1213
|
-
// bazel-out/
|
|
1215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1214
1216
|
var IncrementalStateKind;
|
|
1215
1217
|
(function(IncrementalStateKind2) {
|
|
1216
1218
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1218,7 +1220,7 @@ var IncrementalStateKind;
|
|
|
1218
1220
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1219
1221
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1220
1222
|
|
|
1221
|
-
// bazel-out/
|
|
1223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1222
1224
|
var PhaseKind;
|
|
1223
1225
|
(function(PhaseKind2) {
|
|
1224
1226
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1419,7 +1421,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1419
1421
|
}
|
|
1420
1422
|
}
|
|
1421
1423
|
|
|
1422
|
-
// bazel-out/
|
|
1424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1423
1425
|
var TrackedIncrementalBuildStrategy = class {
|
|
1424
1426
|
constructor() {
|
|
1425
1427
|
this.state = null;
|
|
@@ -1455,7 +1457,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1455
1457
|
};
|
|
1456
1458
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1457
1459
|
|
|
1458
|
-
// bazel-out/
|
|
1460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1459
1461
|
var IdentifierKind;
|
|
1460
1462
|
(function(IdentifierKind2) {
|
|
1461
1463
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1473,7 +1475,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1473
1475
|
}
|
|
1474
1476
|
};
|
|
1475
1477
|
|
|
1476
|
-
// bazel-out/
|
|
1478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1477
1479
|
var IndexingContext = class {
|
|
1478
1480
|
constructor() {
|
|
1479
1481
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1483,10 +1485,10 @@ var IndexingContext = class {
|
|
|
1483
1485
|
}
|
|
1484
1486
|
};
|
|
1485
1487
|
|
|
1486
|
-
// bazel-out/
|
|
1488
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1487
1489
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1488
1490
|
|
|
1489
|
-
// bazel-out/
|
|
1491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1490
1492
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1491
1493
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1492
1494
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1723,7 +1725,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1723
1725
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1724
1726
|
}
|
|
1725
1727
|
|
|
1726
|
-
// bazel-out/
|
|
1728
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1727
1729
|
function generateAnalysis(context) {
|
|
1728
1730
|
const analysis = /* @__PURE__ */ new Map();
|
|
1729
1731
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1759,7 +1761,7 @@ function generateAnalysis(context) {
|
|
|
1759
1761
|
return analysis;
|
|
1760
1762
|
}
|
|
1761
1763
|
|
|
1762
|
-
// bazel-out/
|
|
1764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1763
1765
|
import ts10 from "typescript";
|
|
1764
1766
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1765
1767
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1905,7 +1907,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1905
1907
|
};
|
|
1906
1908
|
}
|
|
1907
1909
|
|
|
1908
|
-
// bazel-out/
|
|
1910
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1909
1911
|
var StandaloneComponentScopeReader = class {
|
|
1910
1912
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1911
1913
|
this.metaReader = metaReader;
|
|
@@ -1983,10 +1985,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1983
1985
|
}
|
|
1984
1986
|
};
|
|
1985
1987
|
|
|
1986
|
-
// bazel-out/
|
|
1988
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1987
1989
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1988
1990
|
|
|
1989
|
-
// bazel-out/
|
|
1991
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1990
1992
|
import ts11 from "typescript";
|
|
1991
1993
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1992
1994
|
var _a;
|
|
@@ -2093,7 +2095,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2093
2095
|
return ts11.createSourceFile(fileName, template, ts11.ScriptTarget.Latest, false, ts11.ScriptKind.JSX);
|
|
2094
2096
|
}
|
|
2095
2097
|
|
|
2096
|
-
// bazel-out/
|
|
2098
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2097
2099
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2098
2100
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2099
2101
|
function getTemplateId(clazz) {
|
|
@@ -2110,11 +2112,11 @@ function allocateTemplateId(sf) {
|
|
|
2110
2112
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2111
2113
|
}
|
|
2112
2114
|
|
|
2113
|
-
// bazel-out/
|
|
2115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2114
2116
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2115
2117
|
import ts13 from "typescript";
|
|
2116
2118
|
|
|
2117
|
-
// bazel-out/
|
|
2119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2118
2120
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2119
2121
|
import ts12 from "typescript";
|
|
2120
2122
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2244,7 +2246,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2244
2246
|
}) || false;
|
|
2245
2247
|
}
|
|
2246
2248
|
|
|
2247
|
-
// bazel-out/
|
|
2249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2248
2250
|
var CompletionEngine = class {
|
|
2249
2251
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2250
2252
|
this.tcb = tcb;
|
|
@@ -2401,22 +2403,22 @@ var CompletionEngine = class {
|
|
|
2401
2403
|
}
|
|
2402
2404
|
};
|
|
2403
2405
|
|
|
2404
|
-
// bazel-out/
|
|
2406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2405
2407
|
import ts27 from "typescript";
|
|
2406
2408
|
|
|
2407
|
-
// bazel-out/
|
|
2409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2408
2410
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2409
2411
|
import ts14 from "typescript";
|
|
2410
2412
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
2411
2413
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
2412
2414
|
var RegistryDomSchemaChecker = class {
|
|
2415
|
+
get diagnostics() {
|
|
2416
|
+
return this._diagnostics;
|
|
2417
|
+
}
|
|
2413
2418
|
constructor(resolver) {
|
|
2414
2419
|
this.resolver = resolver;
|
|
2415
2420
|
this._diagnostics = [];
|
|
2416
2421
|
}
|
|
2417
|
-
get diagnostics() {
|
|
2418
|
-
return this._diagnostics;
|
|
2419
|
-
}
|
|
2420
2422
|
checkElement(id, element, schemas, hostIsStandalone) {
|
|
2421
2423
|
const name = element.name.replace(REMOVE_XHTML_REGEX, "");
|
|
2422
2424
|
if (!REGISTRY.hasElement(name, schemas)) {
|
|
@@ -2457,11 +2459,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2457
2459
|
}
|
|
2458
2460
|
};
|
|
2459
2461
|
|
|
2460
|
-
// bazel-out/
|
|
2462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2461
2463
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2462
2464
|
import ts20 from "typescript";
|
|
2463
2465
|
|
|
2464
|
-
// bazel-out/
|
|
2466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2465
2467
|
import ts15 from "typescript";
|
|
2466
2468
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2467
2469
|
ts15.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2535,16 +2537,16 @@ function isAccessExpression(node) {
|
|
|
2535
2537
|
return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
|
|
2536
2538
|
}
|
|
2537
2539
|
|
|
2538
|
-
// bazel-out/
|
|
2540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2539
2541
|
import ts19 from "typescript";
|
|
2540
2542
|
|
|
2541
|
-
// bazel-out/
|
|
2543
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2542
2544
|
import ts18 from "typescript";
|
|
2543
2545
|
|
|
2544
|
-
// bazel-out/
|
|
2546
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2545
2547
|
import ts17 from "typescript";
|
|
2546
2548
|
|
|
2547
|
-
// bazel-out/
|
|
2549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2548
2550
|
import ts16 from "typescript";
|
|
2549
2551
|
var INELIGIBLE = {};
|
|
2550
2552
|
function canEmitType(type, canEmit) {
|
|
@@ -2619,7 +2621,7 @@ var TypeEmitter = class {
|
|
|
2619
2621
|
}
|
|
2620
2622
|
};
|
|
2621
2623
|
|
|
2622
|
-
// bazel-out/
|
|
2624
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2623
2625
|
var TypeParameterEmitter = class {
|
|
2624
2626
|
constructor(typeParameters, reflector) {
|
|
2625
2627
|
this.typeParameters = typeParameters;
|
|
@@ -2696,7 +2698,7 @@ var TypeParameterEmitter = class {
|
|
|
2696
2698
|
}
|
|
2697
2699
|
};
|
|
2698
2700
|
|
|
2699
|
-
// bazel-out/
|
|
2701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2700
2702
|
var TcbInliningRequirement;
|
|
2701
2703
|
(function(TcbInliningRequirement2) {
|
|
2702
2704
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2776,7 +2778,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2776
2778
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2777
2779
|
}
|
|
2778
2780
|
|
|
2779
|
-
// bazel-out/
|
|
2781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2780
2782
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2781
2783
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2782
2784
|
const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2800,8 +2802,7 @@ function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
|
2800
2802
|
declList
|
|
2801
2803
|
);
|
|
2802
2804
|
} else {
|
|
2803
|
-
return
|
|
2804
|
-
void 0,
|
|
2805
|
+
return createFunctionDeclaration(
|
|
2805
2806
|
[ts19.factory.createModifier(ts19.SyntaxKind.DeclareKeyword)],
|
|
2806
2807
|
void 0,
|
|
2807
2808
|
meta.fnName,
|
|
@@ -2862,8 +2863,7 @@ function constructTypeCtorParameter(node, meta, rawType) {
|
|
|
2862
2863
|
if (initType === null) {
|
|
2863
2864
|
initType = ts19.factory.createTypeLiteralNode([]);
|
|
2864
2865
|
}
|
|
2865
|
-
return
|
|
2866
|
-
void 0,
|
|
2866
|
+
return createParameterDeclaration(
|
|
2867
2867
|
void 0,
|
|
2868
2868
|
void 0,
|
|
2869
2869
|
"init",
|
|
@@ -2891,7 +2891,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2891
2891
|
});
|
|
2892
2892
|
}
|
|
2893
2893
|
|
|
2894
|
-
// bazel-out/
|
|
2894
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2895
2895
|
var Environment = class {
|
|
2896
2896
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2897
2897
|
this.config = config;
|
|
@@ -2983,7 +2983,7 @@ var Environment = class {
|
|
|
2983
2983
|
}
|
|
2984
2984
|
};
|
|
2985
2985
|
|
|
2986
|
-
// bazel-out/
|
|
2986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2987
2987
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2988
2988
|
import ts21 from "typescript";
|
|
2989
2989
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3116,7 +3116,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3116
3116
|
};
|
|
3117
3117
|
}
|
|
3118
3118
|
|
|
3119
|
-
// bazel-out/
|
|
3119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3120
3120
|
import ts22 from "typescript";
|
|
3121
3121
|
var TypeCheckShimGenerator = class {
|
|
3122
3122
|
constructor() {
|
|
@@ -3134,11 +3134,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3134
3134
|
}
|
|
3135
3135
|
};
|
|
3136
3136
|
|
|
3137
|
-
// bazel-out/
|
|
3137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3138
3138
|
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";
|
|
3139
3139
|
import ts25 from "typescript";
|
|
3140
3140
|
|
|
3141
|
-
// bazel-out/
|
|
3141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3142
3142
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3143
3143
|
import ts23 from "typescript";
|
|
3144
3144
|
function wrapForDiagnostics(expr) {
|
|
@@ -3184,7 +3184,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3184
3184
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3185
3185
|
}
|
|
3186
3186
|
|
|
3187
|
-
// bazel-out/
|
|
3187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3188
3188
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3189
3189
|
import ts24 from "typescript";
|
|
3190
3190
|
var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
|
|
@@ -3514,7 +3514,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3514
3514
|
};
|
|
3515
3515
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3516
3516
|
|
|
3517
|
-
// bazel-out/
|
|
3517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3518
3518
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3519
3519
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3520
3520
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3538,7 +3538,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3538
3538
|
}
|
|
3539
3539
|
};
|
|
3540
3540
|
|
|
3541
|
-
// bazel-out/
|
|
3541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3542
3542
|
var TcbGenericContextBehavior;
|
|
3543
3543
|
(function(TcbGenericContextBehavior2) {
|
|
3544
3544
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -3572,15 +3572,14 @@ function generateTypeCheckBlock(env, ref, name, meta, domSchemaChecker, oobRecor
|
|
|
3572
3572
|
break;
|
|
3573
3573
|
}
|
|
3574
3574
|
}
|
|
3575
|
-
const paramList = [tcbThisParam(
|
|
3575
|
+
const paramList = [tcbThisParam(ctxRawType.typeName, typeArguments)];
|
|
3576
3576
|
const scopeStatements = scope.render();
|
|
3577
3577
|
const innerBody = ts25.factory.createBlock([
|
|
3578
3578
|
...env.getPreludeStatements(),
|
|
3579
3579
|
...scopeStatements
|
|
3580
3580
|
]);
|
|
3581
3581
|
const body = ts25.factory.createBlock([ts25.factory.createIfStatement(ts25.factory.createTrue(), innerBody, void 0)]);
|
|
3582
|
-
const fnDecl =
|
|
3583
|
-
void 0,
|
|
3582
|
+
const fnDecl = createFunctionDeclaration(
|
|
3584
3583
|
void 0,
|
|
3585
3584
|
void 0,
|
|
3586
3585
|
name,
|
|
@@ -4425,15 +4424,13 @@ var Scope = class {
|
|
|
4425
4424
|
}
|
|
4426
4425
|
}
|
|
4427
4426
|
};
|
|
4428
|
-
function tcbThisParam(
|
|
4429
|
-
|
|
4430
|
-
return ts25.factory.createParameterDeclaration(
|
|
4431
|
-
void 0,
|
|
4427
|
+
function tcbThisParam(name, typeArguments) {
|
|
4428
|
+
return createParameterDeclaration(
|
|
4432
4429
|
void 0,
|
|
4433
4430
|
void 0,
|
|
4434
4431
|
"this",
|
|
4435
4432
|
void 0,
|
|
4436
|
-
|
|
4433
|
+
ts25.factory.createTypeReferenceNode(name, typeArguments),
|
|
4437
4434
|
void 0
|
|
4438
4435
|
);
|
|
4439
4436
|
}
|
|
@@ -4593,8 +4590,7 @@ function tcbCreateEventHandler(event, tcb, scope, eventType) {
|
|
|
4593
4590
|
if (guards !== null) {
|
|
4594
4591
|
body = ts25.factory.createIfStatement(guards, body);
|
|
4595
4592
|
}
|
|
4596
|
-
const eventParam =
|
|
4597
|
-
void 0,
|
|
4593
|
+
const eventParam = createParameterDeclaration(
|
|
4598
4594
|
void 0,
|
|
4599
4595
|
void 0,
|
|
4600
4596
|
EVENT_PARAMETER,
|
|
@@ -4645,7 +4641,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4645
4641
|
}
|
|
4646
4642
|
};
|
|
4647
4643
|
|
|
4648
|
-
// bazel-out/
|
|
4644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4649
4645
|
import ts26 from "typescript";
|
|
4650
4646
|
var TypeCheckFile = class extends Environment {
|
|
4651
4647
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4681,7 +4677,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4681
4677
|
}
|
|
4682
4678
|
};
|
|
4683
4679
|
|
|
4684
|
-
// bazel-out/
|
|
4680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4685
4681
|
var InliningMode;
|
|
4686
4682
|
(function(InliningMode2) {
|
|
4687
4683
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4919,10 +4915,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4919
4915
|
return splits;
|
|
4920
4916
|
}
|
|
4921
4917
|
|
|
4922
|
-
// bazel-out/
|
|
4918
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4923
4919
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4924
4920
|
|
|
4925
|
-
// bazel-out/
|
|
4921
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4926
4922
|
var LF_CHAR = 10;
|
|
4927
4923
|
var CR_CHAR = 13;
|
|
4928
4924
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4963,7 +4959,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4963
4959
|
return low - 1;
|
|
4964
4960
|
}
|
|
4965
4961
|
|
|
4966
|
-
// bazel-out/
|
|
4962
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4967
4963
|
var TemplateSource = class {
|
|
4968
4964
|
constructor(mapping, file) {
|
|
4969
4965
|
this.mapping = mapping;
|
|
@@ -5014,7 +5010,7 @@ var TemplateSourceManager = class {
|
|
|
5014
5010
|
}
|
|
5015
5011
|
};
|
|
5016
5012
|
|
|
5017
|
-
// bazel-out/
|
|
5013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5018
5014
|
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";
|
|
5019
5015
|
import ts28 from "typescript";
|
|
5020
5016
|
var SymbolBuilder = class {
|
|
@@ -5129,7 +5125,7 @@ var SymbolBuilder = class {
|
|
|
5129
5125
|
tsSymbol: symbol.tsSymbol,
|
|
5130
5126
|
exposedInputs: current.inputs,
|
|
5131
5127
|
exposedOutputs: current.outputs,
|
|
5132
|
-
selector: meta.selector
|
|
5128
|
+
selector: meta.selector,
|
|
5133
5129
|
isComponent: meta.isComponent,
|
|
5134
5130
|
ngModule: this.getDirectiveModule(current.directive.node),
|
|
5135
5131
|
kind: SymbolKind.Directive,
|
|
@@ -5498,7 +5494,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5498
5494
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5499
5495
|
}
|
|
5500
5496
|
|
|
5501
|
-
// bazel-out/
|
|
5497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5502
5498
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5503
5499
|
var TemplateTypeCheckerImpl = class {
|
|
5504
5500
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -5909,6 +5905,9 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5909
5905
|
const scope = this.getScopeData(component);
|
|
5910
5906
|
if (scope !== null) {
|
|
5911
5907
|
for (const directive of scope.directives) {
|
|
5908
|
+
if (directive.selector === null) {
|
|
5909
|
+
continue;
|
|
5910
|
+
}
|
|
5912
5911
|
for (const selector of CssSelector.parse(directive.selector)) {
|
|
5913
5912
|
if (selector.element === null || tagMap.has(selector.element)) {
|
|
5914
5913
|
continue;
|
|
@@ -6145,10 +6144,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6145
6144
|
}
|
|
6146
6145
|
};
|
|
6147
6146
|
|
|
6148
|
-
// bazel-out/
|
|
6147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6149
6148
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6150
6149
|
|
|
6151
|
-
// bazel-out/
|
|
6150
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6152
6151
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6153
6152
|
var TemplateCheckWithVisitor = class {
|
|
6154
6153
|
run(ctx, component, template) {
|
|
@@ -6225,7 +6224,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6225
6224
|
}
|
|
6226
6225
|
};
|
|
6227
6226
|
|
|
6228
|
-
// bazel-out/
|
|
6227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6229
6228
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6230
6229
|
constructor() {
|
|
6231
6230
|
super(...arguments);
|
|
@@ -6250,7 +6249,7 @@ var factory = {
|
|
|
6250
6249
|
create: () => new InvalidBananaInBoxCheck()
|
|
6251
6250
|
};
|
|
6252
6251
|
|
|
6253
|
-
// bazel-out/
|
|
6252
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6254
6253
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6255
6254
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6256
6255
|
["ngIf", "NgIf"],
|
|
@@ -6295,7 +6294,7 @@ var factory2 = {
|
|
|
6295
6294
|
}
|
|
6296
6295
|
};
|
|
6297
6296
|
|
|
6298
|
-
// bazel-out/
|
|
6297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6299
6298
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6300
6299
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6301
6300
|
constructor() {
|
|
@@ -6328,7 +6327,7 @@ var factory3 = {
|
|
|
6328
6327
|
create: () => new MissingNgForOfLetCheck()
|
|
6329
6328
|
};
|
|
6330
6329
|
|
|
6331
|
-
// bazel-out/
|
|
6330
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6332
6331
|
import { Binary } from "@angular/compiler";
|
|
6333
6332
|
import ts29 from "typescript";
|
|
6334
6333
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6373,7 +6372,7 @@ var factory4 = {
|
|
|
6373
6372
|
}
|
|
6374
6373
|
};
|
|
6375
6374
|
|
|
6376
|
-
// bazel-out/
|
|
6375
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6377
6376
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6378
6377
|
import ts30 from "typescript";
|
|
6379
6378
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6419,7 +6418,7 @@ var factory5 = {
|
|
|
6419
6418
|
}
|
|
6420
6419
|
};
|
|
6421
6420
|
|
|
6422
|
-
// bazel-out/
|
|
6421
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6423
6422
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6424
6423
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6425
6424
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6443,7 +6442,7 @@ var factory6 = {
|
|
|
6443
6442
|
create: () => new SuffixNotSupportedCheck()
|
|
6444
6443
|
};
|
|
6445
6444
|
|
|
6446
|
-
// bazel-out/
|
|
6445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6447
6446
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6448
6447
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6449
6448
|
constructor() {
|
|
@@ -6482,10 +6481,10 @@ var factory7 = {
|
|
|
6482
6481
|
create: () => new TextAttributeNotBindingSpec()
|
|
6483
6482
|
};
|
|
6484
6483
|
|
|
6485
|
-
// bazel-out/
|
|
6484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6486
6485
|
import ts31 from "typescript";
|
|
6487
6486
|
|
|
6488
|
-
// bazel-out/
|
|
6487
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6489
6488
|
var DiagnosticCategoryLabel;
|
|
6490
6489
|
(function(DiagnosticCategoryLabel2) {
|
|
6491
6490
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6493,7 +6492,7 @@ var DiagnosticCategoryLabel;
|
|
|
6493
6492
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6494
6493
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6495
6494
|
|
|
6496
|
-
// bazel-out/
|
|
6495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6497
6496
|
var ExtendedTemplateCheckerImpl = class {
|
|
6498
6497
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6499
6498
|
var _a, _b, _c, _d, _e;
|
|
@@ -6546,7 +6545,7 @@ function assertNever(value) {
|
|
|
6546
6545
|
${value}`);
|
|
6547
6546
|
}
|
|
6548
6547
|
|
|
6549
|
-
// bazel-out/
|
|
6548
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6550
6549
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6551
6550
|
factory,
|
|
6552
6551
|
factory4,
|
|
@@ -6557,7 +6556,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6557
6556
|
factory6
|
|
6558
6557
|
];
|
|
6559
6558
|
|
|
6560
|
-
// bazel-out/
|
|
6559
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6561
6560
|
var CompilationTicketKind;
|
|
6562
6561
|
(function(CompilationTicketKind2) {
|
|
6563
6562
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6616,6 +6615,18 @@ function incrementalFromStateTicket(oldProgram, oldState, newProgram, options, i
|
|
|
6616
6615
|
};
|
|
6617
6616
|
}
|
|
6618
6617
|
var NgCompiler = class {
|
|
6618
|
+
static fromTicket(ticket, adapter) {
|
|
6619
|
+
switch (ticket.kind) {
|
|
6620
|
+
case CompilationTicketKind.Fresh:
|
|
6621
|
+
return new NgCompiler(adapter, ticket.options, ticket.tsProgram, ticket.programDriver, ticket.incrementalBuildStrategy, IncrementalCompilation.fresh(ticket.tsProgram, versionMapFromProgram(ticket.tsProgram, ticket.programDriver)), ticket.enableTemplateTypeChecker, ticket.usePoisonedData, ticket.perfRecorder);
|
|
6622
|
+
case CompilationTicketKind.IncrementalTypeScript:
|
|
6623
|
+
return new NgCompiler(adapter, ticket.options, ticket.newProgram, ticket.programDriver, ticket.incrementalBuildStrategy, ticket.incrementalCompilation, ticket.enableTemplateTypeChecker, ticket.usePoisonedData, ticket.perfRecorder);
|
|
6624
|
+
case CompilationTicketKind.IncrementalResource:
|
|
6625
|
+
const compiler = ticket.compiler;
|
|
6626
|
+
compiler.updateWithChangedResources(ticket.modifiedResourceFiles, ticket.perfRecorder);
|
|
6627
|
+
return compiler;
|
|
6628
|
+
}
|
|
6629
|
+
}
|
|
6619
6630
|
constructor(adapter, options, inputProgram, programDriver, incrementalStrategy, incrementalCompilation, enableTemplateTypeChecker, usePoisonedData, livePerfRecorder) {
|
|
6620
6631
|
var _a;
|
|
6621
6632
|
this.adapter = adapter;
|
|
@@ -6657,18 +6668,6 @@ var NgCompiler = class {
|
|
|
6657
6668
|
livePerfRecorder.eventCount(PerfEvent.InputDtsFile, dtsFileCount);
|
|
6658
6669
|
livePerfRecorder.eventCount(PerfEvent.InputTsFile, nonDtsFileCount);
|
|
6659
6670
|
}
|
|
6660
|
-
static fromTicket(ticket, adapter) {
|
|
6661
|
-
switch (ticket.kind) {
|
|
6662
|
-
case CompilationTicketKind.Fresh:
|
|
6663
|
-
return new NgCompiler(adapter, ticket.options, ticket.tsProgram, ticket.programDriver, ticket.incrementalBuildStrategy, IncrementalCompilation.fresh(ticket.tsProgram, versionMapFromProgram(ticket.tsProgram, ticket.programDriver)), ticket.enableTemplateTypeChecker, ticket.usePoisonedData, ticket.perfRecorder);
|
|
6664
|
-
case CompilationTicketKind.IncrementalTypeScript:
|
|
6665
|
-
return new NgCompiler(adapter, ticket.options, ticket.newProgram, ticket.programDriver, ticket.incrementalBuildStrategy, ticket.incrementalCompilation, ticket.enableTemplateTypeChecker, ticket.usePoisonedData, ticket.perfRecorder);
|
|
6666
|
-
case CompilationTicketKind.IncrementalResource:
|
|
6667
|
-
const compiler = ticket.compiler;
|
|
6668
|
-
compiler.updateWithChangedResources(ticket.modifiedResourceFiles, ticket.perfRecorder);
|
|
6669
|
-
return compiler;
|
|
6670
|
-
}
|
|
6671
|
-
}
|
|
6672
6671
|
get perfRecorder() {
|
|
6673
6672
|
return this.livePerfRecorder;
|
|
6674
6673
|
}
|
|
@@ -7262,7 +7261,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7262
7261
|
return versions;
|
|
7263
7262
|
}
|
|
7264
7263
|
|
|
7265
|
-
// bazel-out/
|
|
7264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7266
7265
|
import ts33 from "typescript";
|
|
7267
7266
|
var DelegatingCompilerHost2 = class {
|
|
7268
7267
|
constructor(delegate) {
|
|
@@ -7407,7 +7406,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7407
7406
|
}
|
|
7408
7407
|
};
|
|
7409
7408
|
|
|
7410
|
-
// bazel-out/
|
|
7409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7411
7410
|
var NgtscProgram = class {
|
|
7412
7411
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7413
7412
|
this.options = options;
|
|
@@ -7625,15 +7624,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7625
7624
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7626
7625
|
}
|
|
7627
7626
|
|
|
7628
|
-
// bazel-out/
|
|
7627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7629
7628
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7630
7629
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7631
7630
|
}
|
|
7632
7631
|
|
|
7633
|
-
// bazel-out/
|
|
7632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7634
7633
|
import ts36 from "typescript";
|
|
7635
7634
|
|
|
7636
|
-
// bazel-out/
|
|
7635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7637
7636
|
import ts35 from "typescript";
|
|
7638
7637
|
function createMessageDiagnostic(messageText) {
|
|
7639
7638
|
return {
|
|
@@ -7647,7 +7646,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7647
7646
|
};
|
|
7648
7647
|
}
|
|
7649
7648
|
|
|
7650
|
-
// bazel-out/
|
|
7649
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7651
7650
|
var defaultFormatHost = {
|
|
7652
7651
|
getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
|
|
7653
7652
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7860,4 +7859,4 @@ export {
|
|
|
7860
7859
|
* found in the LICENSE file at https://angular.io/license
|
|
7861
7860
|
*/
|
|
7862
7861
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
7863
|
-
//# sourceMappingURL=chunk-
|
|
7862
|
+
//# sourceMappingURL=chunk-ONRVYLCK.js.map
|