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

sacloud

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sacloud - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

26

lib/sacloud/command.requests.js

@@ -320,2 +320,28 @@ /**

break;
case 'modify':
if (args.length < 3) {
throw new Error(
'parameters is invalid' + '\n' +
'usage: ' + sacloud.command.structure[action][resource].join(' ')
);
}
var r = {};
r.Password = args[2];
args.forEach(function(arg, i) {
if (arg === 'hostname') r.HostName = args[i + 1];
if (arg === 'publickey') r.SSHKey = { PublicKey: args[i + 1] };
});
reqs.push({
method: 'PUT',
path : [resource, args[0], 'config'].join('/'),
body : { Disk: r }
});
break;

@@ -322,0 +348,0 @@ default:

2

package.json
{
"name": "sacloud",
"version": "0.0.4",
"version": "0.0.5",
"description": "A Node.js Module and CLI for SAKURA Internet Cloud APIs.",

@@ -5,0 +5,0 @@ "main": "index.js",

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