@angular/compiler-cli 13.1.0-next.3 → 13.2.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 (62) hide show
  1. package/bundles/{chunk-JJMLEEKA.js → chunk-AUFNJGZ6.js} +6 -6
  2. package/bundles/{chunk-JJMLEEKA.js.map → chunk-AUFNJGZ6.js.map} +0 -0
  3. package/bundles/{chunk-QDWL7SZJ.js → chunk-BPCUCINV.js} +2 -2
  4. package/bundles/{chunk-QDWL7SZJ.js.map → chunk-BPCUCINV.js.map} +0 -0
  5. package/bundles/{chunk-UIKTHF6Z.js → chunk-DJRTTRF3.js} +40 -40
  6. package/bundles/{chunk-UIKTHF6Z.js.map → chunk-DJRTTRF3.js.map} +0 -0
  7. package/bundles/{chunk-IESRH26X.js → chunk-FXVUPJ6A.js} +57 -57
  8. package/bundles/{chunk-IESRH26X.js.map → chunk-FXVUPJ6A.js.map} +0 -0
  9. package/bundles/{chunk-GLCRIILX.js → chunk-J6CW3T62.js} +5 -5
  10. package/bundles/{chunk-GLCRIILX.js.map → chunk-J6CW3T62.js.map} +0 -0
  11. package/bundles/{chunk-SKBLJA43.js → chunk-JTYUTYS2.js} +3 -3
  12. package/bundles/{chunk-SKBLJA43.js.map → chunk-JTYUTYS2.js.map} +0 -0
  13. package/bundles/{chunk-7HBAJSZA.js → chunk-KWZNY2SK.js} +76 -83
  14. package/bundles/chunk-KWZNY2SK.js.map +6 -0
  15. package/bundles/{chunk-HDZS2JG2.js → chunk-O5ZEI3UY.js} +19 -19
  16. package/bundles/chunk-O5ZEI3UY.js.map +6 -0
  17. package/bundles/{chunk-MFCLQBFK.js → chunk-OOIW53QX.js} +31 -31
  18. package/bundles/{chunk-MFCLQBFK.js.map → chunk-OOIW53QX.js.map} +0 -0
  19. package/bundles/{chunk-COAETSNP.js → chunk-P5ZW5MI4.js} +105 -190
  20. package/bundles/chunk-P5ZW5MI4.js.map +6 -0
  21. package/bundles/{chunk-QL6ZC3U3.js → chunk-PF3ZPGF5.js} +7 -7
  22. package/bundles/{chunk-QL6ZC3U3.js.map → chunk-PF3ZPGF5.js.map} +0 -0
  23. package/bundles/{chunk-UMUIU7TE.js → chunk-QFB4WK55.js} +4 -4
  24. package/bundles/{chunk-UMUIU7TE.js.map → chunk-QFB4WK55.js.map} +0 -0
  25. package/bundles/{chunk-EP5JHXG2.js → chunk-TI3THPMZ.js} +7 -7
  26. package/bundles/{chunk-EP5JHXG2.js.map → chunk-TI3THPMZ.js.map} +0 -0
  27. package/bundles/{chunk-7HVF6UHR.js → chunk-W5CGOJQ4.js} +13 -7
  28. package/bundles/chunk-W5CGOJQ4.js.map +6 -0
  29. package/bundles/{chunk-4EDYFHXN.js → chunk-X46CEINM.js} +6 -6
  30. package/bundles/chunk-X46CEINM.js.map +6 -0
  31. package/bundles/index.js +12 -27
  32. package/bundles/index.js.map +2 -2
  33. package/bundles/linker/babel/index.js +12 -12
  34. package/bundles/linker/index.js +4 -4
  35. package/bundles/ngcc/index.js +12 -12
  36. package/bundles/ngcc/main-ngcc.js +13 -13
  37. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
  38. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  39. package/bundles/private/bazel.js +1 -1
  40. package/bundles/private/localize.js +3 -3
  41. package/bundles/private/migrations.js +5 -5
  42. package/bundles/private/tooling.js +2 -2
  43. package/bundles/src/bin/ng_xi18n.js +10 -10
  44. package/bundles/src/bin/ngc.js +8 -8
  45. package/bundles_metadata.json +1 -1
  46. package/index.d.ts +0 -2
  47. package/ngcc/src/packages/build_marker.d.ts +1 -1
  48. package/package.json +2 -2
  49. package/src/main.d.ts +3 -3
  50. package/src/ngtsc/core/src/host.d.ts +1 -1
  51. package/src/ngtsc/program.d.ts +3 -6
  52. package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +1 -1
  53. package/src/ngtsc/util/src/typescript.d.ts +0 -5
  54. package/src/perform_compile.d.ts +5 -10
  55. package/src/perform_watch.d.ts +4 -4
  56. package/src/transformers/api.d.ts +3 -30
  57. package/src/transformers/util.d.ts +4 -6
  58. package/bundles/chunk-4EDYFHXN.js.map +0 -6
  59. package/bundles/chunk-7HBAJSZA.js.map +0 -6
  60. package/bundles/chunk-7HVF6UHR.js.map +0 -6
  61. package/bundles/chunk-COAETSNP.js.map +0 -6
  62. package/bundles/chunk-HDZS2JG2.js.map +0 -6
@@ -10,7 +10,7 @@ import {
10
10
  MetadataDtsModuleScopeResolver,
11
11
  TypeCheckScopeRegistry,
12
12
  readConfiguration
13
- } from "./chunk-COAETSNP.js";
13
+ } from "./chunk-P5ZW5MI4.js";
14
14
  import {
15
15
  CompilationMode,
16
16
  ComponentDecoratorHandler,
@@ -33,7 +33,7 @@ import {
33
33
  isFatalDiagnosticError,
34
34
  readBaseClass,
35
35
  replaceTsWithNgInErrors
36
- } from "./chunk-IESRH26X.js";
36
+ } from "./chunk-FXVUPJ6A.js";
37
37
  import {
38
38
  ClassMemberKind,
39
39
  KnownDeclaration,
@@ -44,15 +44,15 @@ import {
44
44
  isNamedFunctionDeclaration,
45
45
  isNamedVariableDeclaration,
46
46
  reflectObjectLiteral
47
- } from "./chunk-4EDYFHXN.js";
47
+ } from "./chunk-X46CEINM.js";
48
48
  import {
49
49
  ConsoleLogger,
50
50
  LogLevel
51
- } from "./chunk-SKBLJA43.js";
51
+ } from "./chunk-JTYUTYS2.js";
52
52
  import {
53
53
  ContentOrigin,
54
54
  SourceFileLoader
55
- } from "./chunk-QL6ZC3U3.js";
55
+ } from "./chunk-PF3ZPGF5.js";
56
56
  import {
57
57
  AbsoluteModuleStrategy,
58
58
  ImportManager,
@@ -71,7 +71,7 @@ import {
71
71
  translateStatement,
72
72
  translateType,
73
73
  validateAndRewriteCoreSymbol
74
- } from "./chunk-HDZS2JG2.js";
74
+ } from "./chunk-O5ZEI3UY.js";
75
75
  import {
76
76
  LogicalFileSystem,
77
77
  NgtscCompilerHost,
@@ -83,25 +83,25 @@ import {
83
83
  isRooted,
84
84
  relative,
85
85
  toRelativeImport
86
- } from "./chunk-EP5JHXG2.js";
86
+ } from "./chunk-TI3THPMZ.js";
87
87
  import {
88
88
  NOOP_PERF_RECORDER
89
- } from "./chunk-GLCRIILX.js";
89
+ } from "./chunk-J6CW3T62.js";
90
90
  import {
91
91
  __spreadProps,
92
92
  __spreadValues
93
93
  } from "./chunk-XA5IZLLC.js";
94
94
 
95
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
95
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
96
96
  import ts22 from "typescript";
97
97
 
98
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
98
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
99
99
  import ts7 from "typescript";
100
100
 
101
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
101
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
102
102
  import ts6 from "typescript";
103
103
 
104
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
104
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
105
105
  import ts from "typescript";
106
106
  function isDefined(value) {
107
107
  return value !== void 0 && value !== null;
@@ -172,7 +172,7 @@ function stripExtension(fileName) {
172
172
  return fileName.replace(/\..+$/, "");
173
173
  }
174
174
 
175
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
175
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
176
176
  import ts2 from "typescript";
177
177
  function findNamespaceOfIdentifier(id) {
178
178
  return id.parent && ts2.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts2.isIdentifier(id.parent.expression) ? id.parent.expression : null;
@@ -258,10 +258,10 @@ function skipAliases(node) {
258
258
  return node;
259
259
  }
260
260
 
261
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
261
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
262
262
  import ts4 from "typescript";
263
263
 
264
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
264
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
265
265
  function isWithinPackage(packagePath, filePath) {
266
266
  const relativePath = relative(packagePath, filePath);
267
267
  return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
@@ -276,13 +276,13 @@ var NoopDependencyTracker = class {
276
276
  };
277
277
  var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
278
278
 
279
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
279
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
280
280
  import ts3 from "typescript";
281
281
  function stripParentheses(node) {
282
282
  return ts3.isParenthesizedExpression(node) ? node.expression : node;
283
283
  }
284
284
 
285
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
285
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
286
286
  var DECORATORS = "decorators";
287
287
  var PROP_DECORATORS = "propDecorators";
288
288
  var CONSTRUCTOR = "__constructor";
@@ -1510,7 +1510,7 @@ function getOuterNodeFromInnerDeclaration(node) {
1510
1510
  return outerNode;
1511
1511
  }
1512
1512
 
1513
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
1513
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
1514
1514
  import ts5 from "typescript";
1515
1515
  var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
1516
1516
  getBaseClassExpression(clazz) {
@@ -1844,7 +1844,7 @@ function getIifeFn(classSymbol) {
1844
1844
  return iifeWrapper && ts5.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
1845
1845
  }
1846
1846
 
1847
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
1847
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
1848
1848
  var UmdReflectionHost = class extends Esm5ReflectionHost {
1849
1849
  constructor(logger, isCore, src, dts = null) {
1850
1850
  super(logger, isCore, src, dts);
@@ -2327,31 +2327,24 @@ function isTypeOf(node, ...types) {
2327
2327
  }
2328
2328
  function getImportsOfUmdModule(umdModule) {
2329
2329
  const imports = [];
2330
- const cjsFactoryCall = umdModule.factoryCalls.cjsCallForImports;
2331
- const depStartIndex = cjsFactoryCall.arguments.findIndex((arg) => isRequireCall(arg));
2332
- if (depStartIndex !== -1) {
2333
- for (let i = depStartIndex; i < umdModule.factoryFn.parameters.length; i++) {
2330
+ const factoryFnParams = umdModule.factoryFn.parameters;
2331
+ const cjsFactoryCallArgs = umdModule.factoryCalls.cjsCallForImports.arguments;
2332
+ for (let i = 0; i < factoryFnParams.length; i++) {
2333
+ const arg = cjsFactoryCallArgs[i];
2334
+ if (arg !== void 0 && isRequireCall(arg)) {
2334
2335
  imports.push({
2335
- parameter: umdModule.factoryFn.parameters[i],
2336
- path: getRequiredModulePath(cjsFactoryCall, i)
2336
+ parameter: factoryFnParams[i],
2337
+ path: arg.arguments[0].text
2337
2338
  });
2338
2339
  }
2339
2340
  }
2340
2341
  return imports;
2341
2342
  }
2342
- function getRequiredModulePath(cjsFactoryCall, paramIndex) {
2343
- const requireCall = cjsFactoryCall.arguments[paramIndex];
2344
- if (requireCall !== void 0 && !isRequireCall(requireCall)) {
2345
- throw new Error(`Argument at index ${paramIndex} of UMD factory call is not a \`require\` call with a single string argument:
2346
- ` + cjsFactoryCall.getText());
2347
- }
2348
- return requireCall.arguments[0].text;
2349
- }
2350
2343
  function isExportsIdentifier(node) {
2351
2344
  return ts6.isIdentifier(node) && node.text === "exports";
2352
2345
  }
2353
2346
 
2354
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
2347
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
2355
2348
  var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
2356
2349
  var NO_ENTRY_POINT = "no-entry-point";
2357
2350
  var IGNORED_ENTRY_POINT = "ignored-entry-point";
@@ -2510,7 +2503,7 @@ function getRepositoryUrl(packageJson) {
2510
2503
  return packageJson.repository.url;
2511
2504
  }
2512
2505
 
2513
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
2506
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
2514
2507
  var DtsProcessing;
2515
2508
  (function(DtsProcessing2) {
2516
2509
  DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
@@ -2519,10 +2512,10 @@ var DtsProcessing;
2519
2512
  })(DtsProcessing || (DtsProcessing = {}));
2520
2513
  var TaskDependencies = Map;
2521
2514
 
2522
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2515
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2523
2516
  import ts9 from "typescript";
2524
2517
 
2525
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
2518
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
2526
2519
  import ts8 from "typescript";
2527
2520
  function patchTsGetExpandoInitializer() {
2528
2521
  if (isTs31778GetExpandoInitializerFixed()) {
@@ -2627,7 +2620,7 @@ function makeUnsupportedTypeScriptError() {
2627
2620
  return new Error("The TypeScript version used is not supported by ngcc.");
2628
2621
  }
2629
2622
 
2630
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2623
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2631
2624
  function makeBundleProgram(fs, isCore, pkg, path, r3FileName, options, host, additionalFiles = []) {
2632
2625
  const r3SymbolsPath = isCore ? findR3SymbolsPath(fs, fs.dirname(path), r3FileName) : null;
2633
2626
  let rootPaths = r3SymbolsPath ? [path, r3SymbolsPath, ...additionalFiles] : [path, ...additionalFiles];
@@ -2657,7 +2650,7 @@ function findR3SymbolsPath(fs, directory, filename) {
2657
2650
  return null;
2658
2651
  }
2659
2652
 
2660
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
2653
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
2661
2654
  import ts10 from "typescript";
2662
2655
  var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
2663
2656
  constructor(fs, options, cache, moduleResolutionCache, packagePath) {
@@ -2702,7 +2695,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
2702
2695
  }
2703
2696
  };
2704
2697
 
2705
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
2698
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
2706
2699
  import ts11 from "typescript";
2707
2700
  var SharedFileCache = class {
2708
2701
  constructor(fs) {
@@ -2803,7 +2796,7 @@ function createModuleResolutionCache(fs) {
2803
2796
  });
2804
2797
  }
2805
2798
 
2806
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
2799
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
2807
2800
  function makeEntryPointBundle(fs, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, dtsProcessing, pathMappings, mirrorDtsFromSrc = false, enableI18nLegacyMessageIdFormat = true) {
2808
2801
  const rootDir = entryPoint.packagePath;
2809
2802
  const options = __spreadValues({ allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir }, pathMappings);
@@ -2844,13 +2837,13 @@ function computePotentialDtsFilesFromJsFiles(fs, srcProgram, formatPath, typings
2844
2837
  return additionalFiles;
2845
2838
  }
2846
2839
 
2847
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
2840
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
2848
2841
  import ts21 from "typescript";
2849
2842
 
2850
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
2843
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
2851
2844
  import { ConstantPool } from "@angular/compiler";
2852
2845
 
2853
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
2846
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
2854
2847
  import ts12 from "typescript";
2855
2848
  function isClassDeclaration(clazz) {
2856
2849
  return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
@@ -2933,7 +2926,7 @@ function reifySourceFile(expr) {
2933
2926
  return stmt.declarationList.declarations[0].initializer;
2934
2927
  }
2935
2928
 
2936
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
2929
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
2937
2930
  var MissingInjectableMigration = class {
2938
2931
  apply(clazz, host) {
2939
2932
  const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
@@ -3038,7 +3031,7 @@ function getAngularCoreDecoratorName(decorator) {
3038
3031
  return decorator.import.name;
3039
3032
  }
3040
3033
 
3041
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
3034
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
3042
3035
  var UndecoratedChildMigration = class {
3043
3036
  apply(clazz, host) {
3044
3037
  const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
@@ -3073,7 +3066,7 @@ var UndecoratedChildMigration = class {
3073
3066
  }
3074
3067
  };
3075
3068
 
3076
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
3069
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
3077
3070
  var UndecoratedParentMigration = class {
3078
3071
  apply(clazz, host) {
3079
3072
  if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
@@ -3106,7 +3099,7 @@ function determineBaseClass(clazz, host) {
3106
3099
  return baseClass;
3107
3100
  }
3108
3101
 
3109
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
3102
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
3110
3103
  import ts13 from "typescript";
3111
3104
  var DefaultMigrationHost = class {
3112
3105
  constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
@@ -3166,7 +3159,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
3166
3159
  return clone;
3167
3160
  }
3168
3161
 
3169
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
3162
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
3170
3163
  var NgccTraitCompiler = class extends TraitCompiler {
3171
3164
  constructor(handlers, ngccReflector) {
3172
3165
  super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null);
@@ -3211,10 +3204,10 @@ var NoIncrementalBuild = class {
3211
3204
  }
3212
3205
  };
3213
3206
 
3214
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
3207
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
3215
3208
  var DecorationAnalyses = Map;
3216
3209
 
3217
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
3210
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
3218
3211
  var NgccResourceLoader = class {
3219
3212
  constructor(fs) {
3220
3213
  this.fs = fs;
@@ -3370,7 +3363,7 @@ var DecorationAnalyzer = class {
3370
3363
  }
3371
3364
  };
3372
3365
 
3373
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
3366
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
3374
3367
  import ts14 from "typescript";
3375
3368
  var ModuleWithProvidersAnalyses = Map;
3376
3369
  var ModuleWithProvidersAnalyzer = class {
@@ -3509,7 +3502,7 @@ function isAnyKeyword(typeParam) {
3509
3502
  return typeParam.kind === ts14.SyntaxKind.AnyKeyword;
3510
3503
  }
3511
3504
 
3512
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
3505
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
3513
3506
  var NgccReferencesRegistry = class {
3514
3507
  constructor(host) {
3515
3508
  this.host = host;
@@ -3530,7 +3523,7 @@ var NgccReferencesRegistry = class {
3530
3523
  }
3531
3524
  };
3532
3525
 
3533
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
3526
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
3534
3527
  var PrivateDeclarationsAnalyzer = class {
3535
3528
  constructor(host, referencesRegistry) {
3536
3529
  this.host = host;
@@ -3571,7 +3564,7 @@ var PrivateDeclarationsAnalyzer = class {
3571
3564
  }
3572
3565
  };
3573
3566
 
3574
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
3567
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
3575
3568
  import ts15 from "typescript";
3576
3569
  var CommonJsReflectionHost = class extends Esm5ReflectionHost {
3577
3570
  constructor(logger, isCore, src, dts = null) {
@@ -3735,7 +3728,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
3735
3728
  }
3736
3729
  };
3737
3730
 
3738
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
3731
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
3739
3732
  var DelegatingReflectionHost = class {
3740
3733
  constructor(tsHost, ngccHost) {
3741
3734
  this.tsHost = tsHost;
@@ -3856,16 +3849,16 @@ var DelegatingReflectionHost = class {
3856
3849
  }
3857
3850
  };
3858
3851
 
3859
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
3852
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
3860
3853
  import ts18 from "typescript";
3861
3854
 
3862
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
3855
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
3863
3856
  import ts17 from "typescript";
3864
3857
 
3865
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3858
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3866
3859
  import ts16 from "typescript";
3867
3860
 
3868
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
3861
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
3869
3862
  var NgccFlatImportRewriter = class {
3870
3863
  shouldImportSymbol(symbol, specifier) {
3871
3864
  if (specifier === "@angular/core") {
@@ -3886,7 +3879,7 @@ var NgccFlatImportRewriter = class {
3886
3879
  }
3887
3880
  };
3888
3881
 
3889
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
3882
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
3890
3883
  function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
3891
3884
  if (isCore && isFlat) {
3892
3885
  return new NgccFlatImportRewriter();
@@ -3900,7 +3893,7 @@ function stripExtension2(filePath) {
3900
3893
  return filePath.replace(/\.(js|d\.ts)$/, "");
3901
3894
  }
3902
3895
 
3903
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3896
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3904
3897
  var EsmRenderingFormatter = class {
3905
3898
  constructor(fs, host, isCore) {
3906
3899
  this.fs = fs;
@@ -4060,7 +4053,7 @@ function getEndExceptSemicolon(statement) {
4060
4053
  return lastToken && lastToken.kind === ts16.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
4061
4054
  }
4062
4055
 
4063
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
4056
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
4064
4057
  var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
4065
4058
  addDefinitions(output, compiledClass, definitions) {
4066
4059
  const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
@@ -4088,7 +4081,7 @@ Expected an ES5 IIFE wrapped function. But got:
4088
4081
  }
4089
4082
  };
4090
4083
 
4091
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
4084
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
4092
4085
  var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
4093
4086
  constructor(fs, commonJsHost, isCore) {
4094
4087
  super(fs, commonJsHost, isCore);
@@ -4137,15 +4130,15 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
4137
4130
  }
4138
4131
  };
4139
4132
 
4140
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4133
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4141
4134
  import MagicString from "magic-string";
4142
4135
  import ts19 from "typescript";
4143
4136
 
4144
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
4137
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
4145
4138
  var IMPORT_PREFIX = "\u0275ngcc";
4146
4139
  var NGCC_TIMED_OUT_EXIT_CODE = 177;
4147
4140
 
4148
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
4141
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
4149
4142
  import mapHelpers from "convert-source-map";
4150
4143
  function renderSourceAndMap(logger, fs, sourceFile, generatedMagicString) {
4151
4144
  var _a;
@@ -4180,7 +4173,7 @@ ${sourceMapComment}` },
4180
4173
  }
4181
4174
  }
4182
4175
 
4183
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4176
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4184
4177
  var DtsRenderInfo = class {
4185
4178
  constructor() {
4186
4179
  this.classInfo = [];
@@ -4281,14 +4274,14 @@ function markForEmitAsSingleLine(node) {
4281
4274
  ts19.forEachChild(node, markForEmitAsSingleLine);
4282
4275
  }
4283
4276
 
4284
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4277
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4285
4278
  import { jsDocComment, WrappedNodeExpr, WritePropExpr } from "@angular/compiler";
4286
4279
  import MagicString2 from "magic-string";
4287
4280
 
4288
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
4281
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
4289
4282
  var RedundantDecoratorMap = Map;
4290
4283
 
4291
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4284
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4292
4285
  var Renderer = class {
4293
4286
  constructor(host, srcFormatter, fs, logger, bundle, tsConfig = null) {
4294
4287
  this.host = host;
@@ -4391,7 +4384,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
4391
4384
  return statement;
4392
4385
  }
4393
4386
 
4394
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
4387
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
4395
4388
  import ts20 from "typescript";
4396
4389
  var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
4397
4390
  constructor(fs, umdHost, isCore) {
@@ -4507,7 +4500,7 @@ function getGlobalIdentifier(i) {
4507
4500
  return i.specifier.replace(/^@angular\//, "ng.").replace(/^@/, "").replace(/\//g, ".").replace(/[-_]+(.?)/g, (_, c) => c.toUpperCase()).replace(/^./, (c) => c.toLowerCase());
4508
4501
  }
4509
4502
 
4510
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
4503
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
4511
4504
  var Transformer = class {
4512
4505
  constructor(fs, logger, tsConfig = null) {
4513
4506
  this.fs = fs;
@@ -4588,7 +4581,7 @@ function hasErrors(diagnostics) {
4588
4581
  return diagnostics.some((d) => d.category === ts21.DiagnosticCategory.Error);
4589
4582
  }
4590
4583
 
4591
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
4584
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
4592
4585
  function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
4593
4586
  return (beforeWritingFiles, onTaskCompleted) => {
4594
4587
  const transformer = new Transformer(fileSystem, logger, tsConfig);
@@ -4627,12 +4620,12 @@ ${errors}`);
4627
4620
  };
4628
4621
  }
4629
4622
 
4630
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4623
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4631
4624
  import {
4632
4625
  cpus
4633
4626
  } from "os";
4634
4627
 
4635
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
4628
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
4636
4629
  function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
4637
4630
  if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
4638
4631
  return {
@@ -4642,7 +4635,7 @@ function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
4642
4635
  }
4643
4636
  }
4644
4637
 
4645
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
4638
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
4646
4639
  var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
4647
4640
  var InPlaceFileWriter = class {
4648
4641
  constructor(fs, logger, errorOnFailedEntryPoint) {
@@ -4691,7 +4684,7 @@ This error may be caused by one of the following:
4691
4684
  }
4692
4685
  };
4693
4686
 
4694
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
4687
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
4695
4688
  var NGCC_DIRECTORY = "__ivy_ngcc__";
4696
4689
  var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
4697
4690
  var NewEntryPointFileWriter = class extends InPlaceFileWriter {
@@ -4799,7 +4792,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
4799
4792
  }
4800
4793
  };
4801
4794
 
4802
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4795
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4803
4796
  function getSharedSetup(options) {
4804
4797
  const fileSystem = getFileSystem();
4805
4798
  const absBasePath = absoluteFrom(options.basePath);
@@ -4875,7 +4868,7 @@ function getMaxNumberOfWorkers() {
4875
4868
  return numericMaxWorkers;
4876
4869
  }
4877
4870
 
4878
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
4871
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
4879
4872
  var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
4880
4873
  function computeTaskDependencies(tasks, graph) {
4881
4874
  const dependencies = new TaskDependencies();
@@ -4935,7 +4928,7 @@ function sortTasksByPriority(tasks, dependencies) {
4935
4928
  });
4936
4929
  }
4937
4930
 
4938
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
4931
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
4939
4932
  import cluster from "cluster";
4940
4933
  var Deferred = class {
4941
4934
  constructor() {
@@ -4969,7 +4962,7 @@ var sendMessageToWorker = (workerId, msg) => {
4969
4962
  });
4970
4963
  };
4971
4964
 
4972
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
4965
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
4973
4966
  var PackageJsonUpdate = class {
4974
4967
  constructor(writeChangesImpl) {
4975
4968
  this.writeChangesImpl = writeChangesImpl;
@@ -5103,4 +5096,4 @@ export {
5103
5096
  * Use of this source code is governed by an MIT-style license that can be
5104
5097
  * found in the LICENSE file at https://angular.io/license
5105
5098
  */
5106
- //# sourceMappingURL=chunk-7HBAJSZA.js.map
5099
+ //# sourceMappingURL=chunk-KWZNY2SK.js.map