File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
javascript/ql/src/semmle/javascript/frameworks Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,17 @@ private module LibraryNames {
2929 string ws ( ) { result = "ws" }
3030
3131 class LibraryName extends string {
32- LibraryName ( ) {
33- this = sockjs ( ) or this = websocket ( ) or this = ws ( )
34- }
32+ LibraryName ( ) { this = sockjs ( ) or this = websocket ( ) or this = ws ( ) }
3533 }
3634}
3735
3836/**
3937 * Holds if the websocket library named `client` can send a message to the library named `server`.
4038 * Both `client` and `server` are library names defined in `LibraryNames`.
4139 */
42- private predicate areLibrariesCompatible ( LibraryNames:: LibraryName client , LibraryNames:: LibraryName server ) {
40+ private predicate areLibrariesCompatible (
41+ LibraryNames:: LibraryName client , LibraryNames:: LibraryName server
42+ ) {
4343 // sockjs is a WebSocket emulating library, but not actually an implementation of WebSockets.
4444 client = LibraryNames:: sockjs ( ) and server = LibraryNames:: sockjs ( )
4545 or
You can’t perform that action at this time.
0 commit comments