@angular/compiler-cli 18.0.0 → 18.1.0-next.0

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 (40) hide show
  1. package/bundles/{chunk-UPUMIIZG.js → chunk-5ZVL2ETT.js} +3 -3
  2. package/bundles/{chunk-D7XZVDL2.js → chunk-A2WCUOS3.js} +10 -7
  3. package/bundles/chunk-A2WCUOS3.js.map +6 -0
  4. package/bundles/{chunk-77CB34BX.js → chunk-COIAXMXY.js} +25 -7
  5. package/bundles/chunk-COIAXMXY.js.map +6 -0
  6. package/bundles/{chunk-XNL3EK5H.js → chunk-EU3OILAK.js} +5 -2
  7. package/bundles/chunk-EU3OILAK.js.map +6 -0
  8. package/bundles/{chunk-LCZH35U2.js → chunk-IJ3MFF2U.js} +7 -4
  9. package/bundles/{chunk-LCZH35U2.js.map → chunk-IJ3MFF2U.js.map} +1 -1
  10. package/bundles/{chunk-GDDAH7HI.js → chunk-KZJWSJUK.js} +2 -2
  11. package/bundles/{chunk-BVDVZTEE.js → chunk-PRZ3KEOO.js} +3 -3
  12. package/bundles/index.js +6 -6
  13. package/bundles/linker/babel/index.js +3 -3
  14. package/bundles/linker/index.js +3 -3
  15. package/bundles/private/localize.js +1 -1
  16. package/bundles/private/migrations.js +3 -3
  17. package/bundles/private/tooling.js +4 -4
  18. package/bundles/src/bin/ng_xi18n.js +5 -5
  19. package/bundles/src/bin/ngc.js +5 -5
  20. package/bundles_metadata.json +1 -1
  21. package/linker/babel/src/ast/babel_ast_factory.d.ts +0 -1
  22. package/linker/babel/src/ast/babel_ast_host.d.ts +0 -1
  23. package/linker/babel/src/babel_declaration_scope.d.ts +0 -1
  24. package/linker/babel/src/babel_plugin.d.ts +0 -1
  25. package/linker/babel/src/es2015_linker_plugin.d.ts +0 -1
  26. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  27. package/package.json +3 -3
  28. package/src/ngtsc/core/src/host.d.ts +10 -10
  29. package/src/ngtsc/diagnostics/src/docs.d.ts +1 -1
  30. package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +1 -1
  31. package/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.d.ts +11 -0
  32. package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +8 -8
  33. package/src/ngtsc/reflection/src/host.d.ts +3 -1
  34. package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +7 -7
  35. package/bundles/chunk-77CB34BX.js.map +0 -6
  36. package/bundles/chunk-D7XZVDL2.js.map +0 -6
  37. package/bundles/chunk-XNL3EK5H.js.map +0 -6
  38. /package/bundles/{chunk-UPUMIIZG.js.map → chunk-5ZVL2ETT.js.map} +0 -0
  39. /package/bundles/{chunk-GDDAH7HI.js.map → chunk-KZJWSJUK.js.map} +0 -0
  40. /package/bundles/{chunk-BVDVZTEE.js.map → chunk-PRZ3KEOO.js.map} +0 -0
@@ -10,7 +10,7 @@ import {
10
10
  tryParseSignalInputMapping,
11
11
  tryParseSignalModelMapping,
12
12
  tryParseSignalQueryFromInitializer
13
- } from "./chunk-LCZH35U2.js";
13
+ } from "./chunk-IJ3MFF2U.js";
14
14
  import {
15
15
  ImportManager,
16
16
  ImportedSymbolsTracker,
@@ -18,7 +18,7 @@ import {
18
18
  isAliasImportDeclaration,
19
19
  loadIsReferencedAliasDeclarationPatch,
20
20
  reflectClassMember
21
- } from "./chunk-77CB34BX.js";
21
+ } from "./chunk-COIAXMXY.js";
22
22
 
23
23
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
24
24
  import ts from "typescript";
@@ -553,4 +553,4 @@ export {
553
553
  * Use of this source code is governed by an MIT-style license that can be
554
554
  * found in the LICENSE file at https://angular.io/license
555
555
  */
556
- //# sourceMappingURL=chunk-UPUMIIZG.js.map
556
+ //# sourceMappingURL=chunk-5ZVL2ETT.js.map
@@ -44,7 +44,7 @@ import {
44
44
  isHostDirectiveMetaForGlobalMode,
45
45
  ivyTransformFactory,
46
46
  tryParseInitializerApi
47
- } from "./chunk-LCZH35U2.js";
47
+ } from "./chunk-IJ3MFF2U.js";
48
48
  import {
49
49
  AbsoluteModuleStrategy,
50
50
  AliasStrategy,
@@ -94,7 +94,7 @@ import {
94
94
  toUnredirectedSourceFile,
95
95
  translateExpression,
96
96
  translateType
97
- } from "./chunk-77CB34BX.js";
97
+ } from "./chunk-COIAXMXY.js";
98
98
  import {
99
99
  ActivePerfRecorder,
100
100
  DelegatingPerfRecorder,
@@ -111,7 +111,7 @@ import {
111
111
  getSourceFileOrError,
112
112
  join,
113
113
  resolve
114
- } from "./chunk-XNL3EK5H.js";
114
+ } from "./chunk-EU3OILAK.js";
115
115
 
116
116
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
117
117
  var DEFAULT_ERROR_CODE = 100;
@@ -1089,7 +1089,7 @@ function compareVersions(v1, v2) {
1089
1089
 
1090
1090
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1091
1091
  var MIN_TS_VERSION = "5.4.0";
1092
- var MAX_TS_VERSION = "5.5.0";
1092
+ var MAX_TS_VERSION = "5.6.0";
1093
1093
  var tsVersion = ts11.version;
1094
1094
  function checkVersion(version, minVersion, maxVersion) {
1095
1095
  if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
@@ -1749,7 +1749,10 @@ var TsCreateProgramDriver = class {
1749
1749
  this.sfMap.clear();
1750
1750
  }
1751
1751
  for (const [filePath, { newText, originalFile }] of contents.entries()) {
1752
- const sf = ts16.createSourceFile(filePath, newText, ts16.ScriptTarget.Latest, true);
1752
+ const sf = ts16.createSourceFile(filePath, newText, {
1753
+ impliedNodeFormat: void 0,
1754
+ languageVersion: ts16.ScriptTarget.Latest
1755
+ }, true);
1753
1756
  if (originalFile !== null) {
1754
1757
  sf[NgOriginalFile] = originalFile;
1755
1758
  }
@@ -8679,7 +8682,7 @@ var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
8679
8682
  if (symbol !== null && symbol.kind === SymbolKind.Input) {
8680
8683
  return [];
8681
8684
  }
8682
- if (node.type === BindingType2.Property && node.value instanceof ASTWithSource5 && node.value.ast instanceof PropertyRead6) {
8685
+ if ((node.type === BindingType2.Property || node.type === BindingType2.Class || node.type === BindingType2.Style || node.type === BindingType2.Attribute || node.type === BindingType2.Animation) && node.value instanceof ASTWithSource5 && node.value.ast instanceof PropertyRead6) {
8683
8686
  return buildDiagnosticForSignal(ctx, node.value.ast, component);
8684
8687
  }
8685
8688
  }
@@ -10673,4 +10676,4 @@ export {
10673
10676
  * Use of this source code is governed by an MIT-style license that can be
10674
10677
  * found in the LICENSE file at https://angular.io/license
10675
10678
  */
10676
- //# sourceMappingURL=chunk-D7XZVDL2.js.map
10679
+ //# sourceMappingURL=chunk-A2WCUOS3.js.map