Skip to content

feat(config): add support for restrictionKeys

GitHub Advanced Security / CodeQL failed Dec 17, 2024 in 5s

1 new alert including 1 high severity security vulnerability

New alerts in code changed by this pull request

Security Alerts:

  • 1 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 151 in packages/@o3r/extractors/src/utils/config-doc.ts

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
library input
may run slow on strings starting with '@o3rRestrictionKey "' and with many repetitions of '@o3rRestrictionKey "'.
This
regular expression
that depends on
library input
may run slow on strings starting with '@o3rRestrictionKey '' and with many repetitions of '@o3rRestrictionKey ''.