typescript 5.0.0-dev.20221122 → 5.0.0-dev.20221123

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
@@ -23,7 +23,7 @@ var __export = (target, all) => {
23
23
 
24
24
  // src/compiler/corePublic.ts
25
25
  var versionMajorMinor = "5.0";
26
- var version = `${versionMajorMinor}.0-dev.20221122`;
26
+ var version = `${versionMajorMinor}.0-dev.20221123`;
27
27
 
28
28
  // src/compiler/core.ts
29
29
  var emptyArray = [];
package/lib/tsserver.js CHANGED
@@ -2648,7 +2648,7 @@ var ts = (() => {
2648
2648
 
2649
2649
  // src/compiler/corePublic.ts
2650
2650
  var versionMajorMinor = "5.0";
2651
- var version = `${versionMajorMinor}.0-dev.20221122`;
2651
+ var version = `${versionMajorMinor}.0-dev.20221123`;
2652
2652
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2653
2653
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2654
2654
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -111113,7 +111113,7 @@ ${lanes.join("\n")}
111113
111113
  }
111114
111114
  const pathComponents2 = getPathComponents(normalizePath(manifestPath2));
111115
111115
  const isScoped = pathComponents2[pathComponents2.length - 3][0] === "@";
111116
- return isScoped && pathComponents2[pathComponents2.length - 4].toLowerCase() === modulesDirName || !isScoped && pathComponents2[pathComponents2.length - 3].toLowerCase() === modulesDirName;
111116
+ return isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 4]) === modulesDirName || !isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 3]) === modulesDirName;
111117
111117
  });
111118
111118
  if (log)
111119
111119
  log(`Searching for typing names in ${packagesFolderPath}; all files: ${JSON.stringify(dependencyManifestNames)}`);
@@ -111145,7 +111145,7 @@ ${lanes.join("\n")}
111145
111145
  const fromFileNames = mapDefined(fileNames2, (j) => {
111146
111146
  if (!hasJSFileExtension(j))
111147
111147
  return void 0;
111148
- const inferredTypingName = removeFileExtension(getBaseFileName(j.toLowerCase()));
111148
+ const inferredTypingName = removeFileExtension(toFileNameLowerCase(getBaseFileName(j)));
111149
111149
  const cleanedTypingName = removeMinAndVersionNumbers(inferredTypingName);
111150
111150
  return safeList.get(cleanedTypingName);
111151
111151
  });
@@ -122694,7 +122694,7 @@ ${lanes.join("\n")}
122694
122694
  if ("getTypeReferenceDirectiveResolutionsForFile" in this.shimHost) {
122695
122695
  this.resolveTypeReferenceDirectives = (typeDirectiveNames, containingFile) => {
122696
122696
  const typeDirectivesForFile = JSON.parse(this.shimHost.getTypeReferenceDirectiveResolutionsForFile(containingFile));
122697
- return map(typeDirectiveNames, (name) => getProperty(typeDirectivesForFile, isString(name) ? name : name.fileName.toLowerCase()));
122697
+ return map(typeDirectiveNames, (name) => getProperty(typeDirectivesForFile, isString(name) ? name : toFileNameLowerCase(name.fileName)));
122698
122698
  };
122699
122699
  }
122700
122700
  }
@@ -42,7 +42,7 @@ var ts = (() => {
42
42
  "src/compiler/corePublic.ts"() {
43
43
  "use strict";
44
44
  versionMajorMinor = "5.0";
45
- version = `${versionMajorMinor}.0-dev.20221122`;
45
+ version = `${versionMajorMinor}.0-dev.20221123`;
46
46
  Comparison = /* @__PURE__ */ ((Comparison3) => {
47
47
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
48
48
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -108976,7 +108976,7 @@ ${lanes.join("\n")}
108976
108976
  }
108977
108977
  const pathComponents2 = getPathComponents(normalizePath(manifestPath2));
108978
108978
  const isScoped = pathComponents2[pathComponents2.length - 3][0] === "@";
108979
- return isScoped && pathComponents2[pathComponents2.length - 4].toLowerCase() === modulesDirName || !isScoped && pathComponents2[pathComponents2.length - 3].toLowerCase() === modulesDirName;
108979
+ return isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 4]) === modulesDirName || !isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 3]) === modulesDirName;
108980
108980
  });
108981
108981
  if (log)
108982
108982
  log(`Searching for typing names in ${packagesFolderPath}; all files: ${JSON.stringify(dependencyManifestNames)}`);
@@ -109008,7 +109008,7 @@ ${lanes.join("\n")}
109008
109008
  const fromFileNames = mapDefined(fileNames2, (j) => {
109009
109009
  if (!hasJSFileExtension(j))
109010
109010
  return void 0;
109011
- const inferredTypingName = removeFileExtension(getBaseFileName(j.toLowerCase()));
109011
+ const inferredTypingName = removeFileExtension(toFileNameLowerCase(getBaseFileName(j)));
109012
109012
  const cleanedTypingName = removeMinAndVersionNumbers(inferredTypingName);
109013
109013
  return safeList.get(cleanedTypingName);
109014
109014
  });
@@ -118245,7 +118245,7 @@ ${lanes.join("\n")}
118245
118245
  if ("getTypeReferenceDirectiveResolutionsForFile" in this.shimHost) {
118246
118246
  this.resolveTypeReferenceDirectives = (typeDirectiveNames, containingFile) => {
118247
118247
  const typeDirectivesForFile = JSON.parse(this.shimHost.getTypeReferenceDirectiveResolutionsForFile(containingFile));
118248
- return map(typeDirectiveNames, (name) => getProperty(typeDirectivesForFile, isString(name) ? name : name.fileName.toLowerCase()));
118248
+ return map(typeDirectiveNames, (name) => getProperty(typeDirectivesForFile, isString(name) ? name : toFileNameLowerCase(name.fileName)));
118249
118249
  };
118250
118250
  }
118251
118251
  }
package/lib/typescript.js CHANGED
@@ -42,7 +42,7 @@ var ts = (() => {
42
42
  "src/compiler/corePublic.ts"() {
43
43
  "use strict";
44
44
  versionMajorMinor = "5.0";
45
- version = `${versionMajorMinor}.0-dev.20221122`;
45
+ version = `${versionMajorMinor}.0-dev.20221123`;
46
46
  Comparison = /* @__PURE__ */ ((Comparison3) => {
47
47
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
48
48
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -108976,7 +108976,7 @@ ${lanes.join("\n")}
108976
108976
  }
108977
108977
  const pathComponents2 = getPathComponents(normalizePath(manifestPath2));
108978
108978
  const isScoped = pathComponents2[pathComponents2.length - 3][0] === "@";
108979
- return isScoped && pathComponents2[pathComponents2.length - 4].toLowerCase() === modulesDirName || !isScoped && pathComponents2[pathComponents2.length - 3].toLowerCase() === modulesDirName;
108979
+ return isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 4]) === modulesDirName || !isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 3]) === modulesDirName;
108980
108980
  });
108981
108981
  if (log)
108982
108982
  log(`Searching for typing names in ${packagesFolderPath}; all files: ${JSON.stringify(dependencyManifestNames)}`);
@@ -109008,7 +109008,7 @@ ${lanes.join("\n")}
109008
109008
  const fromFileNames = mapDefined(fileNames2, (j) => {
109009
109009
  if (!hasJSFileExtension(j))
109010
109010
  return void 0;
109011
- const inferredTypingName = removeFileExtension(getBaseFileName(j.toLowerCase()));
109011
+ const inferredTypingName = removeFileExtension(toFileNameLowerCase(getBaseFileName(j)));
109012
109012
  const cleanedTypingName = removeMinAndVersionNumbers(inferredTypingName);
109013
109013
  return safeList.get(cleanedTypingName);
109014
109014
  });
@@ -118259,7 +118259,7 @@ ${lanes.join("\n")}
118259
118259
  if ("getTypeReferenceDirectiveResolutionsForFile" in this.shimHost) {
118260
118260
  this.resolveTypeReferenceDirectives = (typeDirectiveNames, containingFile) => {
118261
118261
  const typeDirectivesForFile = JSON.parse(this.shimHost.getTypeReferenceDirectiveResolutionsForFile(containingFile));
118262
- return map(typeDirectiveNames, (name) => getProperty(typeDirectivesForFile, isString(name) ? name : name.fileName.toLowerCase()));
118262
+ return map(typeDirectiveNames, (name) => getProperty(typeDirectivesForFile, isString(name) ? name : toFileNameLowerCase(name.fileName)));
118263
118263
  };
118264
118264
  }
118265
118265
  }
@@ -50,7 +50,7 @@ var path = __toESM(require("path"));
50
50
 
51
51
  // src/compiler/corePublic.ts
52
52
  var versionMajorMinor = "5.0";
53
- var version = `${versionMajorMinor}.0-dev.20221122`;
53
+ var version = `${versionMajorMinor}.0-dev.20221123`;
54
54
 
55
55
  // src/compiler/core.ts
56
56
  var emptyArray = [];
@@ -32200,7 +32200,7 @@ function discoverTypings(host, log2, fileNames, projectRootPath, safeList, packa
32200
32200
  }
32201
32201
  const pathComponents2 = getPathComponents(normalizePath(manifestPath2));
32202
32202
  const isScoped = pathComponents2[pathComponents2.length - 3][0] === "@";
32203
- return isScoped && pathComponents2[pathComponents2.length - 4].toLowerCase() === modulesDirName || !isScoped && pathComponents2[pathComponents2.length - 3].toLowerCase() === modulesDirName;
32203
+ return isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 4]) === modulesDirName || !isScoped && toFileNameLowerCase(pathComponents2[pathComponents2.length - 3]) === modulesDirName;
32204
32204
  });
32205
32205
  if (log2)
32206
32206
  log2(`Searching for typing names in ${packagesFolderPath}; all files: ${JSON.stringify(dependencyManifestNames)}`);
@@ -32232,7 +32232,7 @@ function discoverTypings(host, log2, fileNames, projectRootPath, safeList, packa
32232
32232
  const fromFileNames = mapDefined(fileNames2, (j) => {
32233
32233
  if (!hasJSFileExtension(j))
32234
32234
  return void 0;
32235
- const inferredTypingName = removeFileExtension(getBaseFileName(j.toLowerCase()));
32235
+ const inferredTypingName = removeFileExtension(toFileNameLowerCase(getBaseFileName(j)));
32236
32236
  const cleanedTypingName = removeMinAndVersionNumbers(inferredTypingName);
32237
32237
  return safeList.get(cleanedTypingName);
32238
32238
  });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.0.0-dev.20221122",
5
+ "version": "5.0.0-dev.20221123",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [