@angular/compiler-cli 15.2.8 → 15.2.9
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-7GNUPQOI.js → chunk-2PLRZDNU.js} +31 -31
- package/bundles/{chunk-KV5PW2QN.js → chunk-2UDHTJ2I.js} +77 -77
- package/bundles/{chunk-EKN42M4J.js → chunk-37YYFKDO.js} +40 -40
- package/bundles/{chunk-XSR7VSYM.js → chunk-43M7ZA5W.js} +5 -5
- package/bundles/{chunk-2NLFVEGY.js → chunk-6ZJFIQBG.js} +7 -7
- package/bundles/{chunk-B57SP4JB.js → chunk-7DUI3BSX.js} +2 -2
- package/bundles/{chunk-TBUSSXUA.js → chunk-EC5K6QPP.js} +7 -7
- package/bundles/{chunk-IKBMBUUZ.js → chunk-LRE5KIJ7.js} +71 -71
- package/bundles/{chunk-HKF2SJOH.js → chunk-M65TNV27.js} +106 -99
- package/bundles/{chunk-HKF2SJOH.js.map → chunk-M65TNV27.js.map} +1 -1
- package/bundles/{chunk-YZWN2KWE.js → chunk-NJMZRTB6.js} +5 -5
- package/bundles/{chunk-ZF3IVDQ2.js → chunk-O4JLZZWJ.js} +6 -6
- package/bundles/{chunk-ZV3QKZR5.js → chunk-PT6IDEJZ.js} +5 -5
- package/bundles/{chunk-IJECERTO.js → chunk-QRHWLC7U.js} +10 -10
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-K7P4IHT5.js → chunk-YRDMG3GM.js} +4 -4
- package/bundles/{chunk-IYYB2HTK.js → chunk-ZCBRXUPO.js} +21 -21
- 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 +4 -4
- 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-7GNUPQOI.js.map → chunk-2PLRZDNU.js.map} +0 -0
- /package/bundles/{chunk-KV5PW2QN.js.map → chunk-2UDHTJ2I.js.map} +0 -0
- /package/bundles/{chunk-EKN42M4J.js.map → chunk-37YYFKDO.js.map} +0 -0
- /package/bundles/{chunk-XSR7VSYM.js.map → chunk-43M7ZA5W.js.map} +0 -0
- /package/bundles/{chunk-2NLFVEGY.js.map → chunk-6ZJFIQBG.js.map} +0 -0
- /package/bundles/{chunk-B57SP4JB.js.map → chunk-7DUI3BSX.js.map} +0 -0
- /package/bundles/{chunk-TBUSSXUA.js.map → chunk-EC5K6QPP.js.map} +0 -0
- /package/bundles/{chunk-IKBMBUUZ.js.map → chunk-LRE5KIJ7.js.map} +0 -0
- /package/bundles/{chunk-YZWN2KWE.js.map → chunk-NJMZRTB6.js.map} +0 -0
- /package/bundles/{chunk-ZF3IVDQ2.js.map → chunk-O4JLZZWJ.js.map} +0 -0
- /package/bundles/{chunk-ZV3QKZR5.js.map → chunk-PT6IDEJZ.js.map} +0 -0
- /package/bundles/{chunk-IJECERTO.js.map → chunk-QRHWLC7U.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-K7P4IHT5.js.map → chunk-YRDMG3GM.js.map} +0 -0
- /package/bundles/{chunk-IYYB2HTK.js.map → chunk-ZCBRXUPO.js.map} +0 -0
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
SourceFileLoader
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6ZJFIQBG.js";
|
|
8
8
|
import {
|
|
9
9
|
Context,
|
|
10
10
|
ExpressionTranslatorVisitor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QRHWLC7U.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
14
14
|
var FatalLinkerError = class extends Error {
|
|
15
15
|
constructor(node, message) {
|
|
16
16
|
super(message);
|
|
@@ -22,14 +22,14 @@ function isFatalLinkerError(e) {
|
|
|
22
22
|
return e && e.type === "FatalLinkerError";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
26
26
|
function assert(node, predicate, expected) {
|
|
27
27
|
if (!predicate(node)) {
|
|
28
28
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
33
33
|
import * as o from "@angular/compiler";
|
|
34
34
|
var AstObject = class {
|
|
35
35
|
static parse(expression, host) {
|
|
@@ -155,10 +155,10 @@ var AstValue = class {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
159
159
|
import { ConstantPool } from "@angular/compiler";
|
|
160
160
|
|
|
161
|
-
// bazel-out/
|
|
161
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
162
162
|
var LinkerImportGenerator = class {
|
|
163
163
|
constructor(ngImport) {
|
|
164
164
|
this.ngImport = ngImport;
|
|
@@ -178,7 +178,7 @@ var LinkerImportGenerator = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
182
182
|
var EmitScope = class {
|
|
183
183
|
constructor(ngImport, translator, factory) {
|
|
184
184
|
this.ngImport = ngImport;
|
|
@@ -207,7 +207,7 @@ var EmitScope = class {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
211
211
|
var LocalEmitScope = class extends EmitScope {
|
|
212
212
|
translateDefinition(definition) {
|
|
213
213
|
return super.translateDefinition({
|
|
@@ -220,10 +220,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
224
224
|
import semver from "semver";
|
|
225
225
|
|
|
226
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
227
227
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
228
228
|
if (loader === null) {
|
|
229
229
|
return () => null;
|
|
@@ -238,7 +238,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
// bazel-out/
|
|
241
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
242
242
|
import { compileClassMetadata } from "@angular/compiler";
|
|
243
243
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
244
244
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -258,13 +258,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
262
262
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
263
263
|
|
|
264
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
265
265
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
266
266
|
|
|
267
|
-
// bazel-out/
|
|
267
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
268
268
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
269
269
|
function wrapReference(wrapped) {
|
|
270
270
|
return { value: wrapped, type: wrapped };
|
|
@@ -312,7 +312,7 @@ function extractForwardRef(expr) {
|
|
|
312
312
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
// bazel-out/
|
|
315
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
316
316
|
var PartialDirectiveLinkerVersion1 = class {
|
|
317
317
|
constructor(sourceUrl, code) {
|
|
318
318
|
this.sourceUrl = sourceUrl;
|
|
@@ -432,7 +432,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
432
432
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
// bazel-out/
|
|
435
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
436
436
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
437
437
|
return {
|
|
438
438
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -625,7 +625,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
625
625
|
return enumValue;
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
// bazel-out/
|
|
628
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
629
629
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
630
630
|
var PartialFactoryLinkerVersion1 = class {
|
|
631
631
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -662,7 +662,7 @@ function getDependencies(metaObj, propName) {
|
|
|
662
662
|
return null;
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
-
// bazel-out/
|
|
665
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
666
666
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
667
667
|
var PartialInjectableLinkerVersion1 = class {
|
|
668
668
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -701,7 +701,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
701
701
|
return meta;
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
-
// bazel-out/
|
|
704
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
705
705
|
import { compileInjector } from "@angular/compiler";
|
|
706
706
|
var PartialInjectorLinkerVersion1 = class {
|
|
707
707
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -724,7 +724,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
724
724
|
};
|
|
725
725
|
}
|
|
726
726
|
|
|
727
|
-
// bazel-out/
|
|
727
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
728
728
|
import { compileNgModule, R3SelectorScopeMode } from "@angular/compiler";
|
|
729
729
|
var PartialNgModuleLinkerVersion1 = class {
|
|
730
730
|
constructor(emitInline) {
|
|
@@ -797,7 +797,7 @@ function wrapReferences(values) {
|
|
|
797
797
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
798
798
|
}
|
|
799
799
|
|
|
800
|
-
// bazel-out/
|
|
800
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
801
801
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
802
802
|
var PartialPipeLinkerVersion1 = class {
|
|
803
803
|
constructor() {
|
|
@@ -827,7 +827,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
827
827
|
};
|
|
828
828
|
}
|
|
829
829
|
|
|
830
|
-
// bazel-out/
|
|
830
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
831
831
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
832
832
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
833
833
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -848,7 +848,7 @@ var declarationFunctions = [
|
|
|
848
848
|
];
|
|
849
849
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
850
850
|
const linkers = /* @__PURE__ */ new Map();
|
|
851
|
-
const LATEST_VERSION_RANGE = getRange("<=", "15.2.
|
|
851
|
+
const LATEST_VERSION_RANGE = getRange("<=", "15.2.9");
|
|
852
852
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
853
853
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
854
854
|
]);
|
|
@@ -895,7 +895,7 @@ var PartialLinkerSelector = class {
|
|
|
895
895
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
896
896
|
}
|
|
897
897
|
const linkerRanges = this.linkers.get(functionName);
|
|
898
|
-
if (version === "15.2.
|
|
898
|
+
if (version === "15.2.9") {
|
|
899
899
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
900
900
|
}
|
|
901
901
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -921,7 +921,7 @@ function getRange(comparator, versionStr) {
|
|
|
921
921
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
// bazel-out/
|
|
924
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
925
925
|
var FileLinker = class {
|
|
926
926
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
927
927
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -964,14 +964,14 @@ var FileLinker = class {
|
|
|
964
964
|
}
|
|
965
965
|
};
|
|
966
966
|
|
|
967
|
-
// bazel-out/
|
|
967
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
968
968
|
var DEFAULT_LINKER_OPTIONS = {
|
|
969
969
|
sourceMapping: true,
|
|
970
970
|
linkerJitMode: false,
|
|
971
971
|
unknownDeclarationVersionHandling: "error"
|
|
972
972
|
};
|
|
973
973
|
|
|
974
|
-
// bazel-out/
|
|
974
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
975
975
|
var Translator = class {
|
|
976
976
|
constructor(factory) {
|
|
977
977
|
this.factory = factory;
|
|
@@ -984,7 +984,7 @@ var Translator = class {
|
|
|
984
984
|
}
|
|
985
985
|
};
|
|
986
986
|
|
|
987
|
-
// bazel-out/
|
|
987
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
988
988
|
var LinkerEnvironment = class {
|
|
989
989
|
constructor(fileSystem, logger, host, factory, options) {
|
|
990
990
|
this.fileSystem = fileSystem;
|
|
@@ -1005,7 +1005,7 @@ var LinkerEnvironment = class {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
};
|
|
1007
1007
|
|
|
1008
|
-
// bazel-out/
|
|
1008
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1009
1009
|
function needsLinking(path, source) {
|
|
1010
1010
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1011
1011
|
}
|
|
@@ -1026,4 +1026,4 @@ export {
|
|
|
1026
1026
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1027
1027
|
* found in the LICENSE file at https://angular.io/license
|
|
1028
1028
|
*/
|
|
1029
|
-
//# sourceMappingURL=chunk-
|
|
1029
|
+
//# sourceMappingURL=chunk-2PLRZDNU.js.map
|