mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-17 01:49:41 -05:00
Bump version to '4.9.5' and LKG.
This commit is contained in:
11
lib/tsc.js
11
lib/tsc.js
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
||||
var ts;
|
||||
(function (ts) {
|
||||
ts.versionMajorMinor = "4.9";
|
||||
ts.version = "".concat(ts.versionMajorMinor, ".4");
|
||||
ts.version = "".concat(ts.versionMajorMinor, ".5");
|
||||
var NativeCollections;
|
||||
(function (NativeCollections) {
|
||||
var globals = typeof globalThis !== "undefined" ? globalThis :
|
||||
@@ -33654,7 +33654,12 @@ var ts;
|
||||
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
||||
category: ts.Diagnostics.Language_and_Environment,
|
||||
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,
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "ignoreDeprecations",
|
||||
type: "string",
|
||||
defaultValueDescription: undefined,
|
||||
},
|
||||
];
|
||||
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
||||
ts.semanticDiagnosticsOptionDeclarations = ts.optionDeclarations.filter(function (option) { return !!option.affectsSemanticDiagnostics; });
|
||||
@@ -104329,7 +104334,7 @@ var ts;
|
||||
function getLocaleTimeString(system) {
|
||||
return !system.now ?
|
||||
new Date().toLocaleTimeString() :
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
||||
}
|
||||
ts.getLocaleTimeString = getLocaleTimeString;
|
||||
function createWatchStatusReporter(system, pretty) {
|
||||
|
||||
@@ -41291,7 +41291,12 @@ var ts;
|
||||
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
||||
category: ts.Diagnostics.Language_and_Environment,
|
||||
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,
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "ignoreDeprecations",
|
||||
type: "string",
|
||||
defaultValueDescription: undefined,
|
||||
},
|
||||
];
|
||||
/* @internal */
|
||||
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
||||
@@ -125798,7 +125803,12 @@ var ts;
|
||||
function getLocaleTimeString(system) {
|
||||
return !system.now ?
|
||||
new Date().toLocaleTimeString() :
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
|
||||
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
||||
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
||||
// See:
|
||||
// - https://github.com/nodejs/node/issues/45171
|
||||
// - https://github.com/nodejs/node/issues/45753
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
||||
}
|
||||
ts.getLocaleTimeString = getLocaleTimeString;
|
||||
/**
|
||||
|
||||
@@ -41290,7 +41290,12 @@ var ts;
|
||||
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
||||
category: ts.Diagnostics.Language_and_Environment,
|
||||
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,
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "ignoreDeprecations",
|
||||
type: "string",
|
||||
defaultValueDescription: undefined,
|
||||
},
|
||||
];
|
||||
/* @internal */
|
||||
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
||||
@@ -125797,7 +125802,12 @@ var ts;
|
||||
function getLocaleTimeString(system) {
|
||||
return !system.now ?
|
||||
new Date().toLocaleTimeString() :
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
|
||||
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
||||
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
||||
// See:
|
||||
// - https://github.com/nodejs/node/issues/45171
|
||||
// - https://github.com/nodejs/node/issues/45753
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
||||
}
|
||||
ts.getLocaleTimeString = getLocaleTimeString;
|
||||
/**
|
||||
|
||||
@@ -41281,7 +41281,12 @@ var ts;
|
||||
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
||||
category: ts.Diagnostics.Language_and_Environment,
|
||||
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,
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "ignoreDeprecations",
|
||||
type: "string",
|
||||
defaultValueDescription: undefined,
|
||||
},
|
||||
];
|
||||
/* @internal */
|
||||
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
||||
@@ -125788,7 +125793,12 @@ var ts;
|
||||
function getLocaleTimeString(system) {
|
||||
return !system.now ?
|
||||
new Date().toLocaleTimeString() :
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
|
||||
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
||||
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
||||
// See:
|
||||
// - https://github.com/nodejs/node/issues/45171
|
||||
// - https://github.com/nodejs/node/issues/45753
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
||||
}
|
||||
ts.getLocaleTimeString = getLocaleTimeString;
|
||||
/**
|
||||
|
||||
@@ -41281,7 +41281,12 @@ var ts;
|
||||
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
||||
category: ts.Diagnostics.Language_and_Environment,
|
||||
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,
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "ignoreDeprecations",
|
||||
type: "string",
|
||||
defaultValueDescription: undefined,
|
||||
},
|
||||
];
|
||||
/* @internal */
|
||||
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
||||
@@ -125788,7 +125793,12 @@ var ts;
|
||||
function getLocaleTimeString(system) {
|
||||
return !system.now ?
|
||||
new Date().toLocaleTimeString() :
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
|
||||
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
||||
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
||||
// See:
|
||||
// - https://github.com/nodejs/node/issues/45171
|
||||
// - https://github.com/nodejs/node/issues/45753
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
||||
}
|
||||
ts.getLocaleTimeString = getLocaleTimeString;
|
||||
/**
|
||||
|
||||
@@ -41271,7 +41271,12 @@ var ts;
|
||||
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
||||
category: ts.Diagnostics.Language_and_Environment,
|
||||
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,
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "ignoreDeprecations",
|
||||
type: "string",
|
||||
defaultValueDescription: undefined,
|
||||
},
|
||||
];
|
||||
/* @internal */
|
||||
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
||||
@@ -125778,7 +125783,12 @@ var ts;
|
||||
function getLocaleTimeString(system) {
|
||||
return !system.now ?
|
||||
new Date().toLocaleTimeString() :
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
|
||||
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
||||
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
||||
// See:
|
||||
// - https://github.com/nodejs/node/issues/45171
|
||||
// - https://github.com/nodejs/node/issues/45753
|
||||
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
||||
}
|
||||
ts.getLocaleTimeString = getLocaleTimeString;
|
||||
/**
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "typescript",
|
||||
"author": "Microsoft Corp.",
|
||||
"homepage": "https://www.typescriptlang.org/",
|
||||
"version": "4.9.4",
|
||||
"version": "4.9.5",
|
||||
"license": "Apache-2.0",
|
||||
"description": "TypeScript is a language for application scale JavaScript development",
|
||||
"keywords": [
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace ts {
|
||||
// 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: string = `${versionMajorMinor}.4`;
|
||||
export const version: string = `${versionMajorMinor}.5`;
|
||||
|
||||
/**
|
||||
* Type of objects whose values are all of the same type.
|
||||
|
||||
Reference in New Issue
Block a user