Socket
Socket
Sign inDemoInstall

dropkit

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dropkit - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

10

index.js

@@ -438,3 +438,3 @@ /*globals require,module */

return createPromise(this.dropkit.createOption({ method: 'GET' , path: '/v2/droplet_upgrades'}));
return createPromise(this.createOption({ method: 'GET' , path: '/v2/droplet_upgrades'}));

@@ -448,4 +448,4 @@ };

*/
DropKit.prototype.keys = function(keyIdOrFingerPrint) {
var path = '/v2/account/keys' + ( keyIdOrFingerPrint ? keyIdOrFingerPrint : '/' + keyIdOrFingerPrint);
account.prototype.keys = function(keyIdOrFingerPrint) {
var path = '/v2/account/keys' + ( keyIdOrFingerPrint ? ('/' + keyIdOrFingerPrint) : '');
return createPromise(this.dropkit.createOption({ method: 'GET' , path: path}));

@@ -460,3 +460,3 @@

DropKit.prototype.regions = function() {
return createPromise(this.dropkit.createOption({ method: 'GET' , path: "/v2/regions"}));
return createPromise(this.createOption({ method: 'GET' , path: "/v2/regions"}));
};

@@ -470,3 +470,3 @@

DropKit.prototype.sizes = function() {
return createPromise(this.dropkit.createOption({ method: 'GET' , path: "/v2/sizes"}));
return createPromise(this.createOption({ method: 'GET' , path: "/v2/sizes"}));
};

@@ -473,0 +473,0 @@

{
"name": "dropkit",
"version": "0.9.0",
"version": "0.9.1",
"description": "A DigitalOcean Node.js module",

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

@@ -57,3 +57,2 @@ dropkit

```
## Domain Records

@@ -115,2 +114,6 @@ ```javascript

1. npm install
2. npm test
2. npm test
# TODO
1. Write more tests!

@@ -13,3 +13,3 @@ /*globals require,module */

return util._extend(baseOption, requestOption);
}
};
},

@@ -16,0 +16,0 @@

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