Fix legacy-swc-helpers vulnerability

Fix legacy-swc-helpers vulnerability, by reducing the scope of the react-aria library to a minimum

Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
This commit is contained in:
Thomas Zerr
2024-08-15 10:47:50 +02:00
parent 39e8f66565
commit 9ec95f5c48
3 changed files with 114 additions and 1069 deletions

View File

@@ -17,7 +17,7 @@
"@scm-manager/ui-layout": "3.3.1-SNAPSHOT",
"@scm-manager/ui-buttons": "3.3.1-SNAPSHOT",
"@radix-ui/react-portal": "^1.0.4",
"react-aria": "^3.29.1",
"@react-aria/overlays": "^3.23.1",
"classnames": "^2.2.5",
"history": "^4.10.1",
"i18next": "21",
@@ -94,4 +94,4 @@
"publishConfig": {
"access": "public"
}
}
}

View File

@@ -26,7 +26,7 @@ import styled from "styled-components";
import React, { HTMLAttributes, useContext, useRef } from "react";
import { useTranslation } from "react-i18next";
import { SearchBoxContext } from "./SearchBoxContext";
import { useOverlayPosition } from "react-aria";
import { useOverlayPosition } from "@react-aria/overlays";
import { Portal } from "@radix-ui/react-portal";
import classNames from "classnames";
import { mergeRefs } from "./mergeRefs";

1177
yarn.lock

File diff suppressed because it is too large Load Diff