File tree 8 files changed +31
-19
lines changed
8 files changed +31
-19
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
67
67
var ts;
68
68
(function (ts) {
69
69
ts.versionMajorMinor = "3.9";
70
- ts.version = "3.9.6 ";
70
+ ts.version = "3.9.7 ";
71
71
function tryGetNativeMap() {
72
72
return typeof Map !== "undefined" && "entries" in Map.prototype ? Map : undefined;
73
73
}
@@ -2114,6 +2114,7 @@ var ts;
2114
2114
})(ts || (ts = {}));
2115
2115
var ts;
2116
2116
(function (ts) {
2117
+ var _a;
2117
2118
var nullLogger = {
2118
2119
logEvent: ts.noop,
2119
2120
logErrEvent: ts.noop,
@@ -2138,7 +2139,8 @@ var ts;
2138
2139
};
2139
2140
var etwModule;
2140
2141
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);
2142
2144
}
2143
2145
catch (e) {
2144
2146
etwModule = undefined;
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ var ts;
94
94
// If changing the text in this section, be sure to test `configurePrerelease` too.
95
95
ts.versionMajorMinor = "3.9";
96
96
/** The version of the TypeScript compiler release */
97
- ts.version = "3.9.6 ";
97
+ ts.version = "3.9.7 ";
98
98
/**
99
99
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
100
100
*/
@@ -2527,6 +2527,7 @@ var ts;
2527
2527
/* @internal */
2528
2528
var ts;
2529
2529
(function (ts) {
2530
+ var _a;
2530
2531
var nullLogger = {
2531
2532
logEvent: ts.noop,
2532
2533
logErrEvent: ts.noop,
@@ -2553,9 +2554,10 @@ var ts;
2553
2554
// See https://github.com/microsoft/typescript-etw for more information
2554
2555
var etwModule;
2555
2556
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
2557
2559
// It may also return undefined if not installed properly
2558
- etwModule = require("@microsoft/typescript-etw" );
2560
+ etwModule = require(etwModulePath );
2559
2561
}
2560
2562
catch (e) {
2561
2563
etwModule = undefined;
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ var ts;
244
244
// If changing the text in this section, be sure to test `configurePrerelease` too.
245
245
ts.versionMajorMinor = "3.9";
246
246
/** The version of the TypeScript compiler release */
247
- ts.version = "3.9.6 ";
247
+ ts.version = "3.9.7 ";
248
248
/**
249
249
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
250
250
*/
@@ -2677,6 +2677,7 @@ var ts;
2677
2677
/* @internal */
2678
2678
var ts;
2679
2679
(function (ts) {
2680
+ var _a;
2680
2681
var nullLogger = {
2681
2682
logEvent: ts.noop,
2682
2683
logErrEvent: ts.noop,
@@ -2703,9 +2704,10 @@ var ts;
2703
2704
// See https://github.com/microsoft/typescript-etw for more information
2704
2705
var etwModule;
2705
2706
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
2707
2709
// It may also return undefined if not installed properly
2708
- etwModule = require("@microsoft/typescript-etw" );
2710
+ etwModule = require(etwModulePath );
2709
2711
}
2710
2712
catch (e) {
2711
2713
etwModule = undefined;
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ var ts;
244
244
// If changing the text in this section, be sure to test `configurePrerelease` too.
245
245
ts.versionMajorMinor = "3.9";
246
246
/** The version of the TypeScript compiler release */
247
- ts.version = "3.9.6 ";
247
+ ts.version = "3.9.7 ";
248
248
/**
249
249
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
250
250
*/
@@ -2677,6 +2677,7 @@ var ts;
2677
2677
/* @internal */
2678
2678
var ts;
2679
2679
(function (ts) {
2680
+ var _a;
2680
2681
var nullLogger = {
2681
2682
logEvent: ts.noop,
2682
2683
logErrEvent: ts.noop,
@@ -2703,9 +2704,10 @@ var ts;
2703
2704
// See https://github.com/microsoft/typescript-etw for more information
2704
2705
var etwModule;
2705
2706
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
2707
2709
// It may also return undefined if not installed properly
2708
- etwModule = require("@microsoft/typescript-etw" );
2710
+ etwModule = require(etwModulePath );
2709
2711
}
2710
2712
catch (e) {
2711
2713
etwModule = undefined;
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ var ts;
244
244
// If changing the text in this section, be sure to test `configurePrerelease` too.
245
245
ts.versionMajorMinor = "3.9";
246
246
/** The version of the TypeScript compiler release */
247
- ts.version = "3.9.6 ";
247
+ ts.version = "3.9.7 ";
248
248
/**
249
249
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
250
250
*/
@@ -2677,6 +2677,7 @@ var ts;
2677
2677
/* @internal */
2678
2678
var ts;
2679
2679
(function (ts) {
2680
+ var _a;
2680
2681
var nullLogger = {
2681
2682
logEvent: ts.noop,
2682
2683
logErrEvent: ts.noop,
@@ -2703,9 +2704,10 @@ var ts;
2703
2704
// See https://github.com/microsoft/typescript-etw for more information
2704
2705
var etwModule;
2705
2706
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
2707
2709
// It may also return undefined if not installed properly
2708
- etwModule = require("@microsoft/typescript-etw" );
2710
+ etwModule = require(etwModulePath );
2709
2711
}
2710
2712
catch (e) {
2711
2713
etwModule = undefined;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ var ts;
83
83
// If changing the text in this section, be sure to test `configurePrerelease` too.
84
84
ts.versionMajorMinor = "3.9";
85
85
/** The version of the TypeScript compiler release */
86
- ts.version = "3.9.6 ";
86
+ ts.version = "3.9.7 ";
87
87
/**
88
88
* Returns the native Map implementation if it is available and compatible (i.e. supports iteration).
89
89
*/
@@ -2516,6 +2516,7 @@ var ts;
2516
2516
/* @internal */
2517
2517
var ts;
2518
2518
(function (ts) {
2519
+ var _a;
2519
2520
var nullLogger = {
2520
2521
logEvent: ts.noop,
2521
2522
logErrEvent: ts.noop,
@@ -2542,9 +2543,10 @@ var ts;
2542
2543
// See https://github.com/microsoft/typescript-etw for more information
2543
2544
var etwModule;
2544
2545
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
2546
2548
// It may also return undefined if not installed properly
2547
- etwModule = require("@microsoft/typescript-etw" );
2549
+ etwModule = require(etwModulePath );
2548
2550
}
2549
2551
catch (e) {
2550
2552
etwModule = undefined;
Original file line number Diff line number Diff line change 2
2
"name" : " typescript" ,
3
3
"author" : " Microsoft Corp." ,
4
4
"homepage" : " https://www.typescriptlang.org/" ,
5
- "version" : " 3.9.6 " ,
5
+ "version" : " 3.9.7 " ,
6
6
"license" : " Apache-2.0" ,
7
7
"description" : " TypeScript is a language for application scale JavaScript development" ,
8
8
"keywords" : [
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ namespace ts {
3
3
// If changing the text in this section, be sure to test `configurePrerelease` too.
4
4
export const versionMajorMinor = "3.9" ;
5
5
/** 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 ;
7
7
8
8
/**
9
9
* Type of objects whose values are all of the same type.
You can’t perform that action at this time.
0 commit comments