Repository navigation
Conversation
Signed-off-by: yiminghe <yiminghe@gmail.com>
|
Prototype pollution of the labels object? Why on earth are you running into this scenario and why should every |
|
This is not a general purpose Object detector, it’s used to identify the optional label parameter on If anything needs to be done here, the other way to go would be to detect if the first or second argument is a Number, which would reduce the amount of overhead for the subsequent input validation. |
|
In our production environment, we accidentally overwrote |
|
From copilot Assessment: Looks good to merge — this is a minimal, correct fix for the prototype-pollution issue. PR summary Merge readiness and risk assessment |
in case of prototype pollution