New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mup

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mup - npm Package Compare versions

Comparing version 0.6.8 to 0.6.9

lib/build.sh

26

lib/actions.js

@@ -75,7 +75,13 @@ var nodemiral = require('nodemiral');

var self = this;
var bundleLocation = path.resolve('/tmp', uuid.v4());
var bundlePath = path.resolve(bundleLocation, 'bundle.tar.gz');
var buildLocation = path.resolve('/tmp', uuid.v4());
var bundlePath = path.resolve(buildLocation, 'bundle.tar.gz');
var command = getBundleCommand(bundleLocation);
var options = {cwd: this.config.app};
var options = {
cwd: this.config.app,
};
// spawn inherits env vars from process.env
// so we can simply set them like this
process.env.BUILD_LOCATION = buildLocation;
var buildScript = path.resolve(__dirname, 'build.sh');
var deployCheckWaitTime = this.config.deployCheckWaitTime;

@@ -91,3 +97,3 @@ var appName = this.config.appName;

var bash = spawn("bash", ["-c", command], options);
var bash = spawn("bash", [buildScript], options);
bash.stdout.on('data', storeLastNChars(vars, "stdout", 1000));

@@ -133,12 +139,4 @@ bash.stderr.on('data', storeLastNChars(vars, "stderr", 1000));

function afterCompleted(summeryMap) {
rimraf.sync(bundleLocation);
rimraf.sync(buildLocation);
}
function getBundleCommand(location) {
var command =
"meteor build --directory " + location + " && " +
"cd " + location + " && " +
"tar cvzf bundle.tar.gz bundle";
return command;
}
};

@@ -145,0 +143,0 @@

{
"name": "mup",
"version": "0.6.8",
"version": "0.6.9",
"description": "Production Quality Meteor Deployments",

@@ -5,0 +5,0 @@ "dependencies": {

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