@angular/compiler-cli 15.0.0-next.6 → 15.0.0-rc.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-JH56H6IJ.js → chunk-2J6P344S.js} +31 -31
- package/bundles/{chunk-JH56H6IJ.js.map → chunk-2J6P344S.js.map} +0 -0
- package/bundles/{chunk-R4GD76QD.js → chunk-3APJTAXU.js} +313 -288
- package/bundles/chunk-3APJTAXU.js.map +6 -0
- package/bundles/{chunk-CYVTLM4Z.js → chunk-56O2PTWU.js} +7 -7
- package/bundles/{chunk-CYVTLM4Z.js.map → chunk-56O2PTWU.js.map} +0 -0
- package/bundles/{chunk-E7NQQTT7.js → chunk-5FZBUSFV.js} +3 -3
- package/bundles/{chunk-E7NQQTT7.js.map → chunk-5FZBUSFV.js.map} +0 -0
- package/bundles/{chunk-F526PAOI.js → chunk-AENVB2CV.js} +2 -2
- package/bundles/{chunk-F526PAOI.js.map → chunk-AENVB2CV.js.map} +0 -0
- package/bundles/{chunk-EQ7NIVSK.js → chunk-DGMBQMP3.js} +28 -26
- package/bundles/chunk-DGMBQMP3.js.map +6 -0
- package/bundles/{chunk-ZXBCBXWY.js → chunk-FTWS7D6F.js} +7 -7
- package/bundles/{chunk-ZXBCBXWY.js.map → chunk-FTWS7D6F.js.map} +0 -0
- package/bundles/{chunk-TOKOIIBI.js → chunk-GRQJXHS2.js} +8 -24
- package/bundles/{chunk-TOKOIIBI.js.map → chunk-GRQJXHS2.js.map} +1 -1
- package/bundles/{chunk-R3C7RFJ4.js → chunk-HMWNYAAE.js} +2 -2
- package/bundles/{chunk-R3C7RFJ4.js.map → chunk-HMWNYAAE.js.map} +0 -0
- package/bundles/{chunk-GQT3DC2W.js → chunk-I6GGIC3W.js} +7 -7
- package/bundles/{chunk-GQT3DC2W.js.map → chunk-I6GGIC3W.js.map} +0 -0
- package/bundles/{chunk-MYEONJ6Z.js → chunk-MPN6KTTB.js} +40 -40
- package/bundles/{chunk-MYEONJ6Z.js.map → chunk-MPN6KTTB.js.map} +0 -0
- package/bundles/{chunk-XOVG7LXX.js → chunk-NKS5IOYE.js} +5 -5
- package/bundles/{chunk-XOVG7LXX.js.map → chunk-NKS5IOYE.js.map} +0 -0
- package/bundles/{chunk-2LFNJ4YC.js → chunk-QVN3ZRPU.js} +98 -98
- package/bundles/{chunk-2LFNJ4YC.js.map → chunk-QVN3ZRPU.js.map} +0 -0
- package/bundles/{chunk-OZI3NCRJ.js → chunk-R3W3GBPY.js} +71 -71
- package/bundles/{chunk-OZI3NCRJ.js.map → chunk-R3W3GBPY.js.map} +0 -0
- package/bundles/{chunk-2HPI44CB.js → chunk-RCXOJZDO.js} +5 -5
- package/bundles/{chunk-2HPI44CB.js.map → chunk-RCXOJZDO.js.map} +0 -0
- package/bundles/{chunk-FM6NPN5V.js → chunk-TQAH6R4Z.js} +4 -4
- package/bundles/{chunk-FM6NPN5V.js.map → chunk-TQAH6R4Z.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/diagnostics/src/error_code.d.ts +7 -0
- package/src/ngtsc/file_system/src/node_js_file_system.d.ts +0 -1
- package/bundles/chunk-EQ7NIVSK.js.map +0 -6
- package/bundles/chunk-R4GD76QD.js.map +0 -6
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-56O2PTWU.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DGMBQMP3.js";
|
|
13
13
|
|
|
14
|
-
// bazel-out/
|
|
14
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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.0.0-
|
|
852
|
+
const LATEST_VERSION_RANGE = getRange("<=", "15.0.0-rc.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.0.0-
|
|
899
|
+
if (version === "15.0.0-rc.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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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-2J6P344S.js.map
|
|
File without changes
|