We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
instanceof
NodeJSClientRequest
1 parent 85e1c87 commit a756ffaCopy full SHA for a756ffa
javascript/ql/lib/semmle/javascript/frameworks/NodeJSLib.qll
@@ -825,9 +825,7 @@ module NodeJSLib {
825
* A data flow node that is an HTTP or HTTPS client request made by a Node.js application,
826
* for example `http.request(url)`.
827
*/
828
- class NodeJSClientRequest extends ClientRequest {
829
- NodeJSClientRequest() { this instanceof NodeJSClientRequest::Range }
830
- }
+ class NodeJSClientRequest extends ClientRequest instanceof NodeJSClientRequest::Range { }
831
832
module NodeJSClientRequest {
833
/**
0 commit comments