Skip to content

Commit aa463d8

Browse files
committed
mention fetch instead of node-fetch
1 parent c80baf9 commit aa463d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/frameworks/NodeJSLib.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,11 +1136,11 @@ module NodeJSLib {
11361136
}
11371137

11381138
/**
1139-
* Provides predicates for working with the "node-fetch" module and its platform-specific instances as a single module.
1139+
* Provides predicates for working with `fetch` and its platform-specific instances as a single module.
11401140
*/
11411141
module Fetch {
11421142
/**
1143-
* Gets a node that imports the "node-fetch" module, or one of its platform-specific instances.
1143+
* Gets a node that refers to `fetch`, or an import of one of its platform-specific instances.
11441144
*/
11451145
DataFlow::SourceNode moduleImport() {
11461146
result = DataFlow::moduleImport(["node-fetch", "cross-fetch", "isomorphic-fetch"])

0 commit comments

Comments
 (0)