typescript 5.0.0-dev.20230126 → 5.0.0-dev.20230127

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.20230126`;
26
+ var version = `${versionMajorMinor}.0-dev.20230127`;
27
27
 
28
28
  // src/compiler/core.ts
29
29
  var emptyArray = [];
@@ -7270,6 +7270,7 @@ var Diagnostics = {
7270
7270
  Use_the_package_json_imports_field_when_resolving_imports: diag(6409, 3 /* Message */, "Use_the_package_json_imports_field_when_resolving_imports_6409", "Use the package.json 'imports' field when resolving imports."),
7271
7271
  Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports: diag(6410, 3 /* Message */, "Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410", "Conditions to set in addition to the resolver-specific defaults when resolving imports."),
7272
7272
  true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false: diag(6411, 3 /* Message */, "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411", "`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),
7273
+ Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more: diag(6412, 3 /* Message */, "Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412", "Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),
7273
7274
  The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1: diag(6500, 3 /* Message */, "The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500", "The expected type comes from property '{0}' which is declared here on type '{1}'"),
7274
7275
  The_expected_type_comes_from_this_index_signature: diag(6501, 3 /* Message */, "The_expected_type_comes_from_this_index_signature_6501", "The expected type comes from this index signature."),
7275
7276
  The_expected_type_comes_from_the_return_type_of_this_signature: diag(6502, 3 /* Message */, "The_expected_type_comes_from_the_return_type_of_this_signature_6502", "The expected type comes from the return type of this signature."),
@@ -15904,6 +15905,22 @@ function getAllowSyntheticDefaultImports(compilerOptions) {
15904
15905
  function moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution) {
15905
15906
  return moduleResolution >= 3 /* Node16 */ && moduleResolution <= 99 /* NodeNext */ || moduleResolution === 100 /* Bundler */;
15906
15907
  }
15908
+ function getResolvePackageJsonExports(compilerOptions) {
15909
+ const moduleResolution = getEmitModuleResolutionKind(compilerOptions);
15910
+ if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) {
15911
+ return false;
15912
+ }
15913
+ if (compilerOptions.resolvePackageJsonExports !== void 0) {
15914
+ return compilerOptions.resolvePackageJsonExports;
15915
+ }
15916
+ switch (moduleResolution) {
15917
+ case 3 /* Node16 */:
15918
+ case 99 /* NodeNext */:
15919
+ case 100 /* Bundler */:
15920
+ return true;
15921
+ }
15922
+ return false;
15923
+ }
15907
15924
  function getResolveJsonModule(compilerOptions) {
15908
15925
  if (compilerOptions.resolveJsonModule !== void 0) {
15909
15926
  return compilerOptions.resolveJsonModule;
@@ -33745,7 +33762,7 @@ var commandOptionsWithoutBuild = [
33745
33762
  {
33746
33763
  name: "allowArbitraryExtensions",
33747
33764
  type: "boolean",
33748
- affectsModuleResolution: true,
33765
+ affectsProgramStructure: true,
33749
33766
  category: Diagnostics.Modules,
33750
33767
  description: Diagnostics.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,
33751
33768
  defaultValueDescription: false
@@ -41810,8 +41827,8 @@ function tryGetModuleNameAsNodeModule({ path, isRedirect }, { getCanonicalFileNa
41810
41827
  if (typeof cachedPackageJson === "object" || cachedPackageJson === void 0 && host.fileExists(packageJsonPath)) {
41811
41828
  const packageJsonContent = (cachedPackageJson == null ? void 0 : cachedPackageJson.contents.packageJsonContent) || JSON.parse(host.readFile(packageJsonPath));
41812
41829
  const importMode = overrideMode || importingSourceFile.impliedNodeFormat;
41813
- if (getEmitModuleResolutionKind(options) === 3 /* Node16 */ || getEmitModuleResolutionKind(options) === 99 /* NodeNext */) {
41814
- const conditions = ["node", importMode === 99 /* ESNext */ ? "import" : "require", "types"];
41830
+ if (getResolvePackageJsonExports(options)) {
41831
+ const conditions = getConditions(options, importMode === 99 /* ESNext */);
41815
41832
  const fromExports = packageJsonContent.exports && typeof packageJsonContent.name === "string" ? tryGetModuleNameFromExports(options, path, packageRootPath, getPackageNameFromTypesPackageName(packageJsonContent.name), packageJsonContent.exports, conditions) : void 0;
41816
41833
  if (fromExports) {
41817
41834
  const withJsExtension = !hasTSFileExtension(fromExports.moduleFileToTry) ? fromExports : { moduleFileToTry: removeFileExtension(fromExports.moduleFileToTry) + tryGetJSExtensionForFile(fromExports.moduleFileToTry, options) };
@@ -106286,10 +106303,10 @@ function emitUsingBuildInfoWorker(config, host, getCommandLine, customTransforme
106286
106303
  );
106287
106304
  return outputFiles;
106288
106305
  }
106289
- var createPrinterWithDefaults = memoize(() => createPrinter({}));
106290
- var createPrinterWithRemoveComments = memoize(() => createPrinter({ removeComments: true }));
106291
- var createPrinterWithRemoveCommentsNeverAsciiEscape = memoize(() => createPrinter({ removeComments: true, neverAsciiEscape: true }));
106292
- var createPrinterWithRemoveCommentsOmitTrailingSemicolon = memoize(() => createPrinter({ removeComments: true, omitTrailingSemicolon: true }));
106306
+ var createPrinterWithDefaults = /* @__PURE__ */ memoize(() => createPrinter({}));
106307
+ var createPrinterWithRemoveComments = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true }));
106308
+ var createPrinterWithRemoveCommentsNeverAsciiEscape = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true, neverAsciiEscape: true }));
106309
+ var createPrinterWithRemoveCommentsOmitTrailingSemicolon = /* @__PURE__ */ memoize(() => createPrinter({ removeComments: true, omitTrailingSemicolon: true }));
106293
106310
  function createPrinter(printerOptions = {}, handlers = {}) {
106294
106311
  const {
106295
106312
  hasGlobalName,
@@ -116233,14 +116250,17 @@ function getBuildInfo2(state, bundle) {
116233
116250
  const latestChangedDtsFile = state.latestChangedDtsFile ? relativeToBuildInfoEnsuringAbsolutePath(state.latestChangedDtsFile) : void 0;
116234
116251
  const fileNames = [];
116235
116252
  const fileNameToFileId = /* @__PURE__ */ new Map();
116253
+ const root = [];
116236
116254
  if (outFile(state.compilerOptions)) {
116237
116255
  const fileInfos2 = arrayFrom(state.fileInfos.entries(), ([key, value]) => {
116238
- toFileId(key);
116256
+ const fileId = toFileId(key);
116257
+ tryAddRoot(key, fileId);
116239
116258
  return value.impliedFormat ? { version: value.version, impliedFormat: value.impliedFormat, signature: void 0, affectsGlobalScope: void 0 } : value.version;
116240
116259
  });
116241
116260
  const program2 = {
116242
116261
  fileNames,
116243
116262
  fileInfos: fileInfos2,
116263
+ root,
116244
116264
  options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions),
116245
116265
  outSignature: state.outSignature,
116246
116266
  latestChangedDtsFile,
@@ -116268,6 +116288,7 @@ function getBuildInfo2(state, bundle) {
116268
116288
  const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]) => {
116269
116289
  var _a3, _b2;
116270
116290
  const fileId = toFileId(key);
116291
+ tryAddRoot(key, fileId);
116271
116292
  Debug.assert(fileNames[fileId - 1] === relativeToBuildInfo(key));
116272
116293
  const oldSignature = (_a3 = state.oldSignatures) == null ? void 0 : _a3.get(key);
116273
116294
  const actualSignature = oldSignature !== void 0 ? oldSignature || void 0 : value.signature;
@@ -116367,6 +116388,7 @@ function getBuildInfo2(state, bundle) {
116367
116388
  const program = {
116368
116389
  fileNames,
116369
116390
  fileInfos,
116391
+ root,
116370
116392
  options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions),
116371
116393
  fileIdsList,
116372
116394
  referencedMap,
@@ -116402,6 +116424,24 @@ function getBuildInfo2(state, bundle) {
116402
116424
  }
116403
116425
  return fileIdListId;
116404
116426
  }
116427
+ function tryAddRoot(path, fileId) {
116428
+ const file = state.program.getSourceFile(path);
116429
+ if (!state.program.getFileIncludeReasons().get(file.path).some((r) => r.kind === 0 /* RootFile */))
116430
+ return;
116431
+ if (!root.length)
116432
+ return root.push(fileId);
116433
+ const last2 = root[root.length - 1];
116434
+ const isLastStartEnd = isArray(last2);
116435
+ if (isLastStartEnd && last2[1] === fileId - 1)
116436
+ return last2[1] = fileId;
116437
+ if (isLastStartEnd || root.length === 1 || last2 !== fileId - 1)
116438
+ return root.push(fileId);
116439
+ const lastButOne = root[root.length - 2];
116440
+ if (!isNumber(lastButOne) || lastButOne !== last2 - 1)
116441
+ return root.push(fileId);
116442
+ root[root.length - 2] = [lastButOne, fileId];
116443
+ return root.length = root.length - 1;
116444
+ }
116405
116445
  function convertToProgramBuildInfoCompilerOptions(options) {
116406
116446
  let result;
116407
116447
  const { optionsNameMap } = getOptionsNameMap();
@@ -116909,12 +116949,28 @@ function getBuildInfoFileVersionMap(program, buildInfoPath, host) {
116909
116949
  const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));
116910
116950
  const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());
116911
116951
  const fileInfos = /* @__PURE__ */ new Map();
116952
+ let rootIndex = 0;
116953
+ const roots = [];
116912
116954
  program.fileInfos.forEach((fileInfo, index) => {
116913
116955
  const path = toPath(program.fileNames[index], buildInfoDirectory, getCanonicalFileName);
116914
116956
  const version2 = isString(fileInfo) ? fileInfo : fileInfo.version;
116915
116957
  fileInfos.set(path, version2);
116958
+ if (rootIndex < program.root.length) {
116959
+ const current = program.root[rootIndex];
116960
+ const fileId = index + 1;
116961
+ if (isArray(current)) {
116962
+ if (current[0] <= fileId && fileId <= current[1]) {
116963
+ roots.push(path);
116964
+ if (current[1] === fileId)
116965
+ rootIndex++;
116966
+ }
116967
+ } else if (current === fileId) {
116968
+ roots.push(path);
116969
+ rootIndex++;
116970
+ }
116971
+ }
116916
116972
  });
116917
- return fileInfos;
116973
+ return { fileInfos, roots };
116918
116974
  }
116919
116975
  function createRedirectedBuilderProgram(getState, configFileParsingDiagnostics) {
116920
116976
  return {
@@ -120026,7 +120082,7 @@ function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {
120026
120082
  }
120027
120083
  continue;
120028
120084
  }
120029
- if (status.type === 2 /* UpToDateWithUpstreamTypes */ || status.type === 14 /* UpToDateWithInputFileText */) {
120085
+ if (status.type === 2 /* UpToDateWithUpstreamTypes */ || status.type === 15 /* UpToDateWithInputFileText */) {
120030
120086
  reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));
120031
120087
  return {
120032
120088
  kind: 2 /* UpdateOutputFileStamps */,
@@ -120038,7 +120094,7 @@ function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {
120038
120094
  };
120039
120095
  }
120040
120096
  }
120041
- if (status.type === 11 /* UpstreamBlocked */) {
120097
+ if (status.type === 12 /* UpstreamBlocked */) {
120042
120098
  verboseReportProjectStatus(state, project, status);
120043
120099
  reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));
120044
120100
  projectPendingBuild.delete(projectPath);
@@ -120052,7 +120108,7 @@ function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {
120052
120108
  }
120053
120109
  continue;
120054
120110
  }
120055
- if (status.type === 15 /* ContainerOnly */) {
120111
+ if (status.type === 16 /* ContainerOnly */) {
120056
120112
  verboseReportProjectStatus(state, project, status);
120057
120113
  reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));
120058
120114
  projectPendingBuild.delete(projectPath);
@@ -120239,31 +120295,31 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
120239
120295
  var _a2, _b;
120240
120296
  if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) {
120241
120297
  return {
120242
- type: 15 /* ContainerOnly */
120298
+ type: 16 /* ContainerOnly */
120243
120299
  };
120244
120300
  }
120245
120301
  let referenceStatuses;
120246
120302
  const force = !!state.options.force;
120247
120303
  if (project.projectReferences) {
120248
- state.projectStatus.set(resolvedPath, { type: 12 /* ComputingUpstream */ });
120304
+ state.projectStatus.set(resolvedPath, { type: 13 /* ComputingUpstream */ });
120249
120305
  for (const ref of project.projectReferences) {
120250
120306
  const resolvedRef = resolveProjectReferencePath(ref);
120251
120307
  const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef);
120252
120308
  const resolvedConfig = parseConfigFile(state, resolvedRef, resolvedRefPath);
120253
120309
  const refStatus = getUpToDateStatus(state, resolvedConfig, resolvedRefPath);
120254
- if (refStatus.type === 12 /* ComputingUpstream */ || refStatus.type === 15 /* ContainerOnly */) {
120310
+ if (refStatus.type === 13 /* ComputingUpstream */ || refStatus.type === 16 /* ContainerOnly */) {
120255
120311
  continue;
120256
120312
  }
120257
- if (refStatus.type === 0 /* Unbuildable */ || refStatus.type === 11 /* UpstreamBlocked */) {
120313
+ if (refStatus.type === 0 /* Unbuildable */ || refStatus.type === 12 /* UpstreamBlocked */) {
120258
120314
  return {
120259
- type: 11 /* UpstreamBlocked */,
120315
+ type: 12 /* UpstreamBlocked */,
120260
120316
  upstreamProjectName: ref.path,
120261
- upstreamProjectBlocked: refStatus.type === 11 /* UpstreamBlocked */
120317
+ upstreamProjectBlocked: refStatus.type === 12 /* UpstreamBlocked */
120262
120318
  };
120263
120319
  }
120264
120320
  if (refStatus.type !== 1 /* UpToDate */) {
120265
120321
  return {
120266
- type: 10 /* UpstreamOutOfDate */,
120322
+ type: 11 /* UpstreamOutOfDate */,
120267
120323
  upstreamProjectName: ref.path
120268
120324
  };
120269
120325
  }
@@ -120272,7 +120328,7 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
120272
120328
  }
120273
120329
  }
120274
120330
  if (force)
120275
- return { type: 16 /* ForceBuild */ };
120331
+ return { type: 17 /* ForceBuild */ };
120276
120332
  const { host } = state;
120277
120333
  const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options);
120278
120334
  let oldestOutputFileName;
@@ -120305,7 +120361,7 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
120305
120361
  }
120306
120362
  if ((buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) {
120307
120363
  return {
120308
- type: 13 /* TsVersionOutputOfDate */,
120364
+ type: 14 /* TsVersionOutputOfDate */,
120309
120365
  version: buildInfo.version
120310
120366
  };
120311
120367
  }
@@ -120330,6 +120386,7 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
120330
120386
  let newestInputFileName = void 0;
120331
120387
  let newestInputFileTime = minimumDate;
120332
120388
  let pseudoInputUpToDate = false;
120389
+ const seenRoots = /* @__PURE__ */ new Set();
120333
120390
  for (const inputFile of project.fileNames) {
120334
120391
  const inputTime = getModifiedTime2(state, inputFile);
120335
120392
  if (inputTime === missingFileModifiedTime) {
@@ -120344,7 +120401,7 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
120344
120401
  if (buildInfoProgram) {
120345
120402
  if (!buildInfoVersionMap)
120346
120403
  buildInfoVersionMap = getBuildInfoFileVersionMap(buildInfoProgram, buildInfoPath, host);
120347
- version2 = buildInfoVersionMap.get(toPath2(state, inputFile));
120404
+ version2 = buildInfoVersionMap.fileInfos.get(toPath2(state, inputFile));
120348
120405
  const text = version2 ? state.readFileWithCache(inputFile) : void 0;
120349
120406
  currentVersion = text !== void 0 ? getSourceFileVersionAsHashFromText(host, text) : void 0;
120350
120407
  if (version2 && version2 === currentVersion)
@@ -120362,6 +120419,21 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
120362
120419
  newestInputFileName = inputFile;
120363
120420
  newestInputFileTime = inputTime;
120364
120421
  }
120422
+ if (buildInfoProgram)
120423
+ seenRoots.add(toPath2(state, inputFile));
120424
+ }
120425
+ if (buildInfoProgram) {
120426
+ if (!buildInfoVersionMap)
120427
+ buildInfoVersionMap = getBuildInfoFileVersionMap(buildInfoProgram, buildInfoPath, host);
120428
+ for (const existingRoot of buildInfoVersionMap.roots) {
120429
+ if (!seenRoots.has(existingRoot)) {
120430
+ return {
120431
+ type: 10 /* OutOfDateRoots */,
120432
+ buildInfoFile: buildInfoPath,
120433
+ inputFile: existingRoot
120434
+ };
120435
+ }
120436
+ }
120365
120437
  }
120366
120438
  if (!buildInfoPath) {
120367
120439
  const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames());
@@ -120443,7 +120515,7 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
120443
120515
  };
120444
120516
  }
120445
120517
  return {
120446
- type: pseudoUpToDate ? 2 /* UpToDateWithUpstreamTypes */ : pseudoInputUpToDate ? 14 /* UpToDateWithInputFileText */ : 1 /* UpToDate */,
120518
+ type: pseudoUpToDate ? 2 /* UpToDateWithUpstreamTypes */ : pseudoInputUpToDate ? 15 /* UpToDateWithInputFileText */ : 1 /* UpToDate */,
120447
120519
  newestInputFileTime,
120448
120520
  newestInputFileName,
120449
120521
  oldestOutputFileName
@@ -120562,7 +120634,7 @@ function queueReferencingProjects(state, project, projectPath, projectIndex, con
120562
120634
  }
120563
120635
  break;
120564
120636
  }
120565
- case 14 /* UpToDateWithInputFileText */:
120637
+ case 15 /* UpToDateWithInputFileText */:
120566
120638
  case 2 /* UpToDateWithUpstreamTypes */:
120567
120639
  case 3 /* OutOfDateWithPrepend */:
120568
120640
  if (!(buildResult & 2 /* DeclarationOutputUnchanged */)) {
@@ -120573,7 +120645,7 @@ function queueReferencingProjects(state, project, projectPath, projectIndex, con
120573
120645
  });
120574
120646
  }
120575
120647
  break;
120576
- case 11 /* UpstreamBlocked */:
120648
+ case 12 /* UpstreamBlocked */:
120577
120649
  if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) {
120578
120650
  clearProjectStatus(state, nextProjectPath);
120579
120651
  }
@@ -121024,6 +121096,14 @@ function reportUpToDateStatus(state, configFileName, status) {
121024
121096
  relName(state, configFileName),
121025
121097
  relName(state, status.buildInfoFile)
121026
121098
  );
121099
+ case 10 /* OutOfDateRoots */:
121100
+ return reportStatus(
121101
+ state,
121102
+ Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,
121103
+ relName(state, configFileName),
121104
+ relName(state, status.buildInfoFile),
121105
+ relName(state, status.inputFile)
121106
+ );
121027
121107
  case 1 /* UpToDate */:
121028
121108
  if (status.newestInputFileTime !== void 0) {
121029
121109
  return reportStatus(
@@ -121048,20 +121128,20 @@ function reportUpToDateStatus(state, configFileName, status) {
121048
121128
  Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,
121049
121129
  relName(state, configFileName)
121050
121130
  );
121051
- case 14 /* UpToDateWithInputFileText */:
121131
+ case 15 /* UpToDateWithInputFileText */:
121052
121132
  return reportStatus(
121053
121133
  state,
121054
121134
  Diagnostics.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,
121055
121135
  relName(state, configFileName)
121056
121136
  );
121057
- case 10 /* UpstreamOutOfDate */:
121137
+ case 11 /* UpstreamOutOfDate */:
121058
121138
  return reportStatus(
121059
121139
  state,
121060
121140
  Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,
121061
121141
  relName(state, configFileName),
121062
121142
  relName(state, status.upstreamProjectName)
121063
121143
  );
121064
- case 11 /* UpstreamBlocked */:
121144
+ case 12 /* UpstreamBlocked */:
121065
121145
  return reportStatus(
121066
121146
  state,
121067
121147
  status.upstreamProjectBlocked ? Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built : Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,
@@ -121075,7 +121155,7 @@ function reportUpToDateStatus(state, configFileName, status) {
121075
121155
  relName(state, configFileName),
121076
121156
  status.reason
121077
121157
  );
121078
- case 13 /* TsVersionOutputOfDate */:
121158
+ case 14 /* TsVersionOutputOfDate */:
121079
121159
  return reportStatus(
121080
121160
  state,
121081
121161
  Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,
@@ -121083,14 +121163,14 @@ function reportUpToDateStatus(state, configFileName, status) {
121083
121163
  status.version,
121084
121164
  version
121085
121165
  );
121086
- case 16 /* ForceBuild */:
121166
+ case 17 /* ForceBuild */:
121087
121167
  return reportStatus(
121088
121168
  state,
121089
121169
  Diagnostics.Project_0_is_being_forcibly_rebuilt,
121090
121170
  relName(state, configFileName)
121091
121171
  );
121092
- case 15 /* ContainerOnly */:
121093
- case 12 /* ComputingUpstream */:
121172
+ case 16 /* ContainerOnly */:
121173
+ case 13 /* ComputingUpstream */:
121094
121174
  break;
121095
121175
  default:
121096
121176
  assertType(status);