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

macaddress

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

macaddress - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

.gitignore

9

lib/networkinterfaces.js

@@ -19,4 +19,4 @@ var os = require('os');

throw e;
};
};
}
}

@@ -28,3 +28,6 @@ Object.keys(ifaces).forEach(function (iface) {

if (!address.internal) {
addresses[(address.family || "").toLowerCase()] = address.address;
var family = (typeof address.family === 'number')
? ("ipv" + address.family)
: (address.family || "").toLowerCase();
addresses[family] = address.address;
hasAddresses = true;

@@ -31,0 +34,0 @@ if (address.mac && address.mac !== '00:00:00:00:00:00') {

@@ -10,3 +10,3 @@ /* jshint node: true */

}
var ifaces = out.split(/[ \t]+/);
var ifaces = out.split(/[ \t\n]+/);
var result = [];

@@ -13,0 +13,0 @@ for (var i = 0; i < ifaces.length; i += 1) {

{
"name": "macaddress",
"version": "0.5.2",
"version": "0.5.3",
"description": "Get the MAC addresses (hardware addresses) of the hosts network interfaces.",

@@ -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