typescript 5.2.0-dev.20230713 → 5.2.0-dev.20230715
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 +4 -4
- package/lib/tsserver.js +4 -4
- package/lib/tsserverlibrary.js +4 -4
- package/lib/typescript.js +4 -4
- package/lib/typingsInstaller.js +1 -1
- package/package.json +5 -6
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.2";
|
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20230715`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -15525,7 +15525,7 @@ function isPrototypeAccess(node) {
|
|
|
15525
15525
|
return isBindableStaticAccessExpression(node) && getElementOrPropertyAccessName(node) === "prototype";
|
|
15526
15526
|
}
|
|
15527
15527
|
function isRightSideOfQualifiedNameOrPropertyAccess(node) {
|
|
15528
|
-
return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node;
|
|
15528
|
+
return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node || node.parent.kind === 236 /* MetaProperty */ && node.parent.name === node;
|
|
15529
15529
|
}
|
|
15530
15530
|
function isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(node) {
|
|
15531
15531
|
return isQualifiedName(node.parent) && node.parent.right === node || isPropertyAccessExpression(node.parent) && node.parent.name === node || isJSDocMemberName(node.parent) && node.parent.right === node;
|
|
@@ -96782,10 +96782,10 @@ function transformJsx(context) {
|
|
|
96782
96782
|
for (const prop of attr.expression.properties) {
|
|
96783
96783
|
if (isSpreadAssignment(prop)) {
|
|
96784
96784
|
finishObjectLiteralIfNeeded();
|
|
96785
|
-
expressions.push(prop.expression);
|
|
96785
|
+
expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression)));
|
|
96786
96786
|
continue;
|
|
96787
96787
|
}
|
|
96788
|
-
properties.push(prop);
|
|
96788
|
+
properties.push(Debug.checkDefined(visitNode(prop, visitor)));
|
|
96789
96789
|
}
|
|
96790
96790
|
continue;
|
|
96791
96791
|
}
|
package/lib/tsserver.js
CHANGED
|
@@ -2327,7 +2327,7 @@ module.exports = __toCommonJS(server_exports);
|
|
|
2327
2327
|
|
|
2328
2328
|
// src/compiler/corePublic.ts
|
|
2329
2329
|
var versionMajorMinor = "5.2";
|
|
2330
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2330
|
+
var version = `${versionMajorMinor}.0-dev.20230715`;
|
|
2331
2331
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2332
2332
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2333
2333
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -19513,7 +19513,7 @@ function isPrototypeAccess(node) {
|
|
|
19513
19513
|
return isBindableStaticAccessExpression(node) && getElementOrPropertyAccessName(node) === "prototype";
|
|
19514
19514
|
}
|
|
19515
19515
|
function isRightSideOfQualifiedNameOrPropertyAccess(node) {
|
|
19516
|
-
return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node;
|
|
19516
|
+
return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node || node.parent.kind === 236 /* MetaProperty */ && node.parent.name === node;
|
|
19517
19517
|
}
|
|
19518
19518
|
function isRightSideOfAccessExpression(node) {
|
|
19519
19519
|
return isPropertyAccessExpression(node.parent) && node.parent.name === node || isElementAccessExpression(node.parent) && node.parent.argumentExpression === node;
|
|
@@ -101660,10 +101660,10 @@ function transformJsx(context) {
|
|
|
101660
101660
|
for (const prop of attr.expression.properties) {
|
|
101661
101661
|
if (isSpreadAssignment(prop)) {
|
|
101662
101662
|
finishObjectLiteralIfNeeded();
|
|
101663
|
-
expressions.push(prop.expression);
|
|
101663
|
+
expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression)));
|
|
101664
101664
|
continue;
|
|
101665
101665
|
}
|
|
101666
|
-
properties.push(prop);
|
|
101666
|
+
properties.push(Debug.checkDefined(visitNode(prop, visitor)));
|
|
101667
101667
|
}
|
|
101668
101668
|
continue;
|
|
101669
101669
|
}
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -35,7 +35,7 @@ var ts = (() => {
|
|
|
35
35
|
"src/compiler/corePublic.ts"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
versionMajorMinor = "5.2";
|
|
38
|
-
version = `${versionMajorMinor}.0-dev.
|
|
38
|
+
version = `${versionMajorMinor}.0-dev.20230715`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -17214,7 +17214,7 @@ ${lanes.join("\n")}
|
|
|
17214
17214
|
return isBindableStaticAccessExpression(node) && getElementOrPropertyAccessName(node) === "prototype";
|
|
17215
17215
|
}
|
|
17216
17216
|
function isRightSideOfQualifiedNameOrPropertyAccess(node) {
|
|
17217
|
-
return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node;
|
|
17217
|
+
return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node || node.parent.kind === 236 /* MetaProperty */ && node.parent.name === node;
|
|
17218
17218
|
}
|
|
17219
17219
|
function isRightSideOfAccessExpression(node) {
|
|
17220
17220
|
return isPropertyAccessExpression(node.parent) && node.parent.name === node || isElementAccessExpression(node.parent) && node.parent.argumentExpression === node;
|
|
@@ -99676,10 +99676,10 @@ ${lanes.join("\n")}
|
|
|
99676
99676
|
for (const prop of attr.expression.properties) {
|
|
99677
99677
|
if (isSpreadAssignment(prop)) {
|
|
99678
99678
|
finishObjectLiteralIfNeeded();
|
|
99679
|
-
expressions.push(prop.expression);
|
|
99679
|
+
expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression)));
|
|
99680
99680
|
continue;
|
|
99681
99681
|
}
|
|
99682
|
-
properties.push(prop);
|
|
99682
|
+
properties.push(Debug.checkDefined(visitNode(prop, visitor)));
|
|
99683
99683
|
}
|
|
99684
99684
|
continue;
|
|
99685
99685
|
}
|
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.2";
|
|
38
|
-
version = `${versionMajorMinor}.0-dev.
|
|
38
|
+
version = `${versionMajorMinor}.0-dev.20230715`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -17214,7 +17214,7 @@ ${lanes.join("\n")}
|
|
|
17214
17214
|
return isBindableStaticAccessExpression(node) && getElementOrPropertyAccessName(node) === "prototype";
|
|
17215
17215
|
}
|
|
17216
17216
|
function isRightSideOfQualifiedNameOrPropertyAccess(node) {
|
|
17217
|
-
return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node;
|
|
17217
|
+
return node.parent.kind === 166 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node || node.parent.kind === 236 /* MetaProperty */ && node.parent.name === node;
|
|
17218
17218
|
}
|
|
17219
17219
|
function isRightSideOfAccessExpression(node) {
|
|
17220
17220
|
return isPropertyAccessExpression(node.parent) && node.parent.name === node || isElementAccessExpression(node.parent) && node.parent.argumentExpression === node;
|
|
@@ -99676,10 +99676,10 @@ ${lanes.join("\n")}
|
|
|
99676
99676
|
for (const prop of attr.expression.properties) {
|
|
99677
99677
|
if (isSpreadAssignment(prop)) {
|
|
99678
99678
|
finishObjectLiteralIfNeeded();
|
|
99679
|
-
expressions.push(prop.expression);
|
|
99679
|
+
expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression)));
|
|
99680
99680
|
continue;
|
|
99681
99681
|
}
|
|
99682
|
-
properties.push(prop);
|
|
99682
|
+
properties.push(Debug.checkDefined(visitNode(prop, visitor)));
|
|
99683
99683
|
}
|
|
99684
99684
|
continue;
|
|
99685
99685
|
}
|
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-dev.
|
|
57
|
+
var version = `${versionMajorMinor}.0-dev.20230715`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
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.
|
|
5
|
+
"version": "5.2.0-dev.20230715",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@types/node": "latest",
|
|
52
52
|
"@types/source-map-support": "^0.5.6",
|
|
53
53
|
"@types/which": "^2.0.1",
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
55
|
-
"@typescript-eslint/parser": "^
|
|
56
|
-
"@typescript-eslint/utils": "^
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
55
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
56
|
+
"@typescript-eslint/utils": "^6.0.0",
|
|
57
57
|
"azure-devops-node-api": "^12.0.0",
|
|
58
58
|
"c8": "^7.14.0",
|
|
59
59
|
"chai": "^4.3.7",
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
"esbuild": "^0.18.1",
|
|
65
65
|
"eslint": "^8.22.0",
|
|
66
66
|
"eslint-formatter-autolinkable-stylish": "^1.2.0",
|
|
67
|
-
"eslint-plugin-import": "^2.26.0",
|
|
68
67
|
"eslint-plugin-local": "^1.0.0",
|
|
69
68
|
"eslint-plugin-no-null": "^1.0.2",
|
|
70
69
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
@@ -114,5 +113,5 @@
|
|
|
114
113
|
"node": "20.1.0",
|
|
115
114
|
"npm": "8.19.4"
|
|
116
115
|
},
|
|
117
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "94f03cf0c6eb5cb3a391e817db9c9a7bb9f1de6c"
|
|
118
117
|
}
|