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

default-gateway

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

default-gateway - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

2

linux.js

@@ -27,3 +27,3 @@ "use strict";

addresses.some(function(addr) {
addresses.some(addr => {
if (addr.family.substring(2) === family && net.isIP(addr.address)) {

@@ -30,0 +30,0 @@ result = {gateway: addr.address, interface: (iface ? iface : null)};

{
"name": "default-gateway",
"version": "2.7.1",
"version": "2.7.2",
"description": "Get the default network gateway, cross-platform.",

@@ -20,3 +20,4 @@ "author": "silverwind <me@silverwind.io>",

"eslint": "^4.19.1",
"updates": "^2.4.1"
"eslint-config-silverwind": "^1.0.42",
"updates": "^3.0.0"
},

@@ -23,0 +24,0 @@ "os": [

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