typescript 4.8.0-dev.20220622 → 4.8.0-dev.20220623
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 -3
- package/lib/tsserver.js +4 -4
- package/lib/tsserverlibrary.js +4 -4
- package/lib/typescript.js +4 -4
- package/lib/typescriptServices.js +4 -4
- package/lib/typingsInstaller.js +3 -3
- package/package.json +1 -1
package/lib/tsc.js
CHANGED
|
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
69
69
|
var ts;
|
|
70
70
|
(function (ts) {
|
|
71
71
|
ts.versionMajorMinor = "4.8";
|
|
72
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
72
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220623";
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
var globals = typeof globalThis !== "undefined" ? globalThis :
|
|
@@ -53831,7 +53831,7 @@ var ts;
|
|
|
53831
53831
|
});
|
|
53832
53832
|
}
|
|
53833
53833
|
function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
53834
|
-
if (target.flags & 131068)
|
|
53834
|
+
if (target.flags & (131068 | 131072))
|
|
53835
53835
|
return false;
|
|
53836
53836
|
if (isTupleLikeType(source)) {
|
|
53837
53837
|
return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
@@ -53896,7 +53896,7 @@ var ts;
|
|
|
53896
53896
|
});
|
|
53897
53897
|
}
|
|
53898
53898
|
function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
53899
|
-
if (target.flags & 131068)
|
|
53899
|
+
if (target.flags & (131068 | 131072))
|
|
53900
53900
|
return false;
|
|
53901
53901
|
return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
53902
53902
|
}
|
package/lib/tsserver.js
CHANGED
|
@@ -109,7 +109,7 @@ var ts;
|
|
|
109
109
|
// The following is baselined as a literal template type without intervention
|
|
110
110
|
/** The version of the TypeScript compiler release */
|
|
111
111
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
112
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
112
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220623";
|
|
113
113
|
/* @internal */
|
|
114
114
|
var Comparison;
|
|
115
115
|
(function (Comparison) {
|
|
@@ -64630,7 +64630,7 @@ var ts;
|
|
|
64630
64630
|
});
|
|
64631
64631
|
}
|
|
64632
64632
|
function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64633
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64633
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64634
64634
|
return false;
|
|
64635
64635
|
if (isTupleLikeType(source)) {
|
|
64636
64636
|
return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
@@ -64697,7 +64697,7 @@ var ts;
|
|
|
64697
64697
|
});
|
|
64698
64698
|
}
|
|
64699
64699
|
function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64700
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64700
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64701
64701
|
return false;
|
|
64702
64702
|
return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
64703
64703
|
}
|
|
@@ -129781,7 +129781,7 @@ var ts;
|
|
|
129781
129781
|
for (var _b = 0, textChanges_1 = textChanges_2; _b < textChanges_1.length; _b++) {
|
|
129782
129782
|
var change = textChanges_1[_b];
|
|
129783
129783
|
var span = change.span, newText = change.newText;
|
|
129784
|
-
var index = indexInTextChange(newText, name);
|
|
129784
|
+
var index = indexInTextChange(newText, ts.escapeString(name));
|
|
129785
129785
|
if (index !== -1) {
|
|
129786
129786
|
lastPos = span.start + delta + index;
|
|
129787
129787
|
// If the reference comes first, return immediately.
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -303,7 +303,7 @@ var ts;
|
|
|
303
303
|
// The following is baselined as a literal template type without intervention
|
|
304
304
|
/** The version of the TypeScript compiler release */
|
|
305
305
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
306
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
306
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220623";
|
|
307
307
|
/* @internal */
|
|
308
308
|
var Comparison;
|
|
309
309
|
(function (Comparison) {
|
|
@@ -64824,7 +64824,7 @@ var ts;
|
|
|
64824
64824
|
});
|
|
64825
64825
|
}
|
|
64826
64826
|
function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64827
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64827
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64828
64828
|
return false;
|
|
64829
64829
|
if (isTupleLikeType(source)) {
|
|
64830
64830
|
return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
@@ -64891,7 +64891,7 @@ var ts;
|
|
|
64891
64891
|
});
|
|
64892
64892
|
}
|
|
64893
64893
|
function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64894
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64894
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64895
64895
|
return false;
|
|
64896
64896
|
return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
64897
64897
|
}
|
|
@@ -130394,7 +130394,7 @@ var ts;
|
|
|
130394
130394
|
for (var _b = 0, textChanges_1 = textChanges_2; _b < textChanges_1.length; _b++) {
|
|
130395
130395
|
var change = textChanges_1[_b];
|
|
130396
130396
|
var span = change.span, newText = change.newText;
|
|
130397
|
-
var index = indexInTextChange(newText, name);
|
|
130397
|
+
var index = indexInTextChange(newText, ts.escapeString(name));
|
|
130398
130398
|
if (index !== -1) {
|
|
130399
130399
|
lastPos = span.start + delta + index;
|
|
130400
130400
|
// If the reference comes first, return immediately.
|
package/lib/typescript.js
CHANGED
|
@@ -294,7 +294,7 @@ var ts;
|
|
|
294
294
|
// The following is baselined as a literal template type without intervention
|
|
295
295
|
/** The version of the TypeScript compiler release */
|
|
296
296
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
297
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
297
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220623";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -64815,7 +64815,7 @@ var ts;
|
|
|
64815
64815
|
});
|
|
64816
64816
|
}
|
|
64817
64817
|
function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64818
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64818
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64819
64819
|
return false;
|
|
64820
64820
|
if (isTupleLikeType(source)) {
|
|
64821
64821
|
return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
@@ -64882,7 +64882,7 @@ var ts;
|
|
|
64882
64882
|
});
|
|
64883
64883
|
}
|
|
64884
64884
|
function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64885
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64885
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64886
64886
|
return false;
|
|
64887
64887
|
return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
64888
64888
|
}
|
|
@@ -130385,7 +130385,7 @@ var ts;
|
|
|
130385
130385
|
for (var _b = 0, textChanges_1 = textChanges_2; _b < textChanges_1.length; _b++) {
|
|
130386
130386
|
var change = textChanges_1[_b];
|
|
130387
130387
|
var span = change.span, newText = change.newText;
|
|
130388
|
-
var index = indexInTextChange(newText, name);
|
|
130388
|
+
var index = indexInTextChange(newText, ts.escapeString(name));
|
|
130389
130389
|
if (index !== -1) {
|
|
130390
130390
|
lastPos = span.start + delta + index;
|
|
130391
130391
|
// If the reference comes first, return immediately.
|
|
@@ -294,7 +294,7 @@ var ts;
|
|
|
294
294
|
// The following is baselined as a literal template type without intervention
|
|
295
295
|
/** The version of the TypeScript compiler release */
|
|
296
296
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
297
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
297
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220623";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -64815,7 +64815,7 @@ var ts;
|
|
|
64815
64815
|
});
|
|
64816
64816
|
}
|
|
64817
64817
|
function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64818
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64818
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64819
64819
|
return false;
|
|
64820
64820
|
if (isTupleLikeType(source)) {
|
|
64821
64821
|
return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
@@ -64882,7 +64882,7 @@ var ts;
|
|
|
64882
64882
|
});
|
|
64883
64883
|
}
|
|
64884
64884
|
function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64885
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64885
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64886
64886
|
return false;
|
|
64887
64887
|
return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
64888
64888
|
}
|
|
@@ -130385,7 +130385,7 @@ var ts;
|
|
|
130385
130385
|
for (var _b = 0, textChanges_1 = textChanges_2; _b < textChanges_1.length; _b++) {
|
|
130386
130386
|
var change = textChanges_1[_b];
|
|
130387
130387
|
var span = change.span, newText = change.newText;
|
|
130388
|
-
var index = indexInTextChange(newText, name);
|
|
130388
|
+
var index = indexInTextChange(newText, ts.escapeString(name));
|
|
130389
130389
|
if (index !== -1) {
|
|
130390
130390
|
lastPos = span.start + delta + index;
|
|
130391
130391
|
// If the reference comes first, return immediately.
|
package/lib/typingsInstaller.js
CHANGED
|
@@ -89,7 +89,7 @@ var ts;
|
|
|
89
89
|
// The following is baselined as a literal template type without intervention
|
|
90
90
|
/** The version of the TypeScript compiler release */
|
|
91
91
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
92
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
92
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220623";
|
|
93
93
|
/* @internal */
|
|
94
94
|
var Comparison;
|
|
95
95
|
(function (Comparison) {
|
|
@@ -64610,7 +64610,7 @@ var ts;
|
|
|
64610
64610
|
});
|
|
64611
64611
|
}
|
|
64612
64612
|
function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64613
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64613
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64614
64614
|
return false;
|
|
64615
64615
|
if (isTupleLikeType(source)) {
|
|
64616
64616
|
return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
@@ -64677,7 +64677,7 @@ var ts;
|
|
|
64677
64677
|
});
|
|
64678
64678
|
}
|
|
64679
64679
|
function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {
|
|
64680
|
-
if (target.flags & 131068 /* Primitive */)
|
|
64680
|
+
if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))
|
|
64681
64681
|
return false;
|
|
64682
64682
|
return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer);
|
|
64683
64683
|
}
|
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": "4.8.0-dev.
|
|
5
|
+
"version": "4.8.0-dev.20220623",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|