Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 3 additions & 24 deletions api-catalog-ui/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions api-catalog-ui/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,16 @@
"agentkeepalive": "4.6.0",
"buffer": "6.0.3",
"emotion-theming": "11.0.0",
"exception-formatter": "2.1.2",
"graphiql": "4.1.2",
"graphql": "16.13.2",
"graphql-ws": "5.16.2",
"history": "5.3.0",
"htmr": "1.0.2",
"immutable": "4.3.8",
"install": "0.13.0",
"lodash": "4.18.1",
"loglevel": "1.9.2",
"openapi-snippet": "0.14.0",
"picomatch": "2.3.2",
"process": "0.11.10",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-error-boundary": "5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions api-catalog-ui/frontend/src/actions/error-actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*/

import * as log from 'loglevel';
import {randomUUID} from 'crypto';
import {CLEAR_ALL_ERRORS, SEND_ERROR} from '../constants/error-constants';

export function sendError(error) {
const uuid = randomUUID();
const crypto = globalThis.crypto ?? require("node:crypto");
const uuid = crypto.randomUUID();
const err = { id: uuid, timestamp: new Date(), error };
log.error(`Error: ${err}`);
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/
import {Typography} from '@material-ui/core';
import htmr from 'htmr';
import {randomUUID} from "crypto";

const colorDanger = '#de1b1b';
const colorWarning = '#ad5f00';
Expand All @@ -32,8 +31,9 @@ function extractAjaxError(error) {
}

function formatHtmlError(message, color) {
const crypto = globalThis.crypto ?? require("node:crypto");
return (
<Typography key={randomUUID()} variant="h5" style={{ color, fontWeight: 'semiBold' }}>
<Typography key={crypto.randomUUID()} variant="h5" style={{ color, fontWeight: 'semiBold' }}>
{htmr(message)}
</Typography>
);
Expand Down
1 change: 0 additions & 1 deletion onboarding-enabler-python-sample-app/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ packaging = ">=24.2"
pandocfilters = ">=1.5.1"
parso = ">=0.8.4"
pexpect = ">=4.9.0"
pickleshare = ">=0.7.5"
pipdeptree = ">=2.25.1"
platformdirs = ">=4.2.2"
pluggy = ">=1.5.0"
Expand Down
8 changes: 0 additions & 8 deletions onboarding-enabler-python-sample-app/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading