mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 11:54:44 -06:00
Bump version to 5.4.5 and LKG
This commit is contained in:
parent
892936f4a1
commit
71b2f84741
@ -18,7 +18,7 @@ and limitations under the License.
|
||||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.4";
|
||||
var version = "5.4.4";
|
||||
var version = "5.4.5";
|
||||
|
||||
// src/compiler/core.ts
|
||||
var emptyArray = [];
|
||||
@ -55510,13 +55510,13 @@ function createTypeChecker(host) {
|
||||
}
|
||||
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
||||
var _a, _b, _c;
|
||||
let property = ((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
|
||||
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
||||
if (!property) {
|
||||
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
||||
if (property) {
|
||||
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties.set(name, property);
|
||||
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties2.set(name, property);
|
||||
}
|
||||
|
||||
@ -2340,7 +2340,7 @@ module.exports = __toCommonJS(server_exports);
|
||||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.4";
|
||||
var version = "5.4.4";
|
||||
var version = "5.4.5";
|
||||
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
||||
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
||||
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
||||
@ -60254,13 +60254,13 @@ function createTypeChecker(host) {
|
||||
}
|
||||
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
||||
var _a, _b, _c;
|
||||
let property = ((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
|
||||
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
||||
if (!property) {
|
||||
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
||||
if (property) {
|
||||
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties.set(name, property);
|
||||
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties2.set(name, property);
|
||||
}
|
||||
@ -160459,7 +160459,8 @@ function getCompletionEntriesFromSymbols(symbols, entries, replacementToken, con
|
||||
}
|
||||
function symbolAppearsToBeTypeOnly(symbol) {
|
||||
var _a;
|
||||
return !(symbol.flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(symbol.flags & 788968 /* Type */));
|
||||
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
|
||||
return !(flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968 /* Type */));
|
||||
}
|
||||
}
|
||||
function getLabelCompletionAtPosition(node) {
|
||||
|
||||
@ -35,7 +35,7 @@ var ts = (() => {
|
||||
"src/compiler/corePublic.ts"() {
|
||||
"use strict";
|
||||
versionMajorMinor = "5.4";
|
||||
version = "5.4.4";
|
||||
version = "5.4.5";
|
||||
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
||||
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
||||
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
||||
@ -58009,13 +58009,13 @@ ${lanes.join("\n")}
|
||||
}
|
||||
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
||||
var _a, _b, _c;
|
||||
let property = ((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
|
||||
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
||||
if (!property) {
|
||||
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
||||
if (property) {
|
||||
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties.set(name, property);
|
||||
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties2.set(name, property);
|
||||
}
|
||||
@ -159682,7 +159682,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
||||
}
|
||||
function symbolAppearsToBeTypeOnly(symbol) {
|
||||
var _a;
|
||||
return !(symbol.flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(symbol.flags & 788968 /* Type */));
|
||||
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
|
||||
return !(flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968 /* Type */));
|
||||
}
|
||||
}
|
||||
function getLabelCompletionAtPosition(node) {
|
||||
|
||||
@ -54,7 +54,7 @@ var path = __toESM(require("path"));
|
||||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.4";
|
||||
var version = "5.4.4";
|
||||
var version = "5.4.5";
|
||||
|
||||
// src/compiler/core.ts
|
||||
var emptyArray = [];
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "typescript",
|
||||
"version": "5.4.4",
|
||||
"version": "5.4.5",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "typescript",
|
||||
"version": "5.4.4",
|
||||
"version": "5.4.5",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "typescript",
|
||||
"author": "Microsoft Corp.",
|
||||
"homepage": "https://www.typescriptlang.org/",
|
||||
"version": "5.4.4",
|
||||
"version": "5.4.5",
|
||||
"license": "Apache-2.0",
|
||||
"description": "TypeScript is a language for application scale JavaScript development",
|
||||
"keywords": [
|
||||
|
||||
@ -4,7 +4,7 @@ export const versionMajorMinor = "5.4";
|
||||
// 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.4.4" as string;
|
||||
export const version = "5.4.5" as string;
|
||||
|
||||
/**
|
||||
* Type of objects whose values are all of the same type.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user