@typescript-deploys/pr-build 5.2.0-pr-54546-4 → 5.2.0-pr-54581-2
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/lib.es2015.collection.d.ts +9 -9
- package/lib/lib.es2015.iterable.d.ts +4 -4
- package/lib/lib.es2015.symbol.wellknown.d.ts +2 -2
- package/lib/lib.es2021.weakref.d.ts +19 -16
- package/lib/lib.es2023.collection.d.ts +21 -0
- package/lib/lib.es2023.d.ts +1 -0
- package/lib/lib.es5.d.ts +9 -0
- package/lib/tsc.js +48 -95
- package/lib/tsserver.js +640 -683
- package/lib/tsserverlibrary.js +639 -680
- package/lib/typescript.js +613 -669
- package/lib/typingsInstaller.js +24 -2
- package/package.json +2 -2
package/lib/typingsInstaller.js
CHANGED
|
@@ -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-insiders.
|
|
57
|
+
var version = `${versionMajorMinor}.0-insiders.20230609`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
|
@@ -1141,6 +1141,15 @@ Node ${formatSyntaxKind(node.kind)} was unexpected.`,
|
|
|
1141
1141
|
);
|
|
1142
1142
|
}
|
|
1143
1143
|
Debug2.formatSnippetKind = formatSnippetKind;
|
|
1144
|
+
function formatScriptKind(kind) {
|
|
1145
|
+
return formatEnum(
|
|
1146
|
+
kind,
|
|
1147
|
+
ScriptKind,
|
|
1148
|
+
/*isFlags*/
|
|
1149
|
+
false
|
|
1150
|
+
);
|
|
1151
|
+
}
|
|
1152
|
+
Debug2.formatScriptKind = formatScriptKind;
|
|
1144
1153
|
function formatNodeFlags(flags) {
|
|
1145
1154
|
return formatEnum(
|
|
1146
1155
|
flags,
|
|
@@ -3200,6 +3209,17 @@ var ModuleResolutionKind = /* @__PURE__ */ ((ModuleResolutionKind2) => {
|
|
|
3200
3209
|
ModuleResolutionKind2[ModuleResolutionKind2["Bundler"] = 100] = "Bundler";
|
|
3201
3210
|
return ModuleResolutionKind2;
|
|
3202
3211
|
})(ModuleResolutionKind || {});
|
|
3212
|
+
var ScriptKind = /* @__PURE__ */ ((ScriptKind3) => {
|
|
3213
|
+
ScriptKind3[ScriptKind3["Unknown"] = 0] = "Unknown";
|
|
3214
|
+
ScriptKind3[ScriptKind3["JS"] = 1] = "JS";
|
|
3215
|
+
ScriptKind3[ScriptKind3["JSX"] = 2] = "JSX";
|
|
3216
|
+
ScriptKind3[ScriptKind3["TS"] = 3] = "TS";
|
|
3217
|
+
ScriptKind3[ScriptKind3["TSX"] = 4] = "TSX";
|
|
3218
|
+
ScriptKind3[ScriptKind3["External"] = 5] = "External";
|
|
3219
|
+
ScriptKind3[ScriptKind3["JSON"] = 6] = "JSON";
|
|
3220
|
+
ScriptKind3[ScriptKind3["Deferred"] = 7] = "Deferred";
|
|
3221
|
+
return ScriptKind3;
|
|
3222
|
+
})(ScriptKind || {});
|
|
3203
3223
|
var TransformFlags = /* @__PURE__ */ ((TransformFlags3) => {
|
|
3204
3224
|
TransformFlags3[TransformFlags3["None"] = 0] = "None";
|
|
3205
3225
|
TransformFlags3[TransformFlags3["ContainsTypeScript"] = 1] = "ContainsTypeScript";
|
|
@@ -5512,7 +5532,6 @@ var Diagnostics = {
|
|
|
5512
5532
|
The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate: diag(2210, 1 /* Error */, "The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210", "The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),
|
|
5513
5533
|
Add_extends_constraint: diag(2211, 3 /* Message */, "Add_extends_constraint_2211", "Add `extends` constraint."),
|
|
5514
5534
|
Add_extends_constraint_to_all_type_parameters: diag(2212, 3 /* Message */, "Add_extends_constraint_to_all_type_parameters_2212", "Add `extends` constraint to all type parameters"),
|
|
5515
|
-
The_project_root_is_ambiguous_but_is_required_to_determine_the_module_format_of_output_js_files_Supply_the_rootDir_compiler_option_to_disambiguate: diag(2213, 1 /* Error */, "The_project_root_is_ambiguous_but_is_required_to_determine_the_module_format_of_output_js_files_Supp_2213", "The project root is ambiguous, but is required to determine the module format of output '.js' files. Supply the `rootDir` compiler option to disambiguate."),
|
|
5516
5535
|
Duplicate_identifier_0: diag(2300, 1 /* Error */, "Duplicate_identifier_0_2300", "Duplicate identifier '{0}'."),
|
|
5517
5536
|
Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: diag(2301, 1 /* Error */, "Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301", "Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),
|
|
5518
5537
|
Static_members_cannot_reference_class_type_parameters: diag(2302, 1 /* Error */, "Static_members_cannot_reference_class_type_parameters_2302", "Static members cannot reference class type parameters."),
|
|
@@ -7083,6 +7102,7 @@ var Diagnostics = {
|
|
|
7083
7102
|
Use_import_type: diag(95180, 3 /* Message */, "Use_import_type_95180", "Use 'import type'"),
|
|
7084
7103
|
Use_type_0: diag(95181, 3 /* Message */, "Use_type_0_95181", "Use 'type {0}'"),
|
|
7085
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
|
+
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"),
|
|
7086
7106
|
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."),
|
|
7087
7107
|
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'."),
|
|
7088
7108
|
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?"),
|
|
@@ -25412,7 +25432,9 @@ var libEntries = [
|
|
|
25412
25432
|
["es2022.string", "lib.es2022.string.d.ts"],
|
|
25413
25433
|
["es2022.regexp", "lib.es2022.regexp.d.ts"],
|
|
25414
25434
|
["es2023.array", "lib.es2023.array.d.ts"],
|
|
25435
|
+
["es2023.collection", "lib.es2023.collection.d.ts"],
|
|
25415
25436
|
["esnext.array", "lib.es2023.array.d.ts"],
|
|
25437
|
+
["esnext.collection", "lib.es2023.collection.d.ts"],
|
|
25416
25438
|
["esnext.symbol", "lib.es2019.symbol.d.ts"],
|
|
25417
25439
|
["esnext.asynciterable", "lib.es2018.asynciterable.d.ts"],
|
|
25418
25440
|
["esnext.intl", "lib.esnext.intl.d.ts"],
|
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.2.0-pr-
|
|
5
|
+
"version": "5.2.0-pr-54581-2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"node": "20.1.0",
|
|
116
116
|
"npm": "8.19.4"
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "1d53f9954b8ae97310e805dfb9c74c7e66cfeb83"
|
|
119
119
|
}
|