typescript 5.7.0-dev.20240822 → 5.7.0-dev.20240823

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.7";
21
- var version = `${versionMajorMinor}.0-dev.20240822`;
21
+ var version = `${versionMajorMinor}.0-dev.20240823`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
package/lib/typescript.js CHANGED
@@ -2265,7 +2265,7 @@ module.exports = __toCommonJS(typescript_exports);
2265
2265
 
2266
2266
  // src/compiler/corePublic.ts
2267
2267
  var versionMajorMinor = "5.7";
2268
- var version = `${versionMajorMinor}.0-dev.20240822`;
2268
+ var version = `${versionMajorMinor}.0-dev.20240823`;
2269
2269
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2270
2270
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2271
2271
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -49162,7 +49162,7 @@ function getModuleSpecifiersWithCacheInfo(moduleSymbol, checker, compilerOptions
49162
49162
  cache == null ? void 0 : cache.set(importingSourceFile.path, moduleSourceFile.path, userPreferences, options, result.kind, modulePaths, result.moduleSpecifiers);
49163
49163
  return result;
49164
49164
  }
49165
- function getLocalModuleSpecifierBetweenFileNames(importingFile, targetFileName, compilerOptions, host, options = {}) {
49165
+ function getLocalModuleSpecifierBetweenFileNames(importingFile, targetFileName, compilerOptions, host, preferences, options = {}) {
49166
49166
  const info = getInfo(importingFile.fileName, host);
49167
49167
  const importMode = options.overrideImportMode ?? importingFile.impliedNodeFormat;
49168
49168
  return getLocalModuleSpecifier(
@@ -49171,7 +49171,7 @@ function getLocalModuleSpecifierBetweenFileNames(importingFile, targetFileName,
49171
49171
  compilerOptions,
49172
49172
  host,
49173
49173
  importMode,
49174
- getModuleSpecifierPreferences({}, host, compilerOptions, importingFile)
49174
+ getModuleSpecifierPreferences(preferences, host, compilerOptions, importingFile)
49175
49175
  );
49176
49176
  }
49177
49177
  function computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFile, host, userPreferences, options = {}, forAutoImport) {
@@ -155390,7 +155390,8 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre
155390
155390
  sourceFile,
155391
155391
  exportingFileName,
155392
155392
  compilerOptions,
155393
- createModuleSpecifierResolutionHost(program, host)
155393
+ createModuleSpecifierResolutionHost(program, host),
155394
+ preferences
155394
155395
  );
155395
155396
  const importKind = getImportKind(futureExportingSourceFile, exportKind, program);
155396
155397
  const addAsTypeOnly = getAddAsTypeOnly(
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.7.0-dev.20240822",
5
+ "version": "5.7.0-dev.20240823",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -117,5 +117,5 @@
117
117
  "node": "20.1.0",
118
118
  "npm": "8.19.4"
119
119
  },
120
- "gitHead": "a5eec2485f8798ece493c00fce1cde4d8f8a8147"
120
+ "gitHead": "3abe069fd209bad595fdde6db00d03c5c5c1fa90"
121
121
  }