Skip to content

Commit

Permalink
fix(deps): bump deps to avoid subdependency problems (#419)
Browse files Browse the repository at this point in the history
We have some two moderate security issues with current subdependencies
that would be good to fix before the cybersecurity audits. I found the
deps that had the subdependencies that were causing the issues and upped
their versions to the minimum version that didn't have the security
issues: a little nicer than just using `resolutions` to override the
subdependencies.

## Changes

- `"axios": "^1.6.7"` => `"axios": "^1.6.8"`
- `"start-server-and-test": "2.0.0"` => `"start-server-and-test":
"^2.0.3"`
- `"vitest": "0.31.0"` => `"vitest": "^0.34.6"`
-  `"vite": "^4.4.9"` => `"vite": "^4.5.3"`
- `"@vitejs/plugin-react": "4.0.0"` => `"@vitejs/plugin-react": "4.2.1"`

## How to test this PR

1. Checkout the PR
2. Run `yarn install`
3. Run `yarn npm audit`
4. Success! 🎉

## Screenshots

### Current behavior
![Screenshot 2024-04-24 at 11 56 38
AM](https://github.com/cfpb/sbl-frontend/assets/19983248/06ee8d41-2bae-4647-8343-8884286eaa83)

### Expected behavior
![Screenshot 2024-04-24 at 11 57 01
AM](https://github.com/cfpb/sbl-frontend/assets/19983248/6da0bbda-e939-4948-883c-6ae3b9bc450a)
  • Loading branch information
billhimmelsbach committed Apr 30, 2024
1 parent 687e466 commit 2cc433a
Show file tree
Hide file tree
Showing 82 changed files with 1,661 additions and 492 deletions.
1,040 changes: 787 additions & 253 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@hookform/resolvers": "^3.2.0",
"@tanstack/react-query": "4.29.7",
"@tanstack/react-table": "^8.9.1",
"axios": "^1.6.7",
"axios": "^1.6.8",
"classnames": "^2.3.2",
"design-system-react": "https://github.com/cfpb/design-system-react",
"immer": "^10.0.2",
Expand Down Expand Up @@ -74,7 +74,7 @@
"@types/testing-library__jest-dom": "5.14.5",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"@vitejs/plugin-react": "4.0.0",
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-istanbul": "0.31.0",
"add": "^2.0.6",
"autoprefixer": "^10.4.14",
Expand Down Expand Up @@ -106,16 +106,16 @@
"postcss": "^8.4.27",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.4.1",
"start-server-and-test": "2.0.0",
"start-server-and-test": "^2.0.3",
"stylelint": "15.6.1",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "33.0.0",
"tailwindcss": "^3.3.3",
"typescript": "5.0.4",
"vite": "^4.4.9",
"vite": "^4.5.3",
"vite-plugin-pwa": "0.14.7",
"vite-tsconfig-paths": "4.2.0",
"vitest": "0.31.0",
"vitest": "^0.34.6",
"whatwg-fetch": "3.6.2",
"workbox-build": "6.5.4",
"workbox-window": "6.5.4"
Expand Down

0 comments on commit 2cc433a

Please sign in to comment.