Socket
Socket
Sign inDemoInstall

cloudappx-server

Package Overview
Dependencies
98
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

4

package.json
{
"name": "cloudappx-server",
"version": "0.0.5",
"version": "0.0.6",
"description": "MakeAppX in the Cloud",
"repository": {
"type": "git",
"url": "https://github.com/alxlu/CloudAppX"
"url": "https://github.com/MicrosoftEdge/CloudAppX"
},

@@ -9,0 +9,0 @@ "scripts": {

@@ -122,15 +122,23 @@ var fs = require('fs'),

var deferred = Q.defer();
var configPath = path.resolve(__dirname, '..', 'assets', 'priconfig.xml');
var cmdLine = '"' + toolPath + '" new /o /pr "' + projectRoot + '" /cf "' + configPath + '" /of "' + outputFile + '" /in ' + packageIdentity;
exec(cmdLine, { maxBuffer: 1024 * 1024 }, function (err, stdout, stderr) {
if (err) {
return deferred.reject(err);
}
deferred.resolve({
projectRoot: projectRoot,
outputFile: outputFile,
stdout: stdout,
stderr: stderr
});
// check if a MakePri configuration file was provided, otherwise use the default file in 'assets'
var configFile = 'priconfig.xml';
var configPath = path.join(projectRoot, configFile);
fsStat(configPath).catch(function (err) {
configPath = path.resolve(__dirname, '..', 'assets', configFile);
}).finally(function() {
console.log("Using " + configFile + " path: " + configPath);
var cmdLine = '"' + toolPath + '" new /o /pr "' + projectRoot + '" /cf "' + configPath + '" /of "' + outputFile + '" /in ' + packageIdentity;
exec(cmdLine, { maxBuffer: 1024 * 1024 }, function (err, stdout, stderr) {
if (err) {
return deferred.reject(err);
}
deferred.resolve({
projectRoot: projectRoot,
outputFile: outputFile,
stdout: stdout,
stderr: stderr
});
});
});

@@ -137,0 +145,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc