@typescript-deploys/pr-build 6.0.0-pr-62418-21 → 6.0.0-pr-62554-4
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 +11 -39
- package/lib/lib.dom.d.ts +3 -3
- package/lib/lib.webworker.d.ts +3 -3
- package/lib/typescript.js +11 -42
- package/package.json +1 -1
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 = "6.0";
|
|
21
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
21
|
+
var version = `${versionMajorMinor}.0-insiders.20251007`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -6947,7 +6947,6 @@ var Diagnostics = {
|
|
|
6947
6947
|
The_current_host_does_not_support_the_0_option: diag(5001, 1 /* Error */, "The_current_host_does_not_support_the_0_option_5001", "The current host does not support the '{0}' option."),
|
|
6948
6948
|
Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1 /* Error */, "Cannot_find_the_common_subdirectory_path_for_the_input_files_5009", "Cannot find the common subdirectory path for the input files."),
|
|
6949
6949
|
File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1 /* Error */, "File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010", "File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),
|
|
6950
|
-
The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another_path_to_adjust_your_output_s_file_layout: diag(5011, 1 /* Error */, "The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another__5011", "The common source directory of '{0}' is '{1}'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout."),
|
|
6951
6950
|
Cannot_read_file_0_Colon_1: diag(5012, 1 /* Error */, "Cannot_read_file_0_Colon_1_5012", "Cannot read file '{0}': {1}."),
|
|
6952
6951
|
Unknown_compiler_option_0: diag(5023, 1 /* Error */, "Unknown_compiler_option_0_5023", "Unknown compiler option '{0}'."),
|
|
6953
6952
|
Compiler_option_0_requires_a_value_of_type_1: diag(5024, 1 /* Error */, "Compiler_option_0_requires_a_value_of_type_1_5024", "Compiler option '{0}' requires a value of type {1}."),
|
|
@@ -16601,7 +16600,7 @@ function sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) {
|
|
|
16601
16600
|
if (host.getRedirectFromSourceFile(sourceFile.fileName)) return false;
|
|
16602
16601
|
if (options.outFile) return true;
|
|
16603
16602
|
if (!options.outDir) return false;
|
|
16604
|
-
if (options.rootDir || options.configFilePath) {
|
|
16603
|
+
if (options.rootDir || options.composite && options.configFilePath) {
|
|
16605
16604
|
const commonDir = getNormalizedAbsolutePath(getCommonSourceDirectory(options, () => [], host.getCurrentDirectory(), host.getCanonicalFileName), host.getCurrentDirectory());
|
|
16606
16605
|
const outputPath = getSourceFilePathInNewDirWorker(sourceFile.fileName, options.outDir, host.getCurrentDirectory(), commonDir, host.getCanonicalFileName);
|
|
16607
16606
|
if (comparePaths(sourceFile.fileName, outputPath, host.getCurrentDirectory(), !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */) return false;
|
|
@@ -41739,7 +41738,7 @@ function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirec
|
|
|
41739
41738
|
if (!state.isConfigLookup && (state.compilerOptions.declarationDir || state.compilerOptions.outDir) && !finalPath.includes("/node_modules/") && (state.compilerOptions.configFile ? containsPath(scope.packageDirectory, toAbsolutePath(state.compilerOptions.configFile.fileName), !useCaseSensitiveFileNames(state)) : true)) {
|
|
41740
41739
|
const getCanonicalFileName = hostGetCanonicalFileName({ useCaseSensitiveFileNames: () => useCaseSensitiveFileNames(state) });
|
|
41741
41740
|
const commonSourceDirGuesses = [];
|
|
41742
|
-
if (state.compilerOptions.rootDir || state.compilerOptions.configFilePath) {
|
|
41741
|
+
if (state.compilerOptions.rootDir || state.compilerOptions.composite && state.compilerOptions.configFilePath) {
|
|
41743
41742
|
const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [], ((_b2 = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b2.call(_a2)) || "", getCanonicalFileName));
|
|
41744
41743
|
commonSourceDirGuesses.push(commonDir);
|
|
41745
41744
|
} else if (state.requestContainingDirectory) {
|
|
@@ -72024,7 +72023,11 @@ function createTypeChecker(host) {
|
|
|
72024
72023
|
}
|
|
72025
72024
|
checkIdentifierCalculateNodeCheckFlags(node, symbol);
|
|
72026
72025
|
if (symbol === argumentsSymbol) {
|
|
72027
|
-
if (isInPropertyInitializerOrClassStaticBlock(
|
|
72026
|
+
if (isInPropertyInitializerOrClassStaticBlock(
|
|
72027
|
+
node,
|
|
72028
|
+
/*ignoreArrowFunctions*/
|
|
72029
|
+
true
|
|
72030
|
+
)) {
|
|
72028
72031
|
return errorType;
|
|
72029
72032
|
}
|
|
72030
72033
|
return getTypeOfSymbol(symbol);
|
|
@@ -72637,8 +72640,9 @@ function createTypeChecker(host) {
|
|
|
72637
72640
|
}
|
|
72638
72641
|
}
|
|
72639
72642
|
function getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags) {
|
|
72643
|
+
var _a;
|
|
72640
72644
|
const parentType = isExpression(declaration.parent) && getContextualType(declaration.parent, contextFlags);
|
|
72641
|
-
if (!parentType) return void 0;
|
|
72645
|
+
if (!parentType || ((_a = parentType.symbol) == null ? void 0 : _a.valueDeclaration) === declaration.parent) return void 0;
|
|
72642
72646
|
return getTypeOfPropertyOfContextualType(parentType, getSymbolOfDeclaration(declaration).escapedName);
|
|
72643
72647
|
}
|
|
72644
72648
|
function getContextualTypeForInitializerExpression(node, contextFlags) {
|
|
@@ -116020,7 +116024,7 @@ function getCommonSourceDirectory(options, emittedFiles, currentDirectory, getCa
|
|
|
116020
116024
|
if (options.rootDir) {
|
|
116021
116025
|
commonSourceDirectory = getNormalizedAbsolutePath(options.rootDir, currentDirectory);
|
|
116022
116026
|
checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(options.rootDir);
|
|
116023
|
-
} else if (options.configFilePath) {
|
|
116027
|
+
} else if (options.composite && options.configFilePath) {
|
|
116024
116028
|
commonSourceDirectory = getDirectoryPath(normalizeSlashes(options.configFilePath));
|
|
116025
116029
|
checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(commonSourceDirectory);
|
|
116026
116030
|
} else {
|
|
@@ -116031,13 +116035,6 @@ function getCommonSourceDirectory(options, emittedFiles, currentDirectory, getCa
|
|
|
116031
116035
|
}
|
|
116032
116036
|
return commonSourceDirectory;
|
|
116033
116037
|
}
|
|
116034
|
-
function getComputedCommonSourceDirectory(emittedFiles, currentDirectory, getCanonicalFileName) {
|
|
116035
|
-
let commonSourceDirectory = computeCommonSourceDirectoryOfFilenames(emittedFiles, currentDirectory, getCanonicalFileName);
|
|
116036
|
-
if (commonSourceDirectory && commonSourceDirectory[commonSourceDirectory.length - 1] !== directorySeparator) {
|
|
116037
|
-
commonSourceDirectory += directorySeparator;
|
|
116038
|
-
}
|
|
116039
|
-
return commonSourceDirectory;
|
|
116040
|
-
}
|
|
116041
116038
|
function getCommonSourceDirectoryOfConfig({ options, fileNames }, ignoreCase) {
|
|
116042
116039
|
return getCommonSourceDirectory(
|
|
116043
116040
|
options,
|
|
@@ -124470,31 +124467,6 @@ function createProgram(_rootNamesOrOptions, _options, _host, _oldProgram, _confi
|
|
|
124470
124467
|
createDiagnosticForOptionName(Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files, "outDir");
|
|
124471
124468
|
}
|
|
124472
124469
|
}
|
|
124473
|
-
if (!options.noEmit && !options.composite && !options.rootDir && options.configFilePath && (options.outDir || // there is --outDir specified
|
|
124474
|
-
getEmitDeclarations(options) && options.declarationDir || // there is --declarationDir specified
|
|
124475
|
-
options.outFile)) {
|
|
124476
|
-
const dir = getCommonSourceDirectory2();
|
|
124477
|
-
const emittedFiles = mapDefined(files, (file) => !file.isDeclarationFile && sourceFileMayBeEmitted(file, program) ? file.fileName : void 0);
|
|
124478
|
-
const dir59 = getComputedCommonSourceDirectory(emittedFiles, currentDirectory, getCanonicalFileName);
|
|
124479
|
-
if (dir59 !== "" && getCanonicalFileName(dir) !== getCanonicalFileName(dir59)) {
|
|
124480
|
-
createDiagnosticForOption(
|
|
124481
|
-
/*onKey*/
|
|
124482
|
-
true,
|
|
124483
|
-
options.outFile ? "outFile" : options.outDir ? "outDir" : "declarationDir",
|
|
124484
|
-
!options.outFile && options.outDir ? "declarationDir" : void 0,
|
|
124485
|
-
chainDiagnosticMessages(
|
|
124486
|
-
chainDiagnosticMessages(
|
|
124487
|
-
/*details*/
|
|
124488
|
-
void 0,
|
|
124489
|
-
Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information
|
|
124490
|
-
),
|
|
124491
|
-
Diagnostics.The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another_path_to_adjust_your_output_s_file_layout,
|
|
124492
|
-
getBaseFileName(options.configFilePath),
|
|
124493
|
-
getRelativePathFromFile(options.configFilePath, dir59, getCanonicalFileName)
|
|
124494
|
-
)
|
|
124495
|
-
);
|
|
124496
|
-
}
|
|
124497
|
-
}
|
|
124498
124470
|
if (options.checkJs && !getAllowJSCompilerOption(options)) {
|
|
124499
124471
|
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "checkJs", "allowJs");
|
|
124500
124472
|
}
|
package/lib/lib.dom.d.ts
CHANGED
|
@@ -40755,10 +40755,10 @@ interface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<
|
|
|
40755
40755
|
}
|
|
40756
40756
|
|
|
40757
40757
|
interface FileSystemDirectoryHandle {
|
|
40758
|
-
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string,
|
|
40759
|
-
entries(): FileSystemDirectoryHandleAsyncIterator<[string,
|
|
40758
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemDirectoryHandle | FileSystemFileHandle]>;
|
|
40759
|
+
entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemDirectoryHandle | FileSystemFileHandle]>;
|
|
40760
40760
|
keys(): FileSystemDirectoryHandleAsyncIterator<string>;
|
|
40761
|
-
values(): FileSystemDirectoryHandleAsyncIterator<
|
|
40761
|
+
values(): FileSystemDirectoryHandleAsyncIterator<FileSystemDirectoryHandle | FileSystemFileHandle>;
|
|
40762
40762
|
}
|
|
40763
40763
|
|
|
40764
40764
|
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
package/lib/lib.webworker.d.ts
CHANGED
|
@@ -13752,10 +13752,10 @@ interface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<
|
|
|
13752
13752
|
}
|
|
13753
13753
|
|
|
13754
13754
|
interface FileSystemDirectoryHandle {
|
|
13755
|
-
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string,
|
|
13756
|
-
entries(): FileSystemDirectoryHandleAsyncIterator<[string,
|
|
13755
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemDirectoryHandle | FileSystemFileHandle]>;
|
|
13756
|
+
entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemDirectoryHandle | FileSystemFileHandle]>;
|
|
13757
13757
|
keys(): FileSystemDirectoryHandleAsyncIterator<string>;
|
|
13758
|
-
values(): FileSystemDirectoryHandleAsyncIterator<
|
|
13758
|
+
values(): FileSystemDirectoryHandleAsyncIterator<FileSystemDirectoryHandle | FileSystemFileHandle>;
|
|
13759
13759
|
}
|
|
13760
13760
|
|
|
13761
13761
|
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
package/lib/typescript.js
CHANGED
|
@@ -672,7 +672,6 @@ __export(typescript_exports, {
|
|
|
672
672
|
getCommonSourceDirectory: () => getCommonSourceDirectory,
|
|
673
673
|
getCommonSourceDirectoryOfConfig: () => getCommonSourceDirectoryOfConfig,
|
|
674
674
|
getCompilerOptionValue: () => getCompilerOptionValue,
|
|
675
|
-
getComputedCommonSourceDirectory: () => getComputedCommonSourceDirectory,
|
|
676
675
|
getConditions: () => getConditions,
|
|
677
676
|
getConfigFileParsingDiagnostics: () => getConfigFileParsingDiagnostics,
|
|
678
677
|
getConstantValue: () => getConstantValue,
|
|
@@ -2287,7 +2286,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2287
2286
|
|
|
2288
2287
|
// src/compiler/corePublic.ts
|
|
2289
2288
|
var versionMajorMinor = "6.0";
|
|
2290
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
2289
|
+
var version = `${versionMajorMinor}.0-insiders.20251007`;
|
|
2291
2290
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2292
2291
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2293
2292
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -10335,7 +10334,6 @@ var Diagnostics = {
|
|
|
10335
10334
|
The_current_host_does_not_support_the_0_option: diag(5001, 1 /* Error */, "The_current_host_does_not_support_the_0_option_5001", "The current host does not support the '{0}' option."),
|
|
10336
10335
|
Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1 /* Error */, "Cannot_find_the_common_subdirectory_path_for_the_input_files_5009", "Cannot find the common subdirectory path for the input files."),
|
|
10337
10336
|
File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1 /* Error */, "File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010", "File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),
|
|
10338
|
-
The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another_path_to_adjust_your_output_s_file_layout: diag(5011, 1 /* Error */, "The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another__5011", "The common source directory of '{0}' is '{1}'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout."),
|
|
10339
10337
|
Cannot_read_file_0_Colon_1: diag(5012, 1 /* Error */, "Cannot_read_file_0_Colon_1_5012", "Cannot read file '{0}': {1}."),
|
|
10340
10338
|
Unknown_compiler_option_0: diag(5023, 1 /* Error */, "Unknown_compiler_option_0_5023", "Unknown compiler option '{0}'."),
|
|
10341
10339
|
Compiler_option_0_requires_a_value_of_type_1: diag(5024, 1 /* Error */, "Compiler_option_0_requires_a_value_of_type_1_5024", "Compiler option '{0}' requires a value of type {1}."),
|
|
@@ -20412,7 +20410,7 @@ function sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) {
|
|
|
20412
20410
|
if (host.getRedirectFromSourceFile(sourceFile.fileName)) return false;
|
|
20413
20411
|
if (options.outFile) return true;
|
|
20414
20412
|
if (!options.outDir) return false;
|
|
20415
|
-
if (options.rootDir || options.configFilePath) {
|
|
20413
|
+
if (options.rootDir || options.composite && options.configFilePath) {
|
|
20416
20414
|
const commonDir = getNormalizedAbsolutePath(getCommonSourceDirectory(options, () => [], host.getCurrentDirectory(), host.getCanonicalFileName), host.getCurrentDirectory());
|
|
20417
20415
|
const outputPath = getSourceFilePathInNewDirWorker(sourceFile.fileName, options.outDir, host.getCurrentDirectory(), commonDir, host.getCanonicalFileName);
|
|
20418
20416
|
if (comparePaths(sourceFile.fileName, outputPath, host.getCurrentDirectory(), !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */) return false;
|
|
@@ -46228,7 +46226,7 @@ function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirec
|
|
|
46228
46226
|
if (!state.isConfigLookup && (state.compilerOptions.declarationDir || state.compilerOptions.outDir) && !finalPath.includes("/node_modules/") && (state.compilerOptions.configFile ? containsPath(scope.packageDirectory, toAbsolutePath(state.compilerOptions.configFile.fileName), !useCaseSensitiveFileNames(state)) : true)) {
|
|
46229
46227
|
const getCanonicalFileName = hostGetCanonicalFileName({ useCaseSensitiveFileNames: () => useCaseSensitiveFileNames(state) });
|
|
46230
46228
|
const commonSourceDirGuesses = [];
|
|
46231
|
-
if (state.compilerOptions.rootDir || state.compilerOptions.configFilePath) {
|
|
46229
|
+
if (state.compilerOptions.rootDir || state.compilerOptions.composite && state.compilerOptions.configFilePath) {
|
|
46232
46230
|
const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [], ((_b2 = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b2.call(_a2)) || "", getCanonicalFileName));
|
|
46233
46231
|
commonSourceDirGuesses.push(commonDir);
|
|
46234
46232
|
} else if (state.requestContainingDirectory) {
|
|
@@ -76631,7 +76629,11 @@ function createTypeChecker(host) {
|
|
|
76631
76629
|
}
|
|
76632
76630
|
checkIdentifierCalculateNodeCheckFlags(node, symbol);
|
|
76633
76631
|
if (symbol === argumentsSymbol) {
|
|
76634
|
-
if (isInPropertyInitializerOrClassStaticBlock(
|
|
76632
|
+
if (isInPropertyInitializerOrClassStaticBlock(
|
|
76633
|
+
node,
|
|
76634
|
+
/*ignoreArrowFunctions*/
|
|
76635
|
+
true
|
|
76636
|
+
)) {
|
|
76635
76637
|
return errorType;
|
|
76636
76638
|
}
|
|
76637
76639
|
return getTypeOfSymbol(symbol);
|
|
@@ -77244,8 +77246,9 @@ function createTypeChecker(host) {
|
|
|
77244
77246
|
}
|
|
77245
77247
|
}
|
|
77246
77248
|
function getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags) {
|
|
77249
|
+
var _a;
|
|
77247
77250
|
const parentType = isExpression(declaration.parent) && getContextualType2(declaration.parent, contextFlags);
|
|
77248
|
-
if (!parentType) return void 0;
|
|
77251
|
+
if (!parentType || ((_a = parentType.symbol) == null ? void 0 : _a.valueDeclaration) === declaration.parent) return void 0;
|
|
77249
77252
|
return getTypeOfPropertyOfContextualType(parentType, getSymbolOfDeclaration(declaration).escapedName);
|
|
77250
77253
|
}
|
|
77251
77254
|
function getContextualTypeForInitializerExpression(node, contextFlags) {
|
|
@@ -120809,7 +120812,7 @@ function getCommonSourceDirectory(options, emittedFiles, currentDirectory, getCa
|
|
|
120809
120812
|
if (options.rootDir) {
|
|
120810
120813
|
commonSourceDirectory = getNormalizedAbsolutePath(options.rootDir, currentDirectory);
|
|
120811
120814
|
checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(options.rootDir);
|
|
120812
|
-
} else if (options.configFilePath) {
|
|
120815
|
+
} else if (options.composite && options.configFilePath) {
|
|
120813
120816
|
commonSourceDirectory = getDirectoryPath(normalizeSlashes(options.configFilePath));
|
|
120814
120817
|
checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(commonSourceDirectory);
|
|
120815
120818
|
} else {
|
|
@@ -120820,13 +120823,6 @@ function getCommonSourceDirectory(options, emittedFiles, currentDirectory, getCa
|
|
|
120820
120823
|
}
|
|
120821
120824
|
return commonSourceDirectory;
|
|
120822
120825
|
}
|
|
120823
|
-
function getComputedCommonSourceDirectory(emittedFiles, currentDirectory, getCanonicalFileName) {
|
|
120824
|
-
let commonSourceDirectory = computeCommonSourceDirectoryOfFilenames(emittedFiles, currentDirectory, getCanonicalFileName);
|
|
120825
|
-
if (commonSourceDirectory && commonSourceDirectory[commonSourceDirectory.length - 1] !== directorySeparator) {
|
|
120826
|
-
commonSourceDirectory += directorySeparator;
|
|
120827
|
-
}
|
|
120828
|
-
return commonSourceDirectory;
|
|
120829
|
-
}
|
|
120830
120826
|
function getCommonSourceDirectoryOfConfig({ options, fileNames }, ignoreCase) {
|
|
120831
120827
|
return getCommonSourceDirectory(
|
|
120832
120828
|
options,
|
|
@@ -129316,31 +129312,6 @@ function createProgram(_rootNamesOrOptions, _options, _host, _oldProgram, _confi
|
|
|
129316
129312
|
createDiagnosticForOptionName(Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files, "outDir");
|
|
129317
129313
|
}
|
|
129318
129314
|
}
|
|
129319
|
-
if (!options.noEmit && !options.composite && !options.rootDir && options.configFilePath && (options.outDir || // there is --outDir specified
|
|
129320
|
-
getEmitDeclarations(options) && options.declarationDir || // there is --declarationDir specified
|
|
129321
|
-
options.outFile)) {
|
|
129322
|
-
const dir = getCommonSourceDirectory2();
|
|
129323
|
-
const emittedFiles = mapDefined(files, (file) => !file.isDeclarationFile && sourceFileMayBeEmitted(file, program) ? file.fileName : void 0);
|
|
129324
|
-
const dir59 = getComputedCommonSourceDirectory(emittedFiles, currentDirectory, getCanonicalFileName);
|
|
129325
|
-
if (dir59 !== "" && getCanonicalFileName(dir) !== getCanonicalFileName(dir59)) {
|
|
129326
|
-
createDiagnosticForOption(
|
|
129327
|
-
/*onKey*/
|
|
129328
|
-
true,
|
|
129329
|
-
options.outFile ? "outFile" : options.outDir ? "outDir" : "declarationDir",
|
|
129330
|
-
!options.outFile && options.outDir ? "declarationDir" : void 0,
|
|
129331
|
-
chainDiagnosticMessages(
|
|
129332
|
-
chainDiagnosticMessages(
|
|
129333
|
-
/*details*/
|
|
129334
|
-
void 0,
|
|
129335
|
-
Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information
|
|
129336
|
-
),
|
|
129337
|
-
Diagnostics.The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another_path_to_adjust_your_output_s_file_layout,
|
|
129338
|
-
getBaseFileName(options.configFilePath),
|
|
129339
|
-
getRelativePathFromFile(options.configFilePath, dir59, getCanonicalFileName)
|
|
129340
|
-
)
|
|
129341
|
-
);
|
|
129342
|
-
}
|
|
129343
|
-
}
|
|
129344
129315
|
if (options.checkJs && !getAllowJSCompilerOption(options)) {
|
|
129345
129316
|
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "checkJs", "allowJs");
|
|
129346
129317
|
}
|
|
@@ -184040,7 +184011,6 @@ __export(ts_exports2, {
|
|
|
184040
184011
|
getCommonSourceDirectory: () => getCommonSourceDirectory,
|
|
184041
184012
|
getCommonSourceDirectoryOfConfig: () => getCommonSourceDirectoryOfConfig,
|
|
184042
184013
|
getCompilerOptionValue: () => getCompilerOptionValue,
|
|
184043
|
-
getComputedCommonSourceDirectory: () => getComputedCommonSourceDirectory,
|
|
184044
184014
|
getConditions: () => getConditions,
|
|
184045
184015
|
getConfigFileParsingDiagnostics: () => getConfigFileParsingDiagnostics,
|
|
184046
184016
|
getConstantValue: () => getConstantValue,
|
|
@@ -198803,7 +198773,6 @@ if (typeof console !== "undefined") {
|
|
|
198803
198773
|
getCommonSourceDirectory,
|
|
198804
198774
|
getCommonSourceDirectoryOfConfig,
|
|
198805
198775
|
getCompilerOptionValue,
|
|
198806
|
-
getComputedCommonSourceDirectory,
|
|
198807
198776
|
getConditions,
|
|
198808
198777
|
getConfigFileParsingDiagnostics,
|
|
198809
198778
|
getConstantValue,
|
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": "6.0.0-pr-
|
|
5
|
+
"version": "6.0.0-pr-62554-4",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|