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.6.0 to 2.6.1

4

package.json
{
"name": "default-gateway",
"version": "2.6.0",
"version": "2.6.1",
"description": "Get the default network gateway, cross-platform.",

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

"devDependencies": {
"eslint": "^4.7.2"
"eslint": "^4.8.0"
},

@@ -22,0 +22,0 @@ "os": [

@@ -44,5 +44,5 @@ # default-gateway

The `.v{4,6}()` functions return a Promise while the `.v{4,6}().sync()` variants will return the result synchronously.
The `.v{4,6}()` methods return a Promise while the `.v{4,6}().sync()` variants will return the result synchronously.
The `gateway` property will always be defined on success, while `interface` can be `null` if it cannot be determined. All methods reject/throws when the gateway cannot be determined or the `exec` call failed.
The `gateway` property will always be defined on success, while `interface` can be `null` if it cannot be determined. All methods reject/throw when the gateway cannot be determined or the `exec` call failed.

@@ -49,0 +49,0 @@ ## License

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