@angular/compiler-cli 13.0.0-rc.2 → 13.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/index.js +209 -218
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +279 -288
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +280 -289
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +244 -253
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +64 -64
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +208 -217
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +206 -215
- package/bundles/src/bin/ngc.js.map +1 -1
- 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/src/ng_module.d.ts +1 -2
|
@@ -23,7 +23,7 @@ var __spreadValues = (a, b) => {
|
|
|
23
23
|
};
|
|
24
24
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
27
27
|
import ts from "typescript";
|
|
28
28
|
function isDecoratorIdentifier(exp) {
|
|
29
29
|
return ts.isIdentifier(exp) || ts.isPropertyAccessExpression(exp) && ts.isIdentifier(exp.expression) && ts.isIdentifier(exp.name);
|
|
@@ -46,7 +46,7 @@ var KnownDeclaration;
|
|
|
46
46
|
KnownDeclaration2[KnownDeclaration2["TsHelperRead"] = 5] = "TsHelperRead";
|
|
47
47
|
})(KnownDeclaration || (KnownDeclaration = {}));
|
|
48
48
|
|
|
49
|
-
// bazel-out/
|
|
49
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
50
50
|
import ts2 from "typescript";
|
|
51
51
|
function typeToValue(typeNode, checker) {
|
|
52
52
|
if (typeNode === null) {
|
|
@@ -207,10 +207,10 @@ function extractModuleName(node) {
|
|
|
207
207
|
return node.moduleSpecifier.text;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
211
211
|
import ts4 from "typescript";
|
|
212
212
|
|
|
213
|
-
// bazel-out/
|
|
213
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
214
214
|
import ts3 from "typescript";
|
|
215
215
|
function isNamedClassDeclaration(node) {
|
|
216
216
|
return ts3.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -219,7 +219,7 @@ function isIdentifier(node) {
|
|
|
219
219
|
return node !== void 0 && ts3.isIdentifier(node);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
// bazel-out/
|
|
222
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
223
223
|
var TypeScriptReflectionHost = class {
|
|
224
224
|
constructor(checker) {
|
|
225
225
|
this.checker = checker;
|
|
@@ -572,10 +572,10 @@ function getExportedName(decl, originalId) {
|
|
|
572
572
|
}
|
|
573
573
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
574
574
|
|
|
575
|
-
// bazel-out/
|
|
575
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
576
576
|
import ts6 from "typescript";
|
|
577
577
|
|
|
578
|
-
// bazel-out/
|
|
578
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
579
579
|
import ts5 from "typescript";
|
|
580
580
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
581
581
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -610,7 +610,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
610
610
|
throw Error("Unable to downlevel Angular decorators due to an incompatible TypeScript version.\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
-
// bazel-out/
|
|
613
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
614
614
|
function isAngularDecorator(decorator, isCore) {
|
|
615
615
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
616
616
|
}
|
|
@@ -914,7 +914,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
914
914
|
};
|
|
915
915
|
}
|
|
916
916
|
|
|
917
|
-
// bazel-out/
|
|
917
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
918
918
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
919
919
|
ngDevMode: false,
|
|
920
920
|
ngI18nClosureMode: false
|