-
Notifications
You must be signed in to change notification settings - Fork 201
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
[DO NOT MERGE] Emitter Framework #4480
base: main
Are you sure you want to change the base?
Conversation
❌ There is undocummented changes. Run The following packages have changes but are not documented.
Show changes |
const helpers = useHelpers(); | ||
const commandDoc = helpers.getDoc(command.cli); | ||
const commandDesc = commandDoc | ||
? ((marked(commandDoc) as string).trimEnd() + "\n").replace(/\n/g, "\\n").replace(/"/g, '\\"') |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding High
You can try these changes here
|
nameFilter: nameFilter, | ||
}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
petId: petId, | ||
}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
nextLink: options?.nextLink, | ||
}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
petId: petId, | ||
}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
export async function create(client: PetStoreContext, pet: Pet): Promise<Pet> { | ||
const path = parse("/pets").expand({}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
}> { | ||
const path = parse("/items").expand({}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
id: id, | ||
}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
id: id, | ||
}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
id: id, | ||
}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
}> { | ||
const path = parse("/users").expand({}); | ||
|
||
const url = `${client.endpoint.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
Very Experimental emitter framework