New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

knxultimate

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knxultimate - npm Package Compare versions

Comparing version

to
1.0.21

4

CHANGELOG.md

@@ -10,2 +10,6 @@ ![Sample Node](img/logo.png)

<p>
<b>Version 1.0.21</b> - Mai 2022<br/>
- Fixed an issue in retrieving the local IP, in case of ETH interface not having the "family" property set.<br/>
</p>
<p>
<b>Version 1.0.20</b> - Mai 2022<br/>

@@ -12,0 +16,0 @@ - Fixed a compatibility issue introducted in Node 18.<br/>

2

package.json
{
"name": "knxultimate",
"description": "KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.",
"version": "1.0.20",
"version": "1.0.21",
"engines": {

@@ -6,0 +6,0 @@ "node": ">=14"

@@ -15,3 +15,3 @@ // Helper for ipaddresses

// In Node < 18, intf.family is a string "IPv4" or "IPv6", from node 18, is an integer, for example 4.
if (intf.family.toString().includes("4") && !intf.internal) {
if (intf.family !== undefined && intf.family.toString().includes("4") && !intf.internal) {
knxLog.get().trace('ipAddressHelper.js: Found suitable interface: %s (%j)', iface, intf);

@@ -18,0 +18,0 @@ candidateInterfaces[iface] = intf