Skip to content

Commit fb6c839

Browse files
Bump version to 4.2.4 and LKG
1 parent 6b33949 commit fb6c839

8 files changed

+64
-60
lines changed

lib/tsc.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
6565
var ts;
6666
(function (ts) {
6767
ts.versionMajorMinor = "4.2";
68-
ts.version = "4.2.3";
68+
ts.version = "4.2.4";
6969
var NativeCollections;
7070
(function (NativeCollections) {
7171
function tryGetNativeMap() {
@@ -4399,13 +4399,13 @@ var ts;
43994399
}
44004400
var activeSession;
44014401
var profilePath = "./profile.cpuprofile";
4402-
var realpathSync = (_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync;
44034402
var Buffer = require("buffer").Buffer;
44044403
var nodeVersion = getNodeMajorVersion();
44054404
var isNode4OrLater = nodeVersion >= 4;
44064405
var isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
44074406
var platform = _os.platform();
44084407
var useCaseSensitiveFileNames = isFileSystemCaseSensitive();
4408+
var realpathSync = useCaseSensitiveFileNames ? ((_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync) : _fs.realpathSync;
44094409
var fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
44104410
var getCurrentDirectory = ts.memoize(function () { return process.cwd(); });
44114411
var _c = createSystemWatchFunctions({
@@ -38474,7 +38474,9 @@ var ts;
3847438474
var result = new Type(checker, flags);
3847538475
typeCount++;
3847638476
result.id = typeCount;
38477-
typeCatalog.push(result);
38477+
if (ts.tracing) {
38478+
typeCatalog.push(result);
38479+
}
3847838480
return result;
3847938481
}
3848038482
function createOriginType(flags) {

lib/tsserver.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ var ts;
9696
// The following is baselined as a literal template type without intervention
9797
/** The version of the TypeScript compiler release */
9898
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
99-
ts.version = "4.2.3";
99+
ts.version = "4.2.4";
100100
/* @internal */
101101
var Comparison;
102102
(function (Comparison) {
@@ -7005,13 +7005,13 @@ var ts;
70057005
}
70067006
var activeSession;
70077007
var profilePath = "./profile.cpuprofile";
7008-
var realpathSync = (_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync;
70097008
var Buffer = require("buffer").Buffer;
70107009
var nodeVersion = getNodeMajorVersion();
70117010
var isNode4OrLater = nodeVersion >= 4;
70127011
var isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
70137012
var platform = _os.platform();
70147013
var useCaseSensitiveFileNames = isFileSystemCaseSensitive();
7014+
var realpathSync = useCaseSensitiveFileNames ? ((_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync) : _fs.realpathSync;
70157015
var fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
70167016
var getCurrentDirectory = ts.memoize(function () { return process.cwd(); });
70177017
var _c = createSystemWatchFunctions({
@@ -46983,7 +46983,9 @@ var ts;
4698346983
var result = new Type(checker, flags);
4698446984
typeCount++;
4698546985
result.id = typeCount;
46986-
typeCatalog.push(result);
46986+
if (ts.tracing) {
46987+
typeCatalog.push(result);
46988+
}
4698746989
return result;
4698846990
}
4698946991
function createOriginType(flags) {
@@ -148419,7 +148421,7 @@ var ts;
148419148421
};
148420148422
SignatureObject.prototype.getJsDocTags = function () {
148421148423
if (this.jsDocTags === undefined) {
148422-
this.jsDocTags = this.declaration ? getJsDocTags([this.declaration], this.checker) : [];
148424+
this.jsDocTags = this.declaration ? getJsDocTagsOfSignature(this.declaration, this.checker) : [];
148423148425
}
148424148426
return this.jsDocTags;
148425148427
};
@@ -148433,15 +148435,13 @@ var ts;
148433148435
function hasJSDocInheritDocTag(node) {
148434148436
return ts.getJSDocTags(node).some(function (tag) { return tag.tagName.text === "inheritDoc"; });
148435148437
}
148436-
function getJsDocTags(declarations, checker) {
148437-
var tags = ts.JsDoc.getJsDocTagsFromDeclarations(declarations);
148438-
if (tags.length === 0 || declarations.some(hasJSDocInheritDocTag)) {
148439-
ts.forEachUnique(declarations, function (declaration) {
148440-
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { return symbol.getJsDocTags(); });
148441-
if (inheritedTags) {
148442-
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
148443-
}
148444-
});
148438+
function getJsDocTagsOfSignature(declaration, checker) {
148439+
var tags = ts.JsDoc.getJsDocTagsFromDeclarations([declaration]);
148440+
if (tags.length === 0 || hasJSDocInheritDocTag(declaration)) {
148441+
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { var _a; return ((_a = symbol.declarations) === null || _a === void 0 ? void 0 : _a.length) === 1 ? symbol.getJsDocTags() : undefined; });
148442+
if (inheritedTags) {
148443+
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
148444+
}
148445148445
}
148446148446
return tags;
148447148447
}

lib/tsserverlibrary.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ var ts;
290290
// The following is baselined as a literal template type without intervention
291291
/** The version of the TypeScript compiler release */
292292
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
293-
ts.version = "4.2.3";
293+
ts.version = "4.2.4";
294294
/* @internal */
295295
var Comparison;
296296
(function (Comparison) {
@@ -7199,13 +7199,13 @@ var ts;
71997199
}
72007200
var activeSession;
72017201
var profilePath = "./profile.cpuprofile";
7202-
var realpathSync = (_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync;
72037202
var Buffer = require("buffer").Buffer;
72047203
var nodeVersion = getNodeMajorVersion();
72057204
var isNode4OrLater = nodeVersion >= 4;
72067205
var isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
72077206
var platform = _os.platform();
72087207
var useCaseSensitiveFileNames = isFileSystemCaseSensitive();
7208+
var realpathSync = useCaseSensitiveFileNames ? ((_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync) : _fs.realpathSync;
72097209
var fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
72107210
var getCurrentDirectory = ts.memoize(function () { return process.cwd(); });
72117211
var _c = createSystemWatchFunctions({
@@ -47177,7 +47177,9 @@ var ts;
4717747177
var result = new Type(checker, flags);
4717847178
typeCount++;
4717947179
result.id = typeCount;
47180-
typeCatalog.push(result);
47180+
if (ts.tracing) {
47181+
typeCatalog.push(result);
47182+
}
4718147183
return result;
4718247184
}
4718347185
function createOriginType(flags) {
@@ -148988,7 +148990,7 @@ var ts;
148988148990
};
148989148991
SignatureObject.prototype.getJsDocTags = function () {
148990148992
if (this.jsDocTags === undefined) {
148991-
this.jsDocTags = this.declaration ? getJsDocTags([this.declaration], this.checker) : [];
148993+
this.jsDocTags = this.declaration ? getJsDocTagsOfSignature(this.declaration, this.checker) : [];
148992148994
}
148993148995
return this.jsDocTags;
148994148996
};
@@ -149002,15 +149004,13 @@ var ts;
149002149004
function hasJSDocInheritDocTag(node) {
149003149005
return ts.getJSDocTags(node).some(function (tag) { return tag.tagName.text === "inheritDoc"; });
149004149006
}
149005-
function getJsDocTags(declarations, checker) {
149006-
var tags = ts.JsDoc.getJsDocTagsFromDeclarations(declarations);
149007-
if (tags.length === 0 || declarations.some(hasJSDocInheritDocTag)) {
149008-
ts.forEachUnique(declarations, function (declaration) {
149009-
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { return symbol.getJsDocTags(); });
149010-
if (inheritedTags) {
149011-
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
149012-
}
149013-
});
149007+
function getJsDocTagsOfSignature(declaration, checker) {
149008+
var tags = ts.JsDoc.getJsDocTagsFromDeclarations([declaration]);
149009+
if (tags.length === 0 || hasJSDocInheritDocTag(declaration)) {
149010+
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { var _a; return ((_a = symbol.declarations) === null || _a === void 0 ? void 0 : _a.length) === 1 ? symbol.getJsDocTags() : undefined; });
149011+
if (inheritedTags) {
149012+
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
149013+
}
149014149014
}
149015149015
return tags;
149016149016
}

lib/typescript.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ var ts;
290290
// The following is baselined as a literal template type without intervention
291291
/** The version of the TypeScript compiler release */
292292
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
293-
ts.version = "4.2.3";
293+
ts.version = "4.2.4";
294294
/* @internal */
295295
var Comparison;
296296
(function (Comparison) {
@@ -7199,13 +7199,13 @@ var ts;
71997199
}
72007200
var activeSession;
72017201
var profilePath = "./profile.cpuprofile";
7202-
var realpathSync = (_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync;
72037202
var Buffer = require("buffer").Buffer;
72047203
var nodeVersion = getNodeMajorVersion();
72057204
var isNode4OrLater = nodeVersion >= 4;
72067205
var isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
72077206
var platform = _os.platform();
72087207
var useCaseSensitiveFileNames = isFileSystemCaseSensitive();
7208+
var realpathSync = useCaseSensitiveFileNames ? ((_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync) : _fs.realpathSync;
72097209
var fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
72107210
var getCurrentDirectory = ts.memoize(function () { return process.cwd(); });
72117211
var _c = createSystemWatchFunctions({
@@ -47177,7 +47177,9 @@ var ts;
4717747177
var result = new Type(checker, flags);
4717847178
typeCount++;
4717947179
result.id = typeCount;
47180-
typeCatalog.push(result);
47180+
if (ts.tracing) {
47181+
typeCatalog.push(result);
47182+
}
4718147183
return result;
4718247184
}
4718347185
function createOriginType(flags) {
@@ -148988,7 +148990,7 @@ var ts;
148988148990
};
148989148991
SignatureObject.prototype.getJsDocTags = function () {
148990148992
if (this.jsDocTags === undefined) {
148991-
this.jsDocTags = this.declaration ? getJsDocTags([this.declaration], this.checker) : [];
148993+
this.jsDocTags = this.declaration ? getJsDocTagsOfSignature(this.declaration, this.checker) : [];
148992148994
}
148993148995
return this.jsDocTags;
148994148996
};
@@ -149002,15 +149004,13 @@ var ts;
149002149004
function hasJSDocInheritDocTag(node) {
149003149005
return ts.getJSDocTags(node).some(function (tag) { return tag.tagName.text === "inheritDoc"; });
149004149006
}
149005-
function getJsDocTags(declarations, checker) {
149006-
var tags = ts.JsDoc.getJsDocTagsFromDeclarations(declarations);
149007-
if (tags.length === 0 || declarations.some(hasJSDocInheritDocTag)) {
149008-
ts.forEachUnique(declarations, function (declaration) {
149009-
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { return symbol.getJsDocTags(); });
149010-
if (inheritedTags) {
149011-
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
149012-
}
149013-
});
149007+
function getJsDocTagsOfSignature(declaration, checker) {
149008+
var tags = ts.JsDoc.getJsDocTagsFromDeclarations([declaration]);
149009+
if (tags.length === 0 || hasJSDocInheritDocTag(declaration)) {
149010+
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { var _a; return ((_a = symbol.declarations) === null || _a === void 0 ? void 0 : _a.length) === 1 ? symbol.getJsDocTags() : undefined; });
149011+
if (inheritedTags) {
149012+
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
149013+
}
149014149014
}
149015149015
return tags;
149016149016
}

lib/typescriptServices.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ var ts;
290290
// The following is baselined as a literal template type without intervention
291291
/** The version of the TypeScript compiler release */
292292
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
293-
ts.version = "4.2.3";
293+
ts.version = "4.2.4";
294294
/* @internal */
295295
var Comparison;
296296
(function (Comparison) {
@@ -7199,13 +7199,13 @@ var ts;
71997199
}
72007200
var activeSession;
72017201
var profilePath = "./profile.cpuprofile";
7202-
var realpathSync = (_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync;
72037202
var Buffer = require("buffer").Buffer;
72047203
var nodeVersion = getNodeMajorVersion();
72057204
var isNode4OrLater = nodeVersion >= 4;
72067205
var isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
72077206
var platform = _os.platform();
72087207
var useCaseSensitiveFileNames = isFileSystemCaseSensitive();
7208+
var realpathSync = useCaseSensitiveFileNames ? ((_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync) : _fs.realpathSync;
72097209
var fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
72107210
var getCurrentDirectory = ts.memoize(function () { return process.cwd(); });
72117211
var _c = createSystemWatchFunctions({
@@ -47177,7 +47177,9 @@ var ts;
4717747177
var result = new Type(checker, flags);
4717847178
typeCount++;
4717947179
result.id = typeCount;
47180-
typeCatalog.push(result);
47180+
if (ts.tracing) {
47181+
typeCatalog.push(result);
47182+
}
4718147183
return result;
4718247184
}
4718347185
function createOriginType(flags) {
@@ -148988,7 +148990,7 @@ var ts;
148988148990
};
148989148991
SignatureObject.prototype.getJsDocTags = function () {
148990148992
if (this.jsDocTags === undefined) {
148991-
this.jsDocTags = this.declaration ? getJsDocTags([this.declaration], this.checker) : [];
148993+
this.jsDocTags = this.declaration ? getJsDocTagsOfSignature(this.declaration, this.checker) : [];
148992148994
}
148993148995
return this.jsDocTags;
148994148996
};
@@ -149002,15 +149004,13 @@ var ts;
149002149004
function hasJSDocInheritDocTag(node) {
149003149005
return ts.getJSDocTags(node).some(function (tag) { return tag.tagName.text === "inheritDoc"; });
149004149006
}
149005-
function getJsDocTags(declarations, checker) {
149006-
var tags = ts.JsDoc.getJsDocTagsFromDeclarations(declarations);
149007-
if (tags.length === 0 || declarations.some(hasJSDocInheritDocTag)) {
149008-
ts.forEachUnique(declarations, function (declaration) {
149009-
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { return symbol.getJsDocTags(); });
149010-
if (inheritedTags) {
149011-
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
149012-
}
149013-
});
149007+
function getJsDocTagsOfSignature(declaration, checker) {
149008+
var tags = ts.JsDoc.getJsDocTagsFromDeclarations([declaration]);
149009+
if (tags.length === 0 || hasJSDocInheritDocTag(declaration)) {
149010+
var inheritedTags = findBaseOfDeclaration(checker, declaration, function (symbol) { var _a; return ((_a = symbol.declarations) === null || _a === void 0 ? void 0 : _a.length) === 1 ? symbol.getJsDocTags() : undefined; });
149011+
if (inheritedTags) {
149012+
tags = __spreadArray(__spreadArray([], inheritedTags), tags);
149013+
}
149014149014
}
149015149015
return tags;
149016149016
}

lib/typingsInstaller.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var ts;
8585
// The following is baselined as a literal template type without intervention
8686
/** The version of the TypeScript compiler release */
8787
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
88-
ts.version = "4.2.3";
88+
ts.version = "4.2.4";
8989
/* @internal */
9090
var Comparison;
9191
(function (Comparison) {
@@ -6994,13 +6994,13 @@ var ts;
69946994
}
69956995
var activeSession;
69966996
var profilePath = "./profile.cpuprofile";
6997-
var realpathSync = (_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync;
69986997
var Buffer = require("buffer").Buffer;
69996998
var nodeVersion = getNodeMajorVersion();
70006999
var isNode4OrLater = nodeVersion >= 4;
70017000
var isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
70027001
var platform = _os.platform();
70037002
var useCaseSensitiveFileNames = isFileSystemCaseSensitive();
7003+
var realpathSync = useCaseSensitiveFileNames ? ((_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync) : _fs.realpathSync;
70047004
var fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
70057005
var getCurrentDirectory = ts.memoize(function () { return process.cwd(); });
70067006
var _c = createSystemWatchFunctions({
@@ -46972,7 +46972,9 @@ var ts;
4697246972
var result = new Type(checker, flags);
4697346973
typeCount++;
4697446974
result.id = typeCount;
46975-
typeCatalog.push(result);
46975+
if (ts.tracing) {
46976+
typeCatalog.push(result);
46977+
}
4697646978
return result;
4697746979
}
4697846980
function createOriginType(flags) {

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": "4.2.3",
5+
"version": "4.2.4",
66
"license": "Apache-2.0",
77
"description": "TypeScript is a language for application scale JavaScript development",
88
"keywords": [

src/compiler/corePublic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace ts {
55
// The following is baselined as a literal template type without intervention
66
/** The version of the TypeScript compiler release */
77
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
8-
export const version = "4.2.3" as string;
8+
export const version = "4.2.4" as string;
99

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

0 commit comments

Comments
 (0)