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.19.0 to 0.19.1

9

lib/services/eula-service.js

@@ -13,2 +13,3 @@ "use strict";

const constants_1 = require("../constants");
const temp = require("temp");
class EulaService {

@@ -82,2 +83,4 @@ constructor($httpClient, $userSettingsService, $logger, $fs, $nsCloudDateTimeService, $lockfile, $options) {

try {
const tempEulaPath = temp.path({ prefix: "eula", suffix: ".pdf" });
temp.track();
yield this.$lockfile.lock(lockFilePath, this.getLockFileParams());

@@ -87,6 +90,8 @@ this.$logger.trace(`Downloading EULA to ${this.pathToEula}.`);

url: constants_1.EulaConstants.eulaUrl,
pipeTo: this.$fs.createWriteStream(this.pathToEula),
pipeTo: this.$fs.createWriteStream(tempEulaPath),
timeout: constants_1.EulaConstants.timeout
});
this.$logger.trace(`Successfully downloaded EULA to ${this.pathToEula}.`);
this.$logger.trace(`Successfully downloaded EULA to ${tempEulaPath}.`);
this.$fs.copyFile(tempEulaPath, this.pathToEula);
this.$logger.trace(`Successfully copied EULA to ${this.pathToEula}.`);
this.isEulaDownloadedInCurrentProcess = true;

@@ -93,0 +98,0 @@ }

{
"name": "nativescript-cloud",
"version": "0.19.0",
"version": "0.19.1",
"description": "Used for cloud support in NativeScript CLI",

@@ -60,2 +60,3 @@ "main": "lib/bootstrap.js",

"simple-plist": "0.2.1",
"temp": "0.8.3",
"uuid": "3.0.1",

@@ -62,0 +63,0 @@ "xml-escape": "1.1.0"

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