@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.
@@ -403,9 +403,6 @@ import yargs from "yargs";
403
403
  import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
404
404
  import ts86 from "typescript";
405
405
 
406
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
407
- import ts2 from "typescript";
408
-
409
406
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
410
407
  var ErrorCode;
411
408
  (function(ErrorCode2) {
@@ -456,7 +453,8 @@ var ErrorCode;
456
453
  ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
457
454
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
458
455
  })(ErrorCode || (ErrorCode = {}));
459
- var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
456
+
457
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
460
458
  var COMPILER_ERRORS_WITH_GUIDES = new Set([
461
459
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
462
460
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -466,6 +464,15 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
466
464
  ErrorCode.MISSING_REFERENCE_TARGET,
467
465
  ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
468
466
  ]);
467
+
468
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
469
+ import ts2 from "typescript";
470
+
471
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
472
+ var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
473
+ function replaceTsWithNgInErrors(errors) {
474
+ return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
475
+ }
469
476
  function ngErrorCode(code) {
470
477
  return parseInt("-99" + code);
471
478
  }
@@ -507,11 +514,8 @@ function makeRelatedInformation(node, messageText) {
507
514
  };
508
515
  }
509
516
 
510
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
511
- var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
512
- function replaceTsWithNgInErrors(errors) {
513
- return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
514
- }
517
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
518
+ var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
515
519
 
516
520
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
517
521
  var DEFAULT_ERROR_CODE = 100;