@typescript-deploys/pr-build 5.0.0-pr-52734-9 → 5.0.0-pr-52728-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 +13 -4
- package/lib/tsserver.js +13 -4
- package/lib/tsserverlibrary.js +13 -4
- package/lib/typescript.js +13 -4
- package/lib/typingsInstaller.js +1 -1
- package/package.json +1 -1
package/lib/tsc.js
CHANGED
|
@@ -23,7 +23,7 @@ var __export = (target, all) => {
|
|
|
23
23
|
|
|
24
24
|
// src/compiler/corePublic.ts
|
|
25
25
|
var versionMajorMinor = "5.0";
|
|
26
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
26
|
+
var version = `${versionMajorMinor}.0-insiders.20230216`;
|
|
27
27
|
|
|
28
28
|
// src/compiler/core.ts
|
|
29
29
|
var emptyArray = [];
|
|
@@ -42584,6 +42584,7 @@ function createTypeChecker(host) {
|
|
|
42584
42584
|
let inlineLevel = 0;
|
|
42585
42585
|
let currentNode;
|
|
42586
42586
|
let varianceTypeParameter;
|
|
42587
|
+
let isInferencePartiallyBlocked = false;
|
|
42587
42588
|
const emptySymbols = createSymbolTable();
|
|
42588
42589
|
const arrayVariances = [1 /* Covariant */];
|
|
42589
42590
|
const compilerOptions = host.getCompilerOptions();
|
|
@@ -43006,7 +43007,9 @@ function createTypeChecker(host) {
|
|
|
43006
43007
|
} while (toMarkSkip && toMarkSkip !== containingCall);
|
|
43007
43008
|
getNodeLinks(containingCall).resolvedSignature = void 0;
|
|
43008
43009
|
}
|
|
43010
|
+
isInferencePartiallyBlocked = true;
|
|
43009
43011
|
const result = fn();
|
|
43012
|
+
isInferencePartiallyBlocked = false;
|
|
43010
43013
|
if (containingCall) {
|
|
43011
43014
|
let toMarkSkip = node;
|
|
43012
43015
|
do {
|
|
@@ -62490,10 +62493,10 @@ function createTypeChecker(host) {
|
|
|
62490
62493
|
return getBigIntLiteralType(parseValidBigInt(text));
|
|
62491
62494
|
}
|
|
62492
62495
|
function isMemberOfStringMapping(source, target) {
|
|
62493
|
-
if (target.flags & 1 /* Any */) {
|
|
62496
|
+
if (target.flags & (4 /* String */ | 1 /* Any */)) {
|
|
62494
62497
|
return true;
|
|
62495
62498
|
}
|
|
62496
|
-
if (target.flags &
|
|
62499
|
+
if (target.flags & 134217728 /* TemplateLiteral */) {
|
|
62497
62500
|
return isTypeAssignableTo(source, target);
|
|
62498
62501
|
}
|
|
62499
62502
|
if (target.flags & 268435456 /* StringMapping */) {
|
|
@@ -69603,7 +69606,7 @@ function createTypeChecker(host) {
|
|
|
69603
69606
|
const isTaggedTemplate = node.kind === 212 /* TaggedTemplateExpression */;
|
|
69604
69607
|
const isDecorator2 = node.kind === 167 /* Decorator */;
|
|
69605
69608
|
const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);
|
|
69606
|
-
const reportErrors2 = !candidatesOutArray;
|
|
69609
|
+
const reportErrors2 = !isInferencePartiallyBlocked && !candidatesOutArray;
|
|
69607
69610
|
let typeArguments;
|
|
69608
69611
|
if (!isDecorator2 && !isSuperCall(node)) {
|
|
69609
69612
|
typeArguments = node.typeArguments;
|
|
@@ -74812,6 +74815,9 @@ function createTypeChecker(host) {
|
|
|
74812
74815
|
case 273 /* ImportSpecifier */:
|
|
74813
74816
|
case 79 /* Identifier */:
|
|
74814
74817
|
return 1 /* ExportValue */;
|
|
74818
|
+
case 170 /* MethodSignature */:
|
|
74819
|
+
case 168 /* PropertySignature */:
|
|
74820
|
+
return 2 /* ExportType */;
|
|
74815
74821
|
default:
|
|
74816
74822
|
return Debug.failBadSyntaxKind(d);
|
|
74817
74823
|
}
|
|
@@ -79195,6 +79201,8 @@ function createTypeChecker(host) {
|
|
|
79195
79201
|
if (!(links.flags & 1 /* TypeChecked */)) {
|
|
79196
79202
|
links.deferredNodes || (links.deferredNodes = /* @__PURE__ */ new Set());
|
|
79197
79203
|
links.deferredNodes.add(node);
|
|
79204
|
+
} else {
|
|
79205
|
+
Debug.assert(!links.deferredNodes, "A type-checked file should have no deferred nodes.");
|
|
79198
79206
|
}
|
|
79199
79207
|
}
|
|
79200
79208
|
function checkDeferredNodes(context) {
|
|
@@ -79202,6 +79210,7 @@ function createTypeChecker(host) {
|
|
|
79202
79210
|
if (links.deferredNodes) {
|
|
79203
79211
|
links.deferredNodes.forEach(checkDeferredNode);
|
|
79204
79212
|
}
|
|
79213
|
+
links.deferredNodes = void 0;
|
|
79205
79214
|
}
|
|
79206
79215
|
function checkDeferredNode(node) {
|
|
79207
79216
|
var _a2, _b;
|
package/lib/tsserver.js
CHANGED
|
@@ -2287,7 +2287,7 @@ module.exports = __toCommonJS(server_exports);
|
|
|
2287
2287
|
|
|
2288
2288
|
// src/compiler/corePublic.ts
|
|
2289
2289
|
var versionMajorMinor = "5.0";
|
|
2290
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
2290
|
+
var version = `${versionMajorMinor}.0-insiders.20230216`;
|
|
2291
2291
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2292
2292
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2293
2293
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -47160,6 +47160,7 @@ function createTypeChecker(host) {
|
|
|
47160
47160
|
let inlineLevel = 0;
|
|
47161
47161
|
let currentNode;
|
|
47162
47162
|
let varianceTypeParameter;
|
|
47163
|
+
let isInferencePartiallyBlocked = false;
|
|
47163
47164
|
const emptySymbols = createSymbolTable();
|
|
47164
47165
|
const arrayVariances = [1 /* Covariant */];
|
|
47165
47166
|
const compilerOptions = host.getCompilerOptions();
|
|
@@ -47582,7 +47583,9 @@ function createTypeChecker(host) {
|
|
|
47582
47583
|
} while (toMarkSkip && toMarkSkip !== containingCall);
|
|
47583
47584
|
getNodeLinks(containingCall).resolvedSignature = void 0;
|
|
47584
47585
|
}
|
|
47586
|
+
isInferencePartiallyBlocked = true;
|
|
47585
47587
|
const result = fn();
|
|
47588
|
+
isInferencePartiallyBlocked = false;
|
|
47586
47589
|
if (containingCall) {
|
|
47587
47590
|
let toMarkSkip = node;
|
|
47588
47591
|
do {
|
|
@@ -67066,10 +67069,10 @@ function createTypeChecker(host) {
|
|
|
67066
67069
|
return getBigIntLiteralType(parseValidBigInt(text));
|
|
67067
67070
|
}
|
|
67068
67071
|
function isMemberOfStringMapping(source, target) {
|
|
67069
|
-
if (target.flags & 1 /* Any */) {
|
|
67072
|
+
if (target.flags & (4 /* String */ | 1 /* Any */)) {
|
|
67070
67073
|
return true;
|
|
67071
67074
|
}
|
|
67072
|
-
if (target.flags &
|
|
67075
|
+
if (target.flags & 134217728 /* TemplateLiteral */) {
|
|
67073
67076
|
return isTypeAssignableTo(source, target);
|
|
67074
67077
|
}
|
|
67075
67078
|
if (target.flags & 268435456 /* StringMapping */) {
|
|
@@ -74179,7 +74182,7 @@ function createTypeChecker(host) {
|
|
|
74179
74182
|
const isTaggedTemplate = node.kind === 212 /* TaggedTemplateExpression */;
|
|
74180
74183
|
const isDecorator2 = node.kind === 167 /* Decorator */;
|
|
74181
74184
|
const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);
|
|
74182
|
-
const reportErrors2 = !candidatesOutArray;
|
|
74185
|
+
const reportErrors2 = !isInferencePartiallyBlocked && !candidatesOutArray;
|
|
74183
74186
|
let typeArguments;
|
|
74184
74187
|
if (!isDecorator2 && !isSuperCall(node)) {
|
|
74185
74188
|
typeArguments = node.typeArguments;
|
|
@@ -79388,6 +79391,9 @@ function createTypeChecker(host) {
|
|
|
79388
79391
|
case 273 /* ImportSpecifier */:
|
|
79389
79392
|
case 79 /* Identifier */:
|
|
79390
79393
|
return 1 /* ExportValue */;
|
|
79394
|
+
case 170 /* MethodSignature */:
|
|
79395
|
+
case 168 /* PropertySignature */:
|
|
79396
|
+
return 2 /* ExportType */;
|
|
79391
79397
|
default:
|
|
79392
79398
|
return Debug.failBadSyntaxKind(d);
|
|
79393
79399
|
}
|
|
@@ -83771,6 +83777,8 @@ function createTypeChecker(host) {
|
|
|
83771
83777
|
if (!(links.flags & 1 /* TypeChecked */)) {
|
|
83772
83778
|
links.deferredNodes || (links.deferredNodes = /* @__PURE__ */ new Set());
|
|
83773
83779
|
links.deferredNodes.add(node);
|
|
83780
|
+
} else {
|
|
83781
|
+
Debug.assert(!links.deferredNodes, "A type-checked file should have no deferred nodes.");
|
|
83774
83782
|
}
|
|
83775
83783
|
}
|
|
83776
83784
|
function checkDeferredNodes(context) {
|
|
@@ -83778,6 +83786,7 @@ function createTypeChecker(host) {
|
|
|
83778
83786
|
if (links.deferredNodes) {
|
|
83779
83787
|
links.deferredNodes.forEach(checkDeferredNode);
|
|
83780
83788
|
}
|
|
83789
|
+
links.deferredNodes = void 0;
|
|
83781
83790
|
}
|
|
83782
83791
|
function checkDeferredNode(node) {
|
|
83783
83792
|
var _a2, _b;
|
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.0";
|
|
38
|
-
version = `${versionMajorMinor}.0-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20230216`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -44970,6 +44970,7 @@ ${lanes.join("\n")}
|
|
|
44970
44970
|
let inlineLevel = 0;
|
|
44971
44971
|
let currentNode;
|
|
44972
44972
|
let varianceTypeParameter;
|
|
44973
|
+
let isInferencePartiallyBlocked = false;
|
|
44973
44974
|
const emptySymbols = createSymbolTable();
|
|
44974
44975
|
const arrayVariances = [1 /* Covariant */];
|
|
44975
44976
|
const compilerOptions = host.getCompilerOptions();
|
|
@@ -45392,7 +45393,9 @@ ${lanes.join("\n")}
|
|
|
45392
45393
|
} while (toMarkSkip && toMarkSkip !== containingCall);
|
|
45393
45394
|
getNodeLinks(containingCall).resolvedSignature = void 0;
|
|
45394
45395
|
}
|
|
45396
|
+
isInferencePartiallyBlocked = true;
|
|
45395
45397
|
const result = fn();
|
|
45398
|
+
isInferencePartiallyBlocked = false;
|
|
45396
45399
|
if (containingCall) {
|
|
45397
45400
|
let toMarkSkip = node;
|
|
45398
45401
|
do {
|
|
@@ -64876,10 +64879,10 @@ ${lanes.join("\n")}
|
|
|
64876
64879
|
return getBigIntLiteralType(parseValidBigInt(text));
|
|
64877
64880
|
}
|
|
64878
64881
|
function isMemberOfStringMapping(source, target) {
|
|
64879
|
-
if (target.flags & 1 /* Any */) {
|
|
64882
|
+
if (target.flags & (4 /* String */ | 1 /* Any */)) {
|
|
64880
64883
|
return true;
|
|
64881
64884
|
}
|
|
64882
|
-
if (target.flags &
|
|
64885
|
+
if (target.flags & 134217728 /* TemplateLiteral */) {
|
|
64883
64886
|
return isTypeAssignableTo(source, target);
|
|
64884
64887
|
}
|
|
64885
64888
|
if (target.flags & 268435456 /* StringMapping */) {
|
|
@@ -71989,7 +71992,7 @@ ${lanes.join("\n")}
|
|
|
71989
71992
|
const isTaggedTemplate = node.kind === 212 /* TaggedTemplateExpression */;
|
|
71990
71993
|
const isDecorator2 = node.kind === 167 /* Decorator */;
|
|
71991
71994
|
const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);
|
|
71992
|
-
const reportErrors2 = !candidatesOutArray;
|
|
71995
|
+
const reportErrors2 = !isInferencePartiallyBlocked && !candidatesOutArray;
|
|
71993
71996
|
let typeArguments;
|
|
71994
71997
|
if (!isDecorator2 && !isSuperCall(node)) {
|
|
71995
71998
|
typeArguments = node.typeArguments;
|
|
@@ -77198,6 +77201,9 @@ ${lanes.join("\n")}
|
|
|
77198
77201
|
case 273 /* ImportSpecifier */:
|
|
77199
77202
|
case 79 /* Identifier */:
|
|
77200
77203
|
return 1 /* ExportValue */;
|
|
77204
|
+
case 170 /* MethodSignature */:
|
|
77205
|
+
case 168 /* PropertySignature */:
|
|
77206
|
+
return 2 /* ExportType */;
|
|
77201
77207
|
default:
|
|
77202
77208
|
return Debug.failBadSyntaxKind(d);
|
|
77203
77209
|
}
|
|
@@ -81581,6 +81587,8 @@ ${lanes.join("\n")}
|
|
|
81581
81587
|
if (!(links.flags & 1 /* TypeChecked */)) {
|
|
81582
81588
|
links.deferredNodes || (links.deferredNodes = /* @__PURE__ */ new Set());
|
|
81583
81589
|
links.deferredNodes.add(node);
|
|
81590
|
+
} else {
|
|
81591
|
+
Debug.assert(!links.deferredNodes, "A type-checked file should have no deferred nodes.");
|
|
81584
81592
|
}
|
|
81585
81593
|
}
|
|
81586
81594
|
function checkDeferredNodes(context) {
|
|
@@ -81588,6 +81596,7 @@ ${lanes.join("\n")}
|
|
|
81588
81596
|
if (links.deferredNodes) {
|
|
81589
81597
|
links.deferredNodes.forEach(checkDeferredNode);
|
|
81590
81598
|
}
|
|
81599
|
+
links.deferredNodes = void 0;
|
|
81591
81600
|
}
|
|
81592
81601
|
function checkDeferredNode(node) {
|
|
81593
81602
|
var _a2, _b;
|
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.0";
|
|
38
|
-
version = `${versionMajorMinor}.0-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20230216`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -44970,6 +44970,7 @@ ${lanes.join("\n")}
|
|
|
44970
44970
|
let inlineLevel = 0;
|
|
44971
44971
|
let currentNode;
|
|
44972
44972
|
let varianceTypeParameter;
|
|
44973
|
+
let isInferencePartiallyBlocked = false;
|
|
44973
44974
|
const emptySymbols = createSymbolTable();
|
|
44974
44975
|
const arrayVariances = [1 /* Covariant */];
|
|
44975
44976
|
const compilerOptions = host.getCompilerOptions();
|
|
@@ -45392,7 +45393,9 @@ ${lanes.join("\n")}
|
|
|
45392
45393
|
} while (toMarkSkip && toMarkSkip !== containingCall);
|
|
45393
45394
|
getNodeLinks(containingCall).resolvedSignature = void 0;
|
|
45394
45395
|
}
|
|
45396
|
+
isInferencePartiallyBlocked = true;
|
|
45395
45397
|
const result = fn();
|
|
45398
|
+
isInferencePartiallyBlocked = false;
|
|
45396
45399
|
if (containingCall) {
|
|
45397
45400
|
let toMarkSkip = node;
|
|
45398
45401
|
do {
|
|
@@ -64876,10 +64879,10 @@ ${lanes.join("\n")}
|
|
|
64876
64879
|
return getBigIntLiteralType(parseValidBigInt(text));
|
|
64877
64880
|
}
|
|
64878
64881
|
function isMemberOfStringMapping(source, target) {
|
|
64879
|
-
if (target.flags & 1 /* Any */) {
|
|
64882
|
+
if (target.flags & (4 /* String */ | 1 /* Any */)) {
|
|
64880
64883
|
return true;
|
|
64881
64884
|
}
|
|
64882
|
-
if (target.flags &
|
|
64885
|
+
if (target.flags & 134217728 /* TemplateLiteral */) {
|
|
64883
64886
|
return isTypeAssignableTo(source, target);
|
|
64884
64887
|
}
|
|
64885
64888
|
if (target.flags & 268435456 /* StringMapping */) {
|
|
@@ -71989,7 +71992,7 @@ ${lanes.join("\n")}
|
|
|
71989
71992
|
const isTaggedTemplate = node.kind === 212 /* TaggedTemplateExpression */;
|
|
71990
71993
|
const isDecorator2 = node.kind === 167 /* Decorator */;
|
|
71991
71994
|
const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);
|
|
71992
|
-
const reportErrors2 = !candidatesOutArray;
|
|
71995
|
+
const reportErrors2 = !isInferencePartiallyBlocked && !candidatesOutArray;
|
|
71993
71996
|
let typeArguments;
|
|
71994
71997
|
if (!isDecorator2 && !isSuperCall(node)) {
|
|
71995
71998
|
typeArguments = node.typeArguments;
|
|
@@ -77198,6 +77201,9 @@ ${lanes.join("\n")}
|
|
|
77198
77201
|
case 273 /* ImportSpecifier */:
|
|
77199
77202
|
case 79 /* Identifier */:
|
|
77200
77203
|
return 1 /* ExportValue */;
|
|
77204
|
+
case 170 /* MethodSignature */:
|
|
77205
|
+
case 168 /* PropertySignature */:
|
|
77206
|
+
return 2 /* ExportType */;
|
|
77201
77207
|
default:
|
|
77202
77208
|
return Debug.failBadSyntaxKind(d);
|
|
77203
77209
|
}
|
|
@@ -81581,6 +81587,8 @@ ${lanes.join("\n")}
|
|
|
81581
81587
|
if (!(links.flags & 1 /* TypeChecked */)) {
|
|
81582
81588
|
links.deferredNodes || (links.deferredNodes = /* @__PURE__ */ new Set());
|
|
81583
81589
|
links.deferredNodes.add(node);
|
|
81590
|
+
} else {
|
|
81591
|
+
Debug.assert(!links.deferredNodes, "A type-checked file should have no deferred nodes.");
|
|
81584
81592
|
}
|
|
81585
81593
|
}
|
|
81586
81594
|
function checkDeferredNodes(context) {
|
|
@@ -81588,6 +81596,7 @@ ${lanes.join("\n")}
|
|
|
81588
81596
|
if (links.deferredNodes) {
|
|
81589
81597
|
links.deferredNodes.forEach(checkDeferredNode);
|
|
81590
81598
|
}
|
|
81599
|
+
links.deferredNodes = void 0;
|
|
81591
81600
|
}
|
|
81592
81601
|
function checkDeferredNode(node) {
|
|
81593
81602
|
var _a2, _b;
|
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.0";
|
|
57
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
57
|
+
var version = `${versionMajorMinor}.0-insiders.20230216`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
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.0.0-pr-
|
|
5
|
+
"version": "5.0.0-pr-52728-5",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|