diff --git a/lib/tsc.js b/lib/tsc.js index d30565165b537..053665be68b6b 100644 --- a/lib/tsc.js +++ b/lib/tsc.js @@ -67,7 +67,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) { var ts; (function (ts) { ts.versionMajorMinor = "4.0"; - ts.version = "4.0.5"; + ts.version = "4.0.6"; var NativeCollections; (function (NativeCollections) { function tryGetNativeMap() { diff --git a/lib/tsserver.js b/lib/tsserver.js index 132e7451182be..d9df8c3c4c420 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 = "4.0"; /** The version of the TypeScript compiler release */ - ts.version = "4.0.5"; + ts.version = "4.0.6"; /* @internal */ var Comparison; (function (Comparison) { @@ -148754,6 +148754,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 14db40a451d70..d7fbe99780d60 100644 --- a/lib/tsserverlibrary.js +++ b/lib/tsserverlibrary.js @@ -288,7 +288,7 @@ var ts; // If changing the text in this section, be sure to test `configurePrerelease` too. ts.versionMajorMinor = "4.0"; /** The version of the TypeScript compiler release */ - ts.version = "4.0.5"; + ts.version = "4.0.6"; /* @internal */ var Comparison; (function (Comparison) { @@ -148948,6 +148948,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 902286ac2ed8b..5f14bf634c536 100644 --- a/lib/typescript.js +++ b/lib/typescript.js @@ -288,7 +288,7 @@ var ts; // If changing the text in this section, be sure to test `configurePrerelease` too. ts.versionMajorMinor = "4.0"; /** The version of the TypeScript compiler release */ - ts.version = "4.0.5"; + ts.version = "4.0.6"; /* @internal */ var Comparison; (function (Comparison) { diff --git a/lib/typescriptServices.js b/lib/typescriptServices.js index f5b4a76c03a59..2c1a084174802 100644 --- a/lib/typescriptServices.js +++ b/lib/typescriptServices.js @@ -288,7 +288,7 @@ var ts; // If changing the text in this section, be sure to test `configurePrerelease` too. ts.versionMajorMinor = "4.0"; /** The version of the TypeScript compiler release */ - ts.version = "4.0.5"; + ts.version = "4.0.6"; /* @internal */ var Comparison; (function (Comparison) { diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js index 2c9fa35817330..eb647a1ebc3c2 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 = "4.0"; /** The version of the TypeScript compiler release */ - ts.version = "4.0.5"; + ts.version = "4.0.6"; /* @internal */ var Comparison; (function (Comparison) { diff --git a/package.json b/package.json index ab953b17d074a..8e12fc5d0575a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "typescript", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", - "version": "4.0.5", + "version": "4.0.6", "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 d06cc13e38e7b..682bce3d4951c 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 = "4.0"; /** The version of the TypeScript compiler release */ - export const version = "4.0.5" as string; + export const version = "4.0.6" as string; /** * Type of objects whose values are all of the same type.