Socket
Socket
Sign inDemoInstall

default-gateway

Package Overview
Dependencies
17
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.2.0

freebsd.js

2

index.js

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

if (["linux", "darwin", "win32", "android"].includes(platform)) {
if (["android", "darwin", "freebsd", "linux", "win32"].includes(platform)) {
module.exports.v4 = () => require(`./${platform}`).v4();

@@ -8,0 +8,0 @@ module.exports.v6 = () => require(`./${platform}`).v6();

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

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

"os": [
"android",
"darwin",
"freebsd",
"linux",
"win32",
"android"
"win32"
],
"files": [
"index.js",
"android.js",
"darwin.js",
"index.js",
"freebsd.js",
"linux.js",
"win32.js",
"android.js"
"win32.js"
],

@@ -32,0 +34,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc