Skip to content

Error on Node 18 #113

Closed
Closed
@riovir

Description

@riovir

The address() function uses os.networkInterfaces(). A currently undocumented change in Node 18 resulted in the type of defails.family becoming a number.

Naturally, calling .toLowerCase() on the number throws an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions