@angular/compiler-cli 15.1.0-next.1 → 15.1.0-next.3

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 (103) hide show
  1. package/bundles/{chunk-W67X7ZYR.js → chunk-3S7MERES.js} +11 -10
  2. package/bundles/{chunk-W67X7ZYR.js.map → chunk-3S7MERES.js.map} +1 -1
  3. package/bundles/{chunk-L3Q25PX6.js → chunk-3X2TSQ2D.js} +30 -9
  4. package/bundles/chunk-3X2TSQ2D.js.map +6 -0
  5. package/bundles/{chunk-R3UUI3WU.js → chunk-EFL37X7Q.js} +9 -9
  6. package/bundles/chunk-EFL37X7Q.js.map +6 -0
  7. package/bundles/{chunk-5WGGPKCE.js → chunk-I4VIIB6S.js} +32 -36
  8. package/bundles/chunk-I4VIIB6S.js.map +6 -0
  9. package/bundles/{chunk-DSVWG4QJ.js → chunk-IZN5U2AM.js} +10 -1
  10. package/bundles/chunk-IZN5U2AM.js.map +6 -0
  11. package/bundles/{chunk-4F26FKLW.js → chunk-MAF2KC4N.js} +4 -4
  12. package/bundles/{chunk-4F26FKLW.js.map → chunk-MAF2KC4N.js.map} +1 -1
  13. package/bundles/{chunk-ALSLKTUB.js → chunk-OHYTYUA4.js} +2 -2
  14. package/bundles/{chunk-ALSLKTUB.js.map → chunk-OHYTYUA4.js.map} +0 -0
  15. package/bundles/{chunk-TTNJEW7O.js → chunk-OUTDZGN7.js} +2 -2
  16. package/bundles/{chunk-TTNJEW7O.js.map → chunk-OUTDZGN7.js.map} +1 -1
  17. package/bundles/{chunk-TOW3O33K.js → chunk-UN4WV3U4.js} +10 -5
  18. package/bundles/chunk-UN4WV3U4.js.map +6 -0
  19. package/bundles/{chunk-FCAD5QMI.js → chunk-V5JWXGQQ.js} +14 -12
  20. package/bundles/{chunk-FCAD5QMI.js.map → chunk-V5JWXGQQ.js.map} +1 -1
  21. package/bundles/{chunk-JGWOWDGB.js → chunk-Y6MBLTIR.js} +3 -3
  22. package/bundles/{chunk-JGWOWDGB.js.map → chunk-Y6MBLTIR.js.map} +0 -0
  23. package/bundles/{chunk-36PDXLJA.js → chunk-Y6OF4IE7.js} +2 -2
  24. package/bundles/{chunk-36PDXLJA.js.map → chunk-Y6OF4IE7.js.map} +0 -0
  25. package/bundles/index.js +14 -14
  26. package/bundles/index.js.map +1 -1
  27. package/bundles/linker/babel/index.js +4 -4
  28. package/bundles/linker/index.js +4 -4
  29. package/bundles/ngcc/index.js +9 -9
  30. package/bundles/ngcc/main-ngcc.js +9 -9
  31. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -13
  32. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
  33. package/bundles/private/bazel.js +1 -1
  34. package/bundles/private/localize.js +1 -1
  35. package/bundles/private/migrations.js +5 -5
  36. package/bundles/private/tooling.js +3 -3
  37. package/bundles/src/bin/ng_xi18n.js +7 -7
  38. package/bundles/src/bin/ngc.js +7 -7
  39. package/bundles_metadata.json +1 -1
  40. package/linker/babel/src/babel_core.d.ts +4 -4
  41. package/linker/babel/src/babel_declaration_scope.d.ts +1 -1
  42. package/linker/src/ast/ast_value.d.ts +11 -16
  43. package/linker/src/file_linker/get_source_file.d.ts +1 -1
  44. package/ngcc/src/analysis/module_with_providers_analyzer.d.ts +1 -1
  45. package/ngcc/src/analysis/private_declarations_analyzer.d.ts +1 -1
  46. package/ngcc/src/analysis/types.d.ts +1 -1
  47. package/ngcc/src/dependencies/dependency_resolver.d.ts +1 -1
  48. package/ngcc/src/dependencies/module_resolver.d.ts +1 -1
  49. package/ngcc/src/execution/api.d.ts +3 -3
  50. package/ngcc/src/execution/cluster/api.d.ts +2 -2
  51. package/ngcc/src/execution/tasks/api.d.ts +4 -4
  52. package/ngcc/src/execution/tasks/completion.d.ts +1 -1
  53. package/ngcc/src/host/esm2015_host.d.ts +5 -5
  54. package/ngcc/src/host/ngcc_host.d.ts +1 -1
  55. package/ngcc/src/ngcc_options.d.ts +6 -6
  56. package/ngcc/src/packages/build_marker.d.ts +1 -1
  57. package/ngcc/src/packages/entry_point.d.ts +4 -4
  58. package/ngcc/src/packages/entry_point_manifest.d.ts +2 -2
  59. package/ngcc/src/packages/transformer.d.ts +1 -1
  60. package/ngcc/src/path_mappings.d.ts +1 -1
  61. package/ngcc/src/rendering/rendering_formatter.d.ts +1 -1
  62. package/ngcc/src/utils.d.ts +2 -2
  63. package/ngcc/src/writing/package_json_updater.d.ts +3 -3
  64. package/package.json +5 -5
  65. package/src/main.d.ts +1 -1
  66. package/src/ngtsc/annotations/common/src/di.d.ts +1 -1
  67. package/src/ngtsc/annotations/common/src/factory.d.ts +1 -1
  68. package/src/ngtsc/annotations/component/src/metadata.d.ts +2 -2
  69. package/src/ngtsc/annotations/component/src/resources.d.ts +1 -1
  70. package/src/ngtsc/core/api/src/adapter.d.ts +1 -1
  71. package/src/ngtsc/core/src/compiler.d.ts +1 -1
  72. package/src/ngtsc/core/src/host.d.ts +1 -1
  73. package/src/ngtsc/file_system/src/logical.d.ts +1 -1
  74. package/src/ngtsc/file_system/src/types.d.ts +4 -4
  75. package/src/ngtsc/imports/src/emitter.d.ts +2 -2
  76. package/src/ngtsc/incremental/src/state.d.ts +1 -1
  77. package/src/ngtsc/indexer/src/api.d.ts +1 -1
  78. package/src/ngtsc/metadata/src/inheritance.d.ts +1 -1
  79. package/src/ngtsc/metadata/src/property_mapping.d.ts +2 -2
  80. package/src/ngtsc/partial_evaluator/src/interface.d.ts +1 -1
  81. package/src/ngtsc/partial_evaluator/src/interpreter.d.ts +2 -1
  82. package/src/ngtsc/partial_evaluator/src/result.d.ts +1 -1
  83. package/src/ngtsc/perf/src/clock.d.ts +1 -1
  84. package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +1 -1
  85. package/src/ngtsc/reflection/src/host.d.ts +9 -9
  86. package/src/ngtsc/scope/src/api.d.ts +1 -1
  87. package/src/ngtsc/scope/src/typecheck.d.ts +1 -1
  88. package/src/ngtsc/transform/src/trait.d.ts +1 -1
  89. package/src/ngtsc/translator/src/api/ast_factory.d.ts +3 -3
  90. package/src/ngtsc/translator/src/translator.d.ts +1 -1
  91. package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +50 -14
  92. package/src/ngtsc/typecheck/api/api.d.ts +3 -3
  93. package/src/ngtsc/typecheck/api/completion.d.ts +1 -1
  94. package/src/ngtsc/typecheck/api/symbols.d.ts +3 -3
  95. package/src/ngtsc/typecheck/src/type_emitter.d.ts +1 -1
  96. package/src/ngtsc/util/src/typescript.d.ts +3 -3
  97. package/src/ngtsc/util/src/visitor.d.ts +1 -1
  98. package/src/perform_compile.d.ts +1 -1
  99. package/bundles/chunk-5WGGPKCE.js.map +0 -6
  100. package/bundles/chunk-DSVWG4QJ.js.map +0 -6
  101. package/bundles/chunk-L3Q25PX6.js.map +0 -6
  102. package/bundles/chunk-R3UUI3WU.js.map +0 -6
  103. package/bundles/chunk-TOW3O33K.js.map +0 -6
@@ -8,7 +8,7 @@ import {
8
8
  ImportGraph,
9
9
  isShim,
10
10
  readConfiguration
11
- } from "./chunk-5WGGPKCE.js";
11
+ } from "./chunk-I4VIIB6S.js";
12
12
  import {
13
13
  CompilationMode,
14
14
  ComponentDecoratorHandler,
@@ -33,7 +33,7 @@ import {
33
33
  TypeCheckScopeRegistry,
34
34
  forwardRefResolver,
35
35
  readBaseClass
36
- } from "./chunk-L3Q25PX6.js";
36
+ } from "./chunk-3X2TSQ2D.js";
37
37
  import {
38
38
  ClassMemberKind,
39
39
  KnownDeclaration,
@@ -44,7 +44,7 @@ import {
44
44
  isNamedFunctionDeclaration,
45
45
  isNamedVariableDeclaration,
46
46
  reflectObjectLiteral
47
- } from "./chunk-ALSLKTUB.js";
47
+ } from "./chunk-OHYTYUA4.js";
48
48
  import {
49
49
  ConsoleLogger,
50
50
  LogLevel
@@ -52,7 +52,7 @@ import {
52
52
  import {
53
53
  ContentOrigin,
54
54
  SourceFileLoader
55
- } from "./chunk-TTNJEW7O.js";
55
+ } from "./chunk-OUTDZGN7.js";
56
56
  import {
57
57
  AbsoluteModuleStrategy,
58
58
  ImportManager,
@@ -73,10 +73,10 @@ import {
73
73
  translateStatement,
74
74
  translateType,
75
75
  validateAndRewriteCoreSymbol
76
- } from "./chunk-TOW3O33K.js";
76
+ } from "./chunk-UN4WV3U4.js";
77
77
  import {
78
78
  getModifiers
79
- } from "./chunk-DSVWG4QJ.js";
79
+ } from "./chunk-IZN5U2AM.js";
80
80
  import {
81
81
  LogicalFileSystem,
82
82
  NgtscCompilerHost,
@@ -91,7 +91,7 @@ import {
91
91
  } from "./chunk-E7DPJFUS.js";
92
92
  import {
93
93
  NOOP_PERF_RECORDER
94
- } from "./chunk-4F26FKLW.js";
94
+ } from "./chunk-MAF2KC4N.js";
95
95
 
96
96
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
97
97
  import ts23 from "typescript";
@@ -5109,15 +5109,16 @@ var sendMessageToMaster = (msg) => {
5109
5109
  });
5110
5110
  };
5111
5111
  var sendMessageToWorker = (workerId, msg) => {
5112
+ var _a;
5112
5113
  if (!cluster.isMaster) {
5113
5114
  throw new Error("Unable to send message to worker process: Sender is not the master process.");
5114
5115
  }
5115
- const worker = cluster.workers[workerId];
5116
+ const worker = (_a = cluster.workers) == null ? void 0 : _a[workerId];
5116
5117
  if (worker === void 0 || worker.isDead() || !worker.isConnected()) {
5117
5118
  throw new Error("Unable to send message to worker process: Recipient does not exist or has disconnected.");
5118
5119
  }
5119
5120
  return new Promise((resolve, reject) => {
5120
- worker.send(msg, void 0, (err) => err === null ? resolve() : reject(err));
5121
+ worker.send(msg, (err) => err === null ? resolve() : reject(err));
5121
5122
  });
5122
5123
  };
5123
5124
 
@@ -5263,4 +5264,4 @@ export {
5263
5264
  * Use of this source code is governed by an MIT-style license that can be
5264
5265
  * found in the LICENSE file at https://angular.io/license
5265
5266
  */
5266
- //# sourceMappingURL=chunk-W67X7ZYR.js.map
5267
+ //# sourceMappingURL=chunk-3S7MERES.js.map