Skip to content

Commit

Permalink
Upgrade js deps (#7208)
Browse files Browse the repository at this point in the history
### Description of the change

This PR is upgrading some JS deps at once, mainly to prevent many
ongoing dependabot PRs.

### Benefits

Deps will be up to date.

### Possible drawbacks

A quick IRL test shows that everything seems to be fine, but let's see
what CI thinks.

### Applicable issues

N/A

### Additional information

I've been unable to upgrade these two: 

- `@clr/ui`: the new CSS styles break the current UI (bigger fonts,
weights, etc), so some manual changes are required.
- `react-markdown` plus the `remark-xxx` deps: they require React 18
and/or a proper ESM compatible test engine (time to move from Jest?)

---------

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
  • Loading branch information
antgamdia authored Dec 18, 2023
1 parent 57cc277 commit ddf396d
Show file tree
Hide file tree
Showing 3 changed files with 1,369 additions and 1,378 deletions.
18 changes: 9 additions & 9 deletions dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,17 @@
},
"dependencies": {
"@babel/parser": "^7.23.6",
"@connectrpc/connect": "^1.1.3",
"@connectrpc/connect-web": "^1.1.3",
"@bufbuild/protobuf": "^1.5.1",
"@bufbuild/protobuf": "^1.6.0",
"@cds/city": "^1.1.0",
"@cds/core": "^6.5.0",
"@cds/react": "^6.5.0",
"@cds/core": "^6.9.1",
"@cds/react": "^6.9.1",
"@clr/ui": "^15.13.0",
"@connectrpc/connect": "^1.2.0",
"@connectrpc/connect-web": "^1.2.0",
"@paciolan/remote-component": "^2.13.0",
"@redux-devtools/extension": "^3.3.0",
"@tanstack/match-sorter-utils": "^8.8.4",
"@tanstack/react-table": "^8.10.7",
"@tanstack/react-table": "^8.11.0",
"ajv": "^8.12.0",
"axios": "^1.6.2",
"fast-json-patch": "^3.1.1",
Expand All @@ -63,7 +64,6 @@
"react-tooltip": "^5.25.0",
"react-transition-group": "^4.4.5",
"redux": "^4.2.1",
"redux-devtools-extension": "^2.13.9",
"redux-thunk": "^2.4.2",
"remark-breaks": "^3.0.3",
"remark-gfm": "^3.0.1",
Expand All @@ -75,8 +75,8 @@
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@bufbuild/buf": "^1.28.1",
"@connectrpc/protoc-gen-connect-es": "^1.2.0",
"@bufbuild/protoc-gen-es": "^1.6.0",
"@connectrpc/protoc-gen-connect-es": "^1.2.0",
"@craco/craco": "^7.1.0",
"@formatjs/cli": "^6.2.4",
"@reduxjs/toolkit": "^1.9.7",
Expand Down Expand Up @@ -140,7 +140,7 @@
"!src/**/*.d.ts"
],
"transformIgnorePatterns": [
"node_modules/(?!@cds|@clr|@connectrpc|@lit|@bufbuild|axios|bail|ccount|cds|character-entities|comma-separated-tokens|decode-named-character-reference|escape-string-regexp|hast-util-whitespace|is-plain-obj|lit|lodash-es|markdown-table|mdast-util-definitions|mdast-util-find-and-replace|mdast-util-from-markdown|mdast-util-gfm-autolink-literal|mdast-util-gfm|mdast-util-newline-to-break|mdast-util-to-hast|mdast-util-to-markdown|mdast-util-to-string|micromark-core-commonmark|monaco-editor|react-monaco-editor|micromark|parse-entities|property-information|ramda|react-markdown|react-syntax-highlighter|remark-breaks|remark-gfm|remark-parse|remark-rehype|space-separated-tokens|swagger-client|swagger-ui-react|trim-lines|trough|unified|unist-builder|unist-util-generated|unist-util-is|unist-util-position|unist-util-stringify-position|unist-util-visit-parents|unist-util-visit|util-find-and-replace|vfile-message|vfile|.*css)"
"node_modules/(?!@bufbuild|@cds|@clr|@connectrpc|@lit|axios|bail|ccount|cds|character-entities|comma-separated-tokens|decode-named-character-reference|escape-string-regexp|hast-util-whitespace|is-plain-obj|lit|lodash-es|markdown-table|mdast-util-definitions|mdast-util-find-and-replace|mdast-util-from-markdown|mdast-util-gfm-autolink-literal|mdast-util-gfm|mdast-util-newline-to-break|mdast-util-to-hast|mdast-util-to-markdown|mdast-util-to-string|micromark-core-commonmark|micromark|monaco-editor|parse-entities|property-information|ramda|react-markdown|react-monaco-editor|react-syntax-highlighter|remark-breaks|remark-gfm|remark-parse|remark-rehype|space-separated-tokens|swagger-client|swagger-ui-react|trim-lines|trough|unified|unist-builder|unist-util-generated|unist-util-is|unist-util-position|unist-util-stringify-position|unist-util-visit-parents|unist-util-visit|util-find-and-replace|vfile-message|vfile|.*css)"
]
},
"browserslist": {
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

import { applyMiddleware, createStore } from "redux";
import { composeWithDevTools } from "redux-devtools-extension";
import { composeWithDevTools } from "@redux-devtools/extension";
import thunkMiddleware from "redux-thunk";
import createRootReducer from "../reducers";

Expand Down
Loading

0 comments on commit ddf396d

Please sign in to comment.