@angular/compiler-cli 19.2.0 → 20.0.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 (29) hide show
  1. package/bundles/{chunk-J43IYRBM.js → chunk-2MJ6YSB2.js} +12 -2
  2. package/bundles/{chunk-J43IYRBM.js.map → chunk-2MJ6YSB2.js.map} +1 -1
  3. package/bundles/{chunk-KOIBHR3X.js → chunk-5B64KRP2.js} +11 -2
  4. package/bundles/{chunk-KOIBHR3X.js.map → chunk-5B64KRP2.js.map} +1 -1
  5. package/bundles/{chunk-TFVEDCQN.js → chunk-HXSKCJMP.js} +2 -2
  6. package/bundles/{chunk-VAZZGFGP.js → chunk-KDHDNSXW.js} +3 -3
  7. package/bundles/{chunk-S2PFGODW.js → chunk-NSLVDBJJ.js} +2 -2
  8. package/bundles/{chunk-RNO4EXM5.js → chunk-SXMUFI7N.js} +3 -3
  9. package/bundles/{chunk-ZBHF2MOM.js → chunk-UCG5K4BI.js} +4 -4
  10. package/bundles/index.js +6 -6
  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 +2 -2
  22. package/src/ngtsc/translator/src/api/ast_factory.d.ts +7 -1
  23. package/src/ngtsc/translator/src/translator.d.ts +1 -0
  24. package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +1 -0
  25. /package/bundles/{chunk-TFVEDCQN.js.map → chunk-HXSKCJMP.js.map} +0 -0
  26. /package/bundles/{chunk-VAZZGFGP.js.map → chunk-KDHDNSXW.js.map} +0 -0
  27. /package/bundles/{chunk-S2PFGODW.js.map → chunk-NSLVDBJJ.js.map} +0 -0
  28. /package/bundles/{chunk-RNO4EXM5.js.map → chunk-SXMUFI7N.js.map} +0 -0
  29. /package/bundles/{chunk-ZBHF2MOM.js.map → chunk-UCG5K4BI.js.map} +0 -0
@@ -48,7 +48,7 @@ import {
48
48
  translateStatement,
49
49
  translateType,
50
50
  typeNodeToValueExpr
51
- } from "./chunk-KOIBHR3X.js";
51
+ } from "./chunk-5B64KRP2.js";
52
52
  import {
53
53
  PerfCheckpoint,
54
54
  PerfEvent,
@@ -9895,6 +9895,7 @@ var BINARY_OPS = /* @__PURE__ */ new Map([
9895
9895
  ["==", ts40.SyntaxKind.EqualsEqualsToken],
9896
9896
  ["===", ts40.SyntaxKind.EqualsEqualsEqualsToken],
9897
9897
  ["*", ts40.SyntaxKind.AsteriskToken],
9898
+ ["**", ts40.SyntaxKind.AsteriskAsteriskToken],
9898
9899
  ["/", ts40.SyntaxKind.SlashToken],
9899
9900
  ["%", ts40.SyntaxKind.PercentToken],
9900
9901
  ["!=", ts40.SyntaxKind.ExclamationEqualsToken],
@@ -10046,6 +10047,12 @@ var AstTranslator = class {
10046
10047
  addParseSpanInfo(node, ast.sourceSpan);
10047
10048
  return node;
10048
10049
  }
10050
+ visitVoidExpression(ast) {
10051
+ const expression = wrapForDiagnostics(this.translate(ast.expression));
10052
+ const node = ts40.factory.createVoidExpression(expression);
10053
+ addParseSpanInfo(node, ast.sourceSpan);
10054
+ return node;
10055
+ }
10049
10056
  visitPropertyRead(ast) {
10050
10057
  const receiver = wrapForDiagnostics(this.translate(ast.receiver));
10051
10058
  const name = ts40.factory.createPropertyAccessExpression(receiver, ast.name);
@@ -10222,6 +10229,9 @@ var _VeSafeLhsInferenceBugDetector = class {
10222
10229
  visitTypeofExpression(ast) {
10223
10230
  return ast.expression.visit(this);
10224
10231
  }
10232
+ visitVoidExpression(ast) {
10233
+ return ast.expression.visit(this);
10234
+ }
10225
10235
  visitNonNullAssert(ast) {
10226
10236
  return ast.expression.visit(this);
10227
10237
  }
@@ -15600,4 +15610,4 @@ export {
15600
15610
  * Use of this source code is governed by an MIT-style license that can be
15601
15611
  * found in the LICENSE file at https://angular.dev/license
15602
15612
  */
15603
- //# sourceMappingURL=chunk-J43IYRBM.js.map
15613
+ //# sourceMappingURL=chunk-2MJ6YSB2.js.map