qtil
advanced-security/qtil-javascript 0.0.3
Search

Predicate NextJS::getServerSidePropsFunction

Gets the getServerSideProps function in a Next.js page. This function is executed on the server every time a request for the page is made. The function receives a context parameter, which includes HTTP request/response objects.

Import path

import semmle.javascript.frameworks.Next
FunctionNode getServerSidePropsFunction(Module pageModule)