Skip to content

net: type check createServer options object

net.createServer('aPipe') and net.createServer(8080) are mistakes, and now throw a TypeError instead of silently being treated as an object.

Merge request reports

Loading