Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-cloud

Package Overview
Dependencies
Maintainers
7
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-cloud - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

16

lib/cloud-device-emulator.js
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
class CloudDeviceEmulatorWrapper {

@@ -11,6 +19,6 @@ constructor($options, $usbLiveSyncService, $processService) {

get cloudDeviceEmulatorInstance() {
this._isCloudDeviceEmulatorInstanceInitialized = true;
return require("cloud-device-emulator");
}
get deviceEmitter() {
this._isCloudDeviceEmulatorInstanceInitialized = true;
return this.cloudDeviceEmulatorInstance.deviceEmitter;

@@ -25,3 +33,7 @@ }

killServer() {
return this.cloudDeviceEmulatorInstance.killServer();
return __awaiter(this, void 0, void 0, function* () {
if (this._isCloudDeviceEmulatorInstanceInitialized) {
return this.cloudDeviceEmulatorInstance.killServer();
}
});
}

@@ -28,0 +40,0 @@ dispose() {

2

package.json
{
"name": "nativescript-cloud",
"version": "0.7.1",
"version": "0.7.2",
"description": "Used for cloud support in NativeScript CLI",

@@ -5,0 +5,0 @@ "main": "lib/bootstrap.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc