@typescript-deploys/pr-build 5.3.0-pr-52972-6 → 5.3.0-pr-55820-7

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.
@@ -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.20230920`;
57
+ var version = `${versionMajorMinor}.0-insiders.20230921`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -7066,7 +7066,7 @@ var Diagnostics = {
7066
7066
  Could_not_convert_to_arrow_function: diag(95151, 3 /* Message */, "Could_not_convert_to_arrow_function_95151", "Could not convert to arrow function"),
7067
7067
  Could_not_convert_to_named_function: diag(95152, 3 /* Message */, "Could_not_convert_to_named_function_95152", "Could not convert to named function"),
7068
7068
  Could_not_convert_to_anonymous_function: diag(95153, 3 /* Message */, "Could_not_convert_to_anonymous_function_95153", "Could not convert to anonymous function"),
7069
- Can_only_convert_string_concatenation: diag(95154, 3 /* Message */, "Can_only_convert_string_concatenation_95154", "Can only convert string concatenation"),
7069
+ Can_only_convert_string_concatenations_and_string_literals: diag(95154, 3 /* Message */, "Can_only_convert_string_concatenations_and_string_literals_95154", "Can only convert string concatenations and string literals"),
7070
7070
  Selection_is_not_a_valid_statement_or_statements: diag(95155, 3 /* Message */, "Selection_is_not_a_valid_statement_or_statements_95155", "Selection is not a valid statement or statements"),
7071
7071
  Add_missing_function_declaration_0: diag(95156, 3 /* Message */, "Add_missing_function_declaration_0_95156", "Add missing function declaration '{0}'"),
7072
7072
  Add_all_missing_function_declarations: diag(95157, 3 /* Message */, "Add_all_missing_function_declarations_95157", "Add all missing function declarations"),
@@ -15692,7 +15692,6 @@ function createNodeFactory(flags, baseFactory2) {
15692
15692
  node.imports = void 0;
15693
15693
  node.moduleAugmentations = void 0;
15694
15694
  node.ambientModuleNames = void 0;
15695
- node.resolvedModules = void 0;
15696
15695
  node.classifiableNames = void 0;
15697
15696
  node.impliedNodeFormat = void 0;
15698
15697
  return node;
@@ -25913,6 +25912,7 @@ var moduleOptionDeclaration = {
25913
25912
  node16: 100 /* Node16 */,
25914
25913
  nodenext: 199 /* NodeNext */
25915
25914
  })),
25915
+ affectsSourceFile: true,
25916
25916
  affectsModuleResolution: true,
25917
25917
  affectsEmit: true,
25918
25918
  affectsBuildInfo: true,
@@ -26349,6 +26349,7 @@ var commandOptionsWithoutBuild = [
26349
26349
  bundler: 100 /* Bundler */
26350
26350
  })),
26351
26351
  deprecatedKeys: /* @__PURE__ */ new Set(["node"]),
26352
+ affectsSourceFile: true,
26352
26353
  affectsModuleResolution: true,
26353
26354
  paramType: Diagnostics.STRATEGY,
26354
26355
  category: Diagnostics.Modules,
@@ -26891,6 +26892,7 @@ var commandOptionsWithoutBuild = [
26891
26892
  legacy: 1 /* Legacy */,
26892
26893
  force: 3 /* Force */
26893
26894
  })),
26895
+ affectsSourceFile: true,
26894
26896
  affectsModuleResolution: true,
26895
26897
  description: Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
26896
26898
  category: Diagnostics.Language_and_Environment,
@@ -26910,7 +26912,7 @@ var semanticDiagnosticsOptionDeclarations = optionDeclarations.filter((option) =
26910
26912
  var affectsEmitOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsEmit);
26911
26913
  var affectsDeclarationPathOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsDeclarationPath);
26912
26914
  var moduleResolutionOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsModuleResolution);
26913
- var sourceFileAffectingCompilerOptions = optionDeclarations.filter((option) => !!option.affectsSourceFile || !!option.affectsModuleResolution || !!option.affectsBindDiagnostics);
26915
+ var sourceFileAffectingCompilerOptions = optionDeclarations.filter((option) => !!option.affectsSourceFile || !!option.affectsBindDiagnostics);
26914
26916
  var optionsAffectingProgramStructure = optionDeclarations.filter((option) => !!option.affectsProgramStructure);
26915
26917
  var transpileOptionValueCompilerOptions = optionDeclarations.filter((option) => hasProperty(option, "transpileOptionValue"));
26916
26918
  var optionsForBuild = [
@@ -30932,6 +30934,7 @@ var BuilderState;
30932
30934
  return toPath(program.getProjectReferenceRedirect(fileName) || fileName, sourceFileDirectory, getCanonicalFileName);
30933
30935
  }
30934
30936
  function getReferencedFiles(program, sourceFile, getCanonicalFileName) {
30937
+ var _a;
30935
30938
  let referencedFiles;
30936
30939
  if (sourceFile.imports && sourceFile.imports.length > 0) {
30937
30940
  const checker = program.getTypeChecker();
@@ -30947,8 +30950,9 @@ var BuilderState;
30947
30950
  addReferencedFile(referencedPath);
30948
30951
  }
30949
30952
  }
30950
- if (sourceFile.resolvedTypeReferenceDirectiveNames) {
30951
- sourceFile.resolvedTypeReferenceDirectiveNames.forEach(({ resolvedTypeReferenceDirective }) => {
30953
+ const resolvedTypeReferenceDirectiveNames = (_a = program.resolvedTypeReferenceDirectiveNames) == null ? void 0 : _a.get(sourceFile.path);
30954
+ if (resolvedTypeReferenceDirectiveNames) {
30955
+ resolvedTypeReferenceDirectiveNames.forEach(({ resolvedTypeReferenceDirective }) => {
30952
30956
  if (!resolvedTypeReferenceDirective) {
30953
30957
  return;
30954
30958
  }
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-52972-6",
5
+ "version": "5.3.0-pr-55820-7",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -114,5 +114,5 @@
114
114
  "node": "20.1.0",
115
115
  "npm": "8.19.4"
116
116
  },
117
- "gitHead": "3be6be6c3b7f564f8a49926c47ce91e7db814b91"
117
+ "gitHead": "3c5d0fb3ca241b1105130651afe63bb6522f9aab"
118
118
  }