-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
fix: Migrate from eslint/prettier to Biome #8859
Conversation
|
||
if (externalDefinitionsLookup.has(lookupModel)) { | ||
return externalDefinitionsLookup.get(lookupModel); | ||
} | ||
|
||
return externalDefinitionsLookup.get(lookupModel.replace(/\0(.|\n)*$/g, '').trim()); | ||
return externalDefinitionsLookup.get(lookupModel.replace(/\0(.|\n)*$/g, "").trim()); |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
مافام
@@ -218,7 +218,7 @@ | |||
return await getDefinitions(indexes); | |||
} | |||
|
|||
indexes = MODELS_INDEX[lookupModel.replace(/\0(.|\n)*$/g, '').trim()]; | |||
indexes = MODELS_INDEX[lookupModel.replace(/\0(.|\n)*$/g, "").trim()]; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
Since you are the file owner, could you check this @martyn-vesternet? Caused by: |
Since you are the file owner, could you check this @candeodevelopment / @dhc25? Caused by: |
CC: @Nerivec
CI lint/format step went from 27 to 1 second! 😮