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

Predicate NestJS::hasGlobalValidationPipe

Holds if ValidationPipe is installed as a global pipe by a file in the given folder or one of its enclosing folders.

We use folder hierarchy to approximate the scope of globally-installed pipes.

Import path

import javascript
predicate hasGlobalValidationPipe(Folder folder)