Skip to content

Commit ccf3d3c

Browse files
Bump version to '4.9.5' and LKG.
1 parent 69e88ef commit ccf3d3c

8 files changed

+70
-15
lines changed

Diff for: lib/tsc.js

+8-3
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.9";
72-
ts.version = "".concat(ts.versionMajorMinor, ".4");
72+
ts.version = "".concat(ts.versionMajorMinor, ".5");
7373
var NativeCollections;
7474
(function (NativeCollections) {
7575
var globals = typeof globalThis !== "undefined" ? globalThis :
@@ -33654,7 +33654,12 @@ var ts;
3365433654
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
3365533655
category: ts.Diagnostics.Language_and_Environment,
3365633656
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
33657-
}
33657+
},
33658+
{
33659+
name: "ignoreDeprecations",
33660+
type: "string",
33661+
defaultValueDescription: undefined,
33662+
},
3365833663
];
3365933664
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
3366033665
ts.semanticDiagnosticsOptionDeclarations = ts.optionDeclarations.filter(function (option) { return !!option.affectsSemanticDiagnostics; });
@@ -104329,7 +104334,7 @@ var ts;
104329104334
function getLocaleTimeString(system) {
104330104335
return !system.now ?
104331104336
new Date().toLocaleTimeString() :
104332-
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
104337+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
104333104338
}
104334104339
ts.getLocaleTimeString = getLocaleTimeString;
104335104340
function createWatchStatusReporter(system, pretty) {

Diff for: lib/tsserver.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -41291,7 +41291,12 @@ var ts;
4129141291
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
4129241292
category: ts.Diagnostics.Language_and_Environment,
4129341293
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
41294-
}
41294+
},
41295+
{
41296+
name: "ignoreDeprecations",
41297+
type: "string",
41298+
defaultValueDescription: undefined,
41299+
},
4129541300
];
4129641301
/* @internal */
4129741302
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
@@ -125798,7 +125803,12 @@ var ts;
125798125803
function getLocaleTimeString(system) {
125799125804
return !system.now ?
125800125805
new Date().toLocaleTimeString() :
125801-
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
125806+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
125807+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
125808+
// See:
125809+
// - https://github.com/nodejs/node/issues/45171
125810+
// - https://github.com/nodejs/node/issues/45753
125811+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
125802125812
}
125803125813
ts.getLocaleTimeString = getLocaleTimeString;
125804125814
/**

Diff for: lib/tsserverlibrary.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -41290,7 +41290,12 @@ var ts;
4129041290
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
4129141291
category: ts.Diagnostics.Language_and_Environment,
4129241292
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
41293-
}
41293+
},
41294+
{
41295+
name: "ignoreDeprecations",
41296+
type: "string",
41297+
defaultValueDescription: undefined,
41298+
},
4129441299
];
4129541300
/* @internal */
4129641301
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
@@ -125797,7 +125802,12 @@ var ts;
125797125802
function getLocaleTimeString(system) {
125798125803
return !system.now ?
125799125804
new Date().toLocaleTimeString() :
125800-
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
125805+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
125806+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
125807+
// See:
125808+
// - https://github.com/nodejs/node/issues/45171
125809+
// - https://github.com/nodejs/node/issues/45753
125810+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
125801125811
}
125802125812
ts.getLocaleTimeString = getLocaleTimeString;
125803125813
/**

Diff for: lib/typescript.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -41281,7 +41281,12 @@ var ts;
4128141281
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
4128241282
category: ts.Diagnostics.Language_and_Environment,
4128341283
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
41284-
}
41284+
},
41285+
{
41286+
name: "ignoreDeprecations",
41287+
type: "string",
41288+
defaultValueDescription: undefined,
41289+
},
4128541290
];
4128641291
/* @internal */
4128741292
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
@@ -125788,7 +125793,12 @@ var ts;
125788125793
function getLocaleTimeString(system) {
125789125794
return !system.now ?
125790125795
new Date().toLocaleTimeString() :
125791-
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
125796+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
125797+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
125798+
// See:
125799+
// - https://github.com/nodejs/node/issues/45171
125800+
// - https://github.com/nodejs/node/issues/45753
125801+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
125792125802
}
125793125803
ts.getLocaleTimeString = getLocaleTimeString;
125794125804
/**

Diff for: lib/typescriptServices.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -41281,7 +41281,12 @@ var ts;
4128141281
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
4128241282
category: ts.Diagnostics.Language_and_Environment,
4128341283
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
41284-
}
41284+
},
41285+
{
41286+
name: "ignoreDeprecations",
41287+
type: "string",
41288+
defaultValueDescription: undefined,
41289+
},
4128541290
];
4128641291
/* @internal */
4128741292
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
@@ -125788,7 +125793,12 @@ var ts;
125788125793
function getLocaleTimeString(system) {
125789125794
return !system.now ?
125790125795
new Date().toLocaleTimeString() :
125791-
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
125796+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
125797+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
125798+
// See:
125799+
// - https://github.com/nodejs/node/issues/45171
125800+
// - https://github.com/nodejs/node/issues/45753
125801+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
125792125802
}
125793125803
ts.getLocaleTimeString = getLocaleTimeString;
125794125804
/**

Diff for: lib/typingsInstaller.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -41271,7 +41271,12 @@ var ts;
4127141271
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
4127241272
category: ts.Diagnostics.Language_and_Environment,
4127341273
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
41274-
}
41274+
},
41275+
{
41276+
name: "ignoreDeprecations",
41277+
type: "string",
41278+
defaultValueDescription: undefined,
41279+
},
4127541280
];
4127641281
/* @internal */
4127741282
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
@@ -125778,7 +125783,12 @@ var ts;
125778125783
function getLocaleTimeString(system) {
125779125784
return !system.now ?
125780125785
new Date().toLocaleTimeString() :
125781-
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
125786+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
125787+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
125788+
// See:
125789+
// - https://github.com/nodejs/node/issues/45171
125790+
// - https://github.com/nodejs/node/issues/45753
125791+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
125782125792
}
125783125793
ts.getLocaleTimeString = getLocaleTimeString;
125784125794
/**

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

Diff for: 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: string = `${versionMajorMinor}.4`;
8+
export const version: string = `${versionMajorMinor}.5`;
99

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

0 commit comments

Comments
 (0)