@typescript-deploys/pr-build 5.3.0-pr-55567-2 → 5.3.0-pr-55576-6

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.20230829`;
21
+ var version = `${versionMajorMinor}.0-insiders.20230830`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -4836,7 +4836,7 @@ var sys = (() => {
4836
4836
  let activeSession;
4837
4837
  let profilePath = "./profile.cpuprofile";
4838
4838
  const Buffer = require("buffer").Buffer;
4839
- const isWindows = process.platform === "win32";
4839
+ const isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
4840
4840
  const platform = _os.platform();
4841
4841
  const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive();
4842
4842
  const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
@@ -4860,7 +4860,7 @@ var sys = (() => {
4860
4860
  tscWatchFile: process.env.TSC_WATCHFILE,
4861
4861
  useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
4862
4862
  tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
4863
- inodeWatching: !isWindows,
4863
+ inodeWatching: isLinuxOrMacOs,
4864
4864
  sysLog
4865
4865
  });
4866
4866
  const nodeSystem = {
@@ -54433,7 +54433,8 @@ function createTypeChecker(host) {
54433
54433
  const writeType = getWriteTypeOfSymbol(prop);
54434
54434
  if (writeTypes || writeType !== type) {
54435
54435
  writeTypes = append(!writeTypes ? propTypes.slice() : writeTypes, writeType);
54436
- } else if (type !== firstType) {
54436
+ }
54437
+ if (type !== firstType) {
54437
54438
  checkFlags |= 64 /* HasNonUniformType */;
54438
54439
  }
54439
54440
  if (isLiteralType(type) || isPatternLiteralType(type)) {
@@ -58443,7 +58444,12 @@ function createTypeChecker(host) {
58443
58444
  function instantiateSymbol(symbol, mapper) {
58444
58445
  const links = getSymbolLinks(symbol);
58445
58446
  if (links.type && !couldContainTypeVariables(links.type)) {
58446
- return symbol;
58447
+ if (!(symbol.flags & 65536 /* SetAccessor */)) {
58448
+ return symbol;
58449
+ }
58450
+ if (links.writeType && !couldContainTypeVariables(links.writeType)) {
58451
+ return symbol;
58452
+ }
58447
58453
  }
58448
58454
  if (getCheckFlags(symbol) & 1 /* Instantiated */) {
58449
58455
  symbol = links.target;
package/lib/tsserver.js CHANGED
@@ -2327,7 +2327,7 @@ module.exports = __toCommonJS(server_exports);
2327
2327
 
2328
2328
  // src/compiler/corePublic.ts
2329
2329
  var versionMajorMinor = "5.3";
2330
- var version = `${versionMajorMinor}.0-insiders.20230829`;
2330
+ var version = `${versionMajorMinor}.0-insiders.20230830`;
2331
2331
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2332
2332
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2333
2333
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -8343,7 +8343,7 @@ var sys = (() => {
8343
8343
  let activeSession;
8344
8344
  let profilePath = "./profile.cpuprofile";
8345
8345
  const Buffer2 = require("buffer").Buffer;
8346
- const isWindows = process.platform === "win32";
8346
+ const isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
8347
8347
  const platform = _os.platform();
8348
8348
  const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive();
8349
8349
  const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
@@ -8367,7 +8367,7 @@ var sys = (() => {
8367
8367
  tscWatchFile: process.env.TSC_WATCHFILE,
8368
8368
  useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
8369
8369
  tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
8370
- inodeWatching: !isWindows,
8370
+ inodeWatching: isLinuxOrMacOs,
8371
8371
  sysLog
8372
8372
  });
8373
8373
  const nodeSystem = {
@@ -59135,7 +59135,8 @@ function createTypeChecker(host) {
59135
59135
  const writeType = getWriteTypeOfSymbol(prop);
59136
59136
  if (writeTypes || writeType !== type) {
59137
59137
  writeTypes = append(!writeTypes ? propTypes.slice() : writeTypes, writeType);
59138
- } else if (type !== firstType) {
59138
+ }
59139
+ if (type !== firstType) {
59139
59140
  checkFlags |= 64 /* HasNonUniformType */;
59140
59141
  }
59141
59142
  if (isLiteralType(type) || isPatternLiteralType(type)) {
@@ -63145,7 +63146,12 @@ function createTypeChecker(host) {
63145
63146
  function instantiateSymbol(symbol, mapper) {
63146
63147
  const links = getSymbolLinks(symbol);
63147
63148
  if (links.type && !couldContainTypeVariables(links.type)) {
63148
- return symbol;
63149
+ if (!(symbol.flags & 65536 /* SetAccessor */)) {
63150
+ return symbol;
63151
+ }
63152
+ if (links.writeType && !couldContainTypeVariables(links.writeType)) {
63153
+ return symbol;
63154
+ }
63149
63155
  }
63150
63156
  if (getCheckFlags(symbol) & 1 /* Instantiated */) {
63151
63157
  symbol = links.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.20230829`;
38
+ version = `${versionMajorMinor}.0-insiders.20230830`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -6115,7 +6115,7 @@ ${lanes.join("\n")}
6115
6115
  let activeSession;
6116
6116
  let profilePath = "./profile.cpuprofile";
6117
6117
  const Buffer2 = require("buffer").Buffer;
6118
- const isWindows = process.platform === "win32";
6118
+ const isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
6119
6119
  const platform = _os.platform();
6120
6120
  const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive();
6121
6121
  const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
@@ -6139,7 +6139,7 @@ ${lanes.join("\n")}
6139
6139
  tscWatchFile: process.env.TSC_WATCHFILE,
6140
6140
  useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
6141
6141
  tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
6142
- inodeWatching: !isWindows,
6142
+ inodeWatching: isLinuxOrMacOs,
6143
6143
  sysLog
6144
6144
  });
6145
6145
  const nodeSystem = {
@@ -56902,7 +56902,8 @@ ${lanes.join("\n")}
56902
56902
  const writeType = getWriteTypeOfSymbol(prop);
56903
56903
  if (writeTypes || writeType !== type) {
56904
56904
  writeTypes = append(!writeTypes ? propTypes.slice() : writeTypes, writeType);
56905
- } else if (type !== firstType) {
56905
+ }
56906
+ if (type !== firstType) {
56906
56907
  checkFlags |= 64 /* HasNonUniformType */;
56907
56908
  }
56908
56909
  if (isLiteralType(type) || isPatternLiteralType(type)) {
@@ -60912,7 +60913,12 @@ ${lanes.join("\n")}
60912
60913
  function instantiateSymbol(symbol, mapper) {
60913
60914
  const links = getSymbolLinks(symbol);
60914
60915
  if (links.type && !couldContainTypeVariables(links.type)) {
60915
- return symbol;
60916
+ if (!(symbol.flags & 65536 /* SetAccessor */)) {
60917
+ return symbol;
60918
+ }
60919
+ if (links.writeType && !couldContainTypeVariables(links.writeType)) {
60920
+ return symbol;
60921
+ }
60916
60922
  }
60917
60923
  if (getCheckFlags(symbol) & 1 /* Instantiated */) {
60918
60924
  symbol = links.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.20230829`;
57
+ var version = `${versionMajorMinor}.0-insiders.20230830`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -4249,7 +4249,7 @@ var sys = (() => {
4249
4249
  let activeSession;
4250
4250
  let profilePath = "./profile.cpuprofile";
4251
4251
  const Buffer2 = require("buffer").Buffer;
4252
- const isWindows = process.platform === "win32";
4252
+ const isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
4253
4253
  const platform = _os.platform();
4254
4254
  const useCaseSensitiveFileNames2 = isFileSystemCaseSensitive();
4255
4255
  const fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
@@ -4273,7 +4273,7 @@ var sys = (() => {
4273
4273
  tscWatchFile: process.env.TSC_WATCHFILE,
4274
4274
  useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
4275
4275
  tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
4276
- inodeWatching: !isWindows,
4276
+ inodeWatching: isLinuxOrMacOs,
4277
4277
  sysLog
4278
4278
  });
4279
4279
  const nodeSystem = {
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-55567-2",
5
+ "version": "5.3.0-pr-55576-6",
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": "22c7ae66dab2403efef749840a44618256af0ef2"
116
+ "gitHead": "63c7bf6393a1108c97f30e82152b0d15d56661de"
117
117
  }