Skip to content

Commit

Permalink
Bump version to '4.9.5' and LKG.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser committed Jan 30, 2023
1 parent 69e88ef commit ccf3d3c
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 15 deletions.
11 changes: 8 additions & 3 deletions lib/tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down Expand Up @@ -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; });
Expand Down Expand Up @@ -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) {
Expand Down
14 changes: 12 additions & 2 deletions lib/tsserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
/**
Expand Down
14 changes: 12 additions & 2 deletions lib/tsserverlibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
/**
Expand Down
14 changes: 12 additions & 2 deletions lib/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
/**
Expand Down
14 changes: 12 additions & 2 deletions lib/typescriptServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
/**
Expand Down
14 changes: 12 additions & 2 deletions lib/typingsInstaller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/corePublic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ccf3d3c

Please sign in to comment.