CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.1 (changelog, source)
Search

Predicate NextJS::getAModuleWithFallbackPaths

Gets a module inside a “pages” folder where fallback from getStaticPaths is not set to false. In such a module the getStaticProps method can be called with user-defined parameters. If fallback is set to false, then only values defined by getStaticPaths are allowed.

Import path

import javascript
Module getAModuleWithFallbackPaths()