CodeQL library for JavaScript
codeql/javascript-all 0.3.4 (changelog, source)

Member predicate SocketIOClient::SocketNode::getATargetServer

Gets a server this socket may be communicating with.

To avoid matching sockets with unrelated servers, we restrict the search to servers defined in the same npm package. Furthermore, the server is required to have a namespace with the same path as the namespace of this socket, if it can be determined.

ServerObject getATargetServer()