From 98cfe76eb5a0cc72a221b8d06187681cb5c84e56 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Wed, 18 Dec 2019 13:01:03 -0800 Subject: [PATCH] Update LKG. --- lib/tsc.js | 7 +++++-- lib/tsserver.js | 7 +++++-- lib/tsserverlibrary.js | 7 +++++-- lib/typescript.js | 7 +++++-- lib/typescriptServices.js | 7 +++++-- lib/typingsInstaller.js | 7 +++++-- 6 files changed, 30 insertions(+), 12 deletions(-) diff --git a/lib/tsc.js b/lib/tsc.js index 90f6adf79d670..af981c48612c1 100644 --- a/lib/tsc.js +++ b/lib/tsc.js @@ -67,7 +67,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook var ts; (function (ts) { ts.versionMajorMinor = "3.7"; - ts.version = ts.versionMajorMinor + ".3"; + ts.version = ts.versionMajorMinor + ".4"; })(ts || (ts = {})); (function (ts) { function tryGetNativeMap() { @@ -25599,7 +25599,10 @@ var ts; } break; case 288: - if (thisContainer.commonJsModuleIndicator) { + if (ts.hasDynamicName(node)) { + break; + } + else if (thisContainer.commonJsModuleIndicator) { declareSymbol(thisContainer.symbol.exports, thisContainer.symbol, node, 4 | 1048576, 0); } else { diff --git a/lib/tsserver.js b/lib/tsserver.js index 94130c63a6724..e04799259f1a0 100644 --- a/lib/tsserver.js +++ b/lib/tsserver.js @@ -94,7 +94,7 @@ var ts; // If changing the text in this section, be sure to test `configureNightly` too. ts.versionMajorMinor = "3.7"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".3"; + ts.version = ts.versionMajorMinor + ".4"; })(ts || (ts = {})); (function (ts) { /* @internal */ @@ -31362,7 +31362,10 @@ var ts; break; case 288 /* SourceFile */: // this.property = assignment in a source file -- declare symbol in exports for a module, in locals for a script - if (thisContainer.commonJsModuleIndicator) { + if (ts.hasDynamicName(node)) { + break; + } + else if (thisContainer.commonJsModuleIndicator) { declareSymbol(thisContainer.symbol.exports, thisContainer.symbol, node, 4 /* Property */ | 1048576 /* ExportValue */, 0 /* None */); } else { diff --git a/lib/tsserverlibrary.js b/lib/tsserverlibrary.js index 3d8aabffa9d59..0dd89df1abf69 100644 --- a/lib/tsserverlibrary.js +++ b/lib/tsserverlibrary.js @@ -244,7 +244,7 @@ var ts; // If changing the text in this section, be sure to test `configureNightly` too. ts.versionMajorMinor = "3.7"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".3"; + ts.version = ts.versionMajorMinor + ".4"; })(ts || (ts = {})); (function (ts) { /* @internal */ @@ -31512,7 +31512,10 @@ var ts; break; case 288 /* SourceFile */: // this.property = assignment in a source file -- declare symbol in exports for a module, in locals for a script - if (thisContainer.commonJsModuleIndicator) { + if (ts.hasDynamicName(node)) { + break; + } + else if (thisContainer.commonJsModuleIndicator) { declareSymbol(thisContainer.symbol.exports, thisContainer.symbol, node, 4 /* Property */ | 1048576 /* ExportValue */, 0 /* None */); } else { diff --git a/lib/typescript.js b/lib/typescript.js index 52e3b91f2c92e..509da4c866538 100644 --- a/lib/typescript.js +++ b/lib/typescript.js @@ -233,7 +233,7 @@ var ts; // If changing the text in this section, be sure to test `configureNightly` too. ts.versionMajorMinor = "3.7"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".3"; + ts.version = ts.versionMajorMinor + ".4"; })(ts || (ts = {})); (function (ts) { /* @internal */ @@ -31501,7 +31501,10 @@ var ts; break; case 288 /* SourceFile */: // this.property = assignment in a source file -- declare symbol in exports for a module, in locals for a script - if (thisContainer.commonJsModuleIndicator) { + if (ts.hasDynamicName(node)) { + break; + } + else if (thisContainer.commonJsModuleIndicator) { declareSymbol(thisContainer.symbol.exports, thisContainer.symbol, node, 4 /* Property */ | 1048576 /* ExportValue */, 0 /* None */); } else { diff --git a/lib/typescriptServices.js b/lib/typescriptServices.js index 2bcf5a2722353..1270810d10ebf 100644 --- a/lib/typescriptServices.js +++ b/lib/typescriptServices.js @@ -233,7 +233,7 @@ var ts; // If changing the text in this section, be sure to test `configureNightly` too. ts.versionMajorMinor = "3.7"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".3"; + ts.version = ts.versionMajorMinor + ".4"; })(ts || (ts = {})); (function (ts) { /* @internal */ @@ -31501,7 +31501,10 @@ var ts; break; case 288 /* SourceFile */: // this.property = assignment in a source file -- declare symbol in exports for a module, in locals for a script - if (thisContainer.commonJsModuleIndicator) { + if (ts.hasDynamicName(node)) { + break; + } + else if (thisContainer.commonJsModuleIndicator) { declareSymbol(thisContainer.symbol.exports, thisContainer.symbol, node, 4 /* Property */ | 1048576 /* ExportValue */, 0 /* None */); } else { diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js index 80a4b2612b8f0..e6e0c96b8e3ea 100644 --- a/lib/typingsInstaller.js +++ b/lib/typingsInstaller.js @@ -83,7 +83,7 @@ var ts; // If changing the text in this section, be sure to test `configureNightly` too. ts.versionMajorMinor = "3.7"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".3"; + ts.version = ts.versionMajorMinor + ".4"; })(ts || (ts = {})); (function (ts) { /* @internal */ @@ -31351,7 +31351,10 @@ var ts; break; case 288 /* SourceFile */: // this.property = assignment in a source file -- declare symbol in exports for a module, in locals for a script - if (thisContainer.commonJsModuleIndicator) { + if (ts.hasDynamicName(node)) { + break; + } + else if (thisContainer.commonJsModuleIndicator) { declareSymbol(thisContainer.symbol.exports, thisContainer.symbol, node, 4 /* Property */ | 1048576 /* ExportValue */, 0 /* None */); } else {