Skip to content

Commit a7d8011

Browse files
author
TypeScript Bot
committed
Bump version to 3.9.7 and LKG
1 parent 761a9ed commit a7d8011

8 files changed

+31
-19
lines changed

lib/tsc.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6767
var ts;
6868
(function (ts) {
6969
ts.versionMajorMinor = "3.9";
70-
ts.version = "3.9.6";
70+
ts.version = "3.9.7";
7171
function tryGetNativeMap() {
7272
return typeof Map !== "undefined" && "entries" in Map.prototype ? Map : undefined;
7373
}
@@ -2114,6 +2114,7 @@ var ts;
21142114
})(ts || (ts = {}));
21152115
var ts;
21162116
(function (ts) {
2117+
var _a;
21172118
var nullLogger = {
21182119
logEvent: ts.noop,
21192120
logErrEvent: ts.noop,
@@ -2138,7 +2139,8 @@ var ts;
21382139
};
21392140
var etwModule;
21402141
try {
2141-
etwModule = require("@microsoft/typescript-etw");
2142+
var etwModulePath = (_a = process.env.TS_ETW_MODULE_PATH) !== null && _a !== void 0 ? _a : "./node_modules/@microsoft/typescript-etw";
2143+
etwModule = require(etwModulePath);
21422144
}
21432145
catch (e) {
21442146
etwModule = undefined;

lib/tsserver.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ var ts;
9494
// If changing the text in this section, be sure to test `configurePrerelease` too.
9595
ts.versionMajorMinor = "3.9";
9696
/** The version of the TypeScript compiler release */
97-
ts.version = "3.9.6";
97+
ts.version = "3.9.7";
9898
/**
9999
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
100100
*/
@@ -2527,6 +2527,7 @@ var ts;
25272527
/* @internal */
25282528
var ts;
25292529
(function (ts) {
2530+
var _a;
25302531
var nullLogger = {
25312532
logEvent: ts.noop,
25322533
logErrEvent: ts.noop,
@@ -2553,9 +2554,10 @@ var ts;
25532554
// See https://github.com/microsoft/typescript-etw for more information
25542555
var etwModule;
25552556
try {
2556-
// require() will throw an exception if the module is not installed
2557+
var etwModulePath = (_a = process.env.TS_ETW_MODULE_PATH) !== null && _a !== void 0 ? _a : "./node_modules/@microsoft/typescript-etw";
2558+
// require() will throw an exception if the module is not found
25572559
// It may also return undefined if not installed properly
2558-
etwModule = require("@microsoft/typescript-etw");
2560+
etwModule = require(etwModulePath);
25592561
}
25602562
catch (e) {
25612563
etwModule = undefined;

lib/tsserverlibrary.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ var ts;
244244
// If changing the text in this section, be sure to test `configurePrerelease` too.
245245
ts.versionMajorMinor = "3.9";
246246
/** The version of the TypeScript compiler release */
247-
ts.version = "3.9.6";
247+
ts.version = "3.9.7";
248248
/**
249249
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
250250
*/
@@ -2677,6 +2677,7 @@ var ts;
26772677
/* @internal */
26782678
var ts;
26792679
(function (ts) {
2680+
var _a;
26802681
var nullLogger = {
26812682
logEvent: ts.noop,
26822683
logErrEvent: ts.noop,
@@ -2703,9 +2704,10 @@ var ts;
27032704
// See https://github.com/microsoft/typescript-etw for more information
27042705
var etwModule;
27052706
try {
2706-
// require() will throw an exception if the module is not installed
2707+
var etwModulePath = (_a = process.env.TS_ETW_MODULE_PATH) !== null && _a !== void 0 ? _a : "./node_modules/@microsoft/typescript-etw";
2708+
// require() will throw an exception if the module is not found
27072709
// It may also return undefined if not installed properly
2708-
etwModule = require("@microsoft/typescript-etw");
2710+
etwModule = require(etwModulePath);
27092711
}
27102712
catch (e) {
27112713
etwModule = undefined;

lib/typescript.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ var ts;
244244
// If changing the text in this section, be sure to test `configurePrerelease` too.
245245
ts.versionMajorMinor = "3.9";
246246
/** The version of the TypeScript compiler release */
247-
ts.version = "3.9.6";
247+
ts.version = "3.9.7";
248248
/**
249249
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
250250
*/
@@ -2677,6 +2677,7 @@ var ts;
26772677
/* @internal */
26782678
var ts;
26792679
(function (ts) {
2680+
var _a;
26802681
var nullLogger = {
26812682
logEvent: ts.noop,
26822683
logErrEvent: ts.noop,
@@ -2703,9 +2704,10 @@ var ts;
27032704
// See https://github.com/microsoft/typescript-etw for more information
27042705
var etwModule;
27052706
try {
2706-
// require() will throw an exception if the module is not installed
2707+
var etwModulePath = (_a = process.env.TS_ETW_MODULE_PATH) !== null && _a !== void 0 ? _a : "./node_modules/@microsoft/typescript-etw";
2708+
// require() will throw an exception if the module is not found
27072709
// It may also return undefined if not installed properly
2708-
etwModule = require("@microsoft/typescript-etw");
2710+
etwModule = require(etwModulePath);
27092711
}
27102712
catch (e) {
27112713
etwModule = undefined;

lib/typescriptServices.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ var ts;
244244
// If changing the text in this section, be sure to test `configurePrerelease` too.
245245
ts.versionMajorMinor = "3.9";
246246
/** The version of the TypeScript compiler release */
247-
ts.version = "3.9.6";
247+
ts.version = "3.9.7";
248248
/**
249249
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
250250
*/
@@ -2677,6 +2677,7 @@ var ts;
26772677
/* @internal */
26782678
var ts;
26792679
(function (ts) {
2680+
var _a;
26802681
var nullLogger = {
26812682
logEvent: ts.noop,
26822683
logErrEvent: ts.noop,
@@ -2703,9 +2704,10 @@ var ts;
27032704
// See https://github.com/microsoft/typescript-etw for more information
27042705
var etwModule;
27052706
try {
2706-
// require() will throw an exception if the module is not installed
2707+
var etwModulePath = (_a = process.env.TS_ETW_MODULE_PATH) !== null && _a !== void 0 ? _a : "./node_modules/@microsoft/typescript-etw";
2708+
// require() will throw an exception if the module is not found
27072709
// It may also return undefined if not installed properly
2708-
etwModule = require("@microsoft/typescript-etw");
2710+
etwModule = require(etwModulePath);
27092711
}
27102712
catch (e) {
27112713
etwModule = undefined;

lib/typingsInstaller.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var ts;
8383
// If changing the text in this section, be sure to test `configurePrerelease` too.
8484
ts.versionMajorMinor = "3.9";
8585
/** The version of the TypeScript compiler release */
86-
ts.version = "3.9.6";
86+
ts.version = "3.9.7";
8787
/**
8888
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
8989
*/
@@ -2516,6 +2516,7 @@ var ts;
25162516
/* @internal */
25172517
var ts;
25182518
(function (ts) {
2519+
var _a;
25192520
var nullLogger = {
25202521
logEvent: ts.noop,
25212522
logErrEvent: ts.noop,
@@ -2542,9 +2543,10 @@ var ts;
25422543
// See https://github.com/microsoft/typescript-etw for more information
25432544
var etwModule;
25442545
try {
2545-
// require() will throw an exception if the module is not installed
2546+
var etwModulePath = (_a = process.env.TS_ETW_MODULE_PATH) !== null && _a !== void 0 ? _a : "./node_modules/@microsoft/typescript-etw";
2547+
// require() will throw an exception if the module is not found
25462548
// It may also return undefined if not installed properly
2547-
etwModule = require("@microsoft/typescript-etw");
2549+
etwModule = require(etwModulePath);
25482550
}
25492551
catch (e) {
25502552
etwModule = undefined;

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": "3.9.6",
5+
"version": "3.9.7",
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
@@ -3,7 +3,7 @@ namespace ts {
33
// If changing the text in this section, be sure to test `configurePrerelease` too.
44
export const versionMajorMinor = "3.9";
55
/** The version of the TypeScript compiler release */
6-
export const version = "3.9.6" as string;
6+
export const version = "3.9.7" as string;
77

88
/**
99
* Type of objects whose values are all of the same type.

0 commit comments

Comments
 (0)