Skip to content

Commit

Permalink
chore: Bump dependencies to reduce vulnerabilities in /ui (feast-dev#…
Browse files Browse the repository at this point in the history
…4654)

* chore: Bump transitive word-wrap from 1.2.3 to 1.2.5 in /ui

This resolves a vulnerability in word-wrap:
GHSA-j8xg-fqg3-53r7.

Signed-off-by: Harri Lehtola <peruukki@hotmail.com>

* chore: Bump protobufjs-cli from 1.0.2 to 1.1.3 in /ui

The older version depended on taffydb that has a vulnerability with no
patched version available. The latest version no longer uses it.

Signed-off-by: Harri Lehtola <peruukki@hotmail.com>

* chore: Bump transitive dependencies of msw in /ui

This resolves 1 critical and 1 high level vulnerability in @xmldom/xmldom
and path-to-regexp.

Signed-off-by: Harri Lehtola <peruukki@hotmail.com>

* chore: Bump vulnerable rollup packages to latest versions in /ui

This resolves 1 high and 9 moderate level vulnerabilities reported by
`yarn audit`.

Signed-off-by: Harri Lehtola <peruukki@hotmail.com>

* chore: Bump @babel packages to latest in /ui

This resolves 16 high level vulnerabilities reported by `yarn audit`.

Signed-off-by: Harri Lehtola <peruukki@hotmail.com>

* chore: Use browserslist default configuration in Feast UI

"defaults" (https://browsersl.ist/#q=defaults) is the recommended starting
point these days, it's a shorthand for "> 0.5%, last 2 versions, Firefox
ESR, not dead". Using it gets rid of a couple autoprefixer related warnings
that started appearing after dependency updates.

Check the previous production configuration at
https://browsersl.ist/#q=%3E0.2%25%2C+not+dead%2C+not+op_mini+all if you
want to compare what changed.

Signed-off-by: Harri Lehtola <peruukki@hotmail.com>

* chore: Bump react-scripts from 5.0.0 to 5.0.1 in /ui

This resolves 2 critical, 11 high, 7 moderate and 1 low level vulnerability
reported by `yarn audit`.

@babel/plugin-proposal-private-property-in-object is added to
devDependencies due to this warning when running the tests:

> One of your dependencies, babel-preset-react-app, is importing the
> "@babel/plugin-proposal-private-property-in-object" package without
> declaring it in its dependencies. This is currently working because
> "@babel/plugin-proposal-private-property-in-object" is already in your
> node_modules folder for unrelated reasons, but it may break at any time.
>
> babel-preset-react-app is part of the create-react-app project, which
> is not maintianed (sic) anymore. It is thus unlikely that this bug will
> ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
> your devDependencies to work around this error. This will make this message
> go away.

Signed-off-by: Harri Lehtola <peruukki@hotmail.com>

---------

Signed-off-by: Harri Lehtola <peruukki@hotmail.com>
  • Loading branch information
peruukki authored Oct 20, 2024
1 parent 7292f85 commit 986dc92
Show file tree
Hide file tree
Showing 2 changed files with 4,513 additions and 3,875 deletions.
30 changes: 11 additions & 19 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"react-code-blocks": "^0.1.6",
"react-query": "^3.39.3",
"react-router-dom": "<6.4.0",
"react-scripts": "^5.0.0",
"react-scripts": "^5.0.1",
"tslib": "^2.3.1",
"use-query-params": "^1.2.3",
"zod": "^3.11.6"
Expand All @@ -59,22 +59,14 @@
"chroma-js": "<rootDir>/node_modules/chroma-js/dist/chroma.min.cjs"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"browserslist": [
"defaults"
],
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/core": "^7.25.8",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-env": "^7.25.8",
"@babel/preset-react": "^7.25.7",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-json": "^4.1.0",
Expand All @@ -89,15 +81,15 @@
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"msw": "^0.36.8",
"protobufjs-cli": "^1.0.2",
"protobufjs-cli": "^1.1.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^3.0.2",
"rollup": "^2.68.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-import-css": "^3.0.2",
"rollup-plugin-svg": "^2.0.0",
"rollup-plugin-svgo": "^1.1.0",
"rollup-plugin-svgo": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.9.5"
},
Expand Down
Loading

0 comments on commit 986dc92

Please sign in to comment.