@angular/compiler-cli 14.0.0-rc.2 → 14.0.0-rc.3
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-ZJCM37WF.js → chunk-2IMT6JFI.js} +6 -6
- package/bundles/{chunk-ZJCM37WF.js.map → chunk-2IMT6JFI.js.map} +0 -0
- package/bundles/{chunk-VEAB5CR7.js → chunk-7XY4OMWJ.js} +31 -31
- package/bundles/{chunk-VEAB5CR7.js.map → chunk-7XY4OMWJ.js.map} +0 -0
- package/bundles/{chunk-VLER5B3O.js → chunk-AWUSLKAS.js} +100 -98
- package/bundles/chunk-AWUSLKAS.js.map +6 -0
- package/bundles/{chunk-SYV2KBTF.js → chunk-EN4WVK2E.js} +5 -5
- package/bundles/{chunk-SYV2KBTF.js.map → chunk-EN4WVK2E.js.map} +0 -0
- package/bundles/{chunk-VSZPIAX6.js → chunk-GWA6QBDZ.js} +85 -76
- package/bundles/{chunk-VSZPIAX6.js.map → chunk-GWA6QBDZ.js.map} +1 -1
- package/bundles/{chunk-GGBQTGO6.js → chunk-I7TI6THJ.js} +40 -40
- package/bundles/{chunk-GGBQTGO6.js.map → chunk-I7TI6THJ.js.map} +0 -0
- package/bundles/{chunk-SFACRVMZ.js → chunk-JDKMNZ6O.js} +26 -26
- package/bundles/{chunk-SFACRVMZ.js.map → chunk-JDKMNZ6O.js.map} +0 -0
- package/bundles/{chunk-RV5PLZZB.js → chunk-KAZROYQX.js} +70 -70
- package/bundles/{chunk-RV5PLZZB.js.map → chunk-KAZROYQX.js.map} +0 -0
- package/bundles/{chunk-7J66ZDC5.js → chunk-LX5Q27EF.js} +3 -3
- package/bundles/{chunk-7J66ZDC5.js.map → chunk-LX5Q27EF.js.map} +0 -0
- package/bundles/{chunk-U2VFXNL7.js → chunk-OLGEBPBY.js} +4 -4
- package/bundles/{chunk-U2VFXNL7.js.map → chunk-OLGEBPBY.js.map} +0 -0
- package/bundles/{chunk-HMWNYAAE.js → chunk-R3C7RFJ4.js} +2 -2
- package/bundles/{chunk-HMWNYAAE.js.map → chunk-R3C7RFJ4.js.map} +0 -0
- package/bundles/{chunk-QK4SXRQA.js → chunk-R4NY3TJC.js} +5 -5
- package/bundles/{chunk-QK4SXRQA.js.map → chunk-R4NY3TJC.js.map} +0 -0
- package/bundles/{chunk-MURZUYM7.js → chunk-T7MYRXIE.js} +7 -7
- package/bundles/{chunk-MURZUYM7.js.map → chunk-T7MYRXIE.js.map} +0 -0
- package/bundles/{chunk-AKU7LV22.js → chunk-W6KM7BUM.js} +6 -6
- package/bundles/{chunk-AKU7LV22.js.map → chunk-W6KM7BUM.js.map} +0 -0
- package/bundles/{chunk-BFPVXDJN.js → chunk-WGBFSDVQ.js} +7 -7
- package/bundles/{chunk-BFPVXDJN.js.map → chunk-WGBFSDVQ.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- 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 +5 -5
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +2 -1
- package/src/ngtsc/typecheck/src/dom.d.ts +2 -2
- package/bundles/chunk-VLER5B3O.js.map +0 -6
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
7
7
|
import ts4 from "typescript";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
10
10
|
import ts from "typescript";
|
|
11
11
|
var Decorator = {
|
|
12
12
|
nodeForError: (decorator) => {
|
|
@@ -41,7 +41,7 @@ function isConcreteDeclaration(decl) {
|
|
|
41
41
|
return decl.kind === 0;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
// bazel-out/
|
|
44
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
45
45
|
import ts2 from "typescript";
|
|
46
46
|
function typeToValue(typeNode, checker) {
|
|
47
47
|
if (typeNode === null) {
|
|
@@ -205,7 +205,7 @@ function extractModuleName(node) {
|
|
|
205
205
|
return node.moduleSpecifier.text;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
// bazel-out/
|
|
208
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
209
209
|
import ts3 from "typescript";
|
|
210
210
|
function isNamedClassDeclaration(node) {
|
|
211
211
|
return ts3.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -220,7 +220,7 @@ function isIdentifier(node) {
|
|
|
220
220
|
return node !== void 0 && ts3.isIdentifier(node);
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
224
224
|
var TypeScriptReflectionHost = class {
|
|
225
225
|
constructor(checker) {
|
|
226
226
|
this.checker = checker;
|
|
@@ -678,4 +678,4 @@ export {
|
|
|
678
678
|
* Use of this source code is governed by an MIT-style license that can be
|
|
679
679
|
* found in the LICENSE file at https://angular.io/license
|
|
680
680
|
*/
|
|
681
|
-
//# sourceMappingURL=chunk-
|
|
681
|
+
//# sourceMappingURL=chunk-2IMT6JFI.js.map
|
|
File without changes
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WGBFSDVQ.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JDKMNZ6O.js";
|
|
13
13
|
import {
|
|
14
14
|
__spreadProps,
|
|
15
15
|
__spreadValues
|
|
16
16
|
} from "./chunk-GMSUYBZP.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
19
19
|
var FatalLinkerError = class extends Error {
|
|
20
20
|
constructor(node, message) {
|
|
21
21
|
super(message);
|
|
@@ -27,14 +27,14 @@ function isFatalLinkerError(e) {
|
|
|
27
27
|
return e && e.type === "FatalLinkerError";
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
31
31
|
function assert(node, predicate, expected) {
|
|
32
32
|
if (!predicate(node)) {
|
|
33
33
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
38
38
|
import * as o from "@angular/compiler";
|
|
39
39
|
var AstObject = class {
|
|
40
40
|
constructor(expression, obj, host) {
|
|
@@ -160,10 +160,10 @@ var AstValue = class {
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
// bazel-out/
|
|
163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
164
164
|
import { ConstantPool } from "@angular/compiler";
|
|
165
165
|
|
|
166
|
-
// bazel-out/
|
|
166
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
167
167
|
var LinkerImportGenerator = class {
|
|
168
168
|
constructor(ngImport) {
|
|
169
169
|
this.ngImport = ngImport;
|
|
@@ -183,7 +183,7 @@ var LinkerImportGenerator = class {
|
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
// bazel-out/
|
|
186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
187
187
|
var EmitScope = class {
|
|
188
188
|
constructor(ngImport, translator, factory) {
|
|
189
189
|
this.ngImport = ngImport;
|
|
@@ -212,7 +212,7 @@ var EmitScope = class {
|
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
// bazel-out/
|
|
215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
216
216
|
var LocalEmitScope = class extends EmitScope {
|
|
217
217
|
translateDefinition(definition) {
|
|
218
218
|
return super.translateDefinition({
|
|
@@ -225,10 +225,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
229
229
|
import semver from "semver";
|
|
230
230
|
|
|
231
|
-
// bazel-out/
|
|
231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
232
232
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
233
233
|
if (loader === null) {
|
|
234
234
|
return () => null;
|
|
@@ -243,7 +243,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
// bazel-out/
|
|
246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
247
247
|
import { compileClassMetadata } from "@angular/compiler";
|
|
248
248
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
249
249
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -263,13 +263,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
// bazel-out/
|
|
266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
267
267
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
270
270
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
273
273
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
274
274
|
function wrapReference(wrapped) {
|
|
275
275
|
return { value: wrapped, type: wrapped };
|
|
@@ -317,7 +317,7 @@ function extractForwardRef(expr) {
|
|
|
317
317
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
// bazel-out/
|
|
320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
321
321
|
var PartialDirectiveLinkerVersion1 = class {
|
|
322
322
|
constructor(sourceUrl, code) {
|
|
323
323
|
this.sourceUrl = sourceUrl;
|
|
@@ -415,7 +415,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
415
415
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
// bazel-out/
|
|
418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
419
419
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
420
420
|
return {
|
|
421
421
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -607,7 +607,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
607
607
|
return enumValue;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
// bazel-out/
|
|
610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
611
611
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
612
612
|
var PartialFactoryLinkerVersion1 = class {
|
|
613
613
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -644,7 +644,7 @@ function getDependencies(metaObj, propName) {
|
|
|
644
644
|
return null;
|
|
645
645
|
}
|
|
646
646
|
|
|
647
|
-
// bazel-out/
|
|
647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
648
648
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
649
649
|
var PartialInjectableLinkerVersion1 = class {
|
|
650
650
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -683,7 +683,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
683
683
|
return meta;
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
// bazel-out/
|
|
686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
687
687
|
import { compileInjector } from "@angular/compiler";
|
|
688
688
|
var PartialInjectorLinkerVersion1 = class {
|
|
689
689
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -706,7 +706,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
706
706
|
};
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
// bazel-out/
|
|
709
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
710
710
|
import { compileNgModule, R3SelectorScopeMode } from "@angular/compiler";
|
|
711
711
|
var PartialNgModuleLinkerVersion1 = class {
|
|
712
712
|
constructor(emitInline) {
|
|
@@ -777,7 +777,7 @@ function wrapReferences(values) {
|
|
|
777
777
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
-
// bazel-out/
|
|
780
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
781
781
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
782
782
|
var PartialPipeLinkerVersion1 = class {
|
|
783
783
|
constructor() {
|
|
@@ -807,7 +807,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
807
807
|
};
|
|
808
808
|
}
|
|
809
809
|
|
|
810
|
-
// bazel-out/
|
|
810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
811
811
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
812
812
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
813
813
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -828,7 +828,7 @@ var declarationFunctions = [
|
|
|
828
828
|
];
|
|
829
829
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
830
830
|
const linkers = /* @__PURE__ */ new Map();
|
|
831
|
-
const LATEST_VERSION_RANGE = getRange("<=", "14.0.0-rc.
|
|
831
|
+
const LATEST_VERSION_RANGE = getRange("<=", "14.0.0-rc.3");
|
|
832
832
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
833
833
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
834
834
|
]);
|
|
@@ -875,7 +875,7 @@ var PartialLinkerSelector = class {
|
|
|
875
875
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
876
876
|
}
|
|
877
877
|
const linkerRanges = this.linkers.get(functionName);
|
|
878
|
-
if (version === "14.0.0-rc.
|
|
878
|
+
if (version === "14.0.0-rc.3") {
|
|
879
879
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
880
880
|
}
|
|
881
881
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -901,7 +901,7 @@ function getRange(comparator, versionStr) {
|
|
|
901
901
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
-
// bazel-out/
|
|
904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
905
905
|
var FileLinker = class {
|
|
906
906
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
907
907
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -944,14 +944,14 @@ var FileLinker = class {
|
|
|
944
944
|
}
|
|
945
945
|
};
|
|
946
946
|
|
|
947
|
-
// bazel-out/
|
|
947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
948
948
|
var DEFAULT_LINKER_OPTIONS = {
|
|
949
949
|
sourceMapping: true,
|
|
950
950
|
linkerJitMode: false,
|
|
951
951
|
unknownDeclarationVersionHandling: "error"
|
|
952
952
|
};
|
|
953
953
|
|
|
954
|
-
// bazel-out/
|
|
954
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
955
955
|
var Translator = class {
|
|
956
956
|
constructor(factory) {
|
|
957
957
|
this.factory = factory;
|
|
@@ -964,7 +964,7 @@ var Translator = class {
|
|
|
964
964
|
}
|
|
965
965
|
};
|
|
966
966
|
|
|
967
|
-
// bazel-out/
|
|
967
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
968
968
|
var LinkerEnvironment = class {
|
|
969
969
|
constructor(fileSystem, logger, host, factory, options) {
|
|
970
970
|
this.fileSystem = fileSystem;
|
|
@@ -985,7 +985,7 @@ var LinkerEnvironment = class {
|
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
987
|
|
|
988
|
-
// bazel-out/
|
|
988
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
989
989
|
function needsLinking(path, source) {
|
|
990
990
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
991
991
|
}
|
|
@@ -1006,4 +1006,4 @@ export {
|
|
|
1006
1006
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1007
1007
|
* found in the LICENSE file at https://angular.io/license
|
|
1008
1008
|
*/
|
|
1009
|
-
//# sourceMappingURL=chunk-
|
|
1009
|
+
//# sourceMappingURL=chunk-7XY4OMWJ.js.map
|
|
File without changes
|