mention fetch instead of node-fetch

This commit is contained in:
Erik Krogh Kristensen
2020-06-03 13:33:07 +02:00
parent c80baf981a
commit aa463d8298

View File

@@ -1136,11 +1136,11 @@ module NodeJSLib {
}
/**
* Provides predicates for working with the "node-fetch" module and its platform-specific instances as a single module.
* Provides predicates for working with `fetch` and its platform-specific instances as a single module.
*/
module Fetch {
/**
* Gets a node that imports the "node-fetch" module, or one of its platform-specific instances.
* Gets a node that refers to `fetch`, or an import of one of its platform-specific instances.
*/
DataFlow::SourceNode moduleImport() {
result = DataFlow::moduleImport(["node-fetch", "cross-fetch", "isomorphic-fetch"])