From 13651e8481031b30d075909a34dd578297775bc9 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Wed, 10 Feb 2021 00:20:52 +0000 Subject: [PATCH] Bump version to 4.0.7 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, 12 insertions(+), 12 deletions(-) diff --git a/lib/tsc.js b/lib/tsc.js index 053665be68b6b..1a208ecb91e61 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.6"; + ts.version = "4.0.7"; var NativeCollections; (function (NativeCollections) { function tryGetNativeMap() { diff --git a/lib/tsserver.js b/lib/tsserver.js index d9df8c3c4c420..ea7ffedb36195 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.6"; + ts.version = "4.0.7"; /* @internal */ var Comparison; (function (Comparison) { @@ -148754,8 +148754,8 @@ 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"); + if (!pluginConfigEntry.name || ts.parsePackageName(pluginConfigEntry.name).rest) { + this.projectService.logger.info("Skipped loading plugin " + (pluginConfigEntry.name || JSON.stringify(pluginConfigEntry)) + " because only package name is allowed plugin name"); return; } var log = function (message) { return _this.projectService.logger.info(message); }; diff --git a/lib/tsserverlibrary.js b/lib/tsserverlibrary.js index d7fbe99780d60..6304b1b344140 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.6"; + ts.version = "4.0.7"; /* @internal */ var Comparison; (function (Comparison) { @@ -148948,8 +148948,8 @@ 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"); + if (!pluginConfigEntry.name || ts.parsePackageName(pluginConfigEntry.name).rest) { + this.projectService.logger.info("Skipped loading plugin " + (pluginConfigEntry.name || JSON.stringify(pluginConfigEntry)) + " because only package name is allowed plugin name"); return; } var log = function (message) { return _this.projectService.logger.info(message); }; diff --git a/lib/typescript.js b/lib/typescript.js index 5f14bf634c536..093cea6ad86cd 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.6"; + ts.version = "4.0.7"; /* @internal */ var Comparison; (function (Comparison) { diff --git a/lib/typescriptServices.js b/lib/typescriptServices.js index 2c1a084174802..6cd7b3ab6e925 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.6"; + ts.version = "4.0.7"; /* @internal */ var Comparison; (function (Comparison) { diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js index eb647a1ebc3c2..242cb2f8ec34d 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.6"; + ts.version = "4.0.7"; /* @internal */ var Comparison; (function (Comparison) { diff --git a/package.json b/package.json index 8e12fc5d0575a..7181ffc344da9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "typescript", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", - "version": "4.0.6", + "version": "4.0.7", "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 682bce3d4951c..4e8aab3154b77 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.6" as string; + export const version = "4.0.7" as string; /** * Type of objects whose values are all of the same type.