@angular/compiler-cli 14.2.12 → 14.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-CTEVZGOM.js → chunk-2HPI44CB.js} +5 -5
- package/bundles/{chunk-QPJVRNEU.js → chunk-2LU77VSE.js} +40 -40
- package/bundles/{chunk-QST5YSNG.js → chunk-5TUGYFIJ.js} +71 -71
- package/bundles/{chunk-E6XS3AOK.js → chunk-7YHMCUJT.js} +2 -2
- package/bundles/{chunk-Z57D3OKU.js → chunk-CYVTLM4Z.js} +7 -7
- package/bundles/{chunk-4SINIALN.js → chunk-E7NQQTT7.js} +3 -3
- package/bundles/{chunk-N2MCMY3J.js → chunk-FM6NPN5V.js} +4 -4
- package/bundles/{chunk-W6PLYNW2.js → chunk-I5J5TMUB.js} +70 -70
- package/bundles/{chunk-AYUQTULD.js → chunk-L2QFSPXM.js} +31 -31
- package/bundles/{chunk-CQC4TODZ.js → chunk-Q7TXFDI7.js} +97 -97
- package/bundles/{chunk-SJL5HBUW.js → chunk-R3C7RFJ4.js} +2 -2
- package/bundles/{chunk-S4JINNFN.js → chunk-TOKOIIBI.js} +7 -7
- package/bundles/{chunk-QUO5TIT7.js → chunk-UZLFREET.js} +7 -7
- package/bundles/{chunk-KG4X2UVK.js → chunk-V45KD7YD.js} +5 -5
- package/bundles/{chunk-CDDXRRSJ.js → chunk-WAZH2LJQ.js} +26 -26
- package/bundles/{chunk-7D7JVHLL.js → chunk-XDX5RDY5.js} +7 -7
- 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/bundles/{chunk-CTEVZGOM.js.map → chunk-2HPI44CB.js.map} +0 -0
- /package/bundles/{chunk-QPJVRNEU.js.map → chunk-2LU77VSE.js.map} +0 -0
- /package/bundles/{chunk-QST5YSNG.js.map → chunk-5TUGYFIJ.js.map} +0 -0
- /package/bundles/{chunk-E6XS3AOK.js.map → chunk-7YHMCUJT.js.map} +0 -0
- /package/bundles/{chunk-Z57D3OKU.js.map → chunk-CYVTLM4Z.js.map} +0 -0
- /package/bundles/{chunk-4SINIALN.js.map → chunk-E7NQQTT7.js.map} +0 -0
- /package/bundles/{chunk-N2MCMY3J.js.map → chunk-FM6NPN5V.js.map} +0 -0
- /package/bundles/{chunk-W6PLYNW2.js.map → chunk-I5J5TMUB.js.map} +0 -0
- /package/bundles/{chunk-AYUQTULD.js.map → chunk-L2QFSPXM.js.map} +0 -0
- /package/bundles/{chunk-CQC4TODZ.js.map → chunk-Q7TXFDI7.js.map} +0 -0
- /package/bundles/{chunk-SJL5HBUW.js.map → chunk-R3C7RFJ4.js.map} +0 -0
- /package/bundles/{chunk-S4JINNFN.js.map → chunk-TOKOIIBI.js.map} +0 -0
- /package/bundles/{chunk-QUO5TIT7.js.map → chunk-UZLFREET.js.map} +0 -0
- /package/bundles/{chunk-KG4X2UVK.js.map → chunk-V45KD7YD.js.map} +0 -0
- /package/bundles/{chunk-CDDXRRSJ.js.map → chunk-WAZH2LJQ.js.map} +0 -0
- /package/bundles/{chunk-7D7JVHLL.js.map → chunk-XDX5RDY5.js.map} +0 -0
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CYVTLM4Z.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WAZH2LJQ.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;
|
|
@@ -411,7 +411,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
411
411
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
// bazel-out/
|
|
414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
415
415
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
416
416
|
return {
|
|
417
417
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -604,7 +604,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
604
604
|
return enumValue;
|
|
605
605
|
}
|
|
606
606
|
|
|
607
|
-
// bazel-out/
|
|
607
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
608
608
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
609
609
|
var PartialFactoryLinkerVersion1 = class {
|
|
610
610
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -641,7 +641,7 @@ function getDependencies(metaObj, propName) {
|
|
|
641
641
|
return null;
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
-
// bazel-out/
|
|
644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
645
645
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
646
646
|
var PartialInjectableLinkerVersion1 = class {
|
|
647
647
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -680,7 +680,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
680
680
|
return meta;
|
|
681
681
|
}
|
|
682
682
|
|
|
683
|
-
// bazel-out/
|
|
683
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
684
684
|
import { compileInjector } from "@angular/compiler";
|
|
685
685
|
var PartialInjectorLinkerVersion1 = class {
|
|
686
686
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -703,7 +703,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
703
703
|
};
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
// bazel-out/
|
|
706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
707
707
|
import { compileNgModule, R3SelectorScopeMode } from "@angular/compiler";
|
|
708
708
|
var PartialNgModuleLinkerVersion1 = class {
|
|
709
709
|
constructor(emitInline) {
|
|
@@ -776,7 +776,7 @@ function wrapReferences(values) {
|
|
|
776
776
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
-
// bazel-out/
|
|
779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
780
780
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
781
781
|
var PartialPipeLinkerVersion1 = class {
|
|
782
782
|
constructor() {
|
|
@@ -806,7 +806,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
806
806
|
};
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
// bazel-out/
|
|
809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
810
810
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
811
811
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
812
812
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -827,7 +827,7 @@ var declarationFunctions = [
|
|
|
827
827
|
];
|
|
828
828
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
829
829
|
const linkers = /* @__PURE__ */ new Map();
|
|
830
|
-
const LATEST_VERSION_RANGE = getRange("<=", "14.
|
|
830
|
+
const LATEST_VERSION_RANGE = getRange("<=", "14.3.0");
|
|
831
831
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
832
832
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
833
833
|
]);
|
|
@@ -874,7 +874,7 @@ var PartialLinkerSelector = class {
|
|
|
874
874
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
875
875
|
}
|
|
876
876
|
const linkerRanges = this.linkers.get(functionName);
|
|
877
|
-
if (version === "14.
|
|
877
|
+
if (version === "14.3.0") {
|
|
878
878
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
879
879
|
}
|
|
880
880
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -900,7 +900,7 @@ function getRange(comparator, versionStr) {
|
|
|
900
900
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
901
901
|
}
|
|
902
902
|
|
|
903
|
-
// bazel-out/
|
|
903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
904
904
|
var FileLinker = class {
|
|
905
905
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
906
906
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -943,14 +943,14 @@ var FileLinker = class {
|
|
|
943
943
|
}
|
|
944
944
|
};
|
|
945
945
|
|
|
946
|
-
// bazel-out/
|
|
946
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
947
947
|
var DEFAULT_LINKER_OPTIONS = {
|
|
948
948
|
sourceMapping: true,
|
|
949
949
|
linkerJitMode: false,
|
|
950
950
|
unknownDeclarationVersionHandling: "error"
|
|
951
951
|
};
|
|
952
952
|
|
|
953
|
-
// bazel-out/
|
|
953
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
954
954
|
var Translator = class {
|
|
955
955
|
constructor(factory) {
|
|
956
956
|
this.factory = factory;
|
|
@@ -963,7 +963,7 @@ var Translator = class {
|
|
|
963
963
|
}
|
|
964
964
|
};
|
|
965
965
|
|
|
966
|
-
// bazel-out/
|
|
966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
967
967
|
var LinkerEnvironment = class {
|
|
968
968
|
constructor(fileSystem, logger, host, factory, options) {
|
|
969
969
|
this.fileSystem = fileSystem;
|
|
@@ -984,7 +984,7 @@ var LinkerEnvironment = class {
|
|
|
984
984
|
}
|
|
985
985
|
};
|
|
986
986
|
|
|
987
|
-
// bazel-out/
|
|
987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
988
988
|
function needsLinking(path, source) {
|
|
989
989
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
990
990
|
}
|
|
@@ -1005,4 +1005,4 @@ export {
|
|
|
1005
1005
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1006
1006
|
* found in the LICENSE file at https://angular.io/license
|
|
1007
1007
|
*/
|
|
1008
|
-
//# sourceMappingURL=chunk-
|
|
1008
|
+
//# sourceMappingURL=chunk-L2QFSPXM.js.map
|