@typescript-deploys/pr-build 5.3.0-pr-55887-9 → 5.3.0-pr-55887-24

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.20230927`;
21
+ var version = `${versionMajorMinor}.0-insiders.20230928`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -15861,6 +15861,9 @@ function accessKind(node) {
15861
15861
  return node === parent.objectAssignmentInitializer ? 0 /* Read */ : accessKind(parent.parent);
15862
15862
  case 209 /* ArrayLiteralExpression */:
15863
15863
  return accessKind(parent);
15864
+ case 249 /* ForInStatement */:
15865
+ case 250 /* ForOfStatement */:
15866
+ return node === parent.initializer ? 1 /* Write */ : 0 /* Read */;
15864
15867
  default:
15865
15868
  return 0 /* Read */;
15866
15869
  }
@@ -16009,7 +16012,6 @@ function Symbol4(flags, name) {
16009
16012
  this.exportSymbol = void 0;
16010
16013
  this.constEnumOnlyModule = void 0;
16011
16014
  this.isReferenced = void 0;
16012
- this.isInitialized = void 0;
16013
16015
  this.isAssigned = void 0;
16014
16016
  this.links = void 0;
16015
16017
  }
@@ -44972,7 +44974,7 @@ function createTypeChecker(host) {
44972
44974
  result.isReferenced |= meaning;
44973
44975
  }
44974
44976
  if (isWritten && result) {
44975
- result.isInitialized = true;
44977
+ result.isAssigned = true;
44976
44978
  }
44977
44979
  if (!result) {
44978
44980
  if (lastLocation) {
@@ -77164,7 +77166,7 @@ function createTypeChecker(host) {
77164
77166
  }
77165
77167
  function checkUninitializedLocals(nodeWithLocals) {
77166
77168
  nodeWithLocals.locals.forEach((local) => {
77167
- if (!(local.flags & 3 /* Variable */) || local.isInitialized || !local.isReferenced) {
77169
+ if (!(local.flags & 3 /* Variable */) || local.isAssigned || !local.isReferenced) {
77168
77170
  return;
77169
77171
  }
77170
77172
  const declaration = local.valueDeclaration;
package/lib/tsserver.js CHANGED
@@ -2330,7 +2330,7 @@ module.exports = __toCommonJS(server_exports);
2330
2330
 
2331
2331
  // src/compiler/corePublic.ts
2332
2332
  var versionMajorMinor = "5.3";
2333
- var version = `${versionMajorMinor}.0-insiders.20230927`;
2333
+ var version = `${versionMajorMinor}.0-insiders.20230928`;
2334
2334
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2335
2335
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2336
2336
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -19921,6 +19921,9 @@ function accessKind(node) {
19921
19921
  return node === parent2.objectAssignmentInitializer ? 0 /* Read */ : accessKind(parent2.parent);
19922
19922
  case 209 /* ArrayLiteralExpression */:
19923
19923
  return accessKind(parent2);
19924
+ case 249 /* ForInStatement */:
19925
+ case 250 /* ForOfStatement */:
19926
+ return node === parent2.initializer ? 1 /* Write */ : 0 /* Read */;
19924
19927
  default:
19925
19928
  return 0 /* Read */;
19926
19929
  }
@@ -20131,7 +20134,6 @@ function Symbol4(flags, name) {
20131
20134
  this.exportSymbol = void 0;
20132
20135
  this.constEnumOnlyModule = void 0;
20133
20136
  this.isReferenced = void 0;
20134
- this.isInitialized = void 0;
20135
20137
  this.isAssigned = void 0;
20136
20138
  this.links = void 0;
20137
20139
  }
@@ -49686,7 +49688,7 @@ function createTypeChecker(host) {
49686
49688
  result.isReferenced |= meaning;
49687
49689
  }
49688
49690
  if (isWritten && result) {
49689
- result.isInitialized = true;
49691
+ result.isAssigned = true;
49690
49692
  }
49691
49693
  if (!result) {
49692
49694
  if (lastLocation) {
@@ -81878,7 +81880,7 @@ function createTypeChecker(host) {
81878
81880
  }
81879
81881
  function checkUninitializedLocals(nodeWithLocals) {
81880
81882
  nodeWithLocals.locals.forEach((local) => {
81881
- if (!(local.flags & 3 /* Variable */) || local.isInitialized || !local.isReferenced) {
81883
+ if (!(local.flags & 3 /* Variable */) || local.isAssigned || !local.isReferenced) {
81882
81884
  return;
81883
81885
  }
81884
81886
  const declaration = local.valueDeclaration;
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.20230927`;
38
+ version = `${versionMajorMinor}.0-insiders.20230928`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -17220,6 +17220,9 @@ ${lanes.join("\n")}
17220
17220
  return node === parent2.objectAssignmentInitializer ? 0 /* Read */ : accessKind(parent2.parent);
17221
17221
  case 209 /* ArrayLiteralExpression */:
17222
17222
  return accessKind(parent2);
17223
+ case 249 /* ForInStatement */:
17224
+ case 250 /* ForOfStatement */:
17225
+ return node === parent2.initializer ? 1 /* Write */ : 0 /* Read */;
17223
17226
  default:
17224
17227
  return 0 /* Read */;
17225
17228
  }
@@ -17430,7 +17433,6 @@ ${lanes.join("\n")}
17430
17433
  this.exportSymbol = void 0;
17431
17434
  this.constEnumOnlyModule = void 0;
17432
17435
  this.isReferenced = void 0;
17433
- this.isInitialized = void 0;
17434
17436
  this.isAssigned = void 0;
17435
17437
  this.links = void 0;
17436
17438
  }
@@ -47450,7 +47452,7 @@ ${lanes.join("\n")}
47450
47452
  result.isReferenced |= meaning;
47451
47453
  }
47452
47454
  if (isWritten && result) {
47453
- result.isInitialized = true;
47455
+ result.isAssigned = true;
47454
47456
  }
47455
47457
  if (!result) {
47456
47458
  if (lastLocation) {
@@ -79642,7 +79644,7 @@ ${lanes.join("\n")}
79642
79644
  }
79643
79645
  function checkUninitializedLocals(nodeWithLocals) {
79644
79646
  nodeWithLocals.locals.forEach((local) => {
79645
- if (!(local.flags & 3 /* Variable */) || local.isInitialized || !local.isReferenced) {
79647
+ if (!(local.flags & 3 /* Variable */) || local.isAssigned || !local.isReferenced) {
79646
79648
  return;
79647
79649
  }
79648
79650
  const declaration = local.valueDeclaration;
@@ -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.20230927`;
57
+ var version = `${versionMajorMinor}.0-insiders.20230928`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -11086,7 +11086,6 @@ function Symbol4(flags, name) {
11086
11086
  this.exportSymbol = void 0;
11087
11087
  this.constEnumOnlyModule = void 0;
11088
11088
  this.isReferenced = void 0;
11089
- this.isInitialized = void 0;
11090
11089
  this.isAssigned = void 0;
11091
11090
  this.links = void 0;
11092
11091
  }
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-55887-9",
5
+ "version": "5.3.0-pr-55887-24",
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": "a63ed79d6f43c9a22d93a76489fc39352535410c"
117
+ "gitHead": "d03f3e11d626eae148c40a29328c7a1ad0350a2d"
118
118
  }