@typescript-deploys/pr-build 5.0.0-pr-52240-9 → 5.0.0-pr-52280-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.
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.0";
57
- var version = `${versionMajorMinor}.0-insiders.20230114`;
57
+ var version = `${versionMajorMinor}.0-insiders.20230117`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -2966,14 +2966,15 @@ var SyntaxKind = /* @__PURE__ */ ((SyntaxKind4) => {
2966
2966
  SyntaxKind4[SyntaxKind4["JSDocSeeTag"] = 350] = "JSDocSeeTag";
2967
2967
  SyntaxKind4[SyntaxKind4["JSDocPropertyTag"] = 351] = "JSDocPropertyTag";
2968
2968
  SyntaxKind4[SyntaxKind4["JSDocThrowsTag"] = 352] = "JSDocThrowsTag";
2969
- SyntaxKind4[SyntaxKind4["SyntaxList"] = 353] = "SyntaxList";
2970
- SyntaxKind4[SyntaxKind4["NotEmittedStatement"] = 354] = "NotEmittedStatement";
2971
- SyntaxKind4[SyntaxKind4["PartiallyEmittedExpression"] = 355] = "PartiallyEmittedExpression";
2972
- SyntaxKind4[SyntaxKind4["CommaListExpression"] = 356] = "CommaListExpression";
2973
- SyntaxKind4[SyntaxKind4["MergeDeclarationMarker"] = 357] = "MergeDeclarationMarker";
2974
- SyntaxKind4[SyntaxKind4["EndOfDeclarationMarker"] = 358] = "EndOfDeclarationMarker";
2975
- SyntaxKind4[SyntaxKind4["SyntheticReferenceExpression"] = 359] = "SyntheticReferenceExpression";
2976
- SyntaxKind4[SyntaxKind4["Count"] = 360] = "Count";
2969
+ SyntaxKind4[SyntaxKind4["JSDocSatisfiesTag"] = 353] = "JSDocSatisfiesTag";
2970
+ SyntaxKind4[SyntaxKind4["SyntaxList"] = 354] = "SyntaxList";
2971
+ SyntaxKind4[SyntaxKind4["NotEmittedStatement"] = 355] = "NotEmittedStatement";
2972
+ SyntaxKind4[SyntaxKind4["PartiallyEmittedExpression"] = 356] = "PartiallyEmittedExpression";
2973
+ SyntaxKind4[SyntaxKind4["CommaListExpression"] = 357] = "CommaListExpression";
2974
+ SyntaxKind4[SyntaxKind4["MergeDeclarationMarker"] = 358] = "MergeDeclarationMarker";
2975
+ SyntaxKind4[SyntaxKind4["EndOfDeclarationMarker"] = 359] = "EndOfDeclarationMarker";
2976
+ SyntaxKind4[SyntaxKind4["SyntheticReferenceExpression"] = 360] = "SyntheticReferenceExpression";
2977
+ SyntaxKind4[SyntaxKind4["Count"] = 361] = "Count";
2977
2978
  SyntaxKind4[SyntaxKind4["FirstAssignment"] = 63 /* EqualsToken */] = "FirstAssignment";
2978
2979
  SyntaxKind4[SyntaxKind4["LastAssignment"] = 78 /* CaretEqualsToken */] = "LastAssignment";
2979
2980
  SyntaxKind4[SyntaxKind4["FirstCompoundAssignment"] = 64 /* PlusEqualsToken */] = "FirstCompoundAssignment";
@@ -3002,9 +3003,9 @@ var SyntaxKind = /* @__PURE__ */ ((SyntaxKind4) => {
3002
3003
  SyntaxKind4[SyntaxKind4["LastStatement"] = 256 /* DebuggerStatement */] = "LastStatement";
3003
3004
  SyntaxKind4[SyntaxKind4["FirstNode"] = 163 /* QualifiedName */] = "FirstNode";
3004
3005
  SyntaxKind4[SyntaxKind4["FirstJSDocNode"] = 312 /* JSDocTypeExpression */] = "FirstJSDocNode";
3005
- SyntaxKind4[SyntaxKind4["LastJSDocNode"] = 352 /* JSDocThrowsTag */] = "LastJSDocNode";
3006
+ SyntaxKind4[SyntaxKind4["LastJSDocNode"] = 353 /* JSDocSatisfiesTag */] = "LastJSDocNode";
3006
3007
  SyntaxKind4[SyntaxKind4["FirstJSDocTagNode"] = 330 /* JSDocTag */] = "FirstJSDocTagNode";
3007
- SyntaxKind4[SyntaxKind4["LastJSDocTagNode"] = 352 /* JSDocThrowsTag */] = "LastJSDocTagNode";
3008
+ SyntaxKind4[SyntaxKind4["LastJSDocTagNode"] = 353 /* JSDocSatisfiesTag */] = "LastJSDocTagNode";
3008
3009
  SyntaxKind4[SyntaxKind4["FirstContextualKeyword"] = 126 /* AbstractKeyword */] = "FirstContextualKeyword";
3009
3010
  SyntaxKind4[SyntaxKind4["LastContextualKeyword"] = 162 /* OfKeyword */] = "LastContextualKeyword";
3010
3011
  return SyntaxKind4;
@@ -5355,7 +5356,6 @@ var Diagnostics = {
5355
5356
  An_export_declaration_cannot_have_modifiers: diag(1193, 1 /* Error */, "An_export_declaration_cannot_have_modifiers_1193", "An export declaration cannot have modifiers."),
5356
5357
  Export_declarations_are_not_permitted_in_a_namespace: diag(1194, 1 /* Error */, "Export_declarations_are_not_permitted_in_a_namespace_1194", "Export declarations are not permitted in a namespace."),
5357
5358
  export_Asterisk_does_not_re_export_a_default: diag(1195, 1 /* Error */, "export_Asterisk_does_not_re_export_a_default_1195", "'export *' does not re-export a default."),
5358
- Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified: diag(1196, 1 /* Error */, "Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196", "Catch clause variable type annotation must be 'any' or 'unknown' if specified."),
5359
5359
  Catch_clause_variable_cannot_have_an_initializer: diag(1197, 1 /* Error */, "Catch_clause_variable_cannot_have_an_initializer_1197", "Catch clause variable cannot have an initializer."),
5360
5360
  An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive: diag(1198, 1 /* Error */, "An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198", "An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),
5361
5361
  Unterminated_Unicode_escape_sequence: diag(1199, 1 /* Error */, "Unterminated_Unicode_escape_sequence_1199", "Unterminated Unicode escape sequence."),
@@ -7223,7 +7223,8 @@ var Diagnostics = {
7223
7223
  _0_is_possibly_null: diag(18047, 1 /* Error */, "_0_is_possibly_null_18047", "'{0}' is possibly 'null'."),
7224
7224
  _0_is_possibly_undefined: diag(18048, 1 /* Error */, "_0_is_possibly_undefined_18048", "'{0}' is possibly 'undefined'."),
7225
7225
  _0_is_possibly_null_or_undefined: diag(18049, 1 /* Error */, "_0_is_possibly_null_or_undefined_18049", "'{0}' is possibly 'null' or 'undefined'."),
7226
- The_value_0_cannot_be_used_here: diag(18050, 1 /* Error */, "The_value_0_cannot_be_used_here_18050", "The value '{0}' cannot be used here.")
7226
+ The_value_0_cannot_be_used_here: diag(18050, 1 /* Error */, "The_value_0_cannot_be_used_here_18050", "The value '{0}' cannot be used here."),
7227
+ Compiler_option_0_cannot_be_given_an_empty_string: diag(18051, 1 /* Error */, "Compiler_option_0_cannot_be_given_an_empty_string_18051", "Compiler option '{0}' cannot be given an empty string.")
7227
7228
  };
7228
7229
 
7229
7230
  // src/compiler/scanner.ts
@@ -9957,8 +9958,8 @@ function isExpressionKind(kind) {
9957
9958
  case 227 /* SpreadElement */:
9958
9959
  case 231 /* AsExpression */:
9959
9960
  case 229 /* OmittedExpression */:
9960
- case 356 /* CommaListExpression */:
9961
- case 355 /* PartiallyEmittedExpression */:
9961
+ case 357 /* CommaListExpression */:
9962
+ case 356 /* PartiallyEmittedExpression */:
9962
9963
  case 235 /* SatisfiesExpression */:
9963
9964
  return true;
9964
9965
  default:
@@ -10097,7 +10098,7 @@ function isDeclarationStatementKind(kind) {
10097
10098
  return kind === 259 /* FunctionDeclaration */ || kind === 279 /* MissingDeclaration */ || kind === 260 /* ClassDeclaration */ || kind === 261 /* InterfaceDeclaration */ || kind === 262 /* TypeAliasDeclaration */ || kind === 263 /* EnumDeclaration */ || kind === 264 /* ModuleDeclaration */ || kind === 269 /* ImportDeclaration */ || kind === 268 /* ImportEqualsDeclaration */ || kind === 275 /* ExportDeclaration */ || kind === 274 /* ExportAssignment */ || kind === 267 /* NamespaceExportDeclaration */;
10098
10099
  }
10099
10100
  function isStatementKindButNotDeclarationKind(kind) {
10100
- return kind === 249 /* BreakStatement */ || kind === 248 /* ContinueStatement */ || kind === 256 /* DebuggerStatement */ || kind === 243 /* DoStatement */ || kind === 241 /* ExpressionStatement */ || kind === 239 /* EmptyStatement */ || kind === 246 /* ForInStatement */ || kind === 247 /* ForOfStatement */ || kind === 245 /* ForStatement */ || kind === 242 /* IfStatement */ || kind === 253 /* LabeledStatement */ || kind === 250 /* ReturnStatement */ || kind === 252 /* SwitchStatement */ || kind === 254 /* ThrowStatement */ || kind === 255 /* TryStatement */ || kind === 240 /* VariableStatement */ || kind === 244 /* WhileStatement */ || kind === 251 /* WithStatement */ || kind === 354 /* NotEmittedStatement */ || kind === 358 /* EndOfDeclarationMarker */ || kind === 357 /* MergeDeclarationMarker */;
10101
+ return kind === 249 /* BreakStatement */ || kind === 248 /* ContinueStatement */ || kind === 256 /* DebuggerStatement */ || kind === 243 /* DoStatement */ || kind === 241 /* ExpressionStatement */ || kind === 239 /* EmptyStatement */ || kind === 246 /* ForInStatement */ || kind === 247 /* ForOfStatement */ || kind === 245 /* ForStatement */ || kind === 242 /* IfStatement */ || kind === 253 /* LabeledStatement */ || kind === 250 /* ReturnStatement */ || kind === 252 /* SwitchStatement */ || kind === 254 /* ThrowStatement */ || kind === 255 /* TryStatement */ || kind === 240 /* VariableStatement */ || kind === 244 /* WhileStatement */ || kind === 251 /* WithStatement */ || kind === 355 /* NotEmittedStatement */ || kind === 359 /* EndOfDeclarationMarker */ || kind === 358 /* MergeDeclarationMarker */;
10101
10102
  }
10102
10103
  function isDeclaration(node) {
10103
10104
  if (node.kind === 165 /* TypeParameter */) {
@@ -10154,7 +10155,7 @@ function isCaseOrDefaultClause(node) {
10154
10155
  return kind === 292 /* CaseClause */ || kind === 293 /* DefaultClause */;
10155
10156
  }
10156
10157
  function isJSDocNode(node) {
10157
- return node.kind >= 312 /* FirstJSDocNode */ && node.kind <= 352 /* LastJSDocNode */;
10158
+ return node.kind >= 312 /* FirstJSDocNode */ && node.kind <= 353 /* LastJSDocNode */;
10158
10159
  }
10159
10160
  function hasJSDocNodes(node) {
10160
10161
  if (!canHaveJSDoc(node))
@@ -10289,7 +10290,7 @@ function getTokenPosOfNode(node, sourceFile, includeJsDoc) {
10289
10290
  if (includeJsDoc && hasJSDocNodes(node)) {
10290
10291
  return getTokenPosOfNode(node.jsDoc[0], sourceFile);
10291
10292
  }
10292
- if (node.kind === 353 /* SyntaxList */ && node._children.length > 0) {
10293
+ if (node.kind === 354 /* SyntaxList */ && node._children.length > 0) {
10293
10294
  return getTokenPosOfNode(node._children[0], sourceFile, includeJsDoc);
10294
10295
  }
10295
10296
  return skipTrivia(
@@ -11024,7 +11025,7 @@ function filterOwnedJSDocTags(hostNode, jsDoc) {
11024
11025
  return ownsJSDocTag(hostNode, jsDoc) ? [jsDoc] : void 0;
11025
11026
  }
11026
11027
  function ownsJSDocTag(hostNode, tag) {
11027
- return !isJSDocTypeTag(tag) || !tag.parent || !isJSDoc(tag.parent) || !isParenthesizedExpression(tag.parent.parent) || tag.parent.parent === hostNode;
11028
+ return !(isJSDocTypeTag(tag) || isJSDocSatisfiesTag(tag)) || !tag.parent || !isJSDoc(tag.parent) || !isParenthesizedExpression(tag.parent.parent) || tag.parent.parent === hostNode;
11028
11029
  }
11029
11030
  function getNextJSDocCommentLocation(node) {
11030
11031
  const parent = node.parent;
@@ -11279,7 +11280,7 @@ function getOperator(expression) {
11279
11280
  }
11280
11281
  function getOperatorPrecedence(nodeKind, operatorKind, hasArguments) {
11281
11282
  switch (nodeKind) {
11282
- case 356 /* CommaListExpression */:
11283
+ case 357 /* CommaListExpression */:
11283
11284
  return 0 /* Comma */;
11284
11285
  case 227 /* SpreadElement */:
11285
11286
  return 1 /* Spread */;
@@ -11588,9 +11589,21 @@ function modifierToFlag(token) {
11588
11589
  }
11589
11590
  return 0 /* None */;
11590
11591
  }
11592
+ function isBinaryLogicalOperator(token) {
11593
+ return token === 56 /* BarBarToken */ || token === 55 /* AmpersandAmpersandToken */;
11594
+ }
11591
11595
  function isLogicalOrCoalescingAssignmentOperator(token) {
11592
11596
  return token === 75 /* BarBarEqualsToken */ || token === 76 /* AmpersandAmpersandEqualsToken */ || token === 77 /* QuestionQuestionEqualsToken */;
11593
11597
  }
11598
+ function isLogicalOrCoalescingAssignmentExpression(expr) {
11599
+ return isBinaryExpression(expr) && isLogicalOrCoalescingAssignmentOperator(expr.operatorToken.kind);
11600
+ }
11601
+ function isLogicalOrCoalescingBinaryOperator(token) {
11602
+ return isBinaryLogicalOperator(token) || token === 60 /* QuestionQuestionToken */;
11603
+ }
11604
+ function isLogicalOrCoalescingBinaryExpression(expr) {
11605
+ return isBinaryExpression(expr) && isLogicalOrCoalescingBinaryOperator(expr.operatorToken.kind);
11606
+ }
11594
11607
  function isAssignmentOperator(token) {
11595
11608
  return token >= 63 /* FirstAssignment */ && token <= 78 /* LastAssignment */;
11596
11609
  }
@@ -11700,7 +11713,7 @@ function getLeftmostExpression(node, stopAtCallExpressions) {
11700
11713
  case 209 /* ElementAccessExpression */:
11701
11714
  case 208 /* PropertyAccessExpression */:
11702
11715
  case 232 /* NonNullExpression */:
11703
- case 355 /* PartiallyEmittedExpression */:
11716
+ case 356 /* PartiallyEmittedExpression */:
11704
11717
  case 235 /* SatisfiesExpression */:
11705
11718
  node = node.expression;
11706
11719
  continue;
@@ -13359,6 +13372,12 @@ function createNodeFactory(flags, baseFactory2) {
13359
13372
  get updateJSDocThrowsTag() {
13360
13373
  return getJSDocTypeLikeTagUpdateFunction(352 /* JSDocThrowsTag */);
13361
13374
  },
13375
+ get createJSDocSatisfiesTag() {
13376
+ return getJSDocTypeLikeTagCreateFunction(353 /* JSDocSatisfiesTag */);
13377
+ },
13378
+ get updateJSDocSatisfiesTag() {
13379
+ return getJSDocTypeLikeTagUpdateFunction(353 /* JSDocSatisfiesTag */);
13380
+ },
13362
13381
  createJSDocEnumTag,
13363
13382
  updateJSDocEnumTag,
13364
13383
  createJSDocUnknownTag,
@@ -16518,18 +16537,18 @@ function createNodeFactory(flags, baseFactory2) {
16518
16537
  return node;
16519
16538
  }
16520
16539
  function createSyntaxList(children) {
16521
- const node = createBaseNode(353 /* SyntaxList */);
16540
+ const node = createBaseNode(354 /* SyntaxList */);
16522
16541
  node._children = children;
16523
16542
  return node;
16524
16543
  }
16525
16544
  function createNotEmittedStatement(original) {
16526
- const node = createBaseNode(354 /* NotEmittedStatement */);
16545
+ const node = createBaseNode(355 /* NotEmittedStatement */);
16527
16546
  node.original = original;
16528
16547
  setTextRange(node, original);
16529
16548
  return node;
16530
16549
  }
16531
16550
  function createPartiallyEmittedExpression(expression, original) {
16532
- const node = createBaseNode(355 /* PartiallyEmittedExpression */);
16551
+ const node = createBaseNode(356 /* PartiallyEmittedExpression */);
16533
16552
  node.expression = expression;
16534
16553
  node.original = original;
16535
16554
  node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */;
@@ -16551,7 +16570,7 @@ function createNodeFactory(flags, baseFactory2) {
16551
16570
  return node;
16552
16571
  }
16553
16572
  function createCommaListExpression(elements) {
16554
- const node = createBaseNode(356 /* CommaListExpression */);
16573
+ const node = createBaseNode(357 /* CommaListExpression */);
16555
16574
  node.elements = createNodeArray(sameFlatMap(elements, flattenCommaElements));
16556
16575
  node.transformFlags |= propagateChildrenFlags(node.elements);
16557
16576
  return node;
@@ -16560,19 +16579,19 @@ function createNodeFactory(flags, baseFactory2) {
16560
16579
  return node.elements !== elements ? update(createCommaListExpression(elements), node) : node;
16561
16580
  }
16562
16581
  function createEndOfDeclarationMarker(original) {
16563
- const node = createBaseNode(358 /* EndOfDeclarationMarker */);
16582
+ const node = createBaseNode(359 /* EndOfDeclarationMarker */);
16564
16583
  node.emitNode = {};
16565
16584
  node.original = original;
16566
16585
  return node;
16567
16586
  }
16568
16587
  function createMergeDeclarationMarker(original) {
16569
- const node = createBaseNode(357 /* MergeDeclarationMarker */);
16588
+ const node = createBaseNode(358 /* MergeDeclarationMarker */);
16570
16589
  node.emitNode = {};
16571
16590
  node.original = original;
16572
16591
  return node;
16573
16592
  }
16574
16593
  function createSyntheticReferenceExpression(expression, thisArg) {
16575
- const node = createBaseNode(359 /* SyntheticReferenceExpression */);
16594
+ const node = createBaseNode(360 /* SyntheticReferenceExpression */);
16576
16595
  node.expression = expression;
16577
16596
  node.thisArg = thisArg;
16578
16597
  node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thisArg);
@@ -16812,7 +16831,7 @@ function createNodeFactory(flags, baseFactory2) {
16812
16831
  return updateSatisfiesExpression(outerExpression, expression, outerExpression.type);
16813
16832
  case 232 /* NonNullExpression */:
16814
16833
  return updateNonNullExpression(outerExpression, expression);
16815
- case 355 /* PartiallyEmittedExpression */:
16834
+ case 356 /* PartiallyEmittedExpression */:
16816
16835
  return updatePartiallyEmittedExpression(outerExpression, expression);
16817
16836
  }
16818
16837
  }
@@ -17348,7 +17367,7 @@ function getTransformFlagsSubtreeExclusions(kind) {
17348
17367
  case 213 /* TypeAssertionExpression */:
17349
17368
  case 235 /* SatisfiesExpression */:
17350
17369
  case 231 /* AsExpression */:
17351
- case 355 /* PartiallyEmittedExpression */:
17370
+ case 356 /* PartiallyEmittedExpression */:
17352
17371
  case 214 /* ParenthesizedExpression */:
17353
17372
  case 106 /* SuperKeyword */:
17354
17373
  return -2147483648 /* OuterExpressionExcludes */;
@@ -17773,7 +17792,7 @@ function isMetaProperty(node) {
17773
17792
  return node.kind === 233 /* MetaProperty */;
17774
17793
  }
17775
17794
  function isCommaListExpression(node) {
17776
- return node.kind === 356 /* CommaListExpression */;
17795
+ return node.kind === 357 /* CommaListExpression */;
17777
17796
  }
17778
17797
  function isTemplateSpan(node) {
17779
17798
  return node.kind === 236 /* TemplateSpan */;
@@ -17854,7 +17873,7 @@ function isExportSpecifier(node) {
17854
17873
  return node.kind === 278 /* ExportSpecifier */;
17855
17874
  }
17856
17875
  function isNotEmittedStatement(node) {
17857
- return node.kind === 354 /* NotEmittedStatement */;
17876
+ return node.kind === 355 /* NotEmittedStatement */;
17858
17877
  }
17859
17878
  function isExternalModuleReference(node) {
17860
17879
  return node.kind === 280 /* ExternalModuleReference */;
@@ -17940,6 +17959,9 @@ function isJSDocTypeTag(node) {
17940
17959
  function isJSDocTemplateTag(node) {
17941
17960
  return node.kind === 348 /* JSDocTemplateTag */;
17942
17961
  }
17962
+ function isJSDocSatisfiesTag(node) {
17963
+ return node.kind === 353 /* JSDocSatisfiesTag */;
17964
+ }
17943
17965
 
17944
17966
  // src/compiler/factory/utilities.ts
17945
17967
  function isLocalName(node) {
@@ -17961,7 +17983,7 @@ function findUseStrictPrologue(statements) {
17961
17983
  return void 0;
17962
17984
  }
17963
17985
  function isCommaSequence(node) {
17964
- return node.kind === 223 /* BinaryExpression */ && node.operatorToken.kind === 27 /* CommaToken */ || node.kind === 356 /* CommaListExpression */;
17986
+ return node.kind === 223 /* BinaryExpression */ && node.operatorToken.kind === 27 /* CommaToken */ || node.kind === 357 /* CommaListExpression */;
17965
17987
  }
17966
17988
  function isJSDocTypeAssertion(node) {
17967
17989
  return isParenthesizedExpression(node) && isInJSFile(node) && !!getJSDocTypeTag(node);
@@ -17979,7 +18001,7 @@ function isOuterExpression(node, kinds = 15 /* All */) {
17979
18001
  return (kinds & 2 /* TypeAssertions */) !== 0;
17980
18002
  case 232 /* NonNullExpression */:
17981
18003
  return (kinds & 4 /* NonNullAssertions */) !== 0;
17982
- case 355 /* PartiallyEmittedExpression */:
18004
+ case 356 /* PartiallyEmittedExpression */:
17983
18005
  return (kinds & 8 /* PartiallyEmittedExpressions */) !== 0;
17984
18006
  }
17985
18007
  return false;
@@ -18642,7 +18664,7 @@ var forEachChildTable = {
18642
18664
  [279 /* MissingDeclaration */]: function forEachChildInMissingDeclaration(node, cbNode, cbNodes) {
18643
18665
  return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers);
18644
18666
  },
18645
- [356 /* CommaListExpression */]: function forEachChildInCommaListExpression(node, cbNode, cbNodes) {
18667
+ [357 /* CommaListExpression */]: function forEachChildInCommaListExpression(node, cbNode, cbNodes) {
18646
18668
  return visitNodes(cbNode, cbNodes, node.elements);
18647
18669
  },
18648
18670
  [281 /* JsxElement */]: function forEachChildInJsxElement(node, cbNode, cbNodes) {
@@ -18714,6 +18736,7 @@ var forEachChildTable = {
18714
18736
  [347 /* JSDocTypeTag */]: forEachChildInJSDocTypeLikeTag,
18715
18737
  [346 /* JSDocThisTag */]: forEachChildInJSDocTypeLikeTag,
18716
18738
  [343 /* JSDocEnumTag */]: forEachChildInJSDocTypeLikeTag,
18739
+ [353 /* JSDocSatisfiesTag */]: forEachChildInJSDocTypeLikeTag,
18717
18740
  [352 /* JSDocThrowsTag */]: forEachChildInJSDocTypeLikeTag,
18718
18741
  [342 /* JSDocOverloadTag */]: forEachChildInJSDocTypeLikeTag,
18719
18742
  [326 /* JSDocSignature */]: function forEachChildInJSDocSignature(node, cbNode, _cbNodes) {
@@ -18733,7 +18756,7 @@ var forEachChildTable = {
18733
18756
  [339 /* JSDocReadonlyTag */]: forEachChildInJSDocTag,
18734
18757
  [334 /* JSDocDeprecatedTag */]: forEachChildInJSDocTag,
18735
18758
  [340 /* JSDocOverrideTag */]: forEachChildInJSDocTag,
18736
- [355 /* PartiallyEmittedExpression */]: forEachChildInPartiallyEmittedExpression
18759
+ [356 /* PartiallyEmittedExpression */]: forEachChildInPartiallyEmittedExpression
18737
18760
  };
18738
18761
  function forEachChildInCallOrConstructSignature(node, cbNode, cbNodes) {
18739
18762
  return visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);
@@ -24741,6 +24764,9 @@ var Parser;
24741
24764
  case "overload":
24742
24765
  tag = parseOverloadTag(start2, tagName, margin, indentText);
24743
24766
  break;
24767
+ case "satisfies":
24768
+ tag = parseSatisfiesTag(start2, tagName, margin, indentText);
24769
+ break;
24744
24770
  case "see":
24745
24771
  tag = parseSeeTag(start2, tagName, margin, indentText);
24746
24772
  break;
@@ -25049,6 +25075,14 @@ var Parser;
25049
25075
  const className = parseExpressionWithTypeArgumentsForAugments();
25050
25076
  return finishNode(factory2.createJSDocAugmentsTag(tagName, className, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);
25051
25077
  }
25078
+ function parseSatisfiesTag(start2, tagName, margin, indentText) {
25079
+ const typeExpression = parseJSDocTypeExpression(
25080
+ /*mayOmitBraces*/
25081
+ false
25082
+ );
25083
+ const comments2 = margin !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), margin, indentText) : void 0;
25084
+ return finishNode(factory2.createJSDocSatisfiesTag(tagName, typeExpression, comments2), start2);
25085
+ }
25052
25086
  function parseExpressionWithTypeArgumentsForAugments() {
25053
25087
  const usedBrace = parseOptional(18 /* OpenBraceToken */);
25054
25088
  const pos = getNodePos();
@@ -30385,13 +30419,12 @@ function createBinder() {
30385
30419
  } else if (node.kind === 221 /* PrefixUnaryExpression */ && node.operator === 53 /* ExclamationToken */) {
30386
30420
  node = node.operand;
30387
30421
  } else {
30388
- return node.kind === 223 /* BinaryExpression */ && (node.operatorToken.kind === 55 /* AmpersandAmpersandToken */ || node.operatorToken.kind === 56 /* BarBarToken */ || node.operatorToken.kind === 60 /* QuestionQuestionToken */);
30422
+ return isLogicalOrCoalescingBinaryExpression(node);
30389
30423
  }
30390
30424
  }
30391
30425
  }
30392
30426
  function isLogicalAssignmentExpression(node) {
30393
- node = skipParentheses(node);
30394
- return isBinaryExpression(node) && isLogicalOrCoalescingAssignmentOperator(node.operatorToken.kind);
30427
+ return isLogicalOrCoalescingAssignmentExpression(skipParentheses(node));
30395
30428
  }
30396
30429
  function isTopLevelLogicalExpression(node) {
30397
30430
  while (isParenthesizedExpression(node.parent) || isPrefixUnaryExpression(node.parent) && node.parent.operator === 53 /* ExclamationToken */) {
@@ -30774,7 +30807,7 @@ function createBinder() {
30774
30807
  };
30775
30808
  }
30776
30809
  const operator = node.operatorToken.kind;
30777
- if (operator === 55 /* AmpersandAmpersandToken */ || operator === 56 /* BarBarToken */ || operator === 60 /* QuestionQuestionToken */ || isLogicalOrCoalescingAssignmentOperator(operator)) {
30810
+ if (isLogicalOrCoalescingBinaryOperator(operator) || isLogicalOrCoalescingAssignmentOperator(operator)) {
30778
30811
  if (isTopLevelLogicalExpression(node)) {
30779
30812
  const postExpressionLabel = createBranchLabel();
30780
30813
  bindLogicalLikeExpression(node, postExpressionLabel, postExpressionLabel);
@@ -33828,13 +33861,13 @@ var visitEachChildTable = {
33828
33861
  );
33829
33862
  },
33830
33863
  // Transformation nodes
33831
- [355 /* PartiallyEmittedExpression */]: function visitEachChildOfPartiallyEmittedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {
33864
+ [356 /* PartiallyEmittedExpression */]: function visitEachChildOfPartiallyEmittedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {
33832
33865
  return context.factory.updatePartiallyEmittedExpression(
33833
33866
  node,
33834
33867
  nodeVisitor(node.expression, visitor, isExpression)
33835
33868
  );
33836
33869
  },
33837
- [356 /* CommaListExpression */]: function visitEachChildOfCommaListExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {
33870
+ [357 /* CommaListExpression */]: function visitEachChildOfCommaListExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {
33838
33871
  return context.factory.updateCommaListExpression(
33839
33872
  node,
33840
33873
  nodesVisitor(node.elements, visitor, isExpression)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typescript-deploys/pr-build",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.0.0-pr-52240-9",
5
+ "version": "5.0.0-pr-52280-2",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [