build(deps): bump the npm group in /web with 18 updates (#1957)

This commit is contained in:
dependabot[bot] 2025-02-08 12:58:19 +00:00 committed by GitHub
parent c8fbb32d29
commit 33d7d75597
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 746 additions and 663 deletions

View file

@ -58,7 +58,7 @@ jobs:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- name: Set up corepack - name: Set up corepack
run: corepack enable run: npm install -g corepack@latest && corepack enable
# It can not be done before enable corepack # It can not be done before enable corepack
- name: Set up cache - name: Set up cache

View file

@ -33,7 +33,7 @@ jobs:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- name: Set up corepack - name: Set up corepack
run: corepack enable run: npm install -g corepack@latest && corepack enable
# It can not be done before enable corepack # It can not be done before enable corepack
- name: Set up cache - name: Set up cache

View file

@ -49,7 +49,7 @@ jobs:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- name: Set up corepack - name: Set up corepack
run: corepack enable run: npm install -g corepack@latest && corepack enable
# It can not be done before enable corepack # It can not be done before enable corepack
- name: Set up cache - name: Set up cache

View file

@ -1 +0,0 @@
package-manager-strict=false

View file

@ -4,7 +4,7 @@
"type": "module", "type": "module",
"private": true, "private": true,
"homepage": ".", "homepage": ".",
"packageManager": "pnpm@9.9.0", "packageManager": "pnpm@10.2.1",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",
@ -28,17 +28,17 @@
"@heroicons/react": "^2.2.0", "@heroicons/react": "^2.2.0",
"@hookform/error-message": "^2.0.1", "@hookform/error-message": "^2.0.1",
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"@tailwindcss/forms": "^0.5.9", "@tailwindcss/forms": "^0.5.10",
"@tailwindcss/vite": "^4.0.0", "@tailwindcss/vite": "^4.0.3",
"@tanstack/react-query": "^5.62.11", "@tanstack/react-query": "^5.66.0",
"@tanstack/react-query-devtools": "^5.29.2", "@tanstack/react-query-devtools": "^5.29.2",
"@tanstack/react-router": "^1.92.13", "@tanstack/react-router": "^1.99.0",
"@tanstack/react-table": "^8.20.6", "@tanstack/react-table": "^8.20.6",
"@types/node": "^22.10.3", "@types/node": "^22.13.0",
"@types/react": "^19.0.2", "@types/react": "^19.0.8",
"@types/react-dom": "^19.0.2", "@types/react-dom": "^19.0.3",
"@typescript-eslint/eslint-plugin": "^8.19.0", "@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.19.0", "@typescript-eslint/parser": "^8.22.0",
"@vitejs/plugin-react-swc": "^3.7.2", "@vitejs/plugin-react-swc": "^3.7.2",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"buffer": "^6.0.3", "buffer": "^6.0.3",
@ -53,34 +53,34 @@
"react-multi-select-component": "^4.3.4", "react-multi-select-component": "^4.3.4",
"react-popper-tooltip": "^4.4.2", "react-popper-tooltip": "^4.4.2",
"react-ridge-state": "4.2.9", "react-ridge-state": "4.2.9",
"react-select": "^5.9.0", "react-select": "^5.10.0",
"react-textarea-autosize": "^8.5.6", "react-textarea-autosize": "^8.5.7",
"stacktracey": "^2.1.8", "stacktracey": "^2.1.8",
"tailwind-lerp-colors": "1.2.6", "tailwind-lerp-colors": "1.2.6",
"tailwindcss": "^4.0.0", "tailwindcss": "^4.0.3",
"workbox-window": "^7.3.0", "workbox-window": "^7.3.0",
"zod": "^3.24.1", "zod": "^3.24.1",
"zod-formik-adapter": "^1.3.0" "zod-formik-adapter": "^1.3.0"
}, },
"devDependencies": { "devDependencies": {
"@microsoft/eslint-formatter-sarif": "^3.1.0", "@microsoft/eslint-formatter-sarif": "^3.1.0",
"@rollup/wasm-node": "^4.29.1", "@rollup/wasm-node": "^4.34.0",
"@tanstack/router-devtools": "^1.92.13", "@tanstack/router-devtools": "^1.99.0",
"@types/node": "^22.10.3", "@types/node": "^22.13.0",
"@types/react": "^19.0.2", "@types/react": "^19.0.8",
"@types/react-dom": "^19.0.2", "@types/react-dom": "^19.0.3",
"@typescript-eslint/eslint-plugin": "^8.19.0", "@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.19.0", "@typescript-eslint/parser": "^8.22.0",
"@vitejs/plugin-react-swc": "^3.7.2", "@vitejs/plugin-react-swc": "^3.7.2",
"eslint": "^8.57.1", "eslint": "^8.57.1",
"eslint-plugin-import": "^2.31.0", "eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.37.3", "eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16", "eslint-plugin-react-refresh": "^0.4.18",
"eslint-watch": "^8.0.0", "eslint-watch": "^8.0.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.7.2", "typescript": "^5.7.3",
"vite": "^6.0.6", "vite": "^6.0.11",
"vite-plugin-pwa": "^0.21.1", "vite-plugin-pwa": "^0.21.1",
"vite-plugin-svgr": "^4.3.0" "vite-plugin-svgr": "^4.3.0"
} }

1325
web/pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,7 @@
import { classNames } from "@utils"; import { classNames } from "@utils";
interface WarningAlertProps { interface WarningAlertProps {
text: string | JSX.Element; text: string | React.JSX.Element;
alert?: string; alert?: string;
colors?: string; colors?: string;
className?: string; className?: string;

View file

@ -24,9 +24,10 @@ interface TextFieldProps {
autoComplete?: string; autoComplete?: string;
hidden?: boolean; hidden?: boolean;
disabled?: boolean; disabled?: boolean;
tooltip?: JSX.Element; tooltip?: React.JSX.Element;
} }
export const TextField = ({ export const TextField = ({
name, name,
defaultValue, defaultValue,
@ -101,7 +102,7 @@ interface RegexFieldProps {
useRegex?: boolean; useRegex?: boolean;
hidden?: boolean; hidden?: boolean;
disabled?: boolean; disabled?: boolean;
tooltip?: JSX.Element; tooltip?: React.JSX.Element;
} }
export const RegexField = ({ export const RegexField = ({
@ -399,7 +400,7 @@ interface TextAreaProps {
autoComplete?: string; autoComplete?: string;
hidden?: boolean; hidden?: boolean;
disabled?: boolean; disabled?: boolean;
tooltip?: JSX.Element; tooltip?: React.JSX.Element;
} }
export const TextArea = ({ export const TextArea = ({
@ -472,7 +473,7 @@ interface TextAreaAutoResizeProps {
autoComplete?: string; autoComplete?: string;
hidden?: boolean; hidden?: boolean;
disabled?: boolean; disabled?: boolean;
tooltip?: JSX.Element; tooltip?: React.JSX.Element;
className?: string; className?: string;
} }
@ -549,7 +550,7 @@ interface PasswordFieldProps {
defaultValue?: string; defaultValue?: string;
help?: string; help?: string;
required?: boolean; required?: boolean;
tooltip?: JSX.Element; tooltip?: React.JSX.Element;
} }
export const PasswordField = ({ export const PasswordField = ({
@ -633,7 +634,7 @@ interface NumberFieldProps {
required?: boolean; required?: boolean;
min?: number; min?: number;
max?: number; max?: number;
tooltip?: JSX.Element; tooltip?: React.JSX.Element;
className?: string; className?: string;
isDecimal?: boolean; isDecimal?: boolean;
} }

View file

@ -26,7 +26,7 @@ interface MultiSelectProps {
columns?: COL_WIDTHS; columns?: COL_WIDTHS;
creatable?: boolean; creatable?: boolean;
disabled?: boolean; disabled?: boolean;
tooltip?: JSX.Element; tooltip?: React.JSX.Element;
} }
export const MultiSelect = ({ export const MultiSelect = ({
@ -260,7 +260,7 @@ export interface SelectFieldProps {
optionDefaultText: string; optionDefaultText: string;
options: SelectFieldOption[]; options: SelectFieldOption[];
columns?: COL_WIDTHS; columns?: COL_WIDTHS;
tooltip?: JSX.Element; tooltip?: React.JSX.Element;
className?: string; className?: string;
} }

View file

@ -16,7 +16,7 @@ interface SwitchGroupProps {
label?: string; label?: string;
description?: string | React.ReactNode; description?: string | React.ReactNode;
heading?: boolean; heading?: boolean;
tooltip?: JSX.Element; tooltip?: React.JSX.Element;
disabled?: boolean; disabled?: boolean;
className?: string; className?: string;
} }

View file

@ -99,7 +99,7 @@ export const TextInput = <TFormValues extends Record<string, unknown>>({
isHidden, isHidden,
columnWidth, columnWidth,
...props ...props
}: FormInputProps<TFormValues>): JSX.Element => { }: FormInputProps<TFormValues>): React.JSX.Element => {
// If the name is in a FieldArray, it will be 'fields.index.fieldName' and errors[name] won't return anything, so we are using lodash get // If the name is in a FieldArray, it will be 'fields.index.fieldName' and errors[name] won't return anything, so we are using lodash get
const errorMessages = get(errors, name); const errorMessages = get(errors, name);
const hasError = !!(errors && errorMessages); const hasError = !!(errors && errorMessages);
@ -149,7 +149,7 @@ export const PasswordInput = <TFormValues extends Record<string, unknown>>({
isHidden, isHidden,
columnWidth, columnWidth,
...props ...props
}: FormInputProps<TFormValues>): JSX.Element => { }: FormInputProps<TFormValues>): React.JSX.Element => {
const [isVisible, toggleVisibility] = useToggle(false); const [isVisible, toggleVisibility] = useToggle(false);
// If the name is in a FieldArray, it will be 'fields.index.fieldName' and errors[name] won't return anything, so we are using lodash get // If the name is in a FieldArray, it will be 'fields.index.fieldName' and errors[name] won't return anything, so we are using lodash get

View file

@ -3,7 +3,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import { useQuery} from "@tanstack/react-query"; import { useQuery } from "@tanstack/react-query";
import { Link } from "@tanstack/react-router"; import { Link } from "@tanstack/react-router";
import { classNames } from "@utils"; import { classNames } from "@utils";
import { LinkIcon } from "@heroicons/react/24/solid"; import { LinkIcon } from "@heroicons/react/24/solid";
@ -20,7 +20,7 @@ interface StatsItemProps {
const StatsItem = ({ name, placeholder, value, to, eventType }: StatsItemProps) => ( const StatsItem = ({ name, placeholder, value, to, eventType }: StatsItemProps) => (
<Link <Link
className="group relative px-4 py-3 cursor-pointer overflow-hidden rounded-lg shadow-lg bg-white dark:bg-gray-800 hover:scale-110 hover:shadow-xl transition-all duration-200 ease-in-out" className="group relative px-4 py-3 cursor-pointer overflow-hidden rounded-lg shadow-lg bg-white dark:bg-gray-800 hover:scale-110 hover:shadow-xl transition-all duration-200 ease-in-out"
to={to} to={to ?? ""}
search={{ search={{
action_status: eventType action_status: eventType
}} }}