@angular/compiler-cli 13.3.4 → 13.3.7

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 (53) hide show
  1. package/bundles/{chunk-UDG7FV2F.js → chunk-45NS77NQ.js} +4 -4
  2. package/bundles/{chunk-UDG7FV2F.js.map → chunk-45NS77NQ.js.map} +0 -0
  3. package/bundles/{chunk-HAJOG5B7.js → chunk-CLV7JFJQ.js} +7 -7
  4. package/bundles/{chunk-HAJOG5B7.js.map → chunk-CLV7JFJQ.js.map} +0 -0
  5. package/bundles/{chunk-S2JDWKKT.js → chunk-D5CHHDFQ.js} +72 -71
  6. package/bundles/chunk-D5CHHDFQ.js.map +6 -0
  7. package/bundles/{chunk-UTSZJQCU.js → chunk-EIFOOEXQ.js} +7 -7
  8. package/bundles/{chunk-UTSZJQCU.js.map → chunk-EIFOOEXQ.js.map} +0 -0
  9. package/bundles/{chunk-FDEQP2NW.js → chunk-HTCAZIYK.js} +6 -6
  10. package/bundles/{chunk-FDEQP2NW.js.map → chunk-HTCAZIYK.js.map} +0 -0
  11. package/bundles/{chunk-K2VJV6GY.js → chunk-KAJ5EOEG.js} +165 -575
  12. package/bundles/chunk-KAJ5EOEG.js.map +6 -0
  13. package/bundles/{chunk-ZCDB56AX.js → chunk-LX5Q27EF.js} +3 -3
  14. package/bundles/{chunk-ZCDB56AX.js.map → chunk-LX5Q27EF.js.map} +0 -0
  15. package/bundles/{chunk-UAIUNABS.js → chunk-NALI3EFD.js} +40 -40
  16. package/bundles/{chunk-UAIUNABS.js.map → chunk-NALI3EFD.js.map} +0 -0
  17. package/bundles/{chunk-SWYYBHE5.js → chunk-O4P7N4CX.js} +5 -5
  18. package/bundles/{chunk-SWYYBHE5.js.map → chunk-O4P7N4CX.js.map} +0 -0
  19. package/bundles/{chunk-A7GANIJT.js → chunk-Q5GIQ3RV.js} +6 -6
  20. package/bundles/{chunk-A7GANIJT.js.map → chunk-Q5GIQ3RV.js.map} +0 -0
  21. package/bundles/{chunk-SJL5HBUW.js → chunk-R3C7RFJ4.js} +2 -2
  22. package/bundles/{chunk-SJL5HBUW.js.map → chunk-R3C7RFJ4.js.map} +0 -0
  23. package/bundles/{chunk-LC26KH5A.js → chunk-R4NY3TJC.js} +5 -5
  24. package/bundles/{chunk-LC26KH5A.js.map → chunk-R4NY3TJC.js.map} +0 -0
  25. package/bundles/{chunk-W3FLD7KU.js → chunk-WXB5AWIG.js} +26 -26
  26. package/bundles/{chunk-W3FLD7KU.js.map → chunk-WXB5AWIG.js.map} +0 -0
  27. package/bundles/{chunk-5XOEDNQ7.js → chunk-ZPZWKMTE.js} +836 -438
  28. package/bundles/chunk-ZPZWKMTE.js.map +6 -0
  29. package/bundles/{chunk-IEIGNUVQ.js → chunk-ZZF2R6KZ.js} +31 -31
  30. package/bundles/{chunk-IEIGNUVQ.js.map → chunk-ZZF2R6KZ.js.map} +0 -0
  31. package/bundles/index.js +13 -14
  32. package/bundles/index.js.map +1 -1
  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/ngcc/src/packages/build_marker.d.ts +1 -1
  47. package/package.json +3 -3
  48. package/src/ngtsc/core/api/src/adapter.d.ts +12 -1
  49. package/src/ngtsc/core/src/host.d.ts +7 -0
  50. package/src/ngtsc/transform/src/compilation.d.ts +3 -1
  51. package/bundles/chunk-5XOEDNQ7.js.map +0 -6
  52. package/bundles/chunk-K2VJV6GY.js.map +0 -6
  53. package/bundles/chunk-S2JDWKKT.js.map +0 -6
@@ -6,13 +6,13 @@
6
6
  import {
7
7
  ConsoleLogger,
8
8
  LogLevel
9
- } from "./chunk-ZCDB56AX.js";
9
+ } from "./chunk-LX5Q27EF.js";
10
10
  import {
11
11
  NodeJSFileSystem,
12
12
  setFileSystem
13
- } from "./chunk-HAJOG5B7.js";
13
+ } from "./chunk-CLV7JFJQ.js";
14
14
 
15
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/command_line_options.mjs
15
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/command_line_options.mjs
16
16
  import yargs from "yargs";
17
17
  function parseCommandLineOptions(args) {
18
18
  var _a;
@@ -113,4 +113,4 @@ export {
113
113
  * Use of this source code is governed by an MIT-style license that can be
114
114
  * found in the LICENSE file at https://angular.io/license
115
115
  */
116
- //# sourceMappingURL=chunk-UDG7FV2F.js.map
116
+ //# sourceMappingURL=chunk-45NS77NQ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  __require
8
8
  } from "./chunk-GMSUYBZP.js";
9
9
 
10
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
10
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
11
11
  var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
12
12
  function normalizeSeparators(path) {
13
13
  return path.replace(/\\/g, "/");
@@ -23,7 +23,7 @@ function getSourceFileOrError(program, fileName) {
23
23
  return sf;
24
24
  }
25
25
 
26
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
26
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
27
27
  var InvalidFileSystem = class {
28
28
  exists(path) {
29
29
  throw makeError();
@@ -111,7 +111,7 @@ function makeError() {
111
111
  return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
112
112
  }
113
113
 
114
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
114
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
115
115
  var fs = new InvalidFileSystem();
116
116
  function getFileSystem() {
117
117
  return fs;
@@ -168,7 +168,7 @@ function toRelativeImport(relativePath) {
168
168
  return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
169
169
  }
170
170
 
171
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
171
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
172
172
  import * as os from "os";
173
173
  import ts from "typescript";
174
174
  var NgtscCompilerHost = class {
@@ -226,7 +226,7 @@ var NgtscCompilerHost = class {
226
226
  }
227
227
  };
228
228
 
229
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
229
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
230
230
  var LogicalProjectPath = {
231
231
  relativePathBetween: function(from, to) {
232
232
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -272,7 +272,7 @@ function isWithinBasePath(base, path) {
272
272
  return isLocalRelativePath(relative(base, path));
273
273
  }
274
274
 
275
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
275
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
276
276
  import * as fs2 from "fs";
277
277
  import module from "module";
278
278
  import * as p from "path";
@@ -424,4 +424,4 @@ export {
424
424
  * Use of this source code is governed by an MIT-style license that can be
425
425
  * found in the LICENSE file at https://angular.io/license
426
426
  */
427
- //# sourceMappingURL=chunk-HAJOG5B7.js.map
427
+ //# sourceMappingURL=chunk-CLV7JFJQ.js.map
@@ -9,8 +9,9 @@ import {
9
9
  LocalModuleScopeRegistry,
10
10
  MetadataDtsModuleScopeResolver,
11
11
  TypeCheckScopeRegistry,
12
+ isShim,
12
13
  readConfiguration
13
- } from "./chunk-5XOEDNQ7.js";
14
+ } from "./chunk-ZPZWKMTE.js";
14
15
  import {
15
16
  CompilationMode,
16
17
  ComponentDecoratorHandler,
@@ -31,7 +32,7 @@ import {
31
32
  TraitState,
32
33
  forwardRefResolver,
33
34
  readBaseClass
34
- } from "./chunk-K2VJV6GY.js";
35
+ } from "./chunk-KAJ5EOEG.js";
35
36
  import {
36
37
  ClassMemberKind,
37
38
  KnownDeclaration,
@@ -42,15 +43,15 @@ import {
42
43
  isNamedFunctionDeclaration,
43
44
  isNamedVariableDeclaration,
44
45
  reflectObjectLiteral
45
- } from "./chunk-A7GANIJT.js";
46
+ } from "./chunk-Q5GIQ3RV.js";
46
47
  import {
47
48
  ConsoleLogger,
48
49
  LogLevel
49
- } from "./chunk-ZCDB56AX.js";
50
+ } from "./chunk-LX5Q27EF.js";
50
51
  import {
51
52
  ContentOrigin,
52
53
  SourceFileLoader
53
- } from "./chunk-UTSZJQCU.js";
54
+ } from "./chunk-EIFOOEXQ.js";
54
55
  import {
55
56
  AbsoluteModuleStrategy,
56
57
  ImportManager,
@@ -71,7 +72,7 @@ import {
71
72
  translateStatement,
72
73
  translateType,
73
74
  validateAndRewriteCoreSymbol
74
- } from "./chunk-W3FLD7KU.js";
75
+ } from "./chunk-WXB5AWIG.js";
75
76
  import {
76
77
  LogicalFileSystem,
77
78
  NgtscCompilerHost,
@@ -83,25 +84,25 @@ import {
83
84
  isRooted,
84
85
  relative,
85
86
  toRelativeImport
86
- } from "./chunk-HAJOG5B7.js";
87
+ } from "./chunk-CLV7JFJQ.js";
87
88
  import {
88
89
  NOOP_PERF_RECORDER
89
- } from "./chunk-LC26KH5A.js";
90
+ } from "./chunk-R4NY3TJC.js";
90
91
  import {
91
92
  __spreadProps,
92
93
  __spreadValues
93
94
  } from "./chunk-GMSUYBZP.js";
94
95
 
95
- // bazel-out/darwin-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-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-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-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;
@@ -172,7 +173,7 @@ function stripExtension(fileName) {
172
173
  return fileName.replace(/\..+$/, "");
173
174
  }
174
175
 
175
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
176
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
176
177
  import ts2 from "typescript";
177
178
  function findNamespaceOfIdentifier(id) {
178
179
  return id.parent && ts2.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts2.isIdentifier(id.parent.expression) ? id.parent.expression : null;
@@ -258,10 +259,10 @@ function skipAliases(node) {
258
259
  return node;
259
260
  }
260
261
 
261
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
262
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
262
263
  import ts4 from "typescript";
263
264
 
264
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
265
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
265
266
  function isWithinPackage(packagePath, filePath) {
266
267
  const relativePath = relative(packagePath, filePath);
267
268
  return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
@@ -276,13 +277,13 @@ var NoopDependencyTracker = class {
276
277
  };
277
278
  var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
278
279
 
279
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
280
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
280
281
  import ts3 from "typescript";
281
282
  function stripParentheses(node) {
282
283
  return ts3.isParenthesizedExpression(node) ? node.expression : node;
283
284
  }
284
285
 
285
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
286
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
286
287
  var DECORATORS = "decorators";
287
288
  var PROP_DECORATORS = "propDecorators";
288
289
  var CONSTRUCTOR = "__constructor";
@@ -1510,7 +1511,7 @@ function getOuterNodeFromInnerDeclaration(node) {
1510
1511
  return outerNode;
1511
1512
  }
1512
1513
 
1513
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
1514
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
1514
1515
  import ts5 from "typescript";
1515
1516
  var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
1516
1517
  getBaseClassExpression(clazz) {
@@ -1844,7 +1845,7 @@ function getIifeFn(classSymbol) {
1844
1845
  return iifeWrapper && ts5.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
1845
1846
  }
1846
1847
 
1847
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
1848
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
1848
1849
  var UmdReflectionHost = class extends Esm5ReflectionHost {
1849
1850
  constructor(logger, isCore, src, dts = null) {
1850
1851
  super(logger, isCore, src, dts);
@@ -2344,7 +2345,7 @@ function isExportsIdentifier(node) {
2344
2345
  return ts6.isIdentifier(node) && node.text === "exports";
2345
2346
  }
2346
2347
 
2347
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
2348
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
2348
2349
  var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
2349
2350
  var NO_ENTRY_POINT = "no-entry-point";
2350
2351
  var IGNORED_ENTRY_POINT = "ignored-entry-point";
@@ -2503,7 +2504,7 @@ function getRepositoryUrl(packageJson) {
2503
2504
  return packageJson.repository.url;
2504
2505
  }
2505
2506
 
2506
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
2507
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
2507
2508
  var DtsProcessing;
2508
2509
  (function(DtsProcessing2) {
2509
2510
  DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
@@ -2512,7 +2513,7 @@ var DtsProcessing;
2512
2513
  })(DtsProcessing || (DtsProcessing = {}));
2513
2514
  var TaskDependencies = Map;
2514
2515
 
2515
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/adjust_cjs_umd_exports.mjs
2516
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/adjust_cjs_umd_exports.mjs
2516
2517
  import ts8 from "typescript";
2517
2518
  function adjustElementAccessExports(sourceText) {
2518
2519
  if (!/exports\[["']/.test(sourceText)) {
@@ -2549,10 +2550,10 @@ function isJsIdentifier(text) {
2549
2550
  return identifierPattern.test(text);
2550
2551
  }
2551
2552
 
2552
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2553
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2553
2554
  import ts10 from "typescript";
2554
2555
 
2555
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
2556
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
2556
2557
  import ts9 from "typescript";
2557
2558
  function patchTsGetExpandoInitializer() {
2558
2559
  if (isTs31778GetExpandoInitializerFixed()) {
@@ -2657,7 +2658,7 @@ function makeUnsupportedTypeScriptError() {
2657
2658
  return new Error("The TypeScript version used is not supported by ngcc.");
2658
2659
  }
2659
2660
 
2660
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2661
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
2661
2662
  function makeBundleProgram(fs, isCore, pkg, path, r3FileName, options, host, additionalFiles = []) {
2662
2663
  const r3SymbolsPath = isCore ? findR3SymbolsPath(fs, fs.dirname(path), r3FileName) : null;
2663
2664
  let rootPaths = r3SymbolsPath ? [path, r3SymbolsPath, ...additionalFiles] : [path, ...additionalFiles];
@@ -2687,7 +2688,7 @@ function findR3SymbolsPath(fs, directory, filename) {
2687
2688
  return null;
2688
2689
  }
2689
2690
 
2690
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
2691
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
2691
2692
  import ts11 from "typescript";
2692
2693
  var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
2693
2694
  constructor(fs, options, cache, moduleResolutionCache, packagePath) {
@@ -2732,7 +2733,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
2732
2733
  }
2733
2734
  };
2734
2735
 
2735
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
2736
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
2736
2737
  import ts12 from "typescript";
2737
2738
  var SharedFileCache = class {
2738
2739
  constructor(fs) {
@@ -2835,7 +2836,7 @@ function createModuleResolutionCache(fs) {
2835
2836
  });
2836
2837
  }
2837
2838
 
2838
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
2839
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
2839
2840
  function createSourceTextProcessor(format) {
2840
2841
  if (format === "umd" || format === "commonjs") {
2841
2842
  return adjustElementAccessExports;
@@ -2884,13 +2885,13 @@ function computePotentialDtsFilesFromJsFiles(fs, srcProgram, formatPath, typings
2884
2885
  return additionalFiles;
2885
2886
  }
2886
2887
 
2887
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
2888
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
2888
2889
  import ts22 from "typescript";
2889
2890
 
2890
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
2891
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
2891
2892
  import { ConstantPool } from "@angular/compiler";
2892
2893
 
2893
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
2894
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
2894
2895
  import ts13 from "typescript";
2895
2896
  function isClassDeclaration(clazz) {
2896
2897
  return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
@@ -2973,7 +2974,7 @@ function reifySourceFile(expr) {
2973
2974
  return stmt.declarationList.declarations[0].initializer;
2974
2975
  }
2975
2976
 
2976
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
2977
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
2977
2978
  var MissingInjectableMigration = class {
2978
2979
  apply(clazz, host) {
2979
2980
  const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
@@ -3078,7 +3079,7 @@ function getAngularCoreDecoratorName(decorator) {
3078
3079
  return decorator.import.name;
3079
3080
  }
3080
3081
 
3081
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
3082
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
3082
3083
  var UndecoratedChildMigration = class {
3083
3084
  apply(clazz, host) {
3084
3085
  const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
@@ -3113,7 +3114,7 @@ var UndecoratedChildMigration = class {
3113
3114
  }
3114
3115
  };
3115
3116
 
3116
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
3117
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
3117
3118
  var UndecoratedParentMigration = class {
3118
3119
  apply(clazz, host) {
3119
3120
  if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
@@ -3146,7 +3147,7 @@ function determineBaseClass(clazz, host) {
3146
3147
  return baseClass;
3147
3148
  }
3148
3149
 
3149
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
3150
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
3150
3151
  import ts14 from "typescript";
3151
3152
  var DefaultMigrationHost = class {
3152
3153
  constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
@@ -3206,10 +3207,10 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
3206
3207
  return clone;
3207
3208
  }
3208
3209
 
3209
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
3210
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
3210
3211
  var NgccTraitCompiler = class extends TraitCompiler {
3211
3212
  constructor(handlers, ngccReflector) {
3212
- super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null);
3213
+ super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null, { isShim, isResource: () => false });
3213
3214
  this.ngccReflector = ngccReflector;
3214
3215
  }
3215
3216
  get analyzedFiles() {
@@ -3251,10 +3252,10 @@ var NoIncrementalBuild = class {
3251
3252
  }
3252
3253
  };
3253
3254
 
3254
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
3255
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
3255
3256
  var DecorationAnalyses = Map;
3256
3257
 
3257
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
3258
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
3258
3259
  var NgccResourceLoader = class {
3259
3260
  constructor(fs) {
3260
3261
  this.fs = fs;
@@ -3410,7 +3411,7 @@ var DecorationAnalyzer = class {
3410
3411
  }
3411
3412
  };
3412
3413
 
3413
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
3414
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
3414
3415
  import ts15 from "typescript";
3415
3416
  var ModuleWithProvidersAnalyses = Map;
3416
3417
  var ModuleWithProvidersAnalyzer = class {
@@ -3549,7 +3550,7 @@ function isAnyKeyword(typeParam) {
3549
3550
  return typeParam.kind === ts15.SyntaxKind.AnyKeyword;
3550
3551
  }
3551
3552
 
3552
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
3553
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
3553
3554
  var NgccReferencesRegistry = class {
3554
3555
  constructor(host) {
3555
3556
  this.host = host;
@@ -3570,7 +3571,7 @@ var NgccReferencesRegistry = class {
3570
3571
  }
3571
3572
  };
3572
3573
 
3573
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
3574
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
3574
3575
  var PrivateDeclarationsAnalyzer = class {
3575
3576
  constructor(host, referencesRegistry) {
3576
3577
  this.host = host;
@@ -3611,7 +3612,7 @@ var PrivateDeclarationsAnalyzer = class {
3611
3612
  }
3612
3613
  };
3613
3614
 
3614
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
3615
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
3615
3616
  import ts16 from "typescript";
3616
3617
  var CommonJsReflectionHost = class extends Esm5ReflectionHost {
3617
3618
  constructor(logger, isCore, src, dts = null) {
@@ -3775,7 +3776,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
3775
3776
  }
3776
3777
  };
3777
3778
 
3778
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
3779
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
3779
3780
  var DelegatingReflectionHost = class {
3780
3781
  constructor(tsHost, ngccHost) {
3781
3782
  this.tsHost = tsHost;
@@ -3896,16 +3897,16 @@ var DelegatingReflectionHost = class {
3896
3897
  }
3897
3898
  };
3898
3899
 
3899
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
3900
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
3900
3901
  import ts19 from "typescript";
3901
3902
 
3902
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
3903
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
3903
3904
  import ts18 from "typescript";
3904
3905
 
3905
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3906
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
3906
3907
  import ts17 from "typescript";
3907
3908
 
3908
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
3909
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
3909
3910
  var NgccFlatImportRewriter = class {
3910
3911
  shouldImportSymbol(symbol, specifier) {
3911
3912
  if (specifier === "@angular/core") {
@@ -3926,7 +3927,7 @@ var NgccFlatImportRewriter = class {
3926
3927
  }
3927
3928
  };
3928
3929
 
3929
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
3930
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
3930
3931
  function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
3931
3932
  if (isCore && isFlat) {
3932
3933
  return new NgccFlatImportRewriter();
@@ -3940,7 +3941,7 @@ function stripExtension2(filePath) {
3940
3941
  return filePath.replace(/\.(js|d\.ts)$/, "");
3941
3942
  }
3942
3943
 
3943
- // bazel-out/darwin-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
3944
3945
  var EsmRenderingFormatter = class {
3945
3946
  constructor(fs, host, isCore) {
3946
3947
  this.fs = fs;
@@ -4100,7 +4101,7 @@ function getEndExceptSemicolon(statement) {
4100
4101
  return lastToken && lastToken.kind === ts17.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
4101
4102
  }
4102
4103
 
4103
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
4104
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
4104
4105
  var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
4105
4106
  addDefinitions(output, compiledClass, definitions) {
4106
4107
  const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
@@ -4128,7 +4129,7 @@ Expected an ES5 IIFE wrapped function. But got:
4128
4129
  }
4129
4130
  };
4130
4131
 
4131
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
4132
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
4132
4133
  var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
4133
4134
  constructor(fs, commonJsHost, isCore) {
4134
4135
  super(fs, commonJsHost, isCore);
@@ -4177,15 +4178,15 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
4177
4178
  }
4178
4179
  };
4179
4180
 
4180
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4181
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4181
4182
  import MagicString from "magic-string";
4182
4183
  import ts20 from "typescript";
4183
4184
 
4184
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
4185
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
4185
4186
  var IMPORT_PREFIX = "\u0275ngcc";
4186
4187
  var NGCC_TIMED_OUT_EXIT_CODE = 177;
4187
4188
 
4188
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
4189
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
4189
4190
  import mapHelpers from "convert-source-map";
4190
4191
  function renderSourceAndMap(logger, fs, sourceFile, generatedMagicString) {
4191
4192
  var _a;
@@ -4220,7 +4221,7 @@ ${sourceMapComment}` },
4220
4221
  }
4221
4222
  }
4222
4223
 
4223
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4224
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
4224
4225
  var DtsRenderInfo = class {
4225
4226
  constructor() {
4226
4227
  this.classInfo = [];
@@ -4321,14 +4322,14 @@ function markForEmitAsSingleLine(node) {
4321
4322
  ts20.forEachChild(node, markForEmitAsSingleLine);
4322
4323
  }
4323
4324
 
4324
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4325
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4325
4326
  import { jsDocComment, WrappedNodeExpr, WritePropExpr } from "@angular/compiler";
4326
4327
  import MagicString2 from "magic-string";
4327
4328
 
4328
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
4329
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
4329
4330
  var RedundantDecoratorMap = Map;
4330
4331
 
4331
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4332
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
4332
4333
  var Renderer = class {
4333
4334
  constructor(host, srcFormatter, fs, logger, bundle, tsConfig = null) {
4334
4335
  this.host = host;
@@ -4431,7 +4432,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
4431
4432
  return statement;
4432
4433
  }
4433
4434
 
4434
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
4435
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
4435
4436
  import ts21 from "typescript";
4436
4437
  var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
4437
4438
  constructor(fs, umdHost, isCore) {
@@ -4547,7 +4548,7 @@ function getGlobalIdentifier(i) {
4547
4548
  return i.specifier.replace(/^@angular\//, "ng.").replace(/^@/, "").replace(/\//g, ".").replace(/[-_]+(.?)/g, (_, c) => c.toUpperCase()).replace(/^./, (c) => c.toLowerCase());
4548
4549
  }
4549
4550
 
4550
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
4551
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
4551
4552
  var Transformer = class {
4552
4553
  constructor(fs, logger, tsConfig = null) {
4553
4554
  this.fs = fs;
@@ -4628,7 +4629,7 @@ function hasErrors(diagnostics) {
4628
4629
  return diagnostics.some((d) => d.category === ts22.DiagnosticCategory.Error);
4629
4630
  }
4630
4631
 
4631
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
4632
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
4632
4633
  function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
4633
4634
  return (beforeWritingFiles, onTaskCompleted) => {
4634
4635
  const transformer = new Transformer(fileSystem, logger, tsConfig);
@@ -4667,10 +4668,10 @@ ${errors}`);
4667
4668
  };
4668
4669
  }
4669
4670
 
4670
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4671
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4671
4672
  import * as os from "os";
4672
4673
 
4673
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
4674
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
4674
4675
  function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
4675
4676
  if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
4676
4677
  return {
@@ -4680,7 +4681,7 @@ function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
4680
4681
  }
4681
4682
  }
4682
4683
 
4683
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
4684
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
4684
4685
  var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
4685
4686
  var InPlaceFileWriter = class {
4686
4687
  constructor(fs, logger, errorOnFailedEntryPoint) {
@@ -4729,7 +4730,7 @@ This error may be caused by one of the following:
4729
4730
  }
4730
4731
  };
4731
4732
 
4732
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
4733
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
4733
4734
  var NGCC_DIRECTORY = "__ivy_ngcc__";
4734
4735
  var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
4735
4736
  var NewEntryPointFileWriter = class extends InPlaceFileWriter {
@@ -4837,7 +4838,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
4837
4838
  }
4838
4839
  };
4839
4840
 
4840
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4841
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
4841
4842
  function getSharedSetup(options) {
4842
4843
  const fileSystem = getFileSystem();
4843
4844
  const absBasePath = absoluteFrom(options.basePath);
@@ -4913,7 +4914,7 @@ function getMaxNumberOfWorkers() {
4913
4914
  return numericMaxWorkers;
4914
4915
  }
4915
4916
 
4916
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
4917
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
4917
4918
  var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
4918
4919
  function computeTaskDependencies(tasks, graph) {
4919
4920
  const dependencies = new TaskDependencies();
@@ -4973,7 +4974,7 @@ function sortTasksByPriority(tasks, dependencies) {
4973
4974
  });
4974
4975
  }
4975
4976
 
4976
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
4977
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
4977
4978
  import cluster from "cluster";
4978
4979
  var Deferred = class {
4979
4980
  constructor() {
@@ -5007,7 +5008,7 @@ var sendMessageToWorker = (workerId, msg) => {
5007
5008
  });
5008
5009
  };
5009
5010
 
5010
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
5011
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
5011
5012
  var PackageJsonUpdate = class {
5012
5013
  constructor(writeChangesImpl) {
5013
5014
  this.writeChangesImpl = writeChangesImpl;
@@ -5141,4 +5142,4 @@ export {
5141
5142
  * Use of this source code is governed by an MIT-style license that can be
5142
5143
  * found in the LICENSE file at https://angular.io/license
5143
5144
  */
5144
- //# sourceMappingURL=chunk-S2JDWKKT.js.map
5145
+ //# sourceMappingURL=chunk-D5CHHDFQ.js.map