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

boom-deploy

Package Overview
Dependencies
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boom-deploy - npm Package Compare versions

Comparing version 0.0.28 to 0.0.29

9

boom/debug.js

@@ -55,4 +55,2 @@

new Task('sudotest', function(data){
//sudoSetPassword();
sudo('service nginx reload');

@@ -62,3 +60,2 @@ sudo('service php5-fpm reload');

sudo('service memcached restart');
//exit('ololo');

@@ -68,4 +65,8 @@ })

new Task('sudotest2', function(data){
//sudoSetPassword();
ssh('sudo service memcached restart');
})
new Task('memcached:flush', function(data){
console.log(get('memcached.servers'));
ssh('(echo flush_all; echo quit) | nc {{memcached.servers[0].host}} {{memcached.servers[0].port}}');
})

@@ -86,4 +86,3 @@ new Task('deploy:setup', function(){

new Helper(function deploySymlink(){
ssh('rm -f {{deployTo}}/current',
'mkdir -p {{sharedPath}}/log');
//ssh('rm -f {{deployTo}}/current');
symlink('{{releasePath}}', '{{currentPath}}');

@@ -90,0 +89,0 @@ symlink('{{sharedPath}}/log', '{{currentPath}}/log');

@@ -42,6 +42,6 @@ var _ = require('lodash');

if (!key) return this.data;
return this.data[key];
return replacer.getProp(key, this.data);
},
set: function(key, value){
this.data[key] = value;
replacer.setProp(key, value, this.data)
},

@@ -48,0 +48,0 @@ preprocess: function(obj, base){

@@ -7,6 +7,17 @@ var _ = require('lodash');

exports.replace = function(str, base){
str = str.replace(regExpReplacer, function(match, props){
return vm.runInNewContext('(function(){ return ' + props + '})()', base);
str = str.replace(regExpReplacer, function(match, key){
return exports.getProp(key, base);
});
return str;
}
exports.getProp = function(key, base){
return vm.runInNewContext('(function(){ try { return ' + key + ' } catch (err) { return undefined } })()', base);
}
exports.setProp = function(key, value, base){
return vm.runInNewContext('base.' + key + ' = value' , {
value : value,
base : base
});
}
{
"name": "boom-deploy",
"main": "boom.js",
"version": "0.0.28",
"version": "0.0.29",
"description": "deploy your app",

@@ -6,0 +6,0 @@ "keywords": [

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