From 019e4c698a22fb56d1dbe0c008f4b0dd5b64460c Mon Sep 17 00:00:00 2001 From: Mine Starks Date: Mon, 4 Jan 2021 16:17:37 -0800 Subject: [PATCH] Bump version to 3.9.8 and LKG --- lib/tsc.js | 2 +- lib/tsserver.js | 6 +++++- lib/tsserverlibrary.js | 6 +++++- lib/typescript.js | 2 +- lib/typescriptServices.js | 2 +- lib/typingsInstaller.js | 2 +- package.json | 2 +- src/compiler/corePublic.ts | 2 +- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/lib/tsc.js b/lib/tsc.js index 8d2baac826d44..f2547dc0aec45 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 = "3.9.7"; + ts.version = "3.9.8"; function tryGetNativeMap() { return typeof Map !== "undefined" && "entries" in Map.prototype ? Map : undefined; } diff --git a/lib/tsserver.js b/lib/tsserver.js index bd22d0ab93db6..01634839a4a8e 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 = "3.9.7"; + ts.version = "3.9.8"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ @@ -143754,6 +143754,10 @@ var ts; Project.prototype.enablePlugin = function (pluginConfigEntry, searchPaths, pluginConfigOverrides) { var _this = this; this.projectService.logger.info("Enabling plugin " + pluginConfigEntry.name + " from candidate paths: " + searchPaths.join(",")); + if (ts.parsePackageName(pluginConfigEntry.name).rest) { + this.projectService.logger.info("kipped loading plugin " + pluginConfigEntry.name + " because only package name is allowed plugin name"); + return; + } var log = function (message) { return _this.projectService.logger.info(message); }; var errorLogs; var logError = function (message) { (errorLogs || (errorLogs = [])).push(message); }; diff --git a/lib/tsserverlibrary.js b/lib/tsserverlibrary.js index 90c9263257e8d..9289032b6d531 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 = "3.9.7"; + ts.version = "3.9.8"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ @@ -143904,6 +143904,10 @@ var ts; Project.prototype.enablePlugin = function (pluginConfigEntry, searchPaths, pluginConfigOverrides) { var _this = this; this.projectService.logger.info("Enabling plugin " + pluginConfigEntry.name + " from candidate paths: " + searchPaths.join(",")); + if (ts.parsePackageName(pluginConfigEntry.name).rest) { + this.projectService.logger.info("kipped loading plugin " + pluginConfigEntry.name + " because only package name is allowed plugin name"); + return; + } var log = function (message) { return _this.projectService.logger.info(message); }; var errorLogs; var logError = function (message) { (errorLogs || (errorLogs = [])).push(message); }; diff --git a/lib/typescript.js b/lib/typescript.js index cb5199f3bce2c..d2c079eb6466b 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 = "3.9.7"; + ts.version = "3.9.8"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ diff --git a/lib/typescriptServices.js b/lib/typescriptServices.js index d096b99a29744..12d74fe963264 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 = "3.9.7"; + ts.version = "3.9.8"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js index a0d425c6a8c0b..fe23f865424f6 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 = "3.9.7"; + ts.version = "3.9.8"; /** * Returns the native Map implementation if it is available and compatible (i.e. supports iteration). */ diff --git a/package.json b/package.json index 6b167147e096e..610d53d77486f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "typescript", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", - "version": "3.9.7", + "version": "3.9.8", "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 1965ba047f308..7d83cb33eb225 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 = "3.9.7" as string; + export const version = "3.9.8" as string; /** * Type of objects whose values are all of the same type.