@typescript-deploys/pr-build 5.2.0-pr-55177-9 → 5.2.0-pr-55267-5

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.2";
21
- var version = `${versionMajorMinor}.0-insiders.20230803`;
21
+ var version = `${versionMajorMinor}.0-insiders.20230804`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -67312,7 +67312,7 @@ function createTypeChecker(host) {
67312
67312
  } else if (t.flags & 3670016 /* StructuredType */) {
67313
67313
  const prop = getPropertyOfType(t, name);
67314
67314
  if (prop) {
67315
- return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop && prop.flags & 16777216 /* Optional */));
67315
+ return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);
67316
67316
  }
67317
67317
  if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) {
67318
67318
  const restType = getElementTypeOfSliceOfTupleType(
@@ -67397,7 +67397,7 @@ function createTypeChecker(host) {
67397
67397
  (t) => {
67398
67398
  if (isTupleType(t)) {
67399
67399
  if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) {
67400
- return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */));
67400
+ return getTypeArguments(t)[index];
67401
67401
  }
67402
67402
  const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0;
67403
67403
  const fixedEndLength = offset > 0 && t.target.hasRestElement ? getEndElementCount(t.target, 3 /* Fixed */) : 0;
package/lib/tsserver.js CHANGED
@@ -2331,7 +2331,7 @@ module.exports = __toCommonJS(server_exports);
2331
2331
 
2332
2332
  // src/compiler/corePublic.ts
2333
2333
  var versionMajorMinor = "5.2";
2334
- var version = `${versionMajorMinor}.0-insiders.20230803`;
2334
+ var version = `${versionMajorMinor}.0-insiders.20230804`;
2335
2335
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2336
2336
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2337
2337
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -72023,7 +72023,7 @@ function createTypeChecker(host) {
72023
72023
  } else if (t.flags & 3670016 /* StructuredType */) {
72024
72024
  const prop = getPropertyOfType(t, name);
72025
72025
  if (prop) {
72026
- return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop && prop.flags & 16777216 /* Optional */));
72026
+ return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);
72027
72027
  }
72028
72028
  if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) {
72029
72029
  const restType = getElementTypeOfSliceOfTupleType(
@@ -72108,7 +72108,7 @@ function createTypeChecker(host) {
72108
72108
  (t) => {
72109
72109
  if (isTupleType(t)) {
72110
72110
  if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) {
72111
- return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */));
72111
+ return getTypeArguments(t)[index];
72112
72112
  }
72113
72113
  const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0;
72114
72114
  const fixedEndLength = offset > 0 && t.target.hasRestElement ? getEndElementCount(t.target, 3 /* Fixed */) : 0;
@@ -160491,6 +160491,11 @@ function tryGetObjectTypeDeclarationCompletionContainer(sourceFile, contextToken
160491
160491
  return cls;
160492
160492
  }
160493
160493
  break;
160494
+ case 81 /* PrivateIdentifier */:
160495
+ if (tryCast(location.parent, isPropertyDeclaration)) {
160496
+ return findAncestor(location, isClassLike);
160497
+ }
160498
+ break;
160494
160499
  case 80 /* Identifier */: {
160495
160500
  const originalKeywordKind = identifierToKeywordKind(location);
160496
160501
  if (originalKeywordKind) {
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.2";
38
- version = `${versionMajorMinor}.0-insiders.20230803`;
38
+ version = `${versionMajorMinor}.0-insiders.20230804`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -69786,7 +69786,7 @@ ${lanes.join("\n")}
69786
69786
  } else if (t.flags & 3670016 /* StructuredType */) {
69787
69787
  const prop = getPropertyOfType(t, name);
69788
69788
  if (prop) {
69789
- return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop && prop.flags & 16777216 /* Optional */));
69789
+ return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);
69790
69790
  }
69791
69791
  if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) {
69792
69792
  const restType = getElementTypeOfSliceOfTupleType(
@@ -69871,7 +69871,7 @@ ${lanes.join("\n")}
69871
69871
  (t) => {
69872
69872
  if (isTupleType(t)) {
69873
69873
  if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) {
69874
- return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */));
69874
+ return getTypeArguments(t)[index];
69875
69875
  }
69876
69876
  const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0;
69877
69877
  const fixedEndLength = offset > 0 && t.target.hasRestElement ? getEndElementCount(t.target, 3 /* Fixed */) : 0;
@@ -159697,6 +159697,11 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
159697
159697
  return cls;
159698
159698
  }
159699
159699
  break;
159700
+ case 81 /* PrivateIdentifier */:
159701
+ if (tryCast(location.parent, isPropertyDeclaration)) {
159702
+ return findAncestor(location, isClassLike);
159703
+ }
159704
+ break;
159700
159705
  case 80 /* Identifier */: {
159701
159706
  const originalKeywordKind = identifierToKeywordKind(location);
159702
159707
  if (originalKeywordKind) {
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.2";
38
- version = `${versionMajorMinor}.0-insiders.20230803`;
38
+ version = `${versionMajorMinor}.0-insiders.20230804`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -69786,7 +69786,7 @@ ${lanes.join("\n")}
69786
69786
  } else if (t.flags & 3670016 /* StructuredType */) {
69787
69787
  const prop = getPropertyOfType(t, name);
69788
69788
  if (prop) {
69789
- return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop && prop.flags & 16777216 /* Optional */));
69789
+ return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);
69790
69790
  }
69791
69791
  if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) {
69792
69792
  const restType = getElementTypeOfSliceOfTupleType(
@@ -69871,7 +69871,7 @@ ${lanes.join("\n")}
69871
69871
  (t) => {
69872
69872
  if (isTupleType(t)) {
69873
69873
  if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) {
69874
- return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */));
69874
+ return getTypeArguments(t)[index];
69875
69875
  }
69876
69876
  const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0;
69877
69877
  const fixedEndLength = offset > 0 && t.target.hasRestElement ? getEndElementCount(t.target, 3 /* Fixed */) : 0;
@@ -159712,6 +159712,11 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
159712
159712
  return cls;
159713
159713
  }
159714
159714
  break;
159715
+ case 81 /* PrivateIdentifier */:
159716
+ if (tryCast(location.parent, isPropertyDeclaration)) {
159717
+ return findAncestor(location, isClassLike);
159718
+ }
159719
+ break;
159715
159720
  case 80 /* Identifier */: {
159716
159721
  const originalKeywordKind = identifierToKeywordKind(location);
159717
159722
  if (originalKeywordKind) {
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.2";
57
- var version = `${versionMajorMinor}.0-insiders.20230803`;
57
+ var version = `${versionMajorMinor}.0-insiders.20230804`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
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.2.0-pr-55177-9",
5
+ "version": "5.2.0-pr-55267-5",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -114,5 +114,5 @@
114
114
  "node": "20.1.0",
115
115
  "npm": "8.19.4"
116
116
  },
117
- "gitHead": "237c15be509dbf10c4a9c6b2d7495acad4736031"
117
+ "gitHead": "288736dde18d1be30115fe9996c222aa98eaf2ac"
118
118
  }