@typescript-deploys/pr-build 5.3.0-pr-55738-2 → 5.3.0-pr-55547-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
@@ -63321,7 +63321,7 @@ function createTypeChecker(host) {
63321
63321
  }
63322
63322
  const name = escapeLeadingUnderscores(t.value);
63323
63323
  const literalProp = createSymbol(4 /* Property */, name);
63324
- literalProp.links.type = anyType;
63324
+ literalProp.links.type = unknownType;
63325
63325
  if (t.symbol) {
63326
63326
  literalProp.declarations = t.symbol.declarations;
63327
63327
  literalProp.valueDeclaration = t.symbol.valueDeclaration;
@@ -120459,22 +120459,19 @@ function removeIgnoredPath(path) {
120459
120459
  function perceivedOsRootLengthForWatching(pathComponents2, length2) {
120460
120460
  if (length2 <= 1)
120461
120461
  return 1;
120462
- let indexAfterOsRoot = 1;
120462
+ let userCheckIndex = 1;
120463
120463
  let isDosStyle = pathComponents2[0].search(/[a-zA-Z]:/) === 0;
120464
120464
  if (pathComponents2[0] !== directorySeparator && !isDosStyle && // Non dos style paths
120465
120465
  pathComponents2[1].search(/[a-zA-Z]\$$/) === 0) {
120466
120466
  if (length2 === 2)
120467
120467
  return 2;
120468
- indexAfterOsRoot = 2;
120468
+ userCheckIndex = 2;
120469
120469
  isDosStyle = true;
120470
120470
  }
120471
- if (isDosStyle && !pathComponents2[indexAfterOsRoot].match(/^users$/i)) {
120472
- return indexAfterOsRoot;
120471
+ if (isDosStyle && !pathComponents2[userCheckIndex].match(/^users$/i)) {
120472
+ return userCheckIndex;
120473
120473
  }
120474
- if (pathComponents2[indexAfterOsRoot].match(/^workspaces$/i)) {
120475
- return indexAfterOsRoot + 1;
120476
- }
120477
- return indexAfterOsRoot + 2;
120474
+ return userCheckIndex + 2;
120478
120475
  }
120479
120476
  function canWatchDirectoryOrFile(pathComponents2, length2) {
120480
120477
  if (length2 === void 0)
package/lib/tsserver.js CHANGED
@@ -68024,7 +68024,7 @@ function createTypeChecker(host) {
68024
68024
  }
68025
68025
  const name = escapeLeadingUnderscores(t.value);
68026
68026
  const literalProp = createSymbol(4 /* Property */, name);
68027
- literalProp.links.type = anyType;
68027
+ literalProp.links.type = unknownType;
68028
68028
  if (t.symbol) {
68029
68029
  literalProp.declarations = t.symbol.declarations;
68030
68030
  literalProp.valueDeclaration = t.symbol.valueDeclaration;
@@ -125430,22 +125430,19 @@ function removeIgnoredPath(path) {
125430
125430
  function perceivedOsRootLengthForWatching(pathComponents2, length2) {
125431
125431
  if (length2 <= 1)
125432
125432
  return 1;
125433
- let indexAfterOsRoot = 1;
125433
+ let userCheckIndex = 1;
125434
125434
  let isDosStyle = pathComponents2[0].search(/[a-zA-Z]:/) === 0;
125435
125435
  if (pathComponents2[0] !== directorySeparator && !isDosStyle && // Non dos style paths
125436
125436
  pathComponents2[1].search(/[a-zA-Z]\$$/) === 0) {
125437
125437
  if (length2 === 2)
125438
125438
  return 2;
125439
- indexAfterOsRoot = 2;
125439
+ userCheckIndex = 2;
125440
125440
  isDosStyle = true;
125441
125441
  }
125442
- if (isDosStyle && !pathComponents2[indexAfterOsRoot].match(/^users$/i)) {
125443
- return indexAfterOsRoot;
125442
+ if (isDosStyle && !pathComponents2[userCheckIndex].match(/^users$/i)) {
125443
+ return userCheckIndex;
125444
125444
  }
125445
- if (pathComponents2[indexAfterOsRoot].match(/^workspaces$/i)) {
125446
- return indexAfterOsRoot + 1;
125447
- }
125448
- return indexAfterOsRoot + 2;
125445
+ return userCheckIndex + 2;
125449
125446
  }
125450
125447
  function canWatchDirectoryOrFile(pathComponents2, length2) {
125451
125448
  if (length2 === void 0)
@@ -136818,7 +136815,14 @@ function addNodeWithRecursiveInitializer(node) {
136818
136815
  }
136819
136816
  }
136820
136817
  function hasNavigationBarName(node) {
136821
- return !hasDynamicName(node) || node.kind !== 226 /* BinaryExpression */ && isPropertyAccessExpression(node.name.expression) && isIdentifier(node.name.expression.expression) && idText(node.name.expression.expression) === "Symbol";
136818
+ const name = getNameOfDeclaration(node);
136819
+ if (name === void 0)
136820
+ return false;
136821
+ if (isComputedPropertyName(name)) {
136822
+ const expression = name.expression;
136823
+ return isEntityNameExpression(expression) || isNumericLiteral(expression) || isStringOrNumericLiteralLike(expression);
136824
+ }
136825
+ return !!name;
136822
136826
  }
136823
136827
  function addChildrenRecursively(node) {
136824
136828
  curCancellationToken.throwIfCancellationRequested();
package/lib/typescript.js CHANGED
@@ -65790,7 +65790,7 @@ ${lanes.join("\n")}
65790
65790
  }
65791
65791
  const name = escapeLeadingUnderscores(t.value);
65792
65792
  const literalProp = createSymbol(4 /* Property */, name);
65793
- literalProp.links.type = anyType;
65793
+ literalProp.links.type = unknownType;
65794
65794
  if (t.symbol) {
65795
65795
  literalProp.declarations = t.symbol.declarations;
65796
65796
  literalProp.valueDeclaration = t.symbol.valueDeclaration;
@@ -123573,22 +123573,19 @@ ${lanes.join("\n")}
123573
123573
  function perceivedOsRootLengthForWatching(pathComponents2, length2) {
123574
123574
  if (length2 <= 1)
123575
123575
  return 1;
123576
- let indexAfterOsRoot = 1;
123576
+ let userCheckIndex = 1;
123577
123577
  let isDosStyle = pathComponents2[0].search(/[a-zA-Z]:/) === 0;
123578
123578
  if (pathComponents2[0] !== directorySeparator && !isDosStyle && // Non dos style paths
123579
123579
  pathComponents2[1].search(/[a-zA-Z]\$$/) === 0) {
123580
123580
  if (length2 === 2)
123581
123581
  return 2;
123582
- indexAfterOsRoot = 2;
123582
+ userCheckIndex = 2;
123583
123583
  isDosStyle = true;
123584
123584
  }
123585
- if (isDosStyle && !pathComponents2[indexAfterOsRoot].match(/^users$/i)) {
123586
- return indexAfterOsRoot;
123585
+ if (isDosStyle && !pathComponents2[userCheckIndex].match(/^users$/i)) {
123586
+ return userCheckIndex;
123587
123587
  }
123588
- if (pathComponents2[indexAfterOsRoot].match(/^workspaces$/i)) {
123589
- return indexAfterOsRoot + 1;
123590
- }
123591
- return indexAfterOsRoot + 2;
123588
+ return userCheckIndex + 2;
123592
123589
  }
123593
123590
  function canWatchDirectoryOrFile(pathComponents2, length2) {
123594
123591
  if (length2 === void 0)
@@ -135193,7 +135190,14 @@ ${lanes.join("\n")}
135193
135190
  }
135194
135191
  }
135195
135192
  function hasNavigationBarName(node) {
135196
- return !hasDynamicName(node) || node.kind !== 226 /* BinaryExpression */ && isPropertyAccessExpression(node.name.expression) && isIdentifier(node.name.expression.expression) && idText(node.name.expression.expression) === "Symbol";
135193
+ const name = getNameOfDeclaration(node);
135194
+ if (name === void 0)
135195
+ return false;
135196
+ if (isComputedPropertyName(name)) {
135197
+ const expression = name.expression;
135198
+ return isEntityNameExpression(expression) || isNumericLiteral(expression) || isStringOrNumericLiteralLike(expression);
135199
+ }
135200
+ return !!name;
135197
135201
  }
135198
135202
  function addChildrenRecursively(node) {
135199
135203
  curCancellationToken.throwIfCancellationRequested();
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-55738-2",
5
+ "version": "5.3.0-pr-55547-8",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -113,5 +113,5 @@
113
113
  "node": "20.1.0",
114
114
  "npm": "8.19.4"
115
115
  },
116
- "gitHead": "c5138a6d823a3d7b9ba0ed6dedb5834864af4d45"
116
+ "gitHead": "8295db7d378e47abebce7c2871f70ec100e7cb84"
117
117
  }