Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71b2f84

Browse files
Bump version to 5.4.5 and LKG
1 parent892936f commit71b2f84

File tree

7 files changed

+18
-16
lines changed

7 files changed

+18
-16
lines changed

‎lib/tsc.js‎

Lines changed: 3 additions & 3 deletions
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.4";
21-
var version = "5.4.4";
21+
var version = "5.4.5";
2222

2323
// src/compiler/core.ts
2424
var emptyArray = [];
@@ -55510,13 +55510,13 @@ function createTypeChecker(host) {
5551055510
}
5551155511
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
5551255512
var _a, _b, _c;
55513-
let property =((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ?(_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
55513+
let property =skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) :(_b = type.propertyCache) == null ? void 0 : _b.get(name);
5551455514
if (!property) {
5551555515
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
5551655516
if (property) {
5551755517
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
5551855518
properties.set(name, property);
55519-
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
55519+
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
5552055520
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
5552155521
properties2.set(name, property);
5552255522
}

‎lib/tsserver.js‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2340,7 +2340,7 @@ module.exports = __toCommonJS(server_exports);
23402340

23412341
// src/compiler/corePublic.ts
23422342
var versionMajorMinor = "5.4";
2343-
var version = "5.4.4";
2343+
var version = "5.4.5";
23442344
var Comparison = /* @__PURE__ */ ((Comparison3) => {
23452345
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
23462346
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -60254,13 +60254,13 @@ function createTypeChecker(host) {
6025460254
}
6025560255
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
6025660256
var _a, _b, _c;
60257-
let property =((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ?(_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
60257+
let property =skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) :(_b = type.propertyCache) == null ? void 0 : _b.get(name);
6025860258
if (!property) {
6025960259
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
6026060260
if (property) {
6026160261
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
6026260262
properties.set(name, property);
60263-
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
60263+
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
6026460264
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
6026560265
properties2.set(name, property);
6026660266
}
@@ -160459,7 +160459,8 @@ function getCompletionEntriesFromSymbols(symbols, entries, replacementToken, con
160459160459
}
160460160460
function symbolAppearsToBeTypeOnly(symbol) {
160461160461
var _a;
160462-
return !(symbol.flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(symbol.flags & 788968 /* Type */));
160462+
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
160463+
return !(flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968 /* Type */));
160463160464
}
160464160465
}
160465160466
function getLabelCompletionAtPosition(node) {

‎lib/typescript.js‎

Lines changed: 5 additions & 4 deletions
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.4";
38-
version = "5.4.4";
38+
version = "5.4.5";
3939
Comparison = /* @__PURE__ */ ((Comparison3) => {
4040
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
4141
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -58009,13 +58009,13 @@ ${lanes.join("\n")}
5800958009
}
5801058010
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
5801158011
var _a, _b, _c;
58012-
let property =((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ?(_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
58012+
let property =skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) :(_b = type.propertyCache) == null ? void 0 : _b.get(name);
5801358013
if (!property) {
5801458014
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
5801558015
if (property) {
5801658016
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
5801758017
properties.set(name, property);
58018-
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
58018+
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
5801958019
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
5802058020
properties2.set(name, property);
5802158021
}
@@ -159682,7 +159682,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
159682159682
}
159683159683
function symbolAppearsToBeTypeOnly(symbol) {
159684159684
var _a;
159685-
return !(symbol.flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(symbol.flags & 788968 /* Type */));
159685+
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
159686+
return !(flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968 /* Type */));
159686159687
}
159687159688
}
159688159689
function getLabelCompletionAtPosition(node) {

‎lib/typingsInstaller.js‎

Lines changed: 1 addition & 1 deletion
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.4";
57-
var version = "5.4.4";
57+
var version = "5.4.5";
5858

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

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
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.4.4",
5+
"version":"5.4.5",
66
"license":"Apache-2.0",
77
"description":"TypeScript is a language for application scale JavaScript development",
88
"keywords": [

‎src/compiler/corePublic.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const versionMajorMinor = "5.4";
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-
exportconstversion="5.4.4"asstring;
7+
exportconstversion="5.4.5"asstring;
88

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp