From b2909607cbc685b0c4216bd8718286f44325b918 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2026 10:21:52 +0000 Subject: [PATCH 1/2] Bump follow-redirects from 1.15.11 to 1.16.3 in /ui Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.11 to 1.16.3. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.11...v1.16.3) --- updated-dependencies: - dependency-name: follow-redirects dependency-version: 1.16.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- ui/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index 15d09e9..e818899 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -4208,9 +4208,9 @@ "license": "ISC" }, "node_modules/follow-redirects": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", - "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==", + "version": "1.16.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.3.tgz", + "integrity": "sha512-toOSoqN6d51Wjf1aOFJYcoVv1aND9rj/CwjLU0Vz40oDuSpWDayCeKe4JpL5NL0WdFvoOOCI3BRo69HahjbR1A==", "funding": [ { "type": "individual", From e7ff1dcd73515a4556b2dd8bc55ee31ffa4a8d2b Mon Sep 17 00:00:00 2001 From: Luca Pivetta Date: Wed, 18 Nov 2026 13:12:26 +0100 Subject: [PATCH 2/2] Removed UUID --- ui/package-lock.json | 16 +--------------- ui/package.json | 3 +-- ui/src/components/Views/Configs/ConfigPage.tsx | 3 +-- ui/src/components/Views/Configs/UpsertConfig.tsx | 13 ++++++------- 4 files changed, 9 insertions(+), 26 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index e818899..f1b7d70 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -20,8 +20,7 @@ "classnames": "^2.2.6", "react": "^17.0.2", "react-dom": "^17.0.2", - "swr": "^1.3.0", - "uuid": "^14.0.0" + "swr": "^1.3.0" }, "devDependencies": { "@babel/eslint-parser": "^7.19.1", @@ -7004,19 +7003,6 @@ "punycode": "^2.1.0" } }, - "node_modules/uuid": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz", - "integrity": "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist-node/bin/uuid" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/ui/package.json b/ui/package.json index 78050cf..c254550 100644 --- a/ui/package.json +++ b/ui/package.json @@ -15,8 +15,7 @@ "classnames": "^2.2.6", "react": "^17.0.2", "react-dom": "^17.0.2", - "swr": "^1.3.0", - "uuid": "^14.0.0" + "swr": "^1.3.0" }, "scripts": { "dev": "node ./scripts/esbuild.dev.mjs", diff --git a/ui/src/components/Views/Configs/ConfigPage.tsx b/ui/src/components/Views/Configs/ConfigPage.tsx index c5a25ec..440474a 100644 --- a/ui/src/components/Views/Configs/ConfigPage.tsx +++ b/ui/src/components/Views/Configs/ConfigPage.tsx @@ -3,7 +3,6 @@ import { Box, Button, ButtonGroup, IconButton, Theme } from '@mui/material'; import React, { ReactElement, useState } from 'react'; import { createStyles, makeStyles } from '@mui/styles'; import { DataGrid, GridColDef, GridRenderCellParams } from '@mui/x-data-grid'; -import { v4 as uuid } from 'uuid'; import { useMountPoint, useRunConfigs } from '../../../services'; import { DEFAULT_CONFIGURATION_ID } from '../../../constants'; import { RunConfig, Optional } from '../../../types'; @@ -86,7 +85,7 @@ export const ConfigPage = (): ReactElement => { autoHeight rows={configData?.configs?.filter(config => config.id !== DEFAULT_CONFIGURATION_ID) || []} columns={columns} - getRowId={(row) => (row).id as string || uuid()} + getRowId={(row) => (row).id as string || crypto.randomUUID()} disableSelectionOnClick /> diff --git a/ui/src/components/Views/Configs/UpsertConfig.tsx b/ui/src/components/Views/Configs/UpsertConfig.tsx index a23c2da..622ef50 100644 --- a/ui/src/components/Views/Configs/UpsertConfig.tsx +++ b/ui/src/components/Views/Configs/UpsertConfig.tsx @@ -13,7 +13,6 @@ import { } from '@mui/material'; import { Add, Remove, Settings } from '@mui/icons-material'; import React, { ReactElement, useState } from 'react'; -import { v4 as uuid } from 'uuid'; import { createStyles, makeStyles } from '@mui/styles'; import { useRunConfigs } from '../../../services/hooks'; import { RunConfig } from '../../../types'; @@ -58,11 +57,11 @@ export const UpsertConfig = ({ config || ({ name: '', - id: uuid(), + id: crypto.randomUUID(), vars: COMMON_CONFIGURATIONS.map(([variable, value, description]) => ({ variable, value, - id: uuid(), + id: crypto.randomUUID(), description, })), } as RunConfig), @@ -72,10 +71,10 @@ export const UpsertConfig = ({ const handleAddButtonPress = () => { setNewConfig({ name: newConfig.name, - id: newConfig.id || uuid(), + id: newConfig.id || crypto.randomUUID(), vars: [ ...newConfig.vars, - { variable: newVar, value: newValue, id: uuid() }, + { variable: newVar, value: newValue, id: crypto.randomUUID() }, ], }); setNewVar(''); @@ -90,7 +89,7 @@ export const UpsertConfig = ({ newVar && newValue ? [ ...newConfig.vars, - { variable: newVar, value: newValue, id: uuid() }, + { variable: newVar, value: newValue, id: crypto.randomUUID() }, ] : newConfig.vars, }); @@ -100,7 +99,7 @@ export const UpsertConfig = ({ const handleRemoveButtonPress = (id: string) => { setNewConfig({ name: newConfig.name, - id: newConfig.id || uuid(), + id: newConfig.id || crypto.randomUUID(), vars: newConfig.vars?.filter((item) => item?.id !== id) || [], }); };