Socket
Socket
Sign inDemoInstall

@ionic/utils-network

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/utils-network - npm Package Compare versions

Comparing version 2.1.5 to 2.1.6

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [2.1.6](https://github.com/ionic-team/ionic-cli/compare/@ionic/utils-network@2.1.5...@ionic/utils-network@2.1.6) (2023-03-29)
**Note:** Version bump only for package @ionic/utils-network
## [2.1.5](https://github.com/ionic-team/ionic-cli/compare/@ionic/utils-network@2.1.4...@ionic/utils-network@2.1.5) (2020-08-28)

@@ -8,0 +16,0 @@

12

dist/index.js

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

const networkInterface = networkInterfaces[device];
addresses.push(...networkInterface.map(i => i.address));
if (networkInterface) {
addresses.push(...networkInterface.map(i => i.address));
}
}

@@ -29,5 +31,7 @@ }

const networkInterface = networkInterfaces[device];
for (const networkAddress of networkInterface) {
if (!networkAddress.internal && networkAddress.family === 'IPv4') {
devices.push({ device, ...networkAddress });
if (networkInterface) {
for (const networkAddress of networkInterface) {
if (!networkAddress.internal && networkAddress.family === 'IPv4') {
devices.push({ device, ...networkAddress });
}
}

@@ -34,0 +38,0 @@ }

{
"name": "@ionic/utils-network",
"version": "2.1.5",
"version": "2.1.6",
"description": "Network utils for Node",

@@ -11,3 +11,3 @@ "main": "dist/index.js",

"engines": {
"node": ">=10.3.0"
"node": ">=16.0.0"
},

@@ -41,3 +41,3 @@ "files": [

"@types/jest": "^26.0.10",
"@types/node": "~10.17.13",
"@types/node": "~16.0.0",
"jest": "^26.4.2",

@@ -48,5 +48,5 @@ "jest-cli": "^26.0.1",

"ts-jest": "~26.3.0",
"typescript": "~4.0.2"
"typescript": "~4.8.0"
},
"gitHead": "f85e6db0eba47c8d97181b52d69c687c100f93fb"
"gitHead": "15ef6e7da4eace4fd55d16fd9508d156a4bc8203"
}
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