diff --git a/docs/codeql/codeql-language-guides/data-flow-cheat-sheet-for-javascript.rst b/docs/codeql/codeql-language-guides/data-flow-cheat-sheet-for-javascript.rst index 92eb35d4d2e..09b821ad9e7 100644 --- a/docs/codeql/codeql-language-guides/data-flow-cheat-sheet-for-javascript.rst +++ b/docs/codeql/codeql-language-guides/data-flow-cheat-sheet-for-javascript.rst @@ -63,7 +63,7 @@ Classes and member predicates in the ``DataFlow::`` module: - `getAnInstantiation `__ -- find ``new``-calls with this as the callee - `getAnInvocation `__ -- find calls or ``new``-calls with this as the callee - `getAMethodCall `__ -- find method calls with this as the receiver - - `getAMemberCall `__ -- find calls with a member of this as the receiver + - `getAMemberCall `__ -- find calls with a member of this as the callee - `getAPropertyRead `__ -- find property reads with this as the base - `getAPropertyWrite `__ -- find property writes with this as the base - `getAPropertySource `__ -- find nodes flowing into a property of this node @@ -109,12 +109,14 @@ StringOps module - StringOps::`StartsWith `__ -- check if a string starts with something - StringOps::`EndsWith `__ -- check if a string ends with something - StringOps::`Includes `__ -- check if a string contains something +- StringOps::`RegExpTest `__ -- check if a string matches a RegExp Utility -------- - `ExtendCall `__ -- call that copies properties from one object to another - `JsonParserCall `__ -- call that deserializes a JSON string +- `JsonStringifyCall `__ -- call that serializes a JSON string - `PropertyProjection `__ -- call that extracts nested properties by name System and Network