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

digitalocean

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digitalocean - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

lib/digitalocean/droplet.js

@@ -137,3 +137,3 @@ (function() {

var params = { tag_name: encodeURIComponent(name) };
return this.client.delete(url, params, 204, [], callback);
return this.client.delete(url, {}, { query: params }, 204, [], callback);
};

@@ -140,0 +140,0 @@

{
"name": "digitalocean",
"version": "1.2.0",
"version": "1.2.1",
"author": "Phillip Baker <phillbaker@retrodict.com>",

@@ -5,0 +5,0 @@ "description": "nodejs wrapper for digitalocean v2 api",

@@ -489,3 +489,3 @@ # digitalocean-node

* `client.floatingIps.listActions(floatingIp.ip, [queryObject], [callback])`
* `client.floatingIps.getAction(floatingIp.ip, [callback])`
* `client.floatingIps.getAction(floatingIp.ip, action.id, [callback])`

@@ -492,0 +492,0 @@ Methods resulting in an `action`:

@@ -879,3 +879,3 @@ 'use strict';

it('deletes the droplet', function() {
testUtils.api.delete('/v2/droplets', { tag_name: 'awesome' }).reply(204, '');
testUtils.api.delete('/v2/droplets').query({ tag_name: 'awesome' }).reply(204, '');

@@ -888,3 +888,3 @@ client.droplets.deleteByTag('awesome', function(err) {

it('returns a promisable', function(done) {
testUtils.api.delete('/v2/droplets', { tag_name: 'awesome' }).reply(204, '');
testUtils.api.delete('/v2/droplets').query({ tag_name: 'awesome' }).reply(204, '');

@@ -891,0 +891,0 @@ client.droplets.deleteByTag('awesome').then(function(droplet) {

Sorry, the diff of this file is not supported yet

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