CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.3-dev (changelog, source)

Member predicate SocketIOClient::SocketObject::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()