Skip to content

Throws on node 18 #39

@Alexander-Taran

Description

@Alexander-Taran

There is a breaking change in node 18
family property is now number not a string

nodejs/node#42787

I'd throw up a PR but I'm not sure how to treat number.
Weather it is ok just to .toString() it or "IPv" + address.family

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions