typescript 5.2.0-dev.20230611 → 5.2.0-dev.20230613

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.2";
57
- var version = `${versionMajorMinor}.0-dev.20230611`;
57
+ var version = `${versionMajorMinor}.0-dev.20230613`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -7103,6 +7103,9 @@ var Diagnostics = {
7103
7103
  Use_type_0: diag(95181, 3 /* Message */, "Use_type_0_95181", "Use 'type {0}'"),
7104
7104
  Fix_all_with_type_only_imports: diag(95182, 3 /* Message */, "Fix_all_with_type_only_imports_95182", "Fix all with type-only imports"),
7105
7105
  Cannot_move_statements_to_the_selected_file: diag(95183, 3 /* Message */, "Cannot_move_statements_to_the_selected_file_95183", "Cannot move statements to the selected file"),
7106
+ Inline_variable: diag(95184, 3 /* Message */, "Inline_variable_95184", "Inline variable"),
7107
+ Could_not_find_variable_to_inline: diag(95185, 3 /* Message */, "Could_not_find_variable_to_inline_95185", "Could not find variable to inline."),
7108
+ Variables_with_multiple_declarations_cannot_be_inlined: diag(95186, 3 /* Message */, "Variables_with_multiple_declarations_cannot_be_inlined_95186", "Variables with multiple declarations cannot be inlined."),
7106
7109
  No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer: diag(18004, 1 /* Error */, "No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004", "No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),
7107
7110
  Classes_may_not_have_a_field_named_constructor: diag(18006, 1 /* Error */, "Classes_may_not_have_a_field_named_constructor_18006", "Classes may not have a field named 'constructor'."),
7108
7111
  JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array: diag(18007, 1 /* Error */, "JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007", "JSX expressions may not use the comma operator. Did you mean to write an array?"),
@@ -28941,11 +28944,10 @@ var CheckMode = /* @__PURE__ */ ((CheckMode3) => {
28941
28944
  CheckMode3[CheckMode3["Inferential"] = 2] = "Inferential";
28942
28945
  CheckMode3[CheckMode3["SkipContextSensitive"] = 4] = "SkipContextSensitive";
28943
28946
  CheckMode3[CheckMode3["SkipGenericFunctions"] = 8] = "SkipGenericFunctions";
28944
- CheckMode3[CheckMode3["SkipAddingIntraExpressionSites"] = 16] = "SkipAddingIntraExpressionSites";
28945
- CheckMode3[CheckMode3["IsForSignatureHelp"] = 32] = "IsForSignatureHelp";
28946
- CheckMode3[CheckMode3["IsForStringLiteralArgumentCompletions"] = 64] = "IsForStringLiteralArgumentCompletions";
28947
- CheckMode3[CheckMode3["RestBindingElement"] = 128] = "RestBindingElement";
28948
- CheckMode3[CheckMode3["TypeOnly"] = 256] = "TypeOnly";
28947
+ CheckMode3[CheckMode3["IsForSignatureHelp"] = 16] = "IsForSignatureHelp";
28948
+ CheckMode3[CheckMode3["IsForStringLiteralArgumentCompletions"] = 32] = "IsForStringLiteralArgumentCompletions";
28949
+ CheckMode3[CheckMode3["RestBindingElement"] = 64] = "RestBindingElement";
28950
+ CheckMode3[CheckMode3["TypeOnly"] = 128] = "TypeOnly";
28949
28951
  return CheckMode3;
28950
28952
  })(CheckMode || {});
28951
28953
  var SignatureCheckMode = /* @__PURE__ */ ((SignatureCheckMode3) => {
@@ -30678,7 +30680,9 @@ var plainJSErrors = /* @__PURE__ */ new Set([
30678
30680
  Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,
30679
30681
  Diagnostics.Class_constructor_may_not_be_a_generator.code,
30680
30682
  Diagnostics.Class_constructor_may_not_be_an_accessor.code,
30681
- Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code
30683
+ Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,
30684
+ // Type errors
30685
+ Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code
30682
30686
  ]);
30683
30687
 
30684
30688
  // src/compiler/builderState.ts
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.2.0-dev.20230611",
5
+ "version": "5.2.0-dev.20230613",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -61,7 +61,7 @@
61
61
  "chokidar": "^3.5.3",
62
62
  "del": "^6.1.1",
63
63
  "diff": "^5.1.0",
64
- "esbuild": "^0.17.2",
64
+ "esbuild": "^0.18.1",
65
65
  "eslint": "^8.22.0",
66
66
  "eslint-formatter-autolinkable-stylish": "^1.2.0",
67
67
  "eslint-plugin-import": "^2.26.0",
@@ -114,5 +114,5 @@
114
114
  "node": "20.1.0",
115
115
  "npm": "8.19.4"
116
116
  },
117
- "gitHead": "2f34e57ed39ba67b4c4b26bbcb6088cf39aa308a"
117
+ "gitHead": "2a37eb2e471e01e510849f0dc108b3699ab869db"
118
118
  }