Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
16
frontend/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js
generated
vendored
Normal file
16
frontend/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//#region src/_internal/isUnsafeProperty.ts
|
||||
/**
|
||||
* Checks if a property key is unsafe to modify directly.
|
||||
*
|
||||
* This function is used in functions like `merge` to prevent prototype pollution attacks
|
||||
* by identifying property keys that could modify the object's prototype chain or constructor.
|
||||
*
|
||||
* @param key - The property key to check
|
||||
* @returns `true` if the property is unsafe to modify directly, `false` otherwise
|
||||
* @internal
|
||||
*/
|
||||
function isUnsafeProperty(key) {
|
||||
return key === "__proto__";
|
||||
}
|
||||
//#endregion
|
||||
exports.isUnsafeProperty = isUnsafeProperty;
|
||||
Loading…
Add table
Add a link
Reference in a new issue