mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
use the new instanceof syntax for NodeJSClientRequest
This commit is contained in:
@@ -825,9 +825,7 @@ module NodeJSLib {
|
||||
* A data flow node that is an HTTP or HTTPS client request made by a Node.js application,
|
||||
* for example `http.request(url)`.
|
||||
*/
|
||||
class NodeJSClientRequest extends ClientRequest {
|
||||
NodeJSClientRequest() { this instanceof NodeJSClientRequest::Range }
|
||||
}
|
||||
class NodeJSClientRequest extends ClientRequest instanceof NodeJSClientRequest::Range { }
|
||||
|
||||
module NodeJSClientRequest {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user