From b5af6e689d6379064e7244f4e09fff453ccf72f3 Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Thu, 7 Feb 2019 11:33:42 +0200 Subject: [PATCH 1/3] chore: set version to 5.2.1 --- npm-shrinkwrap.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index d339813092..ae4eb31946 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "nativescript", - "version": "5.2.0", + "version": "5.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 32393055df..09f2808420 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nativescript", "preferGlobal": true, - "version": "5.2.0", + "version": "5.2.1", "author": "Telerik ", "description": "Command-line interface for building NativeScript projects", "bin": { From 546d4a3089c1fddbea03902abd52a86cf64b6b09 Mon Sep 17 00:00:00 2001 From: DimitarTachev Date: Fri, 8 Feb 2019 13:50:12 +0200 Subject: [PATCH 2/3] fix: shouldRestart will now return true if the app is not running instead of throwing an exception --- lib/services/livesync/ios-device-livesync-service.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/services/livesync/ios-device-livesync-service.ts b/lib/services/livesync/ios-device-livesync-service.ts index 9239eb4d53..37494537df 100644 --- a/lib/services/livesync/ios-device-livesync-service.ts +++ b/lib/services/livesync/ios-device-livesync-service.ts @@ -24,7 +24,12 @@ export class IOSDeviceLiveSyncService extends DeviceLiveSyncServiceBase implemen } const appId = projectData.projectIdentifiers.ios; - this.socket = await this.device.getDebugSocket(appId, projectData.projectName); + try { + this.socket = await this.device.getDebugSocket(appId, projectData.projectName); + } catch (err) { + this.$logger.trace(`Error while connecting to the debug socket. Error is:`, err); + } + if (!this.socket) { return false; } From 0de062262da11ad5fb1dd7f47b5bbcf4c12a4aa0 Mon Sep 17 00:00:00 2001 From: DimitarTachev Date: Fri, 8 Feb 2019 15:56:35 +0200 Subject: [PATCH 3/3] fix: update lodash because of "a potential security vulnerability" --- npm-shrinkwrap.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index ae4eb31946..e925e0edf5 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -4217,9 +4217,9 @@ "integrity": "sha1-Jjj8OaAzHpysGgS3F5mTHJxQ33k=" }, "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" }, "lodash-node": { "version": "2.4.1", diff --git a/package.json b/package.json index 09f2808420..ec598951b5 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "istextorbinary": "2.2.1", "jimp": "0.2.28", "lockfile": "1.0.3", - "lodash": "4.17.10", + "lodash": "4.17.11", "log4js": "1.0.1", "marked": "0.5.1", "marked-terminal": "3.1.1",