@typescript-deploys/pr-build 5.3.0-pr-56122-13 → 5.3.0-pr-56140-8

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.
package/lib/tsc.js CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "5.3";
21
- var version = `${versionMajorMinor}.0-insiders.20231016`;
21
+ var version = `${versionMajorMinor}.0-insiders.20231017`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -13878,9 +13878,9 @@ function ownsJSDocTag(hostNode, tag) {
13878
13878
  }
13879
13879
  function getNextJSDocCommentLocation(node) {
13880
13880
  const parent = node.parent;
13881
- if (parent.kind === 303 /* PropertyAssignment */ || parent.kind === 277 /* ExportAssignment */ || parent.kind === 172 /* PropertyDeclaration */ || parent.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent) || isBinaryExpression(node) && node.operatorToken.kind === 64 /* EqualsToken */) {
13881
+ if (parent.kind === 303 /* PropertyAssignment */ || parent.kind === 277 /* ExportAssignment */ || parent.kind === 172 /* PropertyDeclaration */ || parent.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent) || isAssignmentExpression(node)) {
13882
13882
  return parent;
13883
- } else if (parent.parent && (getSingleVariableOfVariableStatement(parent.parent) === node || isBinaryExpression(parent) && parent.operatorToken.kind === 64 /* EqualsToken */)) {
13883
+ } else if (parent.parent && (getSingleVariableOfVariableStatement(parent.parent) === node || isAssignmentExpression(parent))) {
13884
13884
  return parent.parent;
13885
13885
  } else if (parent.parent && parent.parent.parent && (getSingleVariableOfVariableStatement(parent.parent.parent) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(parent.parent.parent) === node || getSourceOfDefaultedAssignment(parent.parent.parent))) {
13886
13886
  return parent.parent.parent;
@@ -34843,7 +34843,7 @@ var commandOptionsWithoutBuild = [
34843
34843
  affectsBuildInfo: true,
34844
34844
  affectsDeclarationPath: true,
34845
34845
  isFilePath: false,
34846
- // This is intentionally broken to support compatability with existing tsconfig files
34846
+ // This is intentionally broken to support compatibility with existing tsconfig files
34847
34847
  // for correct behaviour, please use outFile
34848
34848
  category: Diagnostics.Backwards_Compatibility,
34849
34849
  paramType: Diagnostics.FILE,
@@ -61099,13 +61099,13 @@ function createTypeChecker(host) {
61099
61099
  if (recursionFlags & 1 /* Source */) {
61100
61100
  sourceStack[sourceDepth] = source2;
61101
61101
  sourceDepth++;
61102
- if (!(expandingFlags & 1 /* Source */) && isDeeplyNestedType(source2, sourceStack, sourceDepth))
61102
+ if (!(expandingFlags & 1 /* Source */) && isDeeplyNestedType(source2, sourceStack, sourceDepth, 5))
61103
61103
  expandingFlags |= 1 /* Source */;
61104
61104
  }
61105
61105
  if (recursionFlags & 2 /* Target */) {
61106
61106
  targetStack[targetDepth] = target2;
61107
61107
  targetDepth++;
61108
- if (!(expandingFlags & 2 /* Target */) && isDeeplyNestedType(target2, targetStack, targetDepth))
61108
+ if (!(expandingFlags & 2 /* Target */) && isDeeplyNestedType(target2, targetStack, targetDepth, 5))
61109
61109
  expandingFlags |= 2 /* Target */;
61110
61110
  }
61111
61111
  let originalHandler;
@@ -62724,7 +62724,7 @@ function createTypeChecker(host) {
62724
62724
  function isClassDerivedFromDeclaringClasses(checkClass, prop, writing) {
62725
62725
  return forEachProperty(prop, (p) => getDeclarationModifierFlagsFromSymbol(p, writing) & 16 /* Protected */ ? !hasBaseType(checkClass, getDeclaringClass(p)) : false) ? void 0 : checkClass;
62726
62726
  }
62727
- function isDeeplyNestedType(type, stack, depth, maxDepth = 3) {
62727
+ function isDeeplyNestedType(type, stack, depth, maxDepth) {
62728
62728
  if (depth >= maxDepth) {
62729
62729
  if (type.flags & 2097152 /* Intersection */) {
62730
62730
  return some(type.types, (t) => isDeeplyNestedType(t, stack, depth, maxDepth));
@@ -67350,7 +67350,7 @@ function createTypeChecker(host) {
67350
67350
  return getWidenedType(contextualType ? getNonNullableType(contextualType) : checkExpressionCached(containingLiteral));
67351
67351
  }
67352
67352
  const parent = walkUpParenthesizedExpressions(func.parent);
67353
- if (parent.kind === 226 /* BinaryExpression */ && parent.operatorToken.kind === 64 /* EqualsToken */) {
67353
+ if (isAssignmentExpression(parent)) {
67354
67354
  const target = parent.left;
67355
67355
  if (isAccessExpression(target)) {
67356
67356
  const { expression } = target;
package/lib/tsserver.js CHANGED
@@ -2328,7 +2328,7 @@ module.exports = __toCommonJS(server_exports);
2328
2328
 
2329
2329
  // src/compiler/corePublic.ts
2330
2330
  var versionMajorMinor = "5.3";
2331
- var version = `${versionMajorMinor}.0-insiders.20231016`;
2331
+ var version = `${versionMajorMinor}.0-insiders.20231017`;
2332
2332
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2333
2333
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2334
2334
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -17745,9 +17745,9 @@ function ownsJSDocTag(hostNode, tag) {
17745
17745
  }
17746
17746
  function getNextJSDocCommentLocation(node) {
17747
17747
  const parent2 = node.parent;
17748
- if (parent2.kind === 303 /* PropertyAssignment */ || parent2.kind === 277 /* ExportAssignment */ || parent2.kind === 172 /* PropertyDeclaration */ || parent2.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent2.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent2) || isBinaryExpression(node) && node.operatorToken.kind === 64 /* EqualsToken */) {
17748
+ if (parent2.kind === 303 /* PropertyAssignment */ || parent2.kind === 277 /* ExportAssignment */ || parent2.kind === 172 /* PropertyDeclaration */ || parent2.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent2.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent2) || isAssignmentExpression(node)) {
17749
17749
  return parent2;
17750
- } else if (parent2.parent && (getSingleVariableOfVariableStatement(parent2.parent) === node || isBinaryExpression(parent2) && parent2.operatorToken.kind === 64 /* EqualsToken */)) {
17750
+ } else if (parent2.parent && (getSingleVariableOfVariableStatement(parent2.parent) === node || isAssignmentExpression(parent2))) {
17751
17751
  return parent2.parent;
17752
17752
  } else if (parent2.parent && parent2.parent.parent && (getSingleVariableOfVariableStatement(parent2.parent.parent) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(parent2.parent.parent) === node || getSourceOfDefaultedAssignment(parent2.parent.parent))) {
17753
17753
  return parent2.parent.parent;
@@ -39247,7 +39247,7 @@ var commandOptionsWithoutBuild = [
39247
39247
  affectsBuildInfo: true,
39248
39248
  affectsDeclarationPath: true,
39249
39249
  isFilePath: false,
39250
- // This is intentionally broken to support compatability with existing tsconfig files
39250
+ // This is intentionally broken to support compatibility with existing tsconfig files
39251
39251
  // for correct behaviour, please use outFile
39252
39252
  category: Diagnostics.Backwards_Compatibility,
39253
39253
  paramType: Diagnostics.FILE,
@@ -65811,13 +65811,13 @@ function createTypeChecker(host) {
65811
65811
  if (recursionFlags & 1 /* Source */) {
65812
65812
  sourceStack[sourceDepth] = source2;
65813
65813
  sourceDepth++;
65814
- if (!(expandingFlags & 1 /* Source */) && isDeeplyNestedType(source2, sourceStack, sourceDepth))
65814
+ if (!(expandingFlags & 1 /* Source */) && isDeeplyNestedType(source2, sourceStack, sourceDepth, 5))
65815
65815
  expandingFlags |= 1 /* Source */;
65816
65816
  }
65817
65817
  if (recursionFlags & 2 /* Target */) {
65818
65818
  targetStack[targetDepth] = target2;
65819
65819
  targetDepth++;
65820
- if (!(expandingFlags & 2 /* Target */) && isDeeplyNestedType(target2, targetStack, targetDepth))
65820
+ if (!(expandingFlags & 2 /* Target */) && isDeeplyNestedType(target2, targetStack, targetDepth, 5))
65821
65821
  expandingFlags |= 2 /* Target */;
65822
65822
  }
65823
65823
  let originalHandler;
@@ -67436,7 +67436,7 @@ function createTypeChecker(host) {
67436
67436
  function isClassDerivedFromDeclaringClasses(checkClass, prop, writing) {
67437
67437
  return forEachProperty2(prop, (p) => getDeclarationModifierFlagsFromSymbol(p, writing) & 16 /* Protected */ ? !hasBaseType(checkClass, getDeclaringClass(p)) : false) ? void 0 : checkClass;
67438
67438
  }
67439
- function isDeeplyNestedType(type, stack, depth, maxDepth = 3) {
67439
+ function isDeeplyNestedType(type, stack, depth, maxDepth) {
67440
67440
  if (depth >= maxDepth) {
67441
67441
  if (type.flags & 2097152 /* Intersection */) {
67442
67442
  return some(type.types, (t) => isDeeplyNestedType(t, stack, depth, maxDepth));
@@ -72062,7 +72062,7 @@ function createTypeChecker(host) {
72062
72062
  return getWidenedType(contextualType ? getNonNullableType(contextualType) : checkExpressionCached(containingLiteral));
72063
72063
  }
72064
72064
  const parent2 = walkUpParenthesizedExpressions(func.parent);
72065
- if (parent2.kind === 226 /* BinaryExpression */ && parent2.operatorToken.kind === 64 /* EqualsToken */) {
72065
+ if (isAssignmentExpression(parent2)) {
72066
72066
  const target = parent2.left;
72067
72067
  if (isAccessExpression(target)) {
72068
72068
  const { expression } = target;
package/lib/typescript.js CHANGED
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.3";
38
- version = `${versionMajorMinor}.0-insiders.20231016`;
38
+ version = `${versionMajorMinor}.0-insiders.20231017`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -15128,9 +15128,9 @@ ${lanes.join("\n")}
15128
15128
  }
15129
15129
  function getNextJSDocCommentLocation(node) {
15130
15130
  const parent2 = node.parent;
15131
- if (parent2.kind === 303 /* PropertyAssignment */ || parent2.kind === 277 /* ExportAssignment */ || parent2.kind === 172 /* PropertyDeclaration */ || parent2.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent2.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent2) || isBinaryExpression(node) && node.operatorToken.kind === 64 /* EqualsToken */) {
15131
+ if (parent2.kind === 303 /* PropertyAssignment */ || parent2.kind === 277 /* ExportAssignment */ || parent2.kind === 172 /* PropertyDeclaration */ || parent2.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent2.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent2) || isAssignmentExpression(node)) {
15132
15132
  return parent2;
15133
- } else if (parent2.parent && (getSingleVariableOfVariableStatement(parent2.parent) === node || isBinaryExpression(parent2) && parent2.operatorToken.kind === 64 /* EqualsToken */)) {
15133
+ } else if (parent2.parent && (getSingleVariableOfVariableStatement(parent2.parent) === node || isAssignmentExpression(parent2))) {
15134
15134
  return parent2.parent;
15135
15135
  } else if (parent2.parent && parent2.parent.parent && (getSingleVariableOfVariableStatement(parent2.parent.parent) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(parent2.parent.parent) === node || getSourceOfDefaultedAssignment(parent2.parent.parent))) {
15136
15136
  return parent2.parent.parent;
@@ -38730,7 +38730,7 @@ ${lanes.join("\n")}
38730
38730
  affectsBuildInfo: true,
38731
38731
  affectsDeclarationPath: true,
38732
38732
  isFilePath: false,
38733
- // This is intentionally broken to support compatability with existing tsconfig files
38733
+ // This is intentionally broken to support compatibility with existing tsconfig files
38734
38734
  // for correct behaviour, please use outFile
38735
38735
  category: Diagnostics.Backwards_Compatibility,
38736
38736
  paramType: Diagnostics.FILE,
@@ -63578,13 +63578,13 @@ ${lanes.join("\n")}
63578
63578
  if (recursionFlags & 1 /* Source */) {
63579
63579
  sourceStack[sourceDepth] = source2;
63580
63580
  sourceDepth++;
63581
- if (!(expandingFlags & 1 /* Source */) && isDeeplyNestedType(source2, sourceStack, sourceDepth))
63581
+ if (!(expandingFlags & 1 /* Source */) && isDeeplyNestedType(source2, sourceStack, sourceDepth, 5))
63582
63582
  expandingFlags |= 1 /* Source */;
63583
63583
  }
63584
63584
  if (recursionFlags & 2 /* Target */) {
63585
63585
  targetStack[targetDepth] = target2;
63586
63586
  targetDepth++;
63587
- if (!(expandingFlags & 2 /* Target */) && isDeeplyNestedType(target2, targetStack, targetDepth))
63587
+ if (!(expandingFlags & 2 /* Target */) && isDeeplyNestedType(target2, targetStack, targetDepth, 5))
63588
63588
  expandingFlags |= 2 /* Target */;
63589
63589
  }
63590
63590
  let originalHandler;
@@ -65203,7 +65203,7 @@ ${lanes.join("\n")}
65203
65203
  function isClassDerivedFromDeclaringClasses(checkClass, prop, writing) {
65204
65204
  return forEachProperty2(prop, (p) => getDeclarationModifierFlagsFromSymbol(p, writing) & 16 /* Protected */ ? !hasBaseType(checkClass, getDeclaringClass(p)) : false) ? void 0 : checkClass;
65205
65205
  }
65206
- function isDeeplyNestedType(type, stack, depth, maxDepth = 3) {
65206
+ function isDeeplyNestedType(type, stack, depth, maxDepth) {
65207
65207
  if (depth >= maxDepth) {
65208
65208
  if (type.flags & 2097152 /* Intersection */) {
65209
65209
  return some(type.types, (t) => isDeeplyNestedType(t, stack, depth, maxDepth));
@@ -69829,7 +69829,7 @@ ${lanes.join("\n")}
69829
69829
  return getWidenedType(contextualType ? getNonNullableType(contextualType) : checkExpressionCached(containingLiteral));
69830
69830
  }
69831
69831
  const parent2 = walkUpParenthesizedExpressions(func.parent);
69832
- if (parent2.kind === 226 /* BinaryExpression */ && parent2.operatorToken.kind === 64 /* EqualsToken */) {
69832
+ if (isAssignmentExpression(parent2)) {
69833
69833
  const target = parent2.left;
69834
69834
  if (isAccessExpression(target)) {
69835
69835
  const { expression } = target;
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.3";
57
- var version = `${versionMajorMinor}.0-insiders.20231016`;
57
+ var version = `${versionMajorMinor}.0-insiders.20231017`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -10593,9 +10593,9 @@ function ownsJSDocTag(hostNode, tag) {
10593
10593
  }
10594
10594
  function getNextJSDocCommentLocation(node) {
10595
10595
  const parent = node.parent;
10596
- if (parent.kind === 303 /* PropertyAssignment */ || parent.kind === 277 /* ExportAssignment */ || parent.kind === 172 /* PropertyDeclaration */ || parent.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent) || isBinaryExpression(node) && node.operatorToken.kind === 64 /* EqualsToken */) {
10596
+ if (parent.kind === 303 /* PropertyAssignment */ || parent.kind === 277 /* ExportAssignment */ || parent.kind === 172 /* PropertyDeclaration */ || parent.kind === 244 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent.kind === 253 /* ReturnStatement */ || getNestedModuleDeclaration(parent) || isAssignmentExpression(node)) {
10597
10597
  return parent;
10598
- } else if (parent.parent && (getSingleVariableOfVariableStatement(parent.parent) === node || isBinaryExpression(parent) && parent.operatorToken.kind === 64 /* EqualsToken */)) {
10598
+ } else if (parent.parent && (getSingleVariableOfVariableStatement(parent.parent) === node || isAssignmentExpression(parent))) {
10599
10599
  return parent.parent;
10600
10600
  } else if (parent.parent && parent.parent.parent && (getSingleVariableOfVariableStatement(parent.parent.parent) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(parent.parent.parent) === node || getSourceOfDefaultedAssignment(parent.parent.parent))) {
10601
10601
  return parent.parent.parent;
@@ -26652,7 +26652,7 @@ var commandOptionsWithoutBuild = [
26652
26652
  affectsBuildInfo: true,
26653
26653
  affectsDeclarationPath: true,
26654
26654
  isFilePath: false,
26655
- // This is intentionally broken to support compatability with existing tsconfig files
26655
+ // This is intentionally broken to support compatibility with existing tsconfig files
26656
26656
  // for correct behaviour, please use outFile
26657
26657
  category: Diagnostics.Backwards_Compatibility,
26658
26658
  paramType: Diagnostics.FILE,
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.3.0-pr-56122-13",
5
+ "version": "5.3.0-pr-56140-8",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -115,5 +115,5 @@
115
115
  "node": "20.1.0",
116
116
  "npm": "8.19.4"
117
117
  },
118
- "gitHead": "defd225d9968cdbec1354f759020bedbf129c2d8"
118
+ "gitHead": "d733d4564db3eaab91f3d0f37b66f160dd8746b2"
119
119
  }