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

knxultimate

Package Overview
Dependencies
Maintainers
0
Versions
82
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 4.1.0-beta.6 to 4.1.0-beta.7

25

build/util/ipAddressHelper.js

@@ -30,14 +30,21 @@ "use strict";

for (const iface in interfaces) {
for (const intf of interfaces[iface]) {
for (let index = 0; index < interfaces[iface].length; index++) {
let intf;
try {
logger.debug('parsing interface: %s (%j)', iface, intf);
if (intf.family !== undefined &&
(intf.family.toString().includes('4') ||
intf.family === 4) &&
!intf.internal) {
logger.debug('Found suitable interface: %s (%j)', iface, intf);
candidateInterfaces[iface] = intf;
intf = interfaces[iface][index];
if (intf === undefined) {
logger.debug('intf is null: control point 1');
}
else {
logger.debug('Found NOT suitable interface: %s (%j)', iface, intf);
logger.debug('parsing interface: %s (%j)', iface, intf);
if (intf.family !== undefined &&
(intf.family.toString().includes('4') ||
intf.family === 4) &&
!intf.internal) {
logger.debug('Found suitable interface: %s (%j)', iface, intf);
candidateInterfaces[iface] = intf;
}
else {
logger.debug('Found NOT suitable interface: %s (%j)', iface, intf);
}
}

@@ -44,0 +51,0 @@ }

# [4.1.0-beta.7](https://github.com/Supergiovane/KNXUltimate/compare/v4.1.0-beta.4...v4.1.0-beta.7) (2024-12-30)
### Bug Fixes
* ipAddressHelper uncatched error when running on raspberry pi, having interfaces without any ip. ([#44](https://github.com/Supergiovane/KNXUltimate/issues/44)) ([a9e46ee](https://github.com/Supergiovane/KNXUltimate/commit/a9e46ee53c08f0d355acf454cb3515f523aee37a))
# [4.1.0-beta.4](https://github.com/Supergiovane/KNXUltimate/compare/v4.1.0-beta.3...v4.1.0-beta.4) (2024-12-07)

@@ -4,0 +11,0 @@

{
"name": "knxultimate",
"description": "KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.",
"version": "4.1.0-beta.6",
"version": "4.1.0-beta.7",
"main": "./build/index.js",

@@ -106,2 +106,2 @@ "engines": {

}
}
}

@@ -27,25 +27,30 @@ import { hasProp } from '../utils'

}
for (const iface in interfaces) {
for (const intf of interfaces[iface]) {
for (let index = 0; index < interfaces[iface].length; index++) {
let intf
try {
logger.debug('parsing interface: %s (%j)', iface, intf)
if (
intf.family !== undefined &&
(intf.family.toString().includes('4') ||
(intf as any).family === 4) &&
!intf.internal
) {
logger.debug(
'Found suitable interface: %s (%j)',
iface,
intf,
)
candidateInterfaces[iface] = intf
intf = interfaces[iface][index]
if (intf === undefined) {
logger.debug('intf is null: control point 1')
} else {
logger.debug(
'Found NOT suitable interface: %s (%j)',
iface,
intf,
)
logger.debug('parsing interface: %s (%j)', iface, intf)
if (
intf.family !== undefined &&
(intf.family.toString().includes('4') ||
intf.family === 4) &&
!intf.internal
) {
logger.debug(
'Found suitable interface: %s (%j)',
iface,
intf,
)
candidateInterfaces[iface] = intf
} else {
logger.debug(
'Found NOT suitable interface: %s (%j)',
iface,
intf,
)
}
}

@@ -61,3 +66,2 @@ } catch (error) {

}
return candidateInterfaces

@@ -64,0 +68,0 @@ }

Sorry, the diff of this file is not supported yet

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