You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

nativescript

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript - npm Package Compare versions

Comparing version

to
2.3.0-2016-08-30-6568

@@ -388,5 +388,6 @@ "use strict";

_this.$projectDataService.initialize(_this.$projectData.projectDir);
frameworkVersion = _this.$projectDataService.getValue(_this.platformData.frameworkPackageName).wait().version;
var frameworkInfoInProjectFile = _this.$projectDataService.getValue(_this.platformData.frameworkPackageName).wait();
frameworkVersion = frameworkInfoInProjectFile && frameworkInfoInProjectFile.version;
}
_this._canUseGradle = semver.gte(frameworkVersion, AndroidProjectService.MIN_RUNTIME_VERSION_WITH_GRADLE);
_this._canUseGradle = !frameworkVersion || semver.gte(frameworkVersion, AndroidProjectService.MIN_RUNTIME_VERSION_WITH_GRADLE);
}

@@ -393,0 +394,0 @@ return _this._canUseGradle;

"use strict";
var helpers = require("../../common/helpers");
var constants = require("../../constants");
var minimatch = require("minimatch");
var net = require("net");

@@ -74,4 +76,6 @@ var Future = require("fibers/future");

}
var scriptRelatedFiles = [];
var scriptFiles = _.filter(localToDevicePaths, function (localToDevicePath) { return _.endsWith(localToDevicePath.getDevicePath(), ".js"); });
var otherFiles = _.difference(localToDevicePaths, scriptFiles);
constants.LIVESYNC_EXCLUDED_FILE_PATTERNS.forEach(function (pattern) { return scriptRelatedFiles = _.concat(scriptRelatedFiles, localToDevicePaths.filter(function (file) { return minimatch(file.getDevicePath(), pattern, { nocase: true }); })); });
var otherFiles = _.difference(localToDevicePaths, _.concat(scriptFiles, scriptRelatedFiles));
var shouldRestart = _.some(otherFiles, function (localToDevicePath) { return !_this.$liveSyncProvider.canExecuteFastSync(localToDevicePath.getLocalPath(), deviceAppData.platform); });

@@ -78,0 +82,0 @@ if (shouldRestart) {

{
"name": "nativescript",
"preferGlobal": true,
"version": "2.3.0-2016-08-30-6562",
"version": "2.3.0-2016-08-30-6568",
"author": "Telerik <support@telerik.com>",

@@ -6,0 +6,0 @@ "description": "Command-line interface for building NativeScript projects",