@angular/compiler-cli 15.1.0-next.0 → 15.1.0-next.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-KGTNU2UU.js → chunk-36PDXLJA.js} +5 -5
- package/bundles/{chunk-KGTNU2UU.js.map → chunk-36PDXLJA.js.map} +0 -0
- package/bundles/{chunk-XVHC4VAO.js → chunk-4F26FKLW.js} +5 -5
- package/bundles/{chunk-XVHC4VAO.js.map → chunk-4F26FKLW.js.map} +0 -0
- package/bundles/{chunk-A6MA5NDQ.js → chunk-5WGGPKCE.js} +102 -99
- package/bundles/{chunk-A6MA5NDQ.js.map → chunk-5WGGPKCE.js.map} +1 -1
- package/bundles/{chunk-22N3RTKA.js → chunk-ALSLKTUB.js} +7 -7
- package/bundles/{chunk-22N3RTKA.js.map → chunk-ALSLKTUB.js.map} +0 -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-UUIUKASM.js → chunk-DSVWG4QJ.js} +2 -2
- package/bundles/{chunk-UUIUKASM.js.map → chunk-DSVWG4QJ.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-6TLW4724.js → chunk-FCAD5QMI.js} +40 -40
- package/bundles/{chunk-6TLW4724.js.map → chunk-FCAD5QMI.js.map} +0 -0
- package/bundles/{chunk-GIA6ASYG.js → chunk-JGWOWDGB.js} +7 -7
- package/bundles/{chunk-GIA6ASYG.js.map → chunk-JGWOWDGB.js.map} +0 -0
- package/bundles/{chunk-QKS2XPFG.js → chunk-L3Q25PX6.js} +77 -73
- package/bundles/chunk-L3Q25PX6.js.map +6 -0
- 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-JY5KP5YT.js → chunk-QVO57CDR.js} +4 -4
- package/bundles/{chunk-JY5KP5YT.js.map → chunk-QVO57CDR.js.map} +0 -0
- package/bundles/{chunk-LHZD6YT2.js → chunk-R3UUI3WU.js} +31 -31
- package/bundles/{chunk-LHZD6YT2.js.map → chunk-R3UUI3WU.js.map} +0 -0
- package/bundles/{chunk-TZNP5L2W.js → chunk-TOW3O33K.js} +26 -26
- package/bundles/{chunk-TZNP5L2W.js.map → chunk-TOW3O33K.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-JZDWEOSI.js → chunk-W67X7ZYR.js} +71 -71
- package/bundles/{chunk-JZDWEOSI.js.map → chunk-W67X7ZYR.js.map} +0 -0
- package/bundles/index.js +13 -13
- 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 +14 -14
- 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/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/typecheck/api/scope.d.ts +1 -1
- package/bundles/chunk-QKS2XPFG.js.map +0 -6
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TTNJEW7O.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TOW3O33K.js";
|
|
13
13
|
|
|
14
|
-
// bazel-out/
|
|
14
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
15
15
|
var FatalLinkerError = class extends Error {
|
|
16
16
|
constructor(node, message) {
|
|
17
17
|
super(message);
|
|
@@ -23,14 +23,14 @@ function isFatalLinkerError(e) {
|
|
|
23
23
|
return e && e.type === "FatalLinkerError";
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
27
27
|
function assert(node, predicate, expected) {
|
|
28
28
|
if (!predicate(node)) {
|
|
29
29
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
// bazel-out/
|
|
33
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
34
34
|
import * as o from "@angular/compiler";
|
|
35
35
|
var AstObject = class {
|
|
36
36
|
constructor(expression, obj, host) {
|
|
@@ -156,10 +156,10 @@ var AstValue = class {
|
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
// bazel-out/
|
|
159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
160
160
|
import { ConstantPool } from "@angular/compiler";
|
|
161
161
|
|
|
162
|
-
// bazel-out/
|
|
162
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
163
163
|
var LinkerImportGenerator = class {
|
|
164
164
|
constructor(ngImport) {
|
|
165
165
|
this.ngImport = ngImport;
|
|
@@ -179,7 +179,7 @@ var LinkerImportGenerator = class {
|
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
// bazel-out/
|
|
182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
183
183
|
var EmitScope = class {
|
|
184
184
|
constructor(ngImport, translator, factory) {
|
|
185
185
|
this.ngImport = ngImport;
|
|
@@ -208,7 +208,7 @@ var EmitScope = class {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
// bazel-out/
|
|
211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
212
212
|
var LocalEmitScope = class extends EmitScope {
|
|
213
213
|
translateDefinition(definition) {
|
|
214
214
|
return super.translateDefinition({
|
|
@@ -221,10 +221,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
221
221
|
}
|
|
222
222
|
};
|
|
223
223
|
|
|
224
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
225
225
|
import semver from "semver";
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
228
228
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
229
229
|
if (loader === null) {
|
|
230
230
|
return () => null;
|
|
@@ -239,7 +239,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
243
243
|
import { compileClassMetadata } from "@angular/compiler";
|
|
244
244
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
245
245
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -259,13 +259,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
263
263
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
264
264
|
|
|
265
|
-
// bazel-out/
|
|
265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
266
266
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
269
269
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
270
270
|
function wrapReference(wrapped) {
|
|
271
271
|
return { value: wrapped, type: wrapped };
|
|
@@ -313,7 +313,7 @@ function extractForwardRef(expr) {
|
|
|
313
313
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
317
317
|
var PartialDirectiveLinkerVersion1 = class {
|
|
318
318
|
constructor(sourceUrl, code) {
|
|
319
319
|
this.sourceUrl = sourceUrl;
|
|
@@ -433,7 +433,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
433
433
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
// bazel-out/
|
|
436
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
437
437
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
438
438
|
return {
|
|
439
439
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -626,7 +626,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
626
626
|
return enumValue;
|
|
627
627
|
}
|
|
628
628
|
|
|
629
|
-
// bazel-out/
|
|
629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
630
630
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
631
631
|
var PartialFactoryLinkerVersion1 = class {
|
|
632
632
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -663,7 +663,7 @@ function getDependencies(metaObj, propName) {
|
|
|
663
663
|
return null;
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
-
// bazel-out/
|
|
666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
667
667
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
668
668
|
var PartialInjectableLinkerVersion1 = class {
|
|
669
669
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -702,7 +702,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
702
702
|
return meta;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
// bazel-out/
|
|
705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
706
706
|
import { compileInjector } from "@angular/compiler";
|
|
707
707
|
var PartialInjectorLinkerVersion1 = class {
|
|
708
708
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -725,7 +725,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
725
725
|
};
|
|
726
726
|
}
|
|
727
727
|
|
|
728
|
-
// bazel-out/
|
|
728
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
729
729
|
import { compileNgModule, R3SelectorScopeMode } from "@angular/compiler";
|
|
730
730
|
var PartialNgModuleLinkerVersion1 = class {
|
|
731
731
|
constructor(emitInline) {
|
|
@@ -798,7 +798,7 @@ function wrapReferences(values) {
|
|
|
798
798
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
// bazel-out/
|
|
801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
802
802
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
803
803
|
var PartialPipeLinkerVersion1 = class {
|
|
804
804
|
constructor() {
|
|
@@ -828,7 +828,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
// bazel-out/
|
|
831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
832
832
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
833
833
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
834
834
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -849,7 +849,7 @@ var declarationFunctions = [
|
|
|
849
849
|
];
|
|
850
850
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
851
851
|
const linkers = /* @__PURE__ */ new Map();
|
|
852
|
-
const LATEST_VERSION_RANGE = getRange("<=", "15.1.0-next.
|
|
852
|
+
const LATEST_VERSION_RANGE = getRange("<=", "15.1.0-next.1");
|
|
853
853
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
854
854
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
855
855
|
]);
|
|
@@ -896,7 +896,7 @@ var PartialLinkerSelector = class {
|
|
|
896
896
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
897
897
|
}
|
|
898
898
|
const linkerRanges = this.linkers.get(functionName);
|
|
899
|
-
if (version === "15.1.0-next.
|
|
899
|
+
if (version === "15.1.0-next.1") {
|
|
900
900
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
901
901
|
}
|
|
902
902
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -922,7 +922,7 @@ function getRange(comparator, versionStr) {
|
|
|
922
922
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
923
923
|
}
|
|
924
924
|
|
|
925
|
-
// bazel-out/
|
|
925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
926
926
|
var FileLinker = class {
|
|
927
927
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
928
928
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -965,14 +965,14 @@ var FileLinker = class {
|
|
|
965
965
|
}
|
|
966
966
|
};
|
|
967
967
|
|
|
968
|
-
// bazel-out/
|
|
968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
969
969
|
var DEFAULT_LINKER_OPTIONS = {
|
|
970
970
|
sourceMapping: true,
|
|
971
971
|
linkerJitMode: false,
|
|
972
972
|
unknownDeclarationVersionHandling: "error"
|
|
973
973
|
};
|
|
974
974
|
|
|
975
|
-
// bazel-out/
|
|
975
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
976
976
|
var Translator = class {
|
|
977
977
|
constructor(factory) {
|
|
978
978
|
this.factory = factory;
|
|
@@ -985,7 +985,7 @@ var Translator = class {
|
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
987
|
|
|
988
|
-
// bazel-out/
|
|
988
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
989
989
|
var LinkerEnvironment = class {
|
|
990
990
|
constructor(fileSystem, logger, host, factory, options) {
|
|
991
991
|
this.fileSystem = fileSystem;
|
|
@@ -1006,7 +1006,7 @@ var LinkerEnvironment = class {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
};
|
|
1008
1008
|
|
|
1009
|
-
// bazel-out/
|
|
1009
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1010
1010
|
function needsLinking(path, source) {
|
|
1011
1011
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1012
1012
|
}
|
|
@@ -1027,4 +1027,4 @@ export {
|
|
|
1027
1027
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1028
1028
|
* found in the LICENSE file at https://angular.io/license
|
|
1029
1029
|
*/
|
|
1030
|
-
//# sourceMappingURL=chunk-
|
|
1030
|
+
//# sourceMappingURL=chunk-R3UUI3WU.js.map
|
|
File without changes
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
resolve,
|
|
14
14
|
stripExtension,
|
|
15
15
|
toRelativeImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E7DPJFUS.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
19
19
|
import ts from "typescript";
|
|
20
20
|
var TS = /\.tsx?$/i;
|
|
21
21
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -116,7 +116,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
116
116
|
return redirectInfo.unredirected;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
// bazel-out/
|
|
119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
120
120
|
var Reference = class {
|
|
121
121
|
constructor(node, bestGuessOwningModule = null) {
|
|
122
122
|
this.node = node;
|
|
@@ -179,14 +179,14 @@ var Reference = class {
|
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
// bazel-out/
|
|
182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
183
183
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
184
184
|
|
|
185
|
-
// bazel-out/
|
|
185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
186
186
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
187
187
|
import ts3 from "typescript";
|
|
188
188
|
|
|
189
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
190
190
|
var ErrorCode;
|
|
191
191
|
(function(ErrorCode2) {
|
|
192
192
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -256,7 +256,7 @@ var ErrorCode;
|
|
|
256
256
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
257
257
|
})(ErrorCode || (ErrorCode = {}));
|
|
258
258
|
|
|
259
|
-
// bazel-out/
|
|
259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
260
260
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
261
261
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
262
262
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -268,10 +268,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
268
268
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
269
269
|
]);
|
|
270
270
|
|
|
271
|
-
// bazel-out/
|
|
271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
272
272
|
import ts2 from "typescript";
|
|
273
273
|
|
|
274
|
-
// bazel-out/
|
|
274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
275
275
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
276
276
|
function replaceTsWithNgInErrors(errors) {
|
|
277
277
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -280,7 +280,7 @@ function ngErrorCode(code) {
|
|
|
280
280
|
return parseInt("-99" + code);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// bazel-out/
|
|
283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
284
284
|
var FatalDiagnosticError = class {
|
|
285
285
|
constructor(code, node, message, relatedInformation) {
|
|
286
286
|
this.code = code;
|
|
@@ -339,10 +339,10 @@ function isFatalDiagnosticError(err) {
|
|
|
339
339
|
return err._isFatalDiagnosticError === true;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
// bazel-out/
|
|
342
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
343
343
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
344
344
|
|
|
345
|
-
// bazel-out/
|
|
345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
346
346
|
var ExtendedTemplateDiagnosticName;
|
|
347
347
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
348
348
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -354,7 +354,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
354
354
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
355
355
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
356
356
|
|
|
357
|
-
// bazel-out/
|
|
357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
358
358
|
function findExportedNameOfNode(target, file, reflector) {
|
|
359
359
|
const exports = reflector.getExportsOfModule(file);
|
|
360
360
|
if (exports === null) {
|
|
@@ -374,7 +374,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
374
374
|
return foundExportName;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
// bazel-out/
|
|
377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
378
378
|
var ImportFlags;
|
|
379
379
|
(function(ImportFlags2) {
|
|
380
380
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -590,7 +590,7 @@ var UnifiedModulesStrategy = class {
|
|
|
590
590
|
}
|
|
591
591
|
};
|
|
592
592
|
|
|
593
|
-
// bazel-out/
|
|
593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
594
594
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
595
595
|
var UnifiedModulesAliasingHost = class {
|
|
596
596
|
constructor(unifiedModulesHost) {
|
|
@@ -657,7 +657,7 @@ var AliasStrategy = class {
|
|
|
657
657
|
}
|
|
658
658
|
};
|
|
659
659
|
|
|
660
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
661
661
|
function relativePathBetween(from, to) {
|
|
662
662
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
663
663
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -666,7 +666,7 @@ function normalizeSeparators(path) {
|
|
|
666
666
|
return path.replace(/\\/g, "/");
|
|
667
667
|
}
|
|
668
668
|
|
|
669
|
-
// bazel-out/
|
|
669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
670
670
|
var NoopImportRewriter = class {
|
|
671
671
|
shouldImportSymbol(symbol, specifier) {
|
|
672
672
|
return true;
|
|
@@ -724,7 +724,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
724
724
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
725
725
|
}
|
|
726
726
|
|
|
727
|
-
// bazel-out/
|
|
727
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
728
728
|
import ts4 from "typescript";
|
|
729
729
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
730
730
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -769,7 +769,7 @@ var DefaultImportTracker = class {
|
|
|
769
769
|
}
|
|
770
770
|
};
|
|
771
771
|
|
|
772
|
-
// bazel-out/
|
|
772
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
773
773
|
var ModuleResolver = class {
|
|
774
774
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
775
775
|
this.program = program;
|
|
@@ -786,7 +786,7 @@ var ModuleResolver = class {
|
|
|
786
786
|
}
|
|
787
787
|
};
|
|
788
788
|
|
|
789
|
-
// bazel-out/
|
|
789
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
790
790
|
var Context = class {
|
|
791
791
|
constructor(isStatement) {
|
|
792
792
|
this.isStatement = isStatement;
|
|
@@ -799,7 +799,7 @@ var Context = class {
|
|
|
799
799
|
}
|
|
800
800
|
};
|
|
801
801
|
|
|
802
|
-
// bazel-out/
|
|
802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
803
803
|
import * as o from "@angular/compiler";
|
|
804
804
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
805
805
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -1031,7 +1031,7 @@ function createRange(span) {
|
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
1033
|
|
|
1034
|
-
// bazel-out/
|
|
1034
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
1035
1035
|
import ts5 from "typescript";
|
|
1036
1036
|
var ImportManager = class {
|
|
1037
1037
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -1067,7 +1067,7 @@ var ImportManager = class {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
};
|
|
1069
1069
|
|
|
1070
|
-
// bazel-out/
|
|
1070
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1071
1071
|
import * as o2 from "@angular/compiler";
|
|
1072
1072
|
import ts6 from "typescript";
|
|
1073
1073
|
function translateType(type, imports) {
|
|
@@ -1243,7 +1243,7 @@ var TypeTranslatorVisitor = class {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
};
|
|
1245
1245
|
|
|
1246
|
-
// bazel-out/
|
|
1246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
1247
1247
|
import ts7 from "typescript";
|
|
1248
1248
|
var PureAnnotation;
|
|
1249
1249
|
(function(PureAnnotation2) {
|
|
@@ -1426,7 +1426,7 @@ function attachComments(statement, leadingComments) {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
}
|
|
1428
1428
|
|
|
1429
|
-
// bazel-out/
|
|
1429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
1430
1430
|
function translateExpression(expression, imports, options = {}) {
|
|
1431
1431
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
1432
1432
|
}
|
|
@@ -1496,4 +1496,4 @@ export {
|
|
|
1496
1496
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1497
1497
|
* found in the LICENSE file at https://angular.io/license
|
|
1498
1498
|
*/
|
|
1499
|
-
//# sourceMappingURL=chunk-
|
|
1499
|
+
//# sourceMappingURL=chunk-TOW3O33K.js.map
|
|
File without changes
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
// bazel-out/
|
|
7
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
8
8
|
import mapHelpers from "convert-source-map";
|
|
9
9
|
import { decode, encode } from "sourcemap-codec";
|
|
10
10
|
|
|
11
|
-
// bazel-out/
|
|
11
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
12
12
|
function compareSegments(a, b) {
|
|
13
13
|
return a.position - b.position;
|
|
14
14
|
}
|
|
@@ -28,7 +28,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
28
28
|
return { line, column, position, next: void 0 };
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
// bazel-out/
|
|
31
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
32
32
|
function removeSourceMapComments(contents) {
|
|
33
33
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
34
34
|
}
|
|
@@ -279,10 +279,10 @@ var Cache = class {
|
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
|
|
282
|
-
// bazel-out/
|
|
282
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
283
283
|
import mapHelpers2 from "convert-source-map";
|
|
284
284
|
|
|
285
|
-
// bazel-out/
|
|
285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
286
286
|
var ContentOrigin;
|
|
287
287
|
(function(ContentOrigin2) {
|
|
288
288
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -290,7 +290,7 @@ var ContentOrigin;
|
|
|
290
290
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
291
291
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
292
292
|
|
|
293
|
-
// bazel-out/
|
|
293
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
294
294
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
295
295
|
var SourceFileLoader = class {
|
|
296
296
|
constructor(fs, logger, schemeMap) {
|
|
@@ -418,4 +418,4 @@ export {
|
|
|
418
418
|
* Use of this source code is governed by an MIT-style license that can be
|
|
419
419
|
* found in the LICENSE file at https://angular.io/license
|
|
420
420
|
*/
|
|
421
|
-
//# sourceMappingURL=chunk-
|
|
421
|
+
//# sourceMappingURL=chunk-TTNJEW7O.js.map
|
|
File without changes
|