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

pkgcloud

Package Overview
Dependencies
Maintainers
5
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkgcloud - npm Package Compare versions

Comparing version 0.8.6 to 0.8.7

.idea/codeStyleSettings.xml

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## v0.8.7
* Adding Rackspace CloudDNS as a DNS service
## v0.8.5

@@ -2,0 +5,0 @@ * Fixing a bug introduced by pre-release services listed in the Openstack Service Catalog

4

lib/pkgcloud.js

@@ -40,3 +40,3 @@ /*

//
['storage', 'cdn', 'providers', 'database'].forEach(function (key) {
['storage', 'cdn', 'providers', 'database', 'dns'].forEach(function (key) {
pkgcloud[key] = {};

@@ -49,3 +49,3 @@ });

//
['compute', 'storage', 'cdn', 'database'].forEach(function (service) {
['compute', 'storage', 'cdn', 'database', 'dns'].forEach(function (service) {
pkgcloud[service].createClient = function (options) {

@@ -52,0 +52,0 @@ if (!options.provider) {

@@ -32,3 +32,3 @@ /*

//
// #### @attributes {Object} Attributes to match.
// #### @attributes {Object|Function} Attributes to match. Optionally provide a matching function
// #### @* {*} **Optional** Key and expected value

@@ -72,6 +72,11 @@ // #### @interval {Integer} Time between pools in ms.

for (var i = 0; i < keys.length; i++) {
if (attributes[keys[i]] !== resource[keys[i]]) {
equal = false;
break;
if (typeof attributes === 'function') {
equal = attributes(resource);
}
else {
for (var i = 0; i < keys.length; i++) {
if (attributes[keys[i]] !== resource[keys[i]]) {
equal = false;
break;
}
}

@@ -78,0 +83,0 @@ }

@@ -11,1 +11,2 @@ /*

exports.database = require('./database');
exports.dns = require('./dns');
{
"name": "pkgcloud",
"description": "An infrastructure-as-a-service agnostic cloud library for node.js",
"version": "0.8.6",
"version": "0.8.7",
"author": "Nodejitsu Inc <info@nodejitsu.com>",

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

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