Skip to content

Commit bbb31bb

Browse files
Bump version to 4.4.3 and LKG
1 parent 782c09d commit bbb31bb

8 files changed

+60
-24
lines changed

lib/tsc.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
6969
var ts;
7070
(function (ts) {
7171
ts.versionMajorMinor = "4.4";
72-
ts.version = "4.4.2";
72+
ts.version = "4.4.3";
7373
var NativeCollections;
7474
(function (NativeCollections) {
7575
function tryGetNativeMap() {
@@ -97526,6 +97526,10 @@ var ts;
9752697526
});
9752797527
parsedConfigs = undefined;
9752897528
}
97529+
if (packageJsonMap) {
97530+
ts.clearMap(packageJsonMap, ts.closeFileWatcher);
97531+
packageJsonMap = undefined;
97532+
}
9752997533
}
9753097534
function getCurrentBuilderProgram() {
9753197535
return builderProgram;

lib/tsserver.js

+12-5
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ var ts;
100100
// The following is baselined as a literal template type without intervention
101101
/** The version of the TypeScript compiler release */
102102
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
103-
ts.version = "4.4.2";
103+
ts.version = "4.4.3";
104104
/* @internal */
105105
var Comparison;
106106
(function (Comparison) {
@@ -118027,6 +118027,10 @@ var ts;
118027118027
});
118028118028
parsedConfigs = undefined;
118029118029
}
118030+
if (packageJsonMap) {
118031+
ts.clearMap(packageJsonMap, ts.closeFileWatcher);
118032+
packageJsonMap = undefined;
118033+
}
118030118034
}
118031118035
function getCurrentBuilderProgram() {
118032118036
return builderProgram;
@@ -126702,13 +126706,16 @@ var ts;
126702126706
case 204 /* PropertyAccessExpression */:
126703126707
propertyAccessToConvert = parent;
126704126708
node = propertyAccessToConvert.expression;
126705-
if ((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
126706-
node.end === contextToken.pos &&
126707-
node.getChildCount(sourceFile) &&
126708-
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */) {
126709+
var leftmostAccessExpression = ts.getLeftmostAccessExpression(propertyAccessToConvert);
126710+
if (ts.nodeIsMissing(leftmostAccessExpression) ||
126711+
((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
126712+
node.end === contextToken.pos &&
126713+
node.getChildCount(sourceFile) &&
126714+
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */)) {
126709126715
// This is likely dot from incorrectly parsed expression and user is starting to write spread
126710126716
// eg: Math.min(./**/)
126711126717
// const x = function (./**/) {}
126718+
// ({./**/})
126712126719
return undefined;
126713126720
}
126714126721
break;

lib/tsserverlibrary.js

+12-5
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ var ts;
294294
// The following is baselined as a literal template type without intervention
295295
/** The version of the TypeScript compiler release */
296296
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
297-
ts.version = "4.4.2";
297+
ts.version = "4.4.3";
298298
/* @internal */
299299
var Comparison;
300300
(function (Comparison) {
@@ -118221,6 +118221,10 @@ var ts;
118221118221
});
118222118222
parsedConfigs = undefined;
118223118223
}
118224+
if (packageJsonMap) {
118225+
ts.clearMap(packageJsonMap, ts.closeFileWatcher);
118226+
packageJsonMap = undefined;
118227+
}
118224118228
}
118225118229
function getCurrentBuilderProgram() {
118226118230
return builderProgram;
@@ -127284,13 +127288,16 @@ var ts;
127284127288
case 204 /* PropertyAccessExpression */:
127285127289
propertyAccessToConvert = parent;
127286127290
node = propertyAccessToConvert.expression;
127287-
if ((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
127288-
node.end === contextToken.pos &&
127289-
node.getChildCount(sourceFile) &&
127290-
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */) {
127291+
var leftmostAccessExpression = ts.getLeftmostAccessExpression(propertyAccessToConvert);
127292+
if (ts.nodeIsMissing(leftmostAccessExpression) ||
127293+
((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
127294+
node.end === contextToken.pos &&
127295+
node.getChildCount(sourceFile) &&
127296+
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */)) {
127291127297
// This is likely dot from incorrectly parsed expression and user is starting to write spread
127292127298
// eg: Math.min(./**/)
127293127299
// const x = function (./**/) {}
127300+
// ({./**/})
127294127301
return undefined;
127295127302
}
127296127303
break;

lib/typescript.js

+12-5
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ var ts;
294294
// The following is baselined as a literal template type without intervention
295295
/** The version of the TypeScript compiler release */
296296
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
297-
ts.version = "4.4.2";
297+
ts.version = "4.4.3";
298298
/* @internal */
299299
var Comparison;
300300
(function (Comparison) {
@@ -118221,6 +118221,10 @@ var ts;
118221118221
});
118222118222
parsedConfigs = undefined;
118223118223
}
118224+
if (packageJsonMap) {
118225+
ts.clearMap(packageJsonMap, ts.closeFileWatcher);
118226+
packageJsonMap = undefined;
118227+
}
118224118228
}
118225118229
function getCurrentBuilderProgram() {
118226118230
return builderProgram;
@@ -127284,13 +127288,16 @@ var ts;
127284127288
case 204 /* PropertyAccessExpression */:
127285127289
propertyAccessToConvert = parent;
127286127290
node = propertyAccessToConvert.expression;
127287-
if ((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
127288-
node.end === contextToken.pos &&
127289-
node.getChildCount(sourceFile) &&
127290-
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */) {
127291+
var leftmostAccessExpression = ts.getLeftmostAccessExpression(propertyAccessToConvert);
127292+
if (ts.nodeIsMissing(leftmostAccessExpression) ||
127293+
((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
127294+
node.end === contextToken.pos &&
127295+
node.getChildCount(sourceFile) &&
127296+
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */)) {
127291127297
// This is likely dot from incorrectly parsed expression and user is starting to write spread
127292127298
// eg: Math.min(./**/)
127293127299
// const x = function (./**/) {}
127300+
// ({./**/})
127294127301
return undefined;
127295127302
}
127296127303
break;

lib/typescriptServices.js

+12-5
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ var ts;
294294
// The following is baselined as a literal template type without intervention
295295
/** The version of the TypeScript compiler release */
296296
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
297-
ts.version = "4.4.2";
297+
ts.version = "4.4.3";
298298
/* @internal */
299299
var Comparison;
300300
(function (Comparison) {
@@ -118221,6 +118221,10 @@ var ts;
118221118221
});
118222118222
parsedConfigs = undefined;
118223118223
}
118224+
if (packageJsonMap) {
118225+
ts.clearMap(packageJsonMap, ts.closeFileWatcher);
118226+
packageJsonMap = undefined;
118227+
}
118224118228
}
118225118229
function getCurrentBuilderProgram() {
118226118230
return builderProgram;
@@ -127284,13 +127288,16 @@ var ts;
127284127288
case 204 /* PropertyAccessExpression */:
127285127289
propertyAccessToConvert = parent;
127286127290
node = propertyAccessToConvert.expression;
127287-
if ((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
127288-
node.end === contextToken.pos &&
127289-
node.getChildCount(sourceFile) &&
127290-
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */) {
127291+
var leftmostAccessExpression = ts.getLeftmostAccessExpression(propertyAccessToConvert);
127292+
if (ts.nodeIsMissing(leftmostAccessExpression) ||
127293+
((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
127294+
node.end === contextToken.pos &&
127295+
node.getChildCount(sourceFile) &&
127296+
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */)) {
127291127297
// This is likely dot from incorrectly parsed expression and user is starting to write spread
127292127298
// eg: Math.min(./**/)
127293127299
// const x = function (./**/) {}
127300+
// ({./**/})
127294127301
return undefined;
127295127302
}
127296127303
break;

lib/typingsInstaller.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var ts;
8989
// The following is baselined as a literal template type without intervention
9090
/** The version of the TypeScript compiler release */
9191
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
92-
ts.version = "4.4.2";
92+
ts.version = "4.4.3";
9393
/* @internal */
9494
var Comparison;
9595
(function (Comparison) {
@@ -118016,6 +118016,10 @@ var ts;
118016118016
});
118017118017
parsedConfigs = undefined;
118018118018
}
118019+
if (packageJsonMap) {
118020+
ts.clearMap(packageJsonMap, ts.closeFileWatcher);
118021+
packageJsonMap = undefined;
118022+
}
118019118023
}
118020118024
function getCurrentBuilderProgram() {
118021118025
return builderProgram;

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.4.2",
5+
"version": "4.4.3",
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.4.2" as string;
8+
export const version = "4.4.3" as string;
99

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

0 commit comments

Comments
 (0)