@angular/compiler-cli 14.2.0 → 15.0.0-next.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.
Files changed (76) hide show
  1. package/bundles/{chunk-RCXOJZDO.js → chunk-2HPI44CB.js} +5 -5
  2. package/bundles/{chunk-RCXOJZDO.js.map → chunk-2HPI44CB.js.map} +0 -0
  3. package/bundles/{chunk-CLRZAXXE.js → chunk-7YHMCUJT.js} +10 -3
  4. package/bundles/chunk-7YHMCUJT.js.map +6 -0
  5. package/bundles/{chunk-56O2PTWU.js → chunk-CYVTLM4Z.js} +7 -7
  6. package/bundles/{chunk-56O2PTWU.js.map → chunk-CYVTLM4Z.js.map} +0 -0
  7. package/bundles/{chunk-5FZBUSFV.js → chunk-E7NQQTT7.js} +3 -3
  8. package/bundles/{chunk-5FZBUSFV.js.map → chunk-E7NQQTT7.js.map} +0 -0
  9. package/bundles/{chunk-DEPZI7L5.js → chunk-FHVSPC32.js} +54 -32
  10. package/bundles/chunk-FHVSPC32.js.map +6 -0
  11. package/bundles/{chunk-ICPLY7FO.js → chunk-FM6NPN5V.js} +4 -4
  12. package/bundles/{chunk-ICPLY7FO.js.map → chunk-FM6NPN5V.js.map} +0 -0
  13. package/bundles/{chunk-TTIGAMYZ.js → chunk-HTGNPCKD.js} +6 -7
  14. package/bundles/chunk-HTGNPCKD.js.map +6 -0
  15. package/bundles/{chunk-J6AVV3MN.js → chunk-I6QQYDN3.js} +291 -118
  16. package/bundles/chunk-I6QQYDN3.js.map +6 -0
  17. package/bundles/{chunk-NDIOQ2EH.js → chunk-NJU6754X.js} +165 -114
  18. package/bundles/chunk-NJU6754X.js.map +6 -0
  19. package/bundles/{chunk-DGTSPJIN.js → chunk-NX4VAKY6.js} +40 -40
  20. package/bundles/{chunk-DGTSPJIN.js.map → chunk-NX4VAKY6.js.map} +0 -0
  21. package/bundles/{chunk-HMWNYAAE.js → chunk-R3C7RFJ4.js} +2 -2
  22. package/bundles/{chunk-HMWNYAAE.js.map → chunk-R3C7RFJ4.js.map} +0 -0
  23. package/bundles/{chunk-XR6BVLNN.js → chunk-TF2TR2WS.js} +42 -26
  24. package/bundles/chunk-TF2TR2WS.js.map +6 -0
  25. package/bundles/{chunk-4NRCP3Y6.js → chunk-TOKOIIBI.js} +7 -7
  26. package/bundles/{chunk-4NRCP3Y6.js.map → chunk-TOKOIIBI.js.map} +0 -0
  27. package/bundles/{chunk-I4BG3CAN.js → chunk-TTNGBVW6.js} +76 -74
  28. package/bundles/chunk-TTNGBVW6.js.map +6 -0
  29. package/bundles/{chunk-3GWIAJ6N.js → chunk-UZLFREET.js} +31 -21
  30. package/bundles/chunk-UZLFREET.js.map +6 -0
  31. package/bundles/{chunk-NJ2FQOJT.js → chunk-XDX5RDY5.js} +10 -8
  32. package/bundles/chunk-XDX5RDY5.js.map +6 -0
  33. package/bundles/index.js +13 -13
  34. package/bundles/linker/babel/index.js +13 -13
  35. package/bundles/linker/index.js +5 -5
  36. package/bundles/ngcc/index.js +13 -13
  37. package/bundles/ngcc/main-ngcc.js +14 -14
  38. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
  39. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  40. package/bundles/private/bazel.js +1 -1
  41. package/bundles/private/localize.js +3 -3
  42. package/bundles/private/migrations.js +6 -6
  43. package/bundles/private/tooling.js +3 -3
  44. package/bundles/src/bin/ng_xi18n.js +11 -11
  45. package/bundles/src/bin/ngc.js +9 -9
  46. package/bundles_metadata.json +1 -1
  47. package/ngcc/src/analysis/decoration_analyzer.d.ts +2 -1
  48. package/ngcc/src/packages/build_marker.d.ts +1 -1
  49. package/package.json +2 -2
  50. package/src/ngtsc/annotations/common/src/diagnostics.d.ts +2 -1
  51. package/src/ngtsc/annotations/component/src/handler.d.ts +3 -2
  52. package/src/ngtsc/annotations/component/src/metadata.d.ts +5 -1
  53. package/src/ngtsc/annotations/directive/src/handler.d.ts +6 -3
  54. package/src/ngtsc/annotations/directive/src/shared.d.ts +5 -2
  55. package/src/ngtsc/core/api/src/public_options.d.ts +1 -13
  56. package/src/ngtsc/diagnostics/index.d.ts +1 -1
  57. package/src/ngtsc/diagnostics/src/error.d.ts +1 -0
  58. package/src/ngtsc/diagnostics/src/error_code.d.ts +12 -0
  59. package/src/ngtsc/metadata/index.d.ts +1 -0
  60. package/src/ngtsc/metadata/src/api.d.ts +28 -0
  61. package/src/ngtsc/metadata/src/host_directives_resolver.d.ts +28 -0
  62. package/src/ngtsc/metadata/src/util.d.ts +3 -2
  63. package/src/ngtsc/scope/src/typecheck.d.ts +4 -3
  64. package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +36 -2
  65. package/src/ngtsc/typecheck/diagnostics/src/diagnostic.d.ts +4 -0
  66. package/src/ngtsc/typecheck/src/type_check_block.d.ts +1 -1
  67. package/src/transformers/util.d.ts +0 -1
  68. package/bundles/chunk-3GWIAJ6N.js.map +0 -6
  69. package/bundles/chunk-CLRZAXXE.js.map +0 -6
  70. package/bundles/chunk-DEPZI7L5.js.map +0 -6
  71. package/bundles/chunk-I4BG3CAN.js.map +0 -6
  72. package/bundles/chunk-J6AVV3MN.js.map +0 -6
  73. package/bundles/chunk-NDIOQ2EH.js.map +0 -6
  74. package/bundles/chunk-NJ2FQOJT.js.map +0 -6
  75. package/bundles/chunk-TTIGAMYZ.js.map +0 -6
  76. package/bundles/chunk-XR6BVLNN.js.map +0 -6
@@ -8,7 +8,7 @@ import {
8
8
  ImportGraph,
9
9
  isShim,
10
10
  readConfiguration
11
- } from "./chunk-NDIOQ2EH.js";
11
+ } from "./chunk-NJU6754X.js";
12
12
  import {
13
13
  CompilationMode,
14
14
  ComponentDecoratorHandler,
@@ -18,6 +18,7 @@ import {
18
18
  DtsMetadataReader,
19
19
  DtsTransformRegistry,
20
20
  HandlerFlags,
21
+ HostDirectivesResolver,
21
22
  InjectableClassRegistry,
22
23
  InjectableDecoratorHandler,
23
24
  LocalMetadataRegistry,
@@ -32,7 +33,7 @@ import {
32
33
  TypeCheckScopeRegistry,
33
34
  forwardRefResolver,
34
35
  readBaseClass
35
- } from "./chunk-J6AVV3MN.js";
36
+ } from "./chunk-I6QQYDN3.js";
36
37
  import {
37
38
  ClassMemberKind,
38
39
  KnownDeclaration,
@@ -43,15 +44,15 @@ import {
43
44
  isNamedFunctionDeclaration,
44
45
  isNamedVariableDeclaration,
45
46
  reflectObjectLiteral
46
- } from "./chunk-NJ2FQOJT.js";
47
+ } from "./chunk-XDX5RDY5.js";
47
48
  import {
48
49
  ConsoleLogger,
49
50
  LogLevel
50
- } from "./chunk-5FZBUSFV.js";
51
+ } from "./chunk-E7NQQTT7.js";
51
52
  import {
52
53
  ContentOrigin,
53
54
  SourceFileLoader
54
- } from "./chunk-56O2PTWU.js";
55
+ } from "./chunk-CYVTLM4Z.js";
55
56
  import {
56
57
  AbsoluteModuleStrategy,
57
58
  ImportManager,
@@ -72,10 +73,10 @@ import {
72
73
  translateStatement,
73
74
  translateType,
74
75
  validateAndRewriteCoreSymbol
75
- } from "./chunk-XR6BVLNN.js";
76
+ } from "./chunk-TF2TR2WS.js";
76
77
  import {
77
78
  getModifiers
78
- } from "./chunk-CLRZAXXE.js";
79
+ } from "./chunk-7YHMCUJT.js";
79
80
  import {
80
81
  LogicalFileSystem,
81
82
  NgtscCompilerHost,
@@ -87,21 +88,21 @@ import {
87
88
  isRooted,
88
89
  relative,
89
90
  toRelativeImport
90
- } from "./chunk-4NRCP3Y6.js";
91
+ } from "./chunk-TOKOIIBI.js";
91
92
  import {
92
93
  NOOP_PERF_RECORDER
93
- } from "./chunk-RCXOJZDO.js";
94
+ } from "./chunk-2HPI44CB.js";
94
95
 
95
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
96
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
96
97
  import ts23 from "typescript";
97
98
 
98
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
99
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
99
100
  import ts7 from "typescript";
100
101
 
101
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
102
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
102
103
  import ts6 from "typescript";
103
104
 
104
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
105
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
105
106
  import ts from "typescript";
106
107
  function isDefined(value) {
107
108
  return value !== void 0 && value !== null;
@@ -192,7 +193,7 @@ function isExportObject(thing) {
192
193
  return typeof thing === "object" && thing !== null && !Array.isArray(thing);
193
194
  }
194
195
 
195
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
196
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
196
197
  import ts2 from "typescript";
197
198
  function findNamespaceOfIdentifier(id) {
198
199
  return id.parent && ts2.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts2.isIdentifier(id.parent.expression) ? id.parent.expression : null;
@@ -278,10 +279,10 @@ function skipAliases(node) {
278
279
  return node;
279
280
  }
280
281
 
281
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
282
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
282
283
  import ts4 from "typescript";
283
284
 
284
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
285
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
285
286
  function isWithinPackage(packagePath, filePath) {
286
287
  const relativePath = relative(packagePath, filePath);
287
288
  return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
@@ -296,13 +297,13 @@ var NoopDependencyTracker = class {
296
297
  };
297
298
  var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
298
299
 
299
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
300
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
300
301
  import ts3 from "typescript";
301
302
  function stripParentheses(node) {
302
303
  return ts3.isParenthesizedExpression(node) ? node.expression : node;
303
304
  }
304
305
 
305
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
306
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
306
307
  var DECORATORS = "decorators";
307
308
  var PROP_DECORATORS = "propDecorators";
308
309
  var CONSTRUCTOR = "__constructor";
@@ -1531,7 +1532,7 @@ function getOuterNodeFromInnerDeclaration(node) {
1531
1532
  return outerNode;
1532
1533
  }
1533
1534
 
1534
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
1535
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
1535
1536
  import ts5 from "typescript";
1536
1537
  var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
1537
1538
  getBaseClassExpression(clazz) {
@@ -1865,7 +1866,7 @@ function getIifeFn(classSymbol) {
1865
1866
  return iifeWrapper && ts5.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
1866
1867
  }
1867
1868
 
1868
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
1869
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
1869
1870
  var UmdReflectionHost = class extends Esm5ReflectionHost {
1870
1871
  constructor(logger, isCore, src, dts = null) {
1871
1872
  super(logger, isCore, src, dts);
@@ -2365,7 +2366,7 @@ function isExportsIdentifier(node) {
2365
2366
  return ts6.isIdentifier(node) && node.text === "exports";
2366
2367
  }
2367
2368
 
2368
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
2369
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
2369
2370
  var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
2370
2371
  var NO_ENTRY_POINT = "no-entry-point";
2371
2372
  var IGNORED_ENTRY_POINT = "ignored-entry-point";
@@ -2540,7 +2541,7 @@ function getRepositoryUrl(packageJson) {
2540
2541
  return packageJson.repository.url;
2541
2542
  }
2542
2543
 
2543
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
2544
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
2544
2545
  var DtsProcessing;
2545
2546
  (function(DtsProcessing2) {
2546
2547
  DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
@@ -2549,7 +2550,7 @@ var DtsProcessing;
2549
2550
  })(DtsProcessing || (DtsProcessing = {}));
2550
2551
  var TaskDependencies = Map;
2551
2552
 
2552
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/adjust_cjs_umd_exports.mjs
2553
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/adjust_cjs_umd_exports.mjs
2553
2554
  import ts8 from "typescript";
2554
2555
  function adjustElementAccessExports(sourceText) {
2555
2556
  if (!/exports\[["']/.test(sourceText)) {
@@ -2586,10 +2587,10 @@ function isJsIdentifier(text) {
2586
2587
  return identifierPattern.test(text);
2587
2588
  }
2588
2589
 
2589
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2590
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2590
2591
  import ts10 from "typescript";
2591
2592
 
2592
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
2593
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
2593
2594
  import ts9 from "typescript";
2594
2595
  function patchTsGetExpandoInitializer() {
2595
2596
  if (isTs31778GetExpandoInitializerFixed()) {
@@ -2694,7 +2695,7 @@ function makeUnsupportedTypeScriptError() {
2694
2695
  return new Error("The TypeScript version used is not supported by ngcc.");
2695
2696
  }
2696
2697
 
2697
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2698
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2698
2699
  function makeBundleProgram(fs, isCore, pkg, path, r3FileName, options, host, additionalFiles = []) {
2699
2700
  const r3SymbolsPath = isCore ? findR3SymbolsPath(fs, fs.dirname(path), r3FileName) : null;
2700
2701
  let rootPaths = r3SymbolsPath ? [path, r3SymbolsPath, ...additionalFiles] : [path, ...additionalFiles];
@@ -2724,7 +2725,7 @@ function findR3SymbolsPath(fs, directory, filename) {
2724
2725
  return null;
2725
2726
  }
2726
2727
 
2727
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
2728
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
2728
2729
  import ts11 from "typescript";
2729
2730
  var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
2730
2731
  constructor(fs, options, cache, moduleResolutionCache, packagePath) {
@@ -2769,7 +2770,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
2769
2770
  }
2770
2771
  };
2771
2772
 
2772
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
2773
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
2773
2774
  import ts12 from "typescript";
2774
2775
  var SharedFileCache = class {
2775
2776
  constructor(fs) {
@@ -2872,7 +2873,7 @@ function createModuleResolutionCache(fs) {
2872
2873
  });
2873
2874
  }
2874
2875
 
2875
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
2876
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
2876
2877
  function createSourceTextProcessor(format) {
2877
2878
  if (format === "umd" || format === "commonjs") {
2878
2879
  return adjustElementAccessExports;
@@ -2921,13 +2922,13 @@ function computePotentialDtsFilesFromJsFiles(fs, srcProgram, formatPath, typings
2921
2922
  return additionalFiles;
2922
2923
  }
2923
2924
 
2924
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
2925
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
2925
2926
  import ts22 from "typescript";
2926
2927
 
2927
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
2928
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
2928
2929
  import { ConstantPool } from "@angular/compiler";
2929
2930
 
2930
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
2931
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
2931
2932
  import ts13 from "typescript";
2932
2933
  function isClassDeclaration(clazz) {
2933
2934
  return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
@@ -3010,7 +3011,7 @@ function reifySourceFile(expr) {
3010
3011
  return stmt.declarationList.declarations[0].initializer;
3011
3012
  }
3012
3013
 
3013
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
3014
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
3014
3015
  var MissingInjectableMigration = class {
3015
3016
  apply(clazz, host) {
3016
3017
  const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
@@ -3115,7 +3116,7 @@ function getAngularCoreDecoratorName(decorator) {
3115
3116
  return decorator.import.name;
3116
3117
  }
3117
3118
 
3118
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
3119
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
3119
3120
  var UndecoratedChildMigration = class {
3120
3121
  apply(clazz, host) {
3121
3122
  const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
@@ -3150,7 +3151,7 @@ var UndecoratedChildMigration = class {
3150
3151
  }
3151
3152
  };
3152
3153
 
3153
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
3154
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
3154
3155
  var UndecoratedParentMigration = class {
3155
3156
  apply(clazz, host) {
3156
3157
  if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
@@ -3183,7 +3184,7 @@ function determineBaseClass(clazz, host) {
3183
3184
  return baseClass;
3184
3185
  }
3185
3186
 
3186
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
3187
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
3187
3188
  import ts14 from "typescript";
3188
3189
  var DefaultMigrationHost = class {
3189
3190
  constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
@@ -3243,7 +3244,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
3243
3244
  return clone;
3244
3245
  }
3245
3246
 
3246
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
3247
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
3247
3248
  var NgccTraitCompiler = class extends TraitCompiler {
3248
3249
  constructor(handlers, ngccReflector) {
3249
3250
  super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null, { isShim, isResource: () => false });
@@ -3288,10 +3289,10 @@ var NoIncrementalBuild = class {
3288
3289
  }
3289
3290
  };
3290
3291
 
3291
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
3292
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
3292
3293
  var DecorationAnalyses = Map;
3293
3294
 
3294
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
3295
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
3295
3296
  var NgccResourceLoader = class {
3296
3297
  constructor(fs) {
3297
3298
  this.fs = fs;
@@ -3346,10 +3347,11 @@ var DecorationAnalyzer = class {
3346
3347
  this.importGraph = new ImportGraph(this.typeChecker, NOOP_PERF_RECORDER);
3347
3348
  this.cycleAnalyzer = new CycleAnalyzer(this.importGraph);
3348
3349
  this.injectableRegistry = new InjectableClassRegistry(this.reflectionHost);
3349
- this.typeCheckScopeRegistry = new TypeCheckScopeRegistry(this.scopeRegistry, this.fullMetaReader);
3350
+ this.hostDirectivesResolver = new HostDirectivesResolver(this.fullMetaReader);
3351
+ this.typeCheckScopeRegistry = new TypeCheckScopeRegistry(this.scopeRegistry, this.fullMetaReader, this.hostDirectivesResolver);
3350
3352
  this.handlers = [
3351
- new ComponentDecoratorHandler(this.reflectionHost, this.evaluator, this.fullRegistry, this.fullMetaReader, this.scopeRegistry, this.dtsModuleScopeResolver, this.scopeRegistry, this.typeCheckScopeRegistry, new ResourceRegistry(), this.isCore, this.resourceManager, this.rootDirs, !!this.compilerOptions.preserveWhitespaces, true, this.bundle.enableI18nLegacyMessageIdFormat, false, false, this.moduleResolver, this.cycleAnalyzer, 0, this.refEmitter, NOOP_DEPENDENCY_TRACKER, this.injectableRegistry, null, !!this.compilerOptions.annotateForClosureCompiler, NOOP_PERF_RECORDER),
3352
- new DirectiveDecoratorHandler(this.reflectionHost, this.evaluator, this.fullRegistry, this.scopeRegistry, this.fullMetaReader, this.injectableRegistry, this.isCore, null, !!this.compilerOptions.annotateForClosureCompiler, true, NOOP_PERF_RECORDER),
3353
+ new ComponentDecoratorHandler(this.reflectionHost, this.evaluator, this.fullRegistry, this.fullMetaReader, this.scopeRegistry, this.dtsModuleScopeResolver, this.scopeRegistry, this.typeCheckScopeRegistry, new ResourceRegistry(), this.isCore, this.resourceManager, this.rootDirs, !!this.compilerOptions.preserveWhitespaces, true, this.bundle.enableI18nLegacyMessageIdFormat, false, false, this.moduleResolver, this.cycleAnalyzer, 0, this.refEmitter, NOOP_DEPENDENCY_TRACKER, this.injectableRegistry, null, !!this.compilerOptions.annotateForClosureCompiler, NOOP_PERF_RECORDER, this.hostDirectivesResolver),
3354
+ new DirectiveDecoratorHandler(this.reflectionHost, this.evaluator, this.fullRegistry, this.scopeRegistry, this.fullMetaReader, this.injectableRegistry, this.refEmitter, this.isCore, null, !!this.compilerOptions.annotateForClosureCompiler, true, NOOP_PERF_RECORDER),
3353
3355
  new PipeDecoratorHandler(this.reflectionHost, this.evaluator, this.metaRegistry, this.scopeRegistry, this.injectableRegistry, this.isCore, NOOP_PERF_RECORDER),
3354
3356
  new InjectableDecoratorHandler(this.reflectionHost, this.isCore, false, this.injectableRegistry, NOOP_PERF_RECORDER, false),
3355
3357
  new NgModuleDecoratorHandler(this.reflectionHost, this.evaluator, this.fullMetaReader, this.fullRegistry, this.scopeRegistry, this.referencesRegistry, this.isCore, this.refEmitter, null, !!this.compilerOptions.annotateForClosureCompiler, false, this.injectableRegistry, NOOP_PERF_RECORDER)
@@ -3447,7 +3449,7 @@ var DecorationAnalyzer = class {
3447
3449
  }
3448
3450
  };
3449
3451
 
3450
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
3452
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
3451
3453
  import ts15 from "typescript";
3452
3454
  var ModuleWithProvidersAnalyses = Map;
3453
3455
  var ModuleWithProvidersAnalyzer = class {
@@ -3586,7 +3588,7 @@ function isAnyKeyword(typeParam) {
3586
3588
  return typeParam.kind === ts15.SyntaxKind.AnyKeyword;
3587
3589
  }
3588
3590
 
3589
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
3591
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
3590
3592
  var NgccReferencesRegistry = class {
3591
3593
  constructor(host) {
3592
3594
  this.host = host;
@@ -3607,7 +3609,7 @@ var NgccReferencesRegistry = class {
3607
3609
  }
3608
3610
  };
3609
3611
 
3610
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
3612
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
3611
3613
  var PrivateDeclarationsAnalyzer = class {
3612
3614
  constructor(host, referencesRegistry) {
3613
3615
  this.host = host;
@@ -3648,7 +3650,7 @@ var PrivateDeclarationsAnalyzer = class {
3648
3650
  }
3649
3651
  };
3650
3652
 
3651
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
3653
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
3652
3654
  import ts16 from "typescript";
3653
3655
  var CommonJsReflectionHost = class extends Esm5ReflectionHost {
3654
3656
  constructor(logger, isCore, src, dts = null) {
@@ -3812,7 +3814,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
3812
3814
  }
3813
3815
  };
3814
3816
 
3815
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
3817
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
3816
3818
  var DelegatingReflectionHost = class {
3817
3819
  constructor(tsHost, ngccHost) {
3818
3820
  this.tsHost = tsHost;
@@ -3933,16 +3935,16 @@ var DelegatingReflectionHost = class {
3933
3935
  }
3934
3936
  };
3935
3937
 
3936
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
3938
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
3937
3939
  import ts19 from "typescript";
3938
3940
 
3939
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
3941
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
3940
3942
  import ts18 from "typescript";
3941
3943
 
3942
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3944
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3943
3945
  import ts17 from "typescript";
3944
3946
 
3945
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
3947
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
3946
3948
  var NgccFlatImportRewriter = class {
3947
3949
  shouldImportSymbol(symbol, specifier) {
3948
3950
  if (specifier === "@angular/core") {
@@ -3963,7 +3965,7 @@ var NgccFlatImportRewriter = class {
3963
3965
  }
3964
3966
  };
3965
3967
 
3966
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
3968
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
3967
3969
  function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
3968
3970
  if (isCore && isFlat) {
3969
3971
  return new NgccFlatImportRewriter();
@@ -3977,7 +3979,7 @@ function stripExtension2(filePath) {
3977
3979
  return filePath.replace(/\.(js|d\.ts)$/, "");
3978
3980
  }
3979
3981
 
3980
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3982
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3981
3983
  var EsmRenderingFormatter = class {
3982
3984
  constructor(fs, host, isCore) {
3983
3985
  this.fs = fs;
@@ -4137,7 +4139,7 @@ function getEndExceptSemicolon(statement) {
4137
4139
  return lastToken && lastToken.kind === ts17.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
4138
4140
  }
4139
4141
 
4140
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
4142
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
4141
4143
  var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
4142
4144
  addDefinitions(output, compiledClass, definitions) {
4143
4145
  const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
@@ -4165,7 +4167,7 @@ Expected an ES5 IIFE wrapped function. But got:
4165
4167
  }
4166
4168
  };
4167
4169
 
4168
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
4170
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
4169
4171
  var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
4170
4172
  constructor(fs, commonJsHost, isCore) {
4171
4173
  super(fs, commonJsHost, isCore);
@@ -4214,15 +4216,15 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
4214
4216
  }
4215
4217
  };
4216
4218
 
4217
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4219
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4218
4220
  import MagicString from "magic-string";
4219
4221
  import ts20 from "typescript";
4220
4222
 
4221
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
4223
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
4222
4224
  var IMPORT_PREFIX = "\u0275ngcc";
4223
4225
  var NGCC_TIMED_OUT_EXIT_CODE = 177;
4224
4226
 
4225
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
4227
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
4226
4228
  import mapHelpers from "convert-source-map";
4227
4229
  function renderSourceAndMap(logger, fs, sourceFile, generatedMagicString) {
4228
4230
  var _a;
@@ -4257,7 +4259,7 @@ ${sourceMapComment}` },
4257
4259
  }
4258
4260
  }
4259
4261
 
4260
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4262
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4261
4263
  var DtsRenderInfo = class {
4262
4264
  constructor() {
4263
4265
  this.classInfo = [];
@@ -4358,14 +4360,14 @@ function markForEmitAsSingleLine(node) {
4358
4360
  ts20.forEachChild(node, markForEmitAsSingleLine);
4359
4361
  }
4360
4362
 
4361
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4363
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4362
4364
  import { jsDocComment, WrappedNodeExpr, WritePropExpr } from "@angular/compiler";
4363
4365
  import MagicString2 from "magic-string";
4364
4366
 
4365
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
4367
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
4366
4368
  var RedundantDecoratorMap = Map;
4367
4369
 
4368
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4370
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4369
4371
  var Renderer = class {
4370
4372
  constructor(host, srcFormatter, fs, logger, bundle, tsConfig = null) {
4371
4373
  this.host = host;
@@ -4468,7 +4470,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
4468
4470
  return statement;
4469
4471
  }
4470
4472
 
4471
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
4473
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
4472
4474
  import ts21 from "typescript";
4473
4475
  var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
4474
4476
  constructor(fs, umdHost, isCore) {
@@ -4584,7 +4586,7 @@ function getGlobalIdentifier(i) {
4584
4586
  return i.specifier.replace(/^@angular\//, "ng.").replace(/^@/, "").replace(/\//g, ".").replace(/[-_]+(.?)/g, (_, c) => c.toUpperCase()).replace(/^./, (c) => c.toLowerCase());
4585
4587
  }
4586
4588
 
4587
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
4589
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
4588
4590
  var Transformer = class {
4589
4591
  constructor(fs, logger, tsConfig = null) {
4590
4592
  this.fs = fs;
@@ -4665,7 +4667,7 @@ function hasErrors(diagnostics) {
4665
4667
  return diagnostics.some((d) => d.category === ts22.DiagnosticCategory.Error);
4666
4668
  }
4667
4669
 
4668
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
4670
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
4669
4671
  function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
4670
4672
  return (beforeWritingFiles, onTaskCompleted) => {
4671
4673
  const transformer = new Transformer(fileSystem, logger, tsConfig);
@@ -4704,10 +4706,10 @@ ${errors}`);
4704
4706
  };
4705
4707
  }
4706
4708
 
4707
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4709
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4708
4710
  import * as os from "os";
4709
4711
 
4710
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
4712
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
4711
4713
  function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
4712
4714
  if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
4713
4715
  return {
@@ -4717,7 +4719,7 @@ function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
4717
4719
  }
4718
4720
  }
4719
4721
 
4720
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
4722
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
4721
4723
  var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
4722
4724
  var InPlaceFileWriter = class {
4723
4725
  constructor(fs, logger, errorOnFailedEntryPoint) {
@@ -4766,7 +4768,7 @@ This error may be caused by one of the following:
4766
4768
  }
4767
4769
  };
4768
4770
 
4769
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
4771
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
4770
4772
  var NGCC_DIRECTORY = "__ivy_ngcc__";
4771
4773
  var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
4772
4774
  var NewEntryPointFileWriter = class extends InPlaceFileWriter {
@@ -4874,7 +4876,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
4874
4876
  }
4875
4877
  };
4876
4878
 
4877
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4879
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4878
4880
  function getSharedSetup(options) {
4879
4881
  const fileSystem = getFileSystem();
4880
4882
  const absBasePath = absoluteFrom(options.basePath);
@@ -4950,7 +4952,7 @@ function getMaxNumberOfWorkers() {
4950
4952
  return numericMaxWorkers;
4951
4953
  }
4952
4954
 
4953
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
4955
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
4954
4956
  var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
4955
4957
  function computeTaskDependencies(tasks, graph) {
4956
4958
  const dependencies = new TaskDependencies();
@@ -5010,7 +5012,7 @@ function sortTasksByPriority(tasks, dependencies) {
5010
5012
  });
5011
5013
  }
5012
5014
 
5013
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
5015
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
5014
5016
  import cluster from "cluster";
5015
5017
  var Deferred = class {
5016
5018
  constructor() {
@@ -5044,7 +5046,7 @@ var sendMessageToWorker = (workerId, msg) => {
5044
5046
  });
5045
5047
  };
5046
5048
 
5047
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
5049
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
5048
5050
  var PackageJsonUpdate = class {
5049
5051
  constructor(writeChangesImpl) {
5050
5052
  this.writeChangesImpl = writeChangesImpl;
@@ -5186,4 +5188,4 @@ export {
5186
5188
  * Use of this source code is governed by an MIT-style license that can be
5187
5189
  * found in the LICENSE file at https://angular.io/license
5188
5190
  */
5189
- //# sourceMappingURL=chunk-I4BG3CAN.js.map
5191
+ //# sourceMappingURL=chunk-TTNGBVW6.js.map