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

pkgcloud

Package Overview
Dependencies
Maintainers
4
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.6.14 to 0.6.15

14

lib/pkgcloud/core/compute/index.js

@@ -50,3 +50,3 @@ /*

//
exports.serverIp = function (server) {
exports.serverIp = function (server, options) {
if (!server && !server.ips && !server.addresses) {

@@ -56,3 +56,7 @@ return null;

var interfaces,
options = options || {};
var isPublic = options.isPublic || exports.isPublic,
isPrivate = options.isPrivate || exports.isPrivate,
interfaces,
addresses,

@@ -70,3 +74,3 @@ networks,

pub = server.ips.filter(function (addr) {
return exports.isPublic(addr);
return isPublic(addr);
});

@@ -119,6 +123,6 @@

.forEach(function (addr) {
if (exports.isPublic(addr)) {
if (isPublic(addr)) {
all['public'].push(addr);
}
else if (exports.isPrivate(addr)) {
else if (isPrivate(addr)) {
all['private'].push(addr);

@@ -125,0 +129,0 @@ }

{
"name": "pkgcloud",
"description": "An infrastructure-as-a-service agnostic cloud library for node.js",
"version": "0.6.14",
"version": "0.6.15",
"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