@typescript-deploys/pr-build 5.3.0-pr-55924-5 → 5.3.0-pr-55842-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.
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.3";
21
- var version = `${versionMajorMinor}.0-insiders.20230930`;
21
+ var version = `${versionMajorMinor}.0-insiders.20231001`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -6761,7 +6761,6 @@ var Diagnostics = {
6761
6761
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122", "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),
6762
6762
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123", "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),
6763
6763
  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),
6764
- The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given_4125", "The values of '{0}.{1}' differ in their declarations, where '{2}' was expected but '{3}' was given."),
6765
6764
  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."),
6766
6765
  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."),
6767
6766
  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}'."),
@@ -57579,6 +57578,9 @@ function createTypeChecker(host) {
57579
57578
  if (objectType.flags & (1 /* Any */ | 131072 /* Never */)) {
57580
57579
  return objectType;
57581
57580
  }
57581
+ if (indexType.flags & 131072 /* Never */) {
57582
+ return neverType;
57583
+ }
57582
57584
  const indexInfo = getApplicableIndexInfo(objectType, indexType) || getIndexInfoOfType(objectType, stringType);
57583
57585
  if (indexInfo) {
57584
57586
  if (accessFlags & 2 /* NoIndexSignatures */ && indexInfo.keyType !== numberType) {
@@ -57598,9 +57600,6 @@ function createTypeChecker(host) {
57598
57600
  }
57599
57601
  return indexInfo.type;
57600
57602
  }
57601
- if (indexType.flags & 131072 /* Never */) {
57602
- return neverType;
57603
- }
57604
57603
  if (isJSLiteralType(objectType)) {
57605
57604
  return anyType;
57606
57605
  }
@@ -59951,12 +59950,12 @@ function createTypeChecker(host) {
59951
59950
  return !!(entry & 1 /* Succeeded */);
59952
59951
  }
59953
59952
  const targetEnumType = getTypeOfSymbol(targetSymbol);
59954
- for (const sourceProperty of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
59955
- if (sourceProperty.flags & 8 /* EnumMember */) {
59956
- const targetProperty = getPropertyOfType(targetEnumType, sourceProperty.escapedName);
59953
+ for (const property of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
59954
+ if (property.flags & 8 /* EnumMember */) {
59955
+ const targetProperty = getPropertyOfType(targetEnumType, property.escapedName);
59957
59956
  if (!targetProperty || !(targetProperty.flags & 8 /* EnumMember */)) {
59958
59957
  if (errorReporter) {
59959
- errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(sourceProperty), typeToString(
59958
+ errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(property), typeToString(
59960
59959
  getDeclaredTypeOfSymbol(targetSymbol),
59961
59960
  /*enclosingDeclaration*/
59962
59961
  void 0,
@@ -59968,19 +59967,6 @@ function createTypeChecker(host) {
59968
59967
  }
59969
59968
  return false;
59970
59969
  }
59971
- const sourceValue = getEnumMemberValue(getDeclarationOfKind(sourceProperty, 306 /* EnumMember */));
59972
- const targetValue = getEnumMemberValue(getDeclarationOfKind(targetProperty, 306 /* EnumMember */));
59973
- if (sourceValue !== void 0 && targetValue !== void 0 && sourceValue !== targetValue) {
59974
- if (errorReporter) {
59975
- const escapedSource = typeof sourceValue === "string" ? `"${escapeString(sourceValue)}"` : sourceValue;
59976
- const escapedTarget = typeof targetValue === "string" ? `"${escapeString(targetValue)}"` : targetValue;
59977
- errorReporter(Diagnostics.The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given, symbolName(targetSymbol), symbolName(targetProperty), escapedTarget, escapedSource);
59978
- enumRelation.set(id, 2 /* Failed */ | 4 /* Reported */);
59979
- } else {
59980
- enumRelation.set(id, 2 /* Failed */);
59981
- }
59982
- return false;
59983
- }
59984
59970
  }
59985
59971
  }
59986
59972
  enumRelation.set(id, 1 /* Succeeded */);
package/lib/tsserver.js CHANGED
@@ -2328,7 +2328,7 @@ module.exports = __toCommonJS(server_exports);
2328
2328
 
2329
2329
  // src/compiler/corePublic.ts
2330
2330
  var versionMajorMinor = "5.3";
2331
- var version = `${versionMajorMinor}.0-insiders.20230930`;
2331
+ var version = `${versionMajorMinor}.0-insiders.20231001`;
2332
2332
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2333
2333
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2334
2334
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -10289,7 +10289,6 @@ var Diagnostics = {
10289
10289
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122", "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),
10290
10290
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123", "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),
10291
10291
  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),
10292
- The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given_4125", "The values of '{0}.{1}' differ in their declarations, where '{2}' was expected but '{3}' was given."),
10293
10292
  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."),
10294
10293
  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."),
10295
10294
  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}'."),
@@ -62291,6 +62290,9 @@ function createTypeChecker(host) {
62291
62290
  if (objectType.flags & (1 /* Any */ | 131072 /* Never */)) {
62292
62291
  return objectType;
62293
62292
  }
62293
+ if (indexType.flags & 131072 /* Never */) {
62294
+ return neverType;
62295
+ }
62294
62296
  const indexInfo = getApplicableIndexInfo(objectType, indexType) || getIndexInfoOfType(objectType, stringType);
62295
62297
  if (indexInfo) {
62296
62298
  if (accessFlags & 2 /* NoIndexSignatures */ && indexInfo.keyType !== numberType) {
@@ -62310,9 +62312,6 @@ function createTypeChecker(host) {
62310
62312
  }
62311
62313
  return indexInfo.type;
62312
62314
  }
62313
- if (indexType.flags & 131072 /* Never */) {
62314
- return neverType;
62315
- }
62316
62315
  if (isJSLiteralType(objectType)) {
62317
62316
  return anyType;
62318
62317
  }
@@ -64663,12 +64662,12 @@ function createTypeChecker(host) {
64663
64662
  return !!(entry & 1 /* Succeeded */);
64664
64663
  }
64665
64664
  const targetEnumType = getTypeOfSymbol(targetSymbol);
64666
- for (const sourceProperty of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
64667
- if (sourceProperty.flags & 8 /* EnumMember */) {
64668
- const targetProperty = getPropertyOfType(targetEnumType, sourceProperty.escapedName);
64665
+ for (const property of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
64666
+ if (property.flags & 8 /* EnumMember */) {
64667
+ const targetProperty = getPropertyOfType(targetEnumType, property.escapedName);
64669
64668
  if (!targetProperty || !(targetProperty.flags & 8 /* EnumMember */)) {
64670
64669
  if (errorReporter) {
64671
- errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(sourceProperty), typeToString(
64670
+ errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(property), typeToString(
64672
64671
  getDeclaredTypeOfSymbol(targetSymbol),
64673
64672
  /*enclosingDeclaration*/
64674
64673
  void 0,
@@ -64680,19 +64679,6 @@ function createTypeChecker(host) {
64680
64679
  }
64681
64680
  return false;
64682
64681
  }
64683
- const sourceValue = getEnumMemberValue(getDeclarationOfKind(sourceProperty, 306 /* EnumMember */));
64684
- const targetValue = getEnumMemberValue(getDeclarationOfKind(targetProperty, 306 /* EnumMember */));
64685
- if (sourceValue !== void 0 && targetValue !== void 0 && sourceValue !== targetValue) {
64686
- if (errorReporter) {
64687
- const escapedSource = typeof sourceValue === "string" ? `"${escapeString(sourceValue)}"` : sourceValue;
64688
- const escapedTarget = typeof targetValue === "string" ? `"${escapeString(targetValue)}"` : targetValue;
64689
- errorReporter(Diagnostics.The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given, symbolName(targetSymbol), symbolName(targetProperty), escapedTarget, escapedSource);
64690
- enumRelation.set(id, 2 /* Failed */ | 4 /* Reported */);
64691
- } else {
64692
- enumRelation.set(id, 2 /* Failed */);
64693
- }
64694
- return false;
64695
- }
64696
64682
  }
64697
64683
  }
64698
64684
  enumRelation.set(id, 1 /* Succeeded */);
package/lib/typescript.js CHANGED
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.3";
38
- version = `${versionMajorMinor}.0-insiders.20230930`;
38
+ version = `${versionMajorMinor}.0-insiders.20231001`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -8071,7 +8071,6 @@ ${lanes.join("\n")}
8071
8071
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122", "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),
8072
8072
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123", "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),
8073
8073
  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),
8074
- The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given_4125", "The values of '{0}.{1}' differ in their declarations, where '{2}' was expected but '{3}' was given."),
8075
8074
  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."),
8076
8075
  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."),
8077
8076
  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}'."),
@@ -60058,6 +60057,9 @@ ${lanes.join("\n")}
60058
60057
  if (objectType.flags & (1 /* Any */ | 131072 /* Never */)) {
60059
60058
  return objectType;
60060
60059
  }
60060
+ if (indexType.flags & 131072 /* Never */) {
60061
+ return neverType;
60062
+ }
60061
60063
  const indexInfo = getApplicableIndexInfo(objectType, indexType) || getIndexInfoOfType(objectType, stringType);
60062
60064
  if (indexInfo) {
60063
60065
  if (accessFlags & 2 /* NoIndexSignatures */ && indexInfo.keyType !== numberType) {
@@ -60077,9 +60079,6 @@ ${lanes.join("\n")}
60077
60079
  }
60078
60080
  return indexInfo.type;
60079
60081
  }
60080
- if (indexType.flags & 131072 /* Never */) {
60081
- return neverType;
60082
- }
60083
60082
  if (isJSLiteralType(objectType)) {
60084
60083
  return anyType;
60085
60084
  }
@@ -62430,12 +62429,12 @@ ${lanes.join("\n")}
62430
62429
  return !!(entry & 1 /* Succeeded */);
62431
62430
  }
62432
62431
  const targetEnumType = getTypeOfSymbol(targetSymbol);
62433
- for (const sourceProperty of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
62434
- if (sourceProperty.flags & 8 /* EnumMember */) {
62435
- const targetProperty = getPropertyOfType(targetEnumType, sourceProperty.escapedName);
62432
+ for (const property of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
62433
+ if (property.flags & 8 /* EnumMember */) {
62434
+ const targetProperty = getPropertyOfType(targetEnumType, property.escapedName);
62436
62435
  if (!targetProperty || !(targetProperty.flags & 8 /* EnumMember */)) {
62437
62436
  if (errorReporter) {
62438
- errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(sourceProperty), typeToString(
62437
+ errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(property), typeToString(
62439
62438
  getDeclaredTypeOfSymbol(targetSymbol),
62440
62439
  /*enclosingDeclaration*/
62441
62440
  void 0,
@@ -62447,19 +62446,6 @@ ${lanes.join("\n")}
62447
62446
  }
62448
62447
  return false;
62449
62448
  }
62450
- const sourceValue = getEnumMemberValue(getDeclarationOfKind(sourceProperty, 306 /* EnumMember */));
62451
- const targetValue = getEnumMemberValue(getDeclarationOfKind(targetProperty, 306 /* EnumMember */));
62452
- if (sourceValue !== void 0 && targetValue !== void 0 && sourceValue !== targetValue) {
62453
- if (errorReporter) {
62454
- const escapedSource = typeof sourceValue === "string" ? `"${escapeString(sourceValue)}"` : sourceValue;
62455
- const escapedTarget = typeof targetValue === "string" ? `"${escapeString(targetValue)}"` : targetValue;
62456
- errorReporter(Diagnostics.The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given, symbolName(targetSymbol), symbolName(targetProperty), escapedTarget, escapedSource);
62457
- enumRelation.set(id, 2 /* Failed */ | 4 /* Reported */);
62458
- } else {
62459
- enumRelation.set(id, 2 /* Failed */);
62460
- }
62461
- return false;
62462
- }
62463
62449
  }
62464
62450
  }
62465
62451
  enumRelation.set(id, 1 /* Succeeded */);
@@ -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.20230930`;
57
+ var version = `${versionMajorMinor}.0-insiders.20231001`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -6138,7 +6138,6 @@ var Diagnostics = {
6138
6138
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122", "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),
6139
6139
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123", "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),
6140
6140
  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),
6141
- The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "The_values_of_0_1_differ_in_their_declarations_where_2_was_expected_but_3_was_given_4125", "The values of '{0}.{1}' differ in their declarations, where '{2}' was expected but '{3}' was given."),
6142
6141
  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."),
6143
6142
  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."),
6144
6143
  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}'."),
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-55924-5",
5
+ "version": "5.3.0-pr-55842-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": "febb51a2ef7bed17d1ab08e9c573d68d680518e9"
117
+ "gitHead": "a440f573a7cd8fa23e7afbdad2e017331e98b8c7"
118
118
  }