@typescript-deploys/pr-build 5.2.0-pr-55004-3 → 5.2.0-pr-55034-8
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 +11 -15
- package/lib/tsserver.js +12 -16
- package/lib/tsserverlibrary.js +12 -16
- package/lib/typescript.js +12 -16
- package/lib/typingsInstaller.js +1 -4
- 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-insiders.
|
|
21
|
+
var version = `${versionMajorMinor}.0-insiders.20230718`;
|
|
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;
|
|
@@ -23887,7 +23887,7 @@ var addDisposableResourceHelper = {
|
|
|
23887
23887
|
text: `
|
|
23888
23888
|
var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {
|
|
23889
23889
|
if (value !== null && value !== void 0) {
|
|
23890
|
-
if (typeof value !== "object") throw new TypeError("Object expected.");
|
|
23890
|
+
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
|
23891
23891
|
var dispose;
|
|
23892
23892
|
if (async) {
|
|
23893
23893
|
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
@@ -27818,9 +27818,6 @@ var Parser;
|
|
|
27818
27818
|
break;
|
|
27819
27819
|
}
|
|
27820
27820
|
parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
|
|
27821
|
-
if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
|
|
27822
|
-
break;
|
|
27823
|
-
}
|
|
27824
27821
|
if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner.hasPrecedingLineBreak()) {
|
|
27825
27822
|
nextToken();
|
|
27826
27823
|
}
|
|
@@ -63015,7 +63012,12 @@ function createTypeChecker(host) {
|
|
|
63015
63012
|
callback(getTypeAtPosition(source, i), getTypeAtPosition(target, i));
|
|
63016
63013
|
}
|
|
63017
63014
|
if (targetRestType) {
|
|
63018
|
-
callback(getRestTypeAtPosition(
|
|
63015
|
+
callback(getRestTypeAtPosition(
|
|
63016
|
+
source,
|
|
63017
|
+
paramCount,
|
|
63018
|
+
/*readonly*/
|
|
63019
|
+
isConstTypeVariable(targetRestType)
|
|
63020
|
+
), targetRestType);
|
|
63019
63021
|
}
|
|
63020
63022
|
}
|
|
63021
63023
|
function applyToReturnTypes(source, target, callback) {
|
|
@@ -72120,7 +72122,7 @@ function createTypeChecker(host) {
|
|
|
72120
72122
|
}
|
|
72121
72123
|
return void 0;
|
|
72122
72124
|
}
|
|
72123
|
-
function getRestTypeAtPosition(source, pos) {
|
|
72125
|
+
function getRestTypeAtPosition(source, pos, readonly) {
|
|
72124
72126
|
const parameterCount = getParameterCount(source);
|
|
72125
72127
|
const minArgumentCount = getMinArgumentCount(source);
|
|
72126
72128
|
const restType = getEffectiveRestType(source);
|
|
@@ -72143,13 +72145,7 @@ function createTypeChecker(host) {
|
|
|
72143
72145
|
names.push(name);
|
|
72144
72146
|
}
|
|
72145
72147
|
}
|
|
72146
|
-
return createTupleType(
|
|
72147
|
-
types,
|
|
72148
|
-
flags,
|
|
72149
|
-
/*readonly*/
|
|
72150
|
-
false,
|
|
72151
|
-
length(names) === length(types) ? names : void 0
|
|
72152
|
-
);
|
|
72148
|
+
return createTupleType(types, flags, readonly, length(names) === length(types) ? names : void 0);
|
|
72153
72149
|
}
|
|
72154
72150
|
function getParameterCount(signature) {
|
|
72155
72151
|
const length2 = signature.parameters.length;
|
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-insiders.
|
|
2330
|
+
var version = `${versionMajorMinor}.0-insiders.20230718`;
|
|
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;
|
|
@@ -28151,7 +28151,7 @@ var addDisposableResourceHelper = {
|
|
|
28151
28151
|
text: `
|
|
28152
28152
|
var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {
|
|
28153
28153
|
if (value !== null && value !== void 0) {
|
|
28154
|
-
if (typeof value !== "object") throw new TypeError("Object expected.");
|
|
28154
|
+
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
|
28155
28155
|
var dispose;
|
|
28156
28156
|
if (async) {
|
|
28157
28157
|
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
@@ -32216,9 +32216,6 @@ var Parser;
|
|
|
32216
32216
|
break;
|
|
32217
32217
|
}
|
|
32218
32218
|
parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
|
|
32219
|
-
if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
|
|
32220
|
-
break;
|
|
32221
|
-
}
|
|
32222
32219
|
if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner2.hasPrecedingLineBreak()) {
|
|
32223
32220
|
nextToken();
|
|
32224
32221
|
}
|
|
@@ -67722,7 +67719,12 @@ function createTypeChecker(host) {
|
|
|
67722
67719
|
callback(getTypeAtPosition(source, i), getTypeAtPosition(target, i));
|
|
67723
67720
|
}
|
|
67724
67721
|
if (targetRestType) {
|
|
67725
|
-
callback(getRestTypeAtPosition(
|
|
67722
|
+
callback(getRestTypeAtPosition(
|
|
67723
|
+
source,
|
|
67724
|
+
paramCount,
|
|
67725
|
+
/*readonly*/
|
|
67726
|
+
isConstTypeVariable(targetRestType)
|
|
67727
|
+
), targetRestType);
|
|
67726
67728
|
}
|
|
67727
67729
|
}
|
|
67728
67730
|
function applyToReturnTypes(source, target, callback) {
|
|
@@ -76827,7 +76829,7 @@ function createTypeChecker(host) {
|
|
|
76827
76829
|
}
|
|
76828
76830
|
return void 0;
|
|
76829
76831
|
}
|
|
76830
|
-
function getRestTypeAtPosition(source, pos) {
|
|
76832
|
+
function getRestTypeAtPosition(source, pos, readonly) {
|
|
76831
76833
|
const parameterCount = getParameterCount(source);
|
|
76832
76834
|
const minArgumentCount = getMinArgumentCount(source);
|
|
76833
76835
|
const restType = getEffectiveRestType(source);
|
|
@@ -76850,13 +76852,7 @@ function createTypeChecker(host) {
|
|
|
76850
76852
|
names.push(name);
|
|
76851
76853
|
}
|
|
76852
76854
|
}
|
|
76853
|
-
return createTupleType(
|
|
76854
|
-
types,
|
|
76855
|
-
flags,
|
|
76856
|
-
/*readonly*/
|
|
76857
|
-
false,
|
|
76858
|
-
length(names) === length(types) ? names : void 0
|
|
76859
|
-
);
|
|
76855
|
+
return createTupleType(types, flags, readonly, length(names) === length(types) ? names : void 0);
|
|
76860
76856
|
}
|
|
76861
76857
|
function getParameterCount(signature) {
|
|
76862
76858
|
const length2 = signature.parameters.length;
|
|
@@ -138065,7 +138061,7 @@ function getInliningInfo(file, startPosition, tryWithReferenceToken, program) {
|
|
|
138065
138061
|
if (!isIdentifier(token)) {
|
|
138066
138062
|
return void 0;
|
|
138067
138063
|
}
|
|
138068
|
-
if (isInitializedVariable(parent2) && isVariableDeclarationInVariableStatement(parent2)) {
|
|
138064
|
+
if (isInitializedVariable(parent2) && isVariableDeclarationInVariableStatement(parent2) && isIdentifier(parent2.name)) {
|
|
138069
138065
|
if (((_a = checker.getMergedSymbol(parent2.symbol).declarations) == null ? void 0 : _a.length) !== 1) {
|
|
138070
138066
|
return { error: getLocaleSpecificMessage(Diagnostics.Variables_with_multiple_declarations_cannot_be_inlined) };
|
|
138071
138067
|
}
|
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-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20230718`;
|
|
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;
|
|
@@ -26029,7 +26029,7 @@ ${lanes.join("\n")}
|
|
|
26029
26029
|
text: `
|
|
26030
26030
|
var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {
|
|
26031
26031
|
if (value !== null && value !== void 0) {
|
|
26032
|
-
if (typeof value !== "object") throw new TypeError("Object expected.");
|
|
26032
|
+
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
|
26033
26033
|
var dispose;
|
|
26034
26034
|
if (async) {
|
|
26035
26035
|
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
@@ -30289,9 +30289,6 @@ ${lanes.join("\n")}
|
|
|
30289
30289
|
break;
|
|
30290
30290
|
}
|
|
30291
30291
|
parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
|
|
30292
|
-
if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
|
|
30293
|
-
break;
|
|
30294
|
-
}
|
|
30295
30292
|
if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner2.hasPrecedingLineBreak()) {
|
|
30296
30293
|
nextToken();
|
|
30297
30294
|
}
|
|
@@ -65489,7 +65486,12 @@ ${lanes.join("\n")}
|
|
|
65489
65486
|
callback(getTypeAtPosition(source, i), getTypeAtPosition(target, i));
|
|
65490
65487
|
}
|
|
65491
65488
|
if (targetRestType) {
|
|
65492
|
-
callback(getRestTypeAtPosition(
|
|
65489
|
+
callback(getRestTypeAtPosition(
|
|
65490
|
+
source,
|
|
65491
|
+
paramCount,
|
|
65492
|
+
/*readonly*/
|
|
65493
|
+
isConstTypeVariable(targetRestType)
|
|
65494
|
+
), targetRestType);
|
|
65493
65495
|
}
|
|
65494
65496
|
}
|
|
65495
65497
|
function applyToReturnTypes(source, target, callback) {
|
|
@@ -74594,7 +74596,7 @@ ${lanes.join("\n")}
|
|
|
74594
74596
|
}
|
|
74595
74597
|
return void 0;
|
|
74596
74598
|
}
|
|
74597
|
-
function getRestTypeAtPosition(source, pos) {
|
|
74599
|
+
function getRestTypeAtPosition(source, pos, readonly) {
|
|
74598
74600
|
const parameterCount = getParameterCount(source);
|
|
74599
74601
|
const minArgumentCount = getMinArgumentCount(source);
|
|
74600
74602
|
const restType = getEffectiveRestType(source);
|
|
@@ -74617,13 +74619,7 @@ ${lanes.join("\n")}
|
|
|
74617
74619
|
names.push(name);
|
|
74618
74620
|
}
|
|
74619
74621
|
}
|
|
74620
|
-
return createTupleType(
|
|
74621
|
-
types,
|
|
74622
|
-
flags,
|
|
74623
|
-
/*readonly*/
|
|
74624
|
-
false,
|
|
74625
|
-
length(names) === length(types) ? names : void 0
|
|
74626
|
-
);
|
|
74622
|
+
return createTupleType(types, flags, readonly, length(names) === length(types) ? names : void 0);
|
|
74627
74623
|
}
|
|
74628
74624
|
function getParameterCount(signature) {
|
|
74629
74625
|
const length2 = signature.parameters.length;
|
|
@@ -136403,7 +136399,7 @@ ${lanes.join("\n")}
|
|
|
136403
136399
|
if (!isIdentifier(token)) {
|
|
136404
136400
|
return void 0;
|
|
136405
136401
|
}
|
|
136406
|
-
if (isInitializedVariable(parent2) && isVariableDeclarationInVariableStatement(parent2)) {
|
|
136402
|
+
if (isInitializedVariable(parent2) && isVariableDeclarationInVariableStatement(parent2) && isIdentifier(parent2.name)) {
|
|
136407
136403
|
if (((_a = checker.getMergedSymbol(parent2.symbol).declarations) == null ? void 0 : _a.length) !== 1) {
|
|
136408
136404
|
return { error: getLocaleSpecificMessage(Diagnostics.Variables_with_multiple_declarations_cannot_be_inlined) };
|
|
136409
136405
|
}
|
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-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20230718`;
|
|
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;
|
|
@@ -26029,7 +26029,7 @@ ${lanes.join("\n")}
|
|
|
26029
26029
|
text: `
|
|
26030
26030
|
var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {
|
|
26031
26031
|
if (value !== null && value !== void 0) {
|
|
26032
|
-
if (typeof value !== "object") throw new TypeError("Object expected.");
|
|
26032
|
+
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
|
26033
26033
|
var dispose;
|
|
26034
26034
|
if (async) {
|
|
26035
26035
|
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
@@ -30289,9 +30289,6 @@ ${lanes.join("\n")}
|
|
|
30289
30289
|
break;
|
|
30290
30290
|
}
|
|
30291
30291
|
parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
|
|
30292
|
-
if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
|
|
30293
|
-
break;
|
|
30294
|
-
}
|
|
30295
30292
|
if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner2.hasPrecedingLineBreak()) {
|
|
30296
30293
|
nextToken();
|
|
30297
30294
|
}
|
|
@@ -65489,7 +65486,12 @@ ${lanes.join("\n")}
|
|
|
65489
65486
|
callback(getTypeAtPosition(source, i), getTypeAtPosition(target, i));
|
|
65490
65487
|
}
|
|
65491
65488
|
if (targetRestType) {
|
|
65492
|
-
callback(getRestTypeAtPosition(
|
|
65489
|
+
callback(getRestTypeAtPosition(
|
|
65490
|
+
source,
|
|
65491
|
+
paramCount,
|
|
65492
|
+
/*readonly*/
|
|
65493
|
+
isConstTypeVariable(targetRestType)
|
|
65494
|
+
), targetRestType);
|
|
65493
65495
|
}
|
|
65494
65496
|
}
|
|
65495
65497
|
function applyToReturnTypes(source, target, callback) {
|
|
@@ -74594,7 +74596,7 @@ ${lanes.join("\n")}
|
|
|
74594
74596
|
}
|
|
74595
74597
|
return void 0;
|
|
74596
74598
|
}
|
|
74597
|
-
function getRestTypeAtPosition(source, pos) {
|
|
74599
|
+
function getRestTypeAtPosition(source, pos, readonly) {
|
|
74598
74600
|
const parameterCount = getParameterCount(source);
|
|
74599
74601
|
const minArgumentCount = getMinArgumentCount(source);
|
|
74600
74602
|
const restType = getEffectiveRestType(source);
|
|
@@ -74617,13 +74619,7 @@ ${lanes.join("\n")}
|
|
|
74617
74619
|
names.push(name);
|
|
74618
74620
|
}
|
|
74619
74621
|
}
|
|
74620
|
-
return createTupleType(
|
|
74621
|
-
types,
|
|
74622
|
-
flags,
|
|
74623
|
-
/*readonly*/
|
|
74624
|
-
false,
|
|
74625
|
-
length(names) === length(types) ? names : void 0
|
|
74626
|
-
);
|
|
74622
|
+
return createTupleType(types, flags, readonly, length(names) === length(types) ? names : void 0);
|
|
74627
74623
|
}
|
|
74628
74624
|
function getParameterCount(signature) {
|
|
74629
74625
|
const length2 = signature.parameters.length;
|
|
@@ -136418,7 +136414,7 @@ ${lanes.join("\n")}
|
|
|
136418
136414
|
if (!isIdentifier(token)) {
|
|
136419
136415
|
return void 0;
|
|
136420
136416
|
}
|
|
136421
|
-
if (isInitializedVariable(parent2) && isVariableDeclarationInVariableStatement(parent2)) {
|
|
136417
|
+
if (isInitializedVariable(parent2) && isVariableDeclarationInVariableStatement(parent2) && isIdentifier(parent2.name)) {
|
|
136422
136418
|
if (((_a = checker.getMergedSymbol(parent2.symbol).declarations) == null ? void 0 : _a.length) !== 1) {
|
|
136423
136419
|
return { error: getLocaleSpecificMessage(Diagnostics.Variables_with_multiple_declarations_cannot_be_inlined) };
|
|
136424
136420
|
}
|
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-insiders.
|
|
57
|
+
var version = `${versionMajorMinor}.0-insiders.20230718`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
|
@@ -19725,9 +19725,6 @@ var Parser;
|
|
|
19725
19725
|
break;
|
|
19726
19726
|
}
|
|
19727
19727
|
parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
|
|
19728
|
-
if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
|
|
19729
|
-
break;
|
|
19730
|
-
}
|
|
19731
19728
|
if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner.hasPrecedingLineBreak()) {
|
|
19732
19729
|
nextToken();
|
|
19733
19730
|
}
|
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.2.0-pr-
|
|
5
|
+
"version": "5.2.0-pr-55034-8",
|
|
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",
|
|
@@ -115,5 +114,5 @@
|
|
|
115
114
|
"node": "20.1.0",
|
|
116
115
|
"npm": "8.19.4"
|
|
117
116
|
},
|
|
118
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "2842e44bf3f80d0459b1687e4d236d03aa9a3b17"
|
|
119
118
|
}
|