Socket
Socket
Sign inDemoInstall

nodejitsu-api

Package Overview
Dependencies
1
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.5 to 0.3.6

16

lib/client/apps.js

@@ -162,1 +162,17 @@ /*

};
//
// ### function setDrones (app, callback)
// #### @app {string} Name of the application to set number of drones for.
// #### @drones {Number} Number of drones to run.
// #### @callback {function} Continuation to respond to when complete.
// Runs `app` on `drones` drones.
//
Apps.prototype.setDrones = function (appName, drones, callback) {
appName = defaultUser.call(this, appName);
argv = ['apps'].concat(appName.split('/')).concat('drones');
this.request('POST', argv, { drones: drones }, callback, function (res, result) {
callback(null, result || res.statusCode);
});
};

3

lib/client/client.js

@@ -149,3 +149,4 @@ /*

'Content-Length': stat.size
}
},
timeout: self.options.get('timeout') || 8 * 60 * 1000
};

@@ -152,0 +153,0 @@

{
"name": "nodejitsu-api",
"version": "0.3.5",
"version": "0.3.6",
"description": "nodejitsu API client wrapper",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/nodejitsu/nodejitsu-api",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc