qtil
advanced-security/qtil-javascript 0.0.3
Search

Predicate NextJS::getStaticPropsFunction

Gets the getStaticProps function in a Next.js page. This function is executed at build time, or when a page with a new URL is requested for the first time (if fallback is not false).

Import path

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