@angular/compiler-cli 14.0.0-next.9 → 14.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/bundles/{chunk-LX5Q27EF.js → chunk-7J66ZDC5.js} +3 -3
  2. package/bundles/{chunk-LX5Q27EF.js.map → chunk-7J66ZDC5.js.map} +0 -0
  3. package/bundles/{chunk-W6KM7BUM.js → chunk-AKU7LV22.js} +6 -6
  4. package/bundles/{chunk-W6KM7BUM.js.map → chunk-AKU7LV22.js.map} +0 -0
  5. package/bundles/{chunk-WGBFSDVQ.js → chunk-BFPVXDJN.js} +7 -7
  6. package/bundles/{chunk-WGBFSDVQ.js.map → chunk-BFPVXDJN.js.map} +0 -0
  7. package/bundles/{chunk-SNAJD4VP.js → chunk-GGBQTGO6.js} +52 -41
  8. package/bundles/chunk-GGBQTGO6.js.map +6 -0
  9. package/bundles/{chunk-R3C7RFJ4.js → chunk-HMWNYAAE.js} +2 -2
  10. package/bundles/{chunk-R3C7RFJ4.js.map → chunk-HMWNYAAE.js.map} +0 -0
  11. package/bundles/{chunk-T7MYRXIE.js → chunk-MURZUYM7.js} +7 -7
  12. package/bundles/{chunk-T7MYRXIE.js.map → chunk-MURZUYM7.js.map} +0 -0
  13. package/bundles/{chunk-R4NY3TJC.js → chunk-QK4SXRQA.js} +5 -5
  14. package/bundles/{chunk-R4NY3TJC.js.map → chunk-QK4SXRQA.js.map} +0 -0
  15. package/bundles/{chunk-34QUU6SJ.js → chunk-RV5PLZZB.js} +130 -85
  16. package/bundles/chunk-RV5PLZZB.js.map +6 -0
  17. package/bundles/{chunk-UMDDHI5B.js → chunk-SFACRVMZ.js} +27 -26
  18. package/bundles/chunk-SFACRVMZ.js.map +6 -0
  19. package/bundles/{chunk-AGDZS4UG.js → chunk-SYV2KBTF.js} +5 -5
  20. package/bundles/{chunk-AGDZS4UG.js.map → chunk-SYV2KBTF.js.map} +0 -0
  21. package/bundles/{chunk-OLGEBPBY.js → chunk-U2VFXNL7.js} +4 -4
  22. package/bundles/{chunk-OLGEBPBY.js.map → chunk-U2VFXNL7.js.map} +0 -0
  23. package/bundles/{chunk-FJDIFR5C.js → chunk-VEAB5CR7.js} +97 -61
  24. package/bundles/chunk-VEAB5CR7.js.map +6 -0
  25. package/bundles/{chunk-M3IOYIU5.js → chunk-VLER5B3O.js} +1051 -982
  26. package/bundles/chunk-VLER5B3O.js.map +6 -0
  27. package/bundles/{chunk-GYVY4Y2L.js → chunk-VSZPIAX6.js} +1173 -881
  28. package/bundles/chunk-VSZPIAX6.js.map +6 -0
  29. package/bundles/{chunk-2IMT6JFI.js → chunk-ZJCM37WF.js} +6 -6
  30. package/bundles/{chunk-2IMT6JFI.js.map → chunk-ZJCM37WF.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 +16 -16
  34. package/bundles/linker/babel/index.js.map +1 -1
  35. package/bundles/linker/index.js +4 -4
  36. package/bundles/ngcc/index.js +12 -12
  37. package/bundles/ngcc/main-ngcc.js +13 -13
  38. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
  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 +5 -5
  43. package/bundles/private/tooling.js +2 -2
  44. package/bundles/src/bin/ng_xi18n.js +10 -10
  45. package/bundles/src/bin/ngc.js +8 -8
  46. package/bundles_metadata.json +1 -1
  47. package/ngcc/src/dependencies/module_resolver.d.ts +5 -2
  48. package/ngcc/src/execution/cluster/api.d.ts +1 -1
  49. package/ngcc/src/execution/cluster/package_json_updater.d.ts +1 -1
  50. package/ngcc/src/execution/tasks/api.d.ts +2 -2
  51. package/ngcc/src/packages/build_marker.d.ts +1 -1
  52. package/ngcc/src/packages/entry_point.d.ts +1 -7
  53. package/ngcc/src/utils.d.ts +26 -0
  54. package/ngcc/src/writing/package_json_updater.d.ts +2 -1
  55. package/package.json +4 -4
  56. package/src/ngtsc/annotations/common/index.d.ts +1 -0
  57. package/src/ngtsc/annotations/common/src/schema.d.ts +12 -0
  58. package/src/ngtsc/annotations/common/src/util.d.ts +7 -1
  59. package/src/ngtsc/annotations/component/src/handler.d.ts +1 -1
  60. package/src/ngtsc/annotations/component/src/metadata.d.ts +7 -8
  61. package/src/ngtsc/annotations/component/src/resources.d.ts +1 -1
  62. package/src/ngtsc/annotations/ng_module/index.d.ts +1 -0
  63. package/src/ngtsc/annotations/ng_module/src/handler.d.ts +10 -26
  64. package/src/ngtsc/annotations/ng_module/src/module_with_providers.d.ts +26 -0
  65. package/src/ngtsc/core/api/src/adapter.d.ts +12 -1
  66. package/src/ngtsc/core/src/host.d.ts +9 -2
  67. package/src/ngtsc/diagnostics/src/error_code.d.ts +4 -0
  68. package/src/ngtsc/metadata/src/api.d.ts +32 -5
  69. package/src/ngtsc/metadata/src/util.d.ts +1 -0
  70. package/src/ngtsc/partial_evaluator/index.d.ts +1 -0
  71. package/src/ngtsc/partial_evaluator/src/dynamic.d.ts +9 -1
  72. package/src/ngtsc/partial_evaluator/src/interface.d.ts +2 -1
  73. package/src/ngtsc/partial_evaluator/src/result.d.ts +2 -1
  74. package/src/ngtsc/partial_evaluator/src/synthetic.d.ts +19 -0
  75. package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +2 -2
  76. package/src/ngtsc/scope/index.d.ts +4 -3
  77. package/src/ngtsc/scope/src/api.d.ts +36 -14
  78. package/src/ngtsc/scope/src/component_scope.d.ts +2 -16
  79. package/src/ngtsc/scope/src/local.d.ts +4 -11
  80. package/src/ngtsc/scope/src/standalone.d.ts +26 -0
  81. package/src/ngtsc/scope/src/typecheck.d.ts +1 -1
  82. package/src/ngtsc/scope/src/util.d.ts +15 -0
  83. package/src/ngtsc/transform/src/compilation.d.ts +3 -1
  84. package/src/ngtsc/typecheck/api/api.d.ts +1 -0
  85. package/src/ngtsc/typecheck/api/checker.d.ts +6 -6
  86. package/src/ngtsc/typecheck/api/completion.d.ts +3 -3
  87. package/src/ngtsc/typecheck/api/context.d.ts +2 -1
  88. package/src/ngtsc/typecheck/api/symbols.d.ts +23 -16
  89. package/src/ngtsc/typecheck/src/checker.d.ts +5 -4
  90. package/src/ngtsc/typecheck/src/completion.d.ts +6 -5
  91. package/src/ngtsc/typecheck/src/context.d.ts +1 -1
  92. package/src/ngtsc/typecheck/src/dom.d.ts +4 -2
  93. package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +4 -3
  94. package/src/ngtsc/typecheck/src/ts_util.d.ts +7 -0
  95. package/src/ngtsc/typecheck/src/type_check_block.d.ts +2 -1
  96. package/bundles/chunk-34QUU6SJ.js.map +0 -6
  97. package/bundles/chunk-FJDIFR5C.js.map +0 -6
  98. package/bundles/chunk-GYVY4Y2L.js.map +0 -6
  99. package/bundles/chunk-M3IOYIU5.js.map +0 -6
  100. package/bundles/chunk-SNAJD4VP.js.map +0 -6
  101. package/bundles/chunk-UMDDHI5B.js.map +0 -6
  102. package/src/ngtsc/annotations/component/src/scope.d.ts +0 -20
@@ -7,7 +7,7 @@ import {
7
7
  __require
8
8
  } from "./chunk-GMSUYBZP.js";
9
9
 
10
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
10
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
26
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
114
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
171
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
229
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
275
+ // bazel-out/darwin_arm64-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-T7MYRXIE.js.map
427
+ //# sourceMappingURL=chunk-MURZUYM7.js.map
@@ -3,7 +3,7 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
  const __ESM_IMPORT_META_URL__ = import.meta.url;
5
5
 
6
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
6
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
7
7
  var PerfPhase;
8
8
  (function(PerfPhase2) {
9
9
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -68,7 +68,7 @@ var PerfCheckpoint;
68
68
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
69
69
  })(PerfCheckpoint || (PerfCheckpoint = {}));
70
70
 
71
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
71
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
72
72
  var NoopPerfRecorder = class {
73
73
  eventCount() {
74
74
  }
@@ -85,7 +85,7 @@ var NoopPerfRecorder = class {
85
85
  };
86
86
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
87
87
 
88
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
88
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
89
89
  function mark() {
90
90
  return process.hrtime();
91
91
  }
@@ -94,7 +94,7 @@ function timeSinceInMicros(mark2) {
94
94
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
95
95
  }
96
96
 
97
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
97
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
98
98
  var ActivePerfRecorder = class {
99
99
  constructor(zeroTime) {
100
100
  this.zeroTime = zeroTime;
@@ -203,4 +203,4 @@ export {
203
203
  * Use of this source code is governed by an MIT-style license that can be
204
204
  * found in the LICENSE file at https://angular.io/license
205
205
  */
206
- //# sourceMappingURL=chunk-R4NY3TJC.js.map
206
+ //# sourceMappingURL=chunk-QK4SXRQA.js.map