[Security] openbb-core: Regenerate Lock File (#7322)

* update openbb-core lock file

* relock devtools

* update desktop/package-lock.json and fix test mocks for higher version of jsdom

* react-markdown 9 doesn't include  anymore

* lodash in frontend-components/plotly

* ensure pandas below v3

* seroval override in desktop package.json

* patch core version
This commit is contained in:
Danglewood
2026-01-23 09:24:08 -08:00
committed by GitHub
parent f962b1a420
commit ab4597b5af
14 changed files with 1218 additions and 916 deletions

947
desktop/package-lock.json generated vendored

File diff suppressed because it is too large Load Diff

View File

@@ -36,7 +36,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.62.0",
"react-markdown": "^8.0.7",
"react-markdown": "^9.0.0",
"react-select": "^5.10.2",
"tailwindcss": "^3.4.17",
"taurpc": "^1.8.1",
@@ -68,5 +68,8 @@
"vite": "^7.2.2",
"vite-plugin-svgr": "^4.5.0",
"vitest": "^3.2.4"
},
"overrides": {
"seroval": ">=1.4.1"
}
}

View File

@@ -808,8 +808,7 @@ export const AddExtensionSelector = ({
className="my-2 text-theme-secondary"
/>
),
// eslint-disable-next-line @typescript-eslint/no-unused-vars
code: ({ inline, ...props }) => (
code: ({ ...props }) => (
<code
{...props}
className="bg-theme-tertiary px-1 py-0.5 rounded text-theme-primary"

View File

@@ -829,8 +829,7 @@ export const ExtensionSelector = ({
className="my-2 text-theme-secondary"
/>
),
// eslint-disable-next-line @typescript-eslint/no-unused-vars
code: ({ inline, ...props }) => (
code: ({ ...props }) => (
<code
{...props}
className="bg-theme-tertiary px-1 py-0.5 rounded text-theme-primary"

View File

@@ -660,9 +660,7 @@ const ExtensionSelector = ({
className="my-2 text-theme-secondary"
/>
),
/* eslint-disable */
code: ({
inline: _,
...props
}) => (
<code

View File

@@ -8,3 +8,40 @@ const ResizeObserverMock = vi.fn(() => ({
}));
vi.stubGlobal('ResizeObserver', ResizeObserverMock);
// Mock LocalStorage and SessionStorage
class LocalStorageMock {
store: Record<string, string>;
constructor() {
this.store = {};
}
clear() {
this.store = {};
}
getItem(key: string) {
return this.store[key] || null;
}
setItem(key: string, value: string) {
this.store[key] = String(value);
}
removeItem(key: string) {
delete this.store[key];
}
key(index: number) {
return Object.keys(this.store)[index] || null;
}
get length() {
return Object.keys(this.store).length;
}
}
vi.stubGlobal('localStorage', new LocalStorageMock());
vi.stubGlobal('sessionStorage', new LocalStorageMock());