@angular/compiler-cli 13.0.0-rc.1 → 13.0.0-rc.2
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 +14 -10
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +2 -2
- package/bundles/linker/index.js +2 -2
- package/bundles/ngcc/index.js +18 -25
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +18 -25
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +17 -24
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- package/bundles/private/migrations.js +5 -3
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/src/bin/ng_xi18n.js +13 -9
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +13 -9
- package/bundles/src/bin/ngc.js.map +2 -2
- 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/index.d.ts +4 -2
- package/src/ngtsc/diagnostics/src/docs.d.ts +14 -0
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +16 -0
- package/src/ngtsc/diagnostics/src/util.d.ts +2 -0
package/bundles/index.js
CHANGED
|
@@ -446,7 +446,7 @@ import { StaticReflector, StaticSymbol } from "@angular/compiler";
|
|
|
446
446
|
|
|
447
447
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
448
448
|
import { Version } from "@angular/compiler";
|
|
449
|
-
var VERSION = new Version("13.0.0-rc.
|
|
449
|
+
var VERSION = new Version("13.0.0-rc.2");
|
|
450
450
|
|
|
451
451
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
452
452
|
import ts4 from "typescript";
|
|
@@ -3126,9 +3126,6 @@ import ts73 from "typescript";
|
|
|
3126
3126
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr7, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
3127
3127
|
import ts39 from "typescript";
|
|
3128
3128
|
|
|
3129
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
3130
|
-
import ts10 from "typescript";
|
|
3131
|
-
|
|
3132
3129
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
3133
3130
|
var ErrorCode;
|
|
3134
3131
|
(function(ErrorCode2) {
|
|
@@ -3179,7 +3176,8 @@ var ErrorCode;
|
|
|
3179
3176
|
ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
|
|
3180
3177
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
3181
3178
|
})(ErrorCode || (ErrorCode = {}));
|
|
3182
|
-
|
|
3179
|
+
|
|
3180
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
3183
3181
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
3184
3182
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
3185
3183
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -3189,6 +3187,15 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
3189
3187
|
ErrorCode.MISSING_REFERENCE_TARGET,
|
|
3190
3188
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
3191
3189
|
]);
|
|
3190
|
+
|
|
3191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
3192
|
+
import ts10 from "typescript";
|
|
3193
|
+
|
|
3194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
3195
|
+
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
3196
|
+
function replaceTsWithNgInErrors(errors) {
|
|
3197
|
+
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
3198
|
+
}
|
|
3192
3199
|
function ngErrorCode(code) {
|
|
3193
3200
|
return parseInt("-99" + code);
|
|
3194
3201
|
}
|
|
@@ -3230,11 +3237,8 @@ function makeRelatedInformation(node, messageText) {
|
|
|
3230
3237
|
};
|
|
3231
3238
|
}
|
|
3232
3239
|
|
|
3233
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/
|
|
3234
|
-
var
|
|
3235
|
-
function replaceTsWithNgInErrors(errors) {
|
|
3236
|
-
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
3237
|
-
}
|
|
3240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
3241
|
+
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
3238
3242
|
|
|
3239
3243
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3240
3244
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|