From cefa5f4b051a397261450a67744a40d294887c83 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Fri, 24 Apr 2020 23:47:49 +0000 Subject: [PATCH] Bump version to 3.9.1-rc and LKG --- lib/tsc.js | 10 +++++----- lib/tsserver.js | 10 +++++----- lib/tsserverlibrary.js | 10 +++++----- lib/typescript.js | 10 +++++----- lib/typescriptServices.js | 10 +++++----- lib/typingsInstaller.js | 10 +++++----- package.json | 2 +- src/compiler/corePublic.ts | 2 +- 8 files changed, 32 insertions(+), 32 deletions(-) diff --git a/lib/tsc.js b/lib/tsc.js index 1105495d584..010f5d28f9c 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.9"; - ts.version = ts.versionMajorMinor + ".0-beta"; + ts.version = "3.9.1-rc"; function tryGetNativeMap() { return typeof Map !== "undefined" && "entries" in Map.prototype ? Map : undefined; } @@ -30323,8 +30323,8 @@ var ts; } } function getExternalModuleMember(node, specifier, dontResolveAlias) { - if (dontResolveAlias === void 0) { dontResolveAlias = false; } var _a; + if (dontResolveAlias === void 0) { dontResolveAlias = false; } var moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier); var name = specifier.propertyName || specifier.name; var suppressInteropError = name.escapedText === "default" && !!(compilerOptions.allowSyntheticDefaultImports || compilerOptions.esModuleInterop); @@ -82814,11 +82814,11 @@ var ts; return getMergedProgramDiagnostics(sourceFile, fileProcessingDiagnosticsInFile, programDiagnosticsInFile); } function getMergedProgramDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -82878,11 +82878,11 @@ var ts; }); } function getMergedBindAndCheckDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -85710,8 +85710,8 @@ var ts; return primaryResult; } function resolveNamesWithLocalCache(_a) { - var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var _b; + var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var path = resolutionHost.toPath(containingFile); var resolutionsInFile = cache.get(path) || cache.set(path, ts.createMap()).get(path); var dirPath = ts.getDirectoryPath(path); diff --git a/lib/tsserver.js b/lib/tsserver.js index d24f2fab4dc..bbfa3e787cf 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 `configurePrerelease` too. ts.versionMajorMinor = "3.9"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".0-beta"; + ts.version = "3.9.1-rc"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ @@ -36982,8 +36982,8 @@ var ts; } } function getExternalModuleMember(node, specifier, dontResolveAlias) { - if (dontResolveAlias === void 0) { dontResolveAlias = false; } var _a; + if (dontResolveAlias === void 0) { dontResolveAlias = false; } var moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier); // TODO: GH#18217 var name = specifier.propertyName || specifier.name; var suppressInteropError = name.escapedText === "default" /* Default */ && !!(compilerOptions.allowSyntheticDefaultImports || compilerOptions.esModuleInterop); @@ -100628,11 +100628,11 @@ var ts; return getMergedProgramDiagnostics(sourceFile, fileProcessingDiagnosticsInFile, programDiagnosticsInFile); } function getMergedProgramDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -100705,11 +100705,11 @@ var ts; }); } function getMergedBindAndCheckDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -104021,8 +104021,8 @@ var ts; return primaryResult; } function resolveNamesWithLocalCache(_a) { - var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var _b; + var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var path = resolutionHost.toPath(containingFile); var resolutionsInFile = cache.get(path) || cache.set(path, ts.createMap()).get(path); var dirPath = ts.getDirectoryPath(path); diff --git a/lib/tsserverlibrary.js b/lib/tsserverlibrary.js index 78192304090..6a69a6e8a20 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 `configurePrerelease` too. ts.versionMajorMinor = "3.9"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".0-beta"; + ts.version = "3.9.1-rc"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ @@ -37132,8 +37132,8 @@ var ts; } } function getExternalModuleMember(node, specifier, dontResolveAlias) { - if (dontResolveAlias === void 0) { dontResolveAlias = false; } var _a; + if (dontResolveAlias === void 0) { dontResolveAlias = false; } var moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier); // TODO: GH#18217 var name = specifier.propertyName || specifier.name; var suppressInteropError = name.escapedText === "default" /* Default */ && !!(compilerOptions.allowSyntheticDefaultImports || compilerOptions.esModuleInterop); @@ -100778,11 +100778,11 @@ var ts; return getMergedProgramDiagnostics(sourceFile, fileProcessingDiagnosticsInFile, programDiagnosticsInFile); } function getMergedProgramDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -100855,11 +100855,11 @@ var ts; }); } function getMergedBindAndCheckDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -104171,8 +104171,8 @@ var ts; return primaryResult; } function resolveNamesWithLocalCache(_a) { - var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var _b; + var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var path = resolutionHost.toPath(containingFile); var resolutionsInFile = cache.get(path) || cache.set(path, ts.createMap()).get(path); var dirPath = ts.getDirectoryPath(path); diff --git a/lib/typescript.js b/lib/typescript.js index 2fa3ff62651..ff8f7841af7 100644 --- a/lib/typescript.js +++ b/lib/typescript.js @@ -244,7 +244,7 @@ var ts; // If changing the text in this section, be sure to test `configurePrerelease` too. ts.versionMajorMinor = "3.9"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".0-beta"; + ts.version = "3.9.1-rc"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ @@ -37132,8 +37132,8 @@ var ts; } } function getExternalModuleMember(node, specifier, dontResolveAlias) { - if (dontResolveAlias === void 0) { dontResolveAlias = false; } var _a; + if (dontResolveAlias === void 0) { dontResolveAlias = false; } var moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier); // TODO: GH#18217 var name = specifier.propertyName || specifier.name; var suppressInteropError = name.escapedText === "default" /* Default */ && !!(compilerOptions.allowSyntheticDefaultImports || compilerOptions.esModuleInterop); @@ -100778,11 +100778,11 @@ var ts; return getMergedProgramDiagnostics(sourceFile, fileProcessingDiagnosticsInFile, programDiagnosticsInFile); } function getMergedProgramDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -100855,11 +100855,11 @@ var ts; }); } function getMergedBindAndCheckDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -104171,8 +104171,8 @@ var ts; return primaryResult; } function resolveNamesWithLocalCache(_a) { - var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var _b; + var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var path = resolutionHost.toPath(containingFile); var resolutionsInFile = cache.get(path) || cache.set(path, ts.createMap()).get(path); var dirPath = ts.getDirectoryPath(path); diff --git a/lib/typescriptServices.js b/lib/typescriptServices.js index 865a5e8db63..d73da5100e8 100644 --- a/lib/typescriptServices.js +++ b/lib/typescriptServices.js @@ -244,7 +244,7 @@ var ts; // If changing the text in this section, be sure to test `configurePrerelease` too. ts.versionMajorMinor = "3.9"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".0-beta"; + ts.version = "3.9.1-rc"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ @@ -37132,8 +37132,8 @@ var ts; } } function getExternalModuleMember(node, specifier, dontResolveAlias) { - if (dontResolveAlias === void 0) { dontResolveAlias = false; } var _a; + if (dontResolveAlias === void 0) { dontResolveAlias = false; } var moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier); // TODO: GH#18217 var name = specifier.propertyName || specifier.name; var suppressInteropError = name.escapedText === "default" /* Default */ && !!(compilerOptions.allowSyntheticDefaultImports || compilerOptions.esModuleInterop); @@ -100778,11 +100778,11 @@ var ts; return getMergedProgramDiagnostics(sourceFile, fileProcessingDiagnosticsInFile, programDiagnosticsInFile); } function getMergedProgramDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -100855,11 +100855,11 @@ var ts; }); } function getMergedBindAndCheckDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -104171,8 +104171,8 @@ var ts; return primaryResult; } function resolveNamesWithLocalCache(_a) { - var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var _b; + var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var path = resolutionHost.toPath(containingFile); var resolutionsInFile = cache.get(path) || cache.set(path, ts.createMap()).get(path); var dirPath = ts.getDirectoryPath(path); diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js index c18942cec8e..d2593265096 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 `configurePrerelease` too. ts.versionMajorMinor = "3.9"; /** The version of the TypeScript compiler release */ - ts.version = ts.versionMajorMinor + ".0-beta"; + ts.version = "3.9.1-rc"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ @@ -36971,8 +36971,8 @@ var ts; } } function getExternalModuleMember(node, specifier, dontResolveAlias) { - if (dontResolveAlias === void 0) { dontResolveAlias = false; } var _a; + if (dontResolveAlias === void 0) { dontResolveAlias = false; } var moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier); // TODO: GH#18217 var name = specifier.propertyName || specifier.name; var suppressInteropError = name.escapedText === "default" /* Default */ && !!(compilerOptions.allowSyntheticDefaultImports || compilerOptions.esModuleInterop); @@ -100617,11 +100617,11 @@ var ts; return getMergedProgramDiagnostics(sourceFile, fileProcessingDiagnosticsInFile, programDiagnosticsInFile); } function getMergedProgramDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -100694,11 +100694,11 @@ var ts; }); } function getMergedBindAndCheckDiagnostics(sourceFile) { + var _a; var allDiagnostics = []; for (var _i = 1; _i < arguments.length; _i++) { allDiagnostics[_i - 1] = arguments[_i]; } - var _a; var flatDiagnostics = ts.flatten(allDiagnostics); if (!((_a = sourceFile.commentDirectives) === null || _a === void 0 ? void 0 : _a.length)) { return flatDiagnostics; @@ -104010,8 +104010,8 @@ var ts; return primaryResult; } function resolveNamesWithLocalCache(_a) { - var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var _b; + var names = _a.names, containingFile = _a.containingFile, redirectedReference = _a.redirectedReference, cache = _a.cache, perDirectoryCacheWithRedirects = _a.perDirectoryCacheWithRedirects, loader = _a.loader, getResolutionWithResolvedFileName = _a.getResolutionWithResolvedFileName, shouldRetryResolution = _a.shouldRetryResolution, reusedNames = _a.reusedNames, logChanges = _a.logChanges; var path = resolutionHost.toPath(containingFile); var resolutionsInFile = cache.get(path) || cache.set(path, ts.createMap()).get(path); var dirPath = ts.getDirectoryPath(path); diff --git a/package.json b/package.json index 12f6b978722..176bc3029a7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "typescript", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", - "version": "3.9.0-beta", + "version": "3.9.1-rc", "license": "Apache-2.0", "description": "TypeScript is a language for application scale JavaScript development", "keywords": [ diff --git a/src/compiler/corePublic.ts b/src/compiler/corePublic.ts index b4d5e8a4aa3..b1eb2adb243 100644 --- a/src/compiler/corePublic.ts +++ b/src/compiler/corePublic.ts @@ -3,7 +3,7 @@ namespace ts { // If changing the text in this section, be sure to test `configurePrerelease` too. export const versionMajorMinor = "3.9"; /** The version of the TypeScript compiler release */ - export const version = `${versionMajorMinor}.0-beta`; + export const version = "3.9.1-rc" as string; /** * Type of objects whose values are all of the same type.