Skip to content

Commit e6ceba0

Browse files
Bump version to 5.1.4 and LKG
1 parent d1259a1 commit e6ceba0

File tree

7 files changed

+27
-15
lines changed

7 files changed

+27
-15
lines changed

Diff for: lib/tsc.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ and limitations under the License.
1818

1919
// src/compiler/corePublic.ts
2020
var versionMajorMinor = "5.1";
21-
var version = "5.1.3";
21+
var version = "5.1.4";
2222

2323
// src/compiler/core.ts
2424
var emptyArray = [];
@@ -58055,7 +58055,10 @@ function createTypeChecker(host) {
5805558055
const newMapper = createTypeMapper(typeParameters, typeArguments);
5805658056
result = target.objectFlags & 4 /* Reference */ ? createDeferredTypeReference(type.target, type.node, newMapper, newAliasSymbol, newAliasTypeArguments) : target.objectFlags & 32 /* Mapped */ ? instantiateMappedType(target, newMapper, newAliasSymbol, newAliasTypeArguments) : instantiateAnonymousType(target, newMapper, newAliasSymbol, newAliasTypeArguments);
5805758057
if (result.flags & 138117121 /* ObjectFlagsType */ && !(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
58058-
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (some(typeArguments, couldContainTypeVariables) ? 1048576 /* CouldContainTypeVariables */ : 0);
58058+
const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables);
58059+
if (!(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
58060+
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0);
58061+
}
5805958062
}
5806058063
target.instantiations.set(id, result);
5806158064
}
@@ -95306,7 +95309,7 @@ function transformJsx(context) {
9530695309
continue;
9530795310
}
9530895311
finishObjectLiteralIfNeeded();
95309-
expressions.push(attr.expression);
95312+
expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression)));
9531095313
continue;
9531195314
}
9531295315
properties.push(transformJsxAttributeToObjectLiteralElement(attr));

Diff for: lib/tsserver.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,7 @@ module.exports = __toCommonJS(server_exports);
23042304

23052305
// src/compiler/corePublic.ts
23062306
var versionMajorMinor = "5.1";
2307-
var version = "5.1.3";
2307+
var version = "5.1.4";
23082308
var Comparison = /* @__PURE__ */ ((Comparison3) => {
23092309
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
23102310
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -62706,7 +62706,10 @@ function createTypeChecker(host) {
6270662706
const newMapper = createTypeMapper(typeParameters, typeArguments);
6270762707
result = target.objectFlags & 4 /* Reference */ ? createDeferredTypeReference(type.target, type.node, newMapper, newAliasSymbol, newAliasTypeArguments) : target.objectFlags & 32 /* Mapped */ ? instantiateMappedType(target, newMapper, newAliasSymbol, newAliasTypeArguments) : instantiateAnonymousType(target, newMapper, newAliasSymbol, newAliasTypeArguments);
6270862708
if (result.flags & 138117121 /* ObjectFlagsType */ && !(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
62709-
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (some(typeArguments, couldContainTypeVariables) ? 1048576 /* CouldContainTypeVariables */ : 0);
62709+
const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables);
62710+
if (!(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
62711+
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0);
62712+
}
6271062713
}
6271162714
target.instantiations.set(id, result);
6271262715
}
@@ -100128,7 +100131,7 @@ function transformJsx(context) {
100128100131
continue;
100129100132
}
100130100133
finishObjectLiteralIfNeeded();
100131-
expressions.push(attr.expression);
100134+
expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression)));
100132100135
continue;
100133100136
}
100134100137
properties.push(transformJsxAttributeToObjectLiteralElement(attr));

Diff for: lib/tsserverlibrary.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var ts = (() => {
3535
"src/compiler/corePublic.ts"() {
3636
"use strict";
3737
versionMajorMinor = "5.1";
38-
version = "5.1.3";
38+
version = "5.1.4";
3939
Comparison = /* @__PURE__ */ ((Comparison3) => {
4040
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
4141
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -60497,7 +60497,10 @@ ${lanes.join("\n")}
6049760497
const newMapper = createTypeMapper(typeParameters, typeArguments);
6049860498
result = target.objectFlags & 4 /* Reference */ ? createDeferredTypeReference(type.target, type.node, newMapper, newAliasSymbol, newAliasTypeArguments) : target.objectFlags & 32 /* Mapped */ ? instantiateMappedType(target, newMapper, newAliasSymbol, newAliasTypeArguments) : instantiateAnonymousType(target, newMapper, newAliasSymbol, newAliasTypeArguments);
6049960499
if (result.flags & 138117121 /* ObjectFlagsType */ && !(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
60500-
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (some(typeArguments, couldContainTypeVariables) ? 1048576 /* CouldContainTypeVariables */ : 0);
60500+
const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables);
60501+
if (!(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
60502+
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0);
60503+
}
6050160504
}
6050260505
target.instantiations.set(id, result);
6050360506
}
@@ -98154,7 +98157,7 @@ ${lanes.join("\n")}
9815498157
continue;
9815598158
}
9815698159
finishObjectLiteralIfNeeded();
98157-
expressions.push(attr.expression);
98160+
expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression)));
9815898161
continue;
9815998162
}
9816098163
properties.push(transformJsxAttributeToObjectLiteralElement(attr));

Diff for: lib/typescript.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var ts = (() => {
3535
"src/compiler/corePublic.ts"() {
3636
"use strict";
3737
versionMajorMinor = "5.1";
38-
version = "5.1.3";
38+
version = "5.1.4";
3939
Comparison = /* @__PURE__ */ ((Comparison3) => {
4040
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
4141
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -60497,7 +60497,10 @@ ${lanes.join("\n")}
6049760497
const newMapper = createTypeMapper(typeParameters, typeArguments);
6049860498
result = target.objectFlags & 4 /* Reference */ ? createDeferredTypeReference(type.target, type.node, newMapper, newAliasSymbol, newAliasTypeArguments) : target.objectFlags & 32 /* Mapped */ ? instantiateMappedType(target, newMapper, newAliasSymbol, newAliasTypeArguments) : instantiateAnonymousType(target, newMapper, newAliasSymbol, newAliasTypeArguments);
6049960499
if (result.flags & 138117121 /* ObjectFlagsType */ && !(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
60500-
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (some(typeArguments, couldContainTypeVariables) ? 1048576 /* CouldContainTypeVariables */ : 0);
60500+
const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables);
60501+
if (!(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
60502+
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0);
60503+
}
6050160504
}
6050260505
target.instantiations.set(id, result);
6050360506
}
@@ -98154,7 +98157,7 @@ ${lanes.join("\n")}
9815498157
continue;
9815598158
}
9815698159
finishObjectLiteralIfNeeded();
98157-
expressions.push(attr.expression);
98160+
expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression)));
9815898161
continue;
9815998162
}
9816098163
properties.push(transformJsxAttributeToObjectLiteralElement(attr));

Diff for: lib/typingsInstaller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
5454

5555
// src/compiler/corePublic.ts
5656
var versionMajorMinor = "5.1";
57-
var version = "5.1.3";
57+
var version = "5.1.4";
5858

5959
// src/compiler/core.ts
6060
var emptyArray = [];

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "typescript",
33
"author": "Microsoft Corp.",
44
"homepage": "https://www.typescriptlang.org/",
5-
"version": "5.1.3",
5+
"version": "5.1.4",
66
"license": "Apache-2.0",
77
"description": "TypeScript is a language for application scale JavaScript development",
88
"keywords": [

Diff for: src/compiler/corePublic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const versionMajorMinor = "5.1";
44
// The following is baselined as a literal template type without intervention
55
/** The version of the TypeScript compiler release */
66
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
7-
export const version = "5.1.3" as string;
7+
export const version = "5.1.4" as string;
88

99
/**
1010
* Type of objects whose values are all of the same type.

0 commit comments

Comments
 (0)