typescript 5.3.0-dev.20231031 → 5.3.0-dev.20231101
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 +3 -8
- package/lib/tsserver.js +3 -8
- package/lib/typescript.js +3 -8
- package/lib/typingsInstaller.js +3 -8
- package/package.json +2 -2
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-dev.
|
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20231101`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -30689,7 +30689,8 @@ var Parser;
|
|
|
30689
30689
|
parseExpected(21 /* OpenParenToken */);
|
|
30690
30690
|
let initializer;
|
|
30691
30691
|
if (token() !== 27 /* SemicolonToken */) {
|
|
30692
|
-
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) ||
|
|
30692
|
+
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
|
|
30693
|
+
token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
|
|
30693
30694
|
initializer = parseVariableDeclarationList(
|
|
30694
30695
|
/*inForStatementInitializer*/
|
|
30695
30696
|
true
|
|
@@ -31010,12 +31011,6 @@ var Parser;
|
|
|
31010
31011
|
function isUsingDeclaration() {
|
|
31011
31012
|
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
|
|
31012
31013
|
}
|
|
31013
|
-
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
|
|
31014
|
-
return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
|
|
31015
|
-
/*disallowOf*/
|
|
31016
|
-
true
|
|
31017
|
-
);
|
|
31018
|
-
}
|
|
31019
31014
|
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
|
|
31020
31015
|
if (nextToken() === 160 /* UsingKeyword */) {
|
|
31021
31016
|
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
|
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-dev.
|
|
2331
|
+
var version = `${versionMajorMinor}.0-dev.20231101`;
|
|
2332
2332
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2333
2333
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2334
2334
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -35093,7 +35093,8 @@ var Parser;
|
|
|
35093
35093
|
parseExpected(21 /* OpenParenToken */);
|
|
35094
35094
|
let initializer;
|
|
35095
35095
|
if (token() !== 27 /* SemicolonToken */) {
|
|
35096
|
-
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) ||
|
|
35096
|
+
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
|
|
35097
|
+
token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
|
|
35097
35098
|
initializer = parseVariableDeclarationList(
|
|
35098
35099
|
/*inForStatementInitializer*/
|
|
35099
35100
|
true
|
|
@@ -35414,12 +35415,6 @@ var Parser;
|
|
|
35414
35415
|
function isUsingDeclaration() {
|
|
35415
35416
|
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
|
|
35416
35417
|
}
|
|
35417
|
-
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
|
|
35418
|
-
return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
|
|
35419
|
-
/*disallowOf*/
|
|
35420
|
-
true
|
|
35421
|
-
);
|
|
35422
|
-
}
|
|
35423
35418
|
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
|
|
35424
35419
|
if (nextToken() === 160 /* UsingKeyword */) {
|
|
35425
35420
|
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
|
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-dev.
|
|
38
|
+
version = `${versionMajorMinor}.0-dev.20231101`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -33165,7 +33165,8 @@ ${lanes.join("\n")}
|
|
|
33165
33165
|
parseExpected(21 /* OpenParenToken */);
|
|
33166
33166
|
let initializer;
|
|
33167
33167
|
if (token() !== 27 /* SemicolonToken */) {
|
|
33168
|
-
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) ||
|
|
33168
|
+
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
|
|
33169
|
+
token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
|
|
33169
33170
|
initializer = parseVariableDeclarationList(
|
|
33170
33171
|
/*inForStatementInitializer*/
|
|
33171
33172
|
true
|
|
@@ -33486,12 +33487,6 @@ ${lanes.join("\n")}
|
|
|
33486
33487
|
function isUsingDeclaration() {
|
|
33487
33488
|
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
|
|
33488
33489
|
}
|
|
33489
|
-
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
|
|
33490
|
-
return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
|
|
33491
|
-
/*disallowOf*/
|
|
33492
|
-
true
|
|
33493
|
-
);
|
|
33494
|
-
}
|
|
33495
33490
|
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
|
|
33496
33491
|
if (nextToken() === 160 /* UsingKeyword */) {
|
|
33497
33492
|
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
|
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-dev.
|
|
57
|
+
var version = `${versionMajorMinor}.0-dev.20231101`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
|
@@ -22502,7 +22502,8 @@ var Parser;
|
|
|
22502
22502
|
parseExpected(21 /* OpenParenToken */);
|
|
22503
22503
|
let initializer;
|
|
22504
22504
|
if (token() !== 27 /* SemicolonToken */) {
|
|
22505
|
-
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) ||
|
|
22505
|
+
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
|
|
22506
|
+
token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
|
|
22506
22507
|
initializer = parseVariableDeclarationList(
|
|
22507
22508
|
/*inForStatementInitializer*/
|
|
22508
22509
|
true
|
|
@@ -22823,12 +22824,6 @@ var Parser;
|
|
|
22823
22824
|
function isUsingDeclaration() {
|
|
22824
22825
|
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
|
|
22825
22826
|
}
|
|
22826
|
-
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
|
|
22827
|
-
return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
|
|
22828
|
-
/*disallowOf*/
|
|
22829
|
-
true
|
|
22830
|
-
);
|
|
22831
|
-
}
|
|
22832
22827
|
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
|
|
22833
22828
|
if (nextToken() === 160 /* UsingKeyword */) {
|
|
22834
22829
|
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
|
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.3.0-dev.
|
|
5
|
+
"version": "5.3.0-dev.20231101",
|
|
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": "
|
|
117
|
+
"gitHead": "73bc0eba5fd35c3a31cc9a4e6d28d3e89564ce6f"
|
|
118
118
|
}
|