@angular/compiler-cli 19.2.1 → 20.0.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 (32) hide show
  1. package/bundles/{chunk-YDD3LCLX.js → chunk-O2OVHMWL.js} +5 -5
  2. package/bundles/{chunk-J2ZUZS7X.js → chunk-PLKJMRGZ.js} +18 -2
  3. package/bundles/{chunk-J2ZUZS7X.js.map → chunk-PLKJMRGZ.js.map} +1 -1
  4. package/bundles/{chunk-OZ2WSYWM.js → chunk-QYORKQDN.js} +17 -2
  5. package/bundles/{chunk-OZ2WSYWM.js.map → chunk-QYORKQDN.js.map} +1 -1
  6. package/bundles/{chunk-GYTY2X5V.js → chunk-SEPXPBD2.js} +3 -3
  7. package/bundles/{chunk-ZWSJXDI6.js → chunk-SNXU6YPZ.js} +2 -2
  8. package/bundles/{chunk-J7S5XIBF.js → chunk-UAA7BTBW.js} +6 -6
  9. package/bundles/{chunk-RQP5TAHR.js → chunk-YSSSYIZJ.js} +2 -2
  10. package/bundles/index.js +10 -10
  11. package/bundles/linker/babel/index.js +5 -2
  12. package/bundles/linker/babel/index.js.map +1 -1
  13. package/bundles/linker/index.js +2 -2
  14. package/bundles/private/migrations.js +2 -2
  15. package/bundles/private/tooling.js +4 -4
  16. package/bundles/src/bin/ng_xi18n.js +5 -5
  17. package/bundles/src/bin/ngc.js +5 -5
  18. package/bundles_metadata.json +1 -1
  19. package/linker/babel/src/ast/babel_ast_factory.d.ts +1 -0
  20. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  21. package/package.json +3 -4
  22. package/src/ngtsc/translator/src/api/ast_factory.d.ts +7 -1
  23. package/src/ngtsc/translator/src/translator.d.ts +2 -0
  24. package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +1 -0
  25. package/bundles/ngcc/index.js +0 -52
  26. package/bundles/ngcc/index.js.map +0 -6
  27. package/ngcc/index.d.ts +0 -11
  28. /package/bundles/{chunk-YDD3LCLX.js.map → chunk-O2OVHMWL.js.map} +0 -0
  29. /package/bundles/{chunk-GYTY2X5V.js.map → chunk-SEPXPBD2.js.map} +0 -0
  30. /package/bundles/{chunk-ZWSJXDI6.js.map → chunk-SNXU6YPZ.js.map} +0 -0
  31. /package/bundles/{chunk-J7S5XIBF.js.map → chunk-UAA7BTBW.js.map} +0 -0
  32. /package/bundles/{chunk-RQP5TAHR.js.map → chunk-YSSSYIZJ.js.map} +0 -0
@@ -4,7 +4,7 @@
4
4
 
5
5
  import {
6
6
  angularJitApplicationTransform
7
- } from "./chunk-GYTY2X5V.js";
7
+ } from "./chunk-SEPXPBD2.js";
8
8
  import {
9
9
  CompilationMode,
10
10
  ComponentDecoratorHandler,
@@ -51,7 +51,7 @@ import {
51
51
  retagAllTsFiles,
52
52
  tryParseInitializerApi,
53
53
  untagAllTsFiles
54
- } from "./chunk-J2ZUZS7X.js";
54
+ } from "./chunk-PLKJMRGZ.js";
55
55
  import {
56
56
  AbsoluteModuleStrategy,
57
57
  AliasStrategy,
@@ -87,7 +87,7 @@ import {
87
87
  relativePathBetween,
88
88
  replaceTsWithNgInErrors,
89
89
  toUnredirectedSourceFile
90
- } from "./chunk-OZ2WSYWM.js";
90
+ } from "./chunk-QYORKQDN.js";
91
91
  import {
92
92
  ActivePerfRecorder,
93
93
  DelegatingPerfRecorder,
@@ -1163,7 +1163,7 @@ function compareVersions(v1, v2) {
1163
1163
  }
1164
1164
 
1165
1165
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1166
- var MIN_TS_VERSION = "5.5.0";
1166
+ var MIN_TS_VERSION = "5.8.0";
1167
1167
  var MAX_TS_VERSION = "5.9.0";
1168
1168
  var tsVersion = ts13.version;
1169
1169
  function checkVersion(version, minVersion, maxVersion) {
@@ -5062,4 +5062,4 @@ export {
5062
5062
  * Use of this source code is governed by an MIT-style license that can be
5063
5063
  * found in the LICENSE file at https://angular.dev/license
5064
5064
  */
5065
- //# sourceMappingURL=chunk-YDD3LCLX.js.map
5065
+ //# sourceMappingURL=chunk-O2OVHMWL.js.map
@@ -48,7 +48,7 @@ import {
48
48
  translateStatement,
49
49
  translateType,
50
50
  typeNodeToValueExpr
51
- } from "./chunk-OZ2WSYWM.js";
51
+ } from "./chunk-QYORKQDN.js";
52
52
  import {
53
53
  PerfCheckpoint,
54
54
  PerfEvent,
@@ -9891,6 +9891,7 @@ var BINARY_OPS = /* @__PURE__ */ new Map([
9891
9891
  ["==", ts40.SyntaxKind.EqualsEqualsToken],
9892
9892
  ["===", ts40.SyntaxKind.EqualsEqualsEqualsToken],
9893
9893
  ["*", ts40.SyntaxKind.AsteriskToken],
9894
+ ["**", ts40.SyntaxKind.AsteriskAsteriskToken],
9894
9895
  ["/", ts40.SyntaxKind.SlashToken],
9895
9896
  ["%", ts40.SyntaxKind.PercentToken],
9896
9897
  ["!=", ts40.SyntaxKind.ExclamationEqualsToken],
@@ -10042,6 +10043,12 @@ var AstTranslator = class {
10042
10043
  addParseSpanInfo(node, ast.sourceSpan);
10043
10044
  return node;
10044
10045
  }
10046
+ visitVoidExpression(ast) {
10047
+ const expression = wrapForDiagnostics(this.translate(ast.expression));
10048
+ const node = ts40.factory.createVoidExpression(expression);
10049
+ addParseSpanInfo(node, ast.sourceSpan);
10050
+ return node;
10051
+ }
10045
10052
  visitPropertyRead(ast) {
10046
10053
  const receiver = wrapForDiagnostics(this.translate(ast.receiver));
10047
10054
  const name = ts40.factory.createPropertyAccessExpression(receiver, ast.name);
@@ -10151,6 +10158,9 @@ var AstTranslator = class {
10151
10158
  visitTemplateLiteralElement(ast, context) {
10152
10159
  throw new Error("Method not implemented");
10153
10160
  }
10161
+ visitTaggedTemplateLiteral(ast) {
10162
+ return ts40.factory.createTaggedTemplateExpression(this.translate(ast.tag), void 0, this.visitTemplateLiteral(ast.template));
10163
+ }
10154
10164
  convertToSafeCall(ast, expr, args) {
10155
10165
  if (this.config.strictSafeNavigationTypes) {
10156
10166
  const call = ts40.factory.createCallExpression(ts40.factory.createNonNullExpression(expr), void 0, args);
@@ -10218,6 +10228,9 @@ var _VeSafeLhsInferenceBugDetector = class {
10218
10228
  visitTypeofExpression(ast) {
10219
10229
  return ast.expression.visit(this);
10220
10230
  }
10231
+ visitVoidExpression(ast) {
10232
+ return ast.expression.visit(this);
10233
+ }
10221
10234
  visitNonNullAssert(ast) {
10222
10235
  return ast.expression.visit(this);
10223
10236
  }
@@ -10239,6 +10252,9 @@ var _VeSafeLhsInferenceBugDetector = class {
10239
10252
  visitTemplateLiteralElement(ast, context) {
10240
10253
  return false;
10241
10254
  }
10255
+ visitTaggedTemplateLiteral(ast, context) {
10256
+ return false;
10257
+ }
10242
10258
  };
10243
10259
  var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
10244
10260
  __publicField(VeSafeLhsInferenceBugDetector, "SINGLETON", new _VeSafeLhsInferenceBugDetector());
@@ -15596,4 +15612,4 @@ export {
15596
15612
  * Use of this source code is governed by an MIT-style license that can be
15597
15613
  * found in the LICENSE file at https://angular.dev/license
15598
15614
  */
15599
- //# sourceMappingURL=chunk-J2ZUZS7X.js.map
15615
+ //# sourceMappingURL=chunk-PLKJMRGZ.js.map