Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Supervisor API v2 endpoint tests #2228

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Separate routes & actions, add tests for GET /v2/local/device-info

8112e51
Select commit
Loading
Failed to load commit list.
Draft

Migrate Supervisor API v2 endpoint tests #2228

Separate routes & actions, add tests for GET /v2/local/device-info
8112e51
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Dec 12, 2023 in 3s

1 configuration not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 1 configuration present on refs/heads/master was not found:

Default setup

  • ❓  /language:javascript-typescript

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 23 in src/lib/validation.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
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.
This
regular expression
that depends on
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.
This
regular expression
that depends on
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.
This
regular expression
that depends on
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.
This
regular expression
that depends on
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.
This
regular expression
that depends on
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.
This
regular expression
that depends on
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.
This
regular expression
that depends on
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.
This
regular expression
that depends on
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.
This
regular expression
that depends on
a user-provided value
may run slow on strings starting with '0' and with many repetitions of '00'.