Skip to content

Commit

Permalink
chore: Upgrade react-code-blocks to 0.1.6 in Feast UI (feast-dev#4645)
Browse files Browse the repository at this point in the history
This is the only clear runtime dependency that had vulnerabilities listed
in `yarn audit` output. Upgrading it to the latest version removes 4 high
and 5 moderate level vulnerabilities.

Signed-off-by: Harri Lehtola <peruukki@hotmail.com>
  • Loading branch information
peruukki authored Oct 20, 2024
1 parent c40d539 commit 7292f85
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 187 deletions.
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"moment": "^2.29.1",
"protobufjs": "^7.1.1",
"query-string": "^7.1.1",
"react-code-blocks": "^0.0.9-0",
"react-code-blocks": "^0.1.6",
"react-query": "^3.39.3",
"react-router-dom": "<6.4.0",
"react-scripts": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions ui/src/pages/data-sources/BatchSourcePropertiesView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ const BatchSourcePropertiesView = (props: BatchSourcePropertiesViewProps) => {
{batchSource.bigqueryOptions.table}
</EuiDescriptionListDescription>
) : <CopyBlock
text={batchSource.bigqueryOptions.query}
text={batchSource.bigqueryOptions.query ?? ""}
language="sql"
showLineNumbers={false}
theme={atomOneDark}
wrapLines
wrapLongLines
/>
}

Expand Down
Loading

0 comments on commit 7292f85

Please sign in to comment.