@typescript-deploys/pr-build 5.3.0-pr-55471-8 → 5.3.0-pr-55503-5
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 +66 -57
- package/lib/tsserver.js +90 -72
- package/lib/typescript.js +482 -464
- package/lib/typingsInstaller.js +4 -4
- package/package.json +2 -5
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.3";
|
|
57
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
57
|
+
var version = `${versionMajorMinor}.0-insiders.20230824`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
|
@@ -5329,7 +5329,6 @@ var Diagnostics = {
|
|
|
5329
5329
|
Module_0_can_only_be_default_imported_using_the_1_flag: diag(1259, 1 /* Error */, "Module_0_can_only_be_default_imported_using_the_1_flag_1259", "Module '{0}' can only be default-imported using the '{1}' flag"),
|
|
5330
5330
|
Keywords_cannot_contain_escape_characters: diag(1260, 1 /* Error */, "Keywords_cannot_contain_escape_characters_1260", "Keywords cannot contain escape characters."),
|
|
5331
5331
|
Already_included_file_name_0_differs_from_file_name_1_only_in_casing: diag(1261, 1 /* Error */, "Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261", "Already included file name '{0}' differs from file name '{1}' only in casing."),
|
|
5332
|
-
Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module: diag(1262, 1 /* Error */, "Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262", "Identifier expected. '{0}' is a reserved word at the top-level of a module."),
|
|
5333
5332
|
Declarations_with_initializers_cannot_also_have_definite_assignment_assertions: diag(1263, 1 /* Error */, "Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263", "Declarations with initializers cannot also have definite assignment assertions."),
|
|
5334
5333
|
Declarations_with_definite_assignment_assertions_must_also_have_type_annotations: diag(1264, 1 /* Error */, "Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264", "Declarations with definite assignment assertions must also have type annotations."),
|
|
5335
5334
|
A_rest_element_cannot_follow_another_rest_element: diag(1265, 1 /* Error */, "A_rest_element_cannot_follow_another_rest_element_1265", "A rest element cannot follow another rest element."),
|
|
@@ -21824,7 +21823,9 @@ var Parser;
|
|
|
21824
21823
|
let dotDotDotToken;
|
|
21825
21824
|
let expression;
|
|
21826
21825
|
if (token() !== 20 /* CloseBraceToken */) {
|
|
21827
|
-
|
|
21826
|
+
if (!inExpressionContext) {
|
|
21827
|
+
dotDotDotToken = parseOptionalToken(26 /* DotDotDotToken */);
|
|
21828
|
+
}
|
|
21828
21829
|
expression = parseExpression();
|
|
21829
21830
|
}
|
|
21830
21831
|
if (inExpressionContext) {
|
|
@@ -30793,7 +30794,6 @@ var plainJSErrors = /* @__PURE__ */ new Set([
|
|
|
30793
30794
|
Diagnostics.A_module_cannot_have_multiple_default_exports.code,
|
|
30794
30795
|
Diagnostics.Another_export_default_is_here.code,
|
|
30795
30796
|
Diagnostics.The_first_export_default_is_here.code,
|
|
30796
|
-
Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,
|
|
30797
30797
|
Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,
|
|
30798
30798
|
Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,
|
|
30799
30799
|
Diagnostics.constructor_is_a_reserved_word.code,
|
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-
|
|
5
|
+
"version": "5.3.0-pr-55503-5",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"@esfx/canceltoken": "^1.0.0",
|
|
43
43
|
"@octokit/rest": "^19.0.13",
|
|
44
44
|
"@types/chai": "^4.3.4",
|
|
45
|
-
"@types/fs-extra": "^9.0.13",
|
|
46
45
|
"@types/glob": "^8.1.0",
|
|
47
46
|
"@types/microsoft__typescript-etw": "^0.1.1",
|
|
48
47
|
"@types/minimist": "^1.2.2",
|
|
@@ -59,7 +58,6 @@
|
|
|
59
58
|
"chai": "^4.3.7",
|
|
60
59
|
"chalk": "^4.1.2",
|
|
61
60
|
"chokidar": "^3.5.3",
|
|
62
|
-
"del": "^6.1.1",
|
|
63
61
|
"diff": "^5.1.0",
|
|
64
62
|
"dprint": "^0.40.2",
|
|
65
63
|
"esbuild": "^0.19.0",
|
|
@@ -69,7 +67,6 @@
|
|
|
69
67
|
"eslint-plugin-no-null": "^1.0.2",
|
|
70
68
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
71
69
|
"fast-xml-parser": "^4.0.11",
|
|
72
|
-
"fs-extra": "^9.1.0",
|
|
73
70
|
"glob": "^8.1.0",
|
|
74
71
|
"hereby": "^1.6.4",
|
|
75
72
|
"jsonc-parser": "^3.2.0",
|
|
@@ -116,5 +113,5 @@
|
|
|
116
113
|
"node": "20.1.0",
|
|
117
114
|
"npm": "8.19.4"
|
|
118
115
|
},
|
|
119
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "d94784a967f0f0182da1a9c21967303956d8a92c"
|
|
120
117
|
}
|