mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-22 15:32:48 +00:00
[Snyk] Security upgrade react-i18next from 11.18.6 to 15.5.3 (#21785)
* fix: openmetadata-ui/src/main/resources/ui/package.json & openmetadata-ui/src/main/resources/ui/yarn.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BABELRUNTIME-10044504 * Empty commit * Fix type errors --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
This commit is contained in:
parent
38e0da5a05
commit
ab906e569e
@ -113,7 +113,7 @@
|
||||
"react-error-boundary": "^3.1.4",
|
||||
"react-grid-layout": "^1.5.1",
|
||||
"react-helmet-async": "^1.3.0",
|
||||
"react-i18next": "^11.18.6",
|
||||
"react-i18next": "^15.5.3",
|
||||
"react-latex-next": "^3.0.0",
|
||||
"react-oidc": "^1.0.3",
|
||||
"react-papaparse": "^4.1.0",
|
||||
|
@ -14,7 +14,7 @@ import Icon from '@ant-design/icons/lib/components/Icon';
|
||||
import { WidgetProps } from '@rjsf/utils';
|
||||
import { TreeSelect } from 'antd';
|
||||
import { startCase } from 'lodash';
|
||||
import { FC, useMemo } from 'react';
|
||||
import { FC, ReactNode, useMemo } from 'react';
|
||||
import { ReactComponent as ArrowIcon } from '../../../../../assets/svg/ic-arrow-down.svg';
|
||||
import { TEXT_BODY_COLOR } from '../../../../../constants/constants';
|
||||
|
||||
@ -65,8 +65,9 @@ const TreeSelectWidget: FC<WidgetProps> = ({
|
||||
onBlur={() => onBlur(rest.id, rest.value)}
|
||||
onChange={(value) => onChange(value)}
|
||||
onFocus={() => onFocus(rest.id, rest.value)}
|
||||
{...rest}
|
||||
/>
|
||||
{...rest}>
|
||||
{rest.children as ReactNode}
|
||||
</TreeSelect>
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -16,6 +16,7 @@ import { isUndefined } from 'lodash';
|
||||
import {
|
||||
FC,
|
||||
HTMLAttributes,
|
||||
ReactNode,
|
||||
useCallback,
|
||||
useEffect,
|
||||
useMemo,
|
||||
@ -274,7 +275,7 @@ const EntityPopOverCard: FC<Props> = ({
|
||||
overlayClassName="entity-popover-card"
|
||||
trigger="hover"
|
||||
zIndex={9999}>
|
||||
{children}
|
||||
{children as ReactNode}
|
||||
</Popover>
|
||||
);
|
||||
};
|
||||
|
@ -269,7 +269,7 @@ const UserPopOverCard: FC<Props> = ({
|
||||
}
|
||||
trigger="hover"
|
||||
zIndex={9999}>
|
||||
{children ?? (
|
||||
{(children as ReactNode) ?? (
|
||||
<Link
|
||||
className={classNames(
|
||||
'assignee-item d-flex gap-1 cursor-pointer items-center',
|
||||
|
@ -2219,7 +2219,7 @@
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.11"
|
||||
|
||||
"@babel/runtime@^7.14.5", "@babel/runtime@^7.17.2", "@babel/runtime@^7.19.0":
|
||||
"@babel/runtime@^7.17.2", "@babel/runtime@^7.19.0":
|
||||
version "7.19.0"
|
||||
resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz"
|
||||
integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==
|
||||
@ -2238,6 +2238,11 @@
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.27.1.tgz#9fce313d12c9a77507f264de74626e87fd0dc541"
|
||||
integrity sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog==
|
||||
|
||||
"@babel/runtime@^7.27.6":
|
||||
version "7.27.6"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.27.6.tgz#ec4070a04d76bae8ddbb10770ba55714a417b7c6"
|
||||
integrity sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==
|
||||
|
||||
"@babel/template@^7.14.5", "@babel/template@^7.3.3":
|
||||
version "7.14.5"
|
||||
resolved "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz"
|
||||
@ -12600,12 +12605,12 @@ react-helmet-async@^1.3.0:
|
||||
react-fast-compare "^3.2.0"
|
||||
shallowequal "^1.1.0"
|
||||
|
||||
react-i18next@^11.18.6:
|
||||
version "11.18.6"
|
||||
resolved "https://registry.npmjs.org/react-i18next/-/react-i18next-11.18.6.tgz"
|
||||
integrity sha512-yHb2F9BiT0lqoQDt8loZ5gWP331GwctHz9tYQ8A2EIEUu+CcEdjBLQWli1USG3RdWQt3W+jqQLg/d4rrQR96LA==
|
||||
react-i18next@^15.5.3:
|
||||
version "15.5.3"
|
||||
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-15.5.3.tgz"
|
||||
integrity sha512-ypYmOKOnjqPEJZO4m1BI0kS8kWqkBNsKYyhVUfij0gvjy9xJNoG/VcGkxq5dRlVwzmrmY1BQMAmpbbUBLwC4Kw==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.14.5"
|
||||
"@babel/runtime" "^7.27.6"
|
||||
html-parse-stringify "^3.0.1"
|
||||
|
||||
react-is@^16.10.2, react-is@^16.12.0, react-is@^16.13.1, react-is@^16.7.0, react-is@^16.8.1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user