Skip to content

Commit

Permalink
Bump version to 5.1.4 and LKG
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Jun 7, 2023
1 parent d1259a1 commit e6ceba0
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 15 deletions.
9 changes: 6 additions & 3 deletions lib/tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ and limitations under the License.

// src/compiler/corePublic.ts
var versionMajorMinor = "5.1";
var version = "5.1.3";
var version = "5.1.4";

// src/compiler/core.ts
var emptyArray = [];
Expand Down Expand Up @@ -58055,7 +58055,10 @@ function createTypeChecker(host) {
const newMapper = createTypeMapper(typeParameters, typeArguments);
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);
if (result.flags & 138117121 /* ObjectFlagsType */ && !(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (some(typeArguments, couldContainTypeVariables) ? 1048576 /* CouldContainTypeVariables */ : 0);
const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables);
if (!(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0);
}
}
target.instantiations.set(id, result);
}
Expand Down Expand Up @@ -95306,7 +95309,7 @@ function transformJsx(context) {
continue;
}
finishObjectLiteralIfNeeded();
expressions.push(attr.expression);
expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression)));
continue;
}
properties.push(transformJsxAttributeToObjectLiteralElement(attr));
Expand Down
9 changes: 6 additions & 3 deletions lib/tsserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -2304,7 +2304,7 @@ module.exports = __toCommonJS(server_exports);

// src/compiler/corePublic.ts
var versionMajorMinor = "5.1";
var version = "5.1.3";
var version = "5.1.4";
var Comparison = /* @__PURE__ */ ((Comparison3) => {
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
Expand Down Expand Up @@ -62706,7 +62706,10 @@ function createTypeChecker(host) {
const newMapper = createTypeMapper(typeParameters, typeArguments);
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);
if (result.flags & 138117121 /* ObjectFlagsType */ && !(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (some(typeArguments, couldContainTypeVariables) ? 1048576 /* CouldContainTypeVariables */ : 0);
const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables);
if (!(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0);
}
}
target.instantiations.set(id, result);
}
Expand Down Expand Up @@ -100128,7 +100131,7 @@ function transformJsx(context) {
continue;
}
finishObjectLiteralIfNeeded();
expressions.push(attr.expression);
expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression)));
continue;
}
properties.push(transformJsxAttributeToObjectLiteralElement(attr));
Expand Down
9 changes: 6 additions & 3 deletions lib/tsserverlibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var ts = (() => {
"src/compiler/corePublic.ts"() {
"use strict";
versionMajorMinor = "5.1";
version = "5.1.3";
version = "5.1.4";
Comparison = /* @__PURE__ */ ((Comparison3) => {
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
Expand Down Expand Up @@ -60497,7 +60497,10 @@ ${lanes.join("\n")}
const newMapper = createTypeMapper(typeParameters, typeArguments);
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);
if (result.flags & 138117121 /* ObjectFlagsType */ && !(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (some(typeArguments, couldContainTypeVariables) ? 1048576 /* CouldContainTypeVariables */ : 0);
const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables);
if (!(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0);
}
}
target.instantiations.set(id, result);
}
Expand Down Expand Up @@ -98154,7 +98157,7 @@ ${lanes.join("\n")}
continue;
}
finishObjectLiteralIfNeeded();
expressions.push(attr.expression);
expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression)));
continue;
}
properties.push(transformJsxAttributeToObjectLiteralElement(attr));
Expand Down
9 changes: 6 additions & 3 deletions lib/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var ts = (() => {
"src/compiler/corePublic.ts"() {
"use strict";
versionMajorMinor = "5.1";
version = "5.1.3";
version = "5.1.4";
Comparison = /* @__PURE__ */ ((Comparison3) => {
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
Expand Down Expand Up @@ -60497,7 +60497,10 @@ ${lanes.join("\n")}
const newMapper = createTypeMapper(typeParameters, typeArguments);
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);
if (result.flags & 138117121 /* ObjectFlagsType */ && !(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (some(typeArguments, couldContainTypeVariables) ? 1048576 /* CouldContainTypeVariables */ : 0);
const resultCouldContainTypeVariables = some(typeArguments, couldContainTypeVariables);
if (!(result.objectFlags & 524288 /* CouldContainTypeVariablesComputed */)) {
result.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (resultCouldContainTypeVariables ? 1048576 /* CouldContainTypeVariables */ : 0);
}
}
target.instantiations.set(id, result);
}
Expand Down Expand Up @@ -98154,7 +98157,7 @@ ${lanes.join("\n")}
continue;
}
finishObjectLiteralIfNeeded();
expressions.push(attr.expression);
expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression)));
continue;
}
properties.push(transformJsxAttributeToObjectLiteralElement(attr));
Expand Down
2 changes: 1 addition & 1 deletion lib/typingsInstaller.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var path = __toESM(require("path"));

// src/compiler/corePublic.ts
var versionMajorMinor = "5.1";
var version = "5.1.3";
var version = "5.1.4";

// src/compiler/core.ts
var emptyArray = [];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "typescript",
"author": "Microsoft Corp.",
"homepage": "https://www.typescriptlang.org/",
"version": "5.1.3",
"version": "5.1.4",
"license": "Apache-2.0",
"description": "TypeScript is a language for application scale JavaScript development",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/corePublic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const versionMajorMinor = "5.1";
// The following is baselined as a literal template type without intervention
/** The version of the TypeScript compiler release */
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
export const version = "5.1.3" as string;
export const version = "5.1.4" as string;

/**
* Type of objects whose values are all of the same type.
Expand Down

0 comments on commit e6ceba0

Please sign in to comment.