tomphttp/bare-server-node

Issue with ipaddr

VillainsRule opened this issue · 1 comments

The "ipaddr.js" dependency can crash the app.

The issue is, sometimes "string" is actually an array of objects.
Screen Shot 2023-05-22 at 5 50 51 PM

I've currently fixed it by adding the following line to the module:

        if (typeof string === 'object') string = string[0].address;

However, I'm looking for a more permanent solution.
Screen Shot 2023-05-22 at 5 53 35 PM

Not sure if this is an installation error.
I'm using the latest version of this, and am using this package as it is required for Ultraviolet deployment.

e9x commented

fixed in 354e314