Skip to content

Commit

Permalink
Bump React router to ^6.28.0 (#15362)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com>
Co-authored-by: Jose Quintas <juniorquintas@gmail.com>
  • Loading branch information
3 people authored Dec 3, 2024
1 parent 52591dd commit 8bfe9da
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.2",
"react-is": "^18.3.1",
"react-router": "^6.27.0",
"react-router-dom": "^6.27.0",
"react-router": "^6.28.0",
"react-router-dom": "^6.28.0",
"react-runner": "^1.0.5",
"react-simple-code-editor": "^0.14.1",
"recast": "^0.23.9",
Expand Down
36 changes: 18 additions & 18 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.27.0",
"react-router-dom": "^6.28.0",
"semver": "^7.6.3",
"stylis": "^4.3.4",
"stylis-plugin-rtl": "^2.1.1"
Expand Down
12 changes: 7 additions & 5 deletions test/regressions/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ const isMaterialUIv6 = materialPackageJson.version.startsWith('6.');
const timeSensitiveSuites = ['ColumnAutosizingAsync', 'DensitySelectorGrid'];

const isConsoleWarningIgnored = (msg?: string) => {
if (
msg &&
const isMuiV6Error =
isMaterialUIv6 &&
msg.startsWith(
msg?.startsWith(
'MUI: The Experimental_CssVarsProvider component has been ported into ThemeProvider.',
)
) {
);

const isReactRouterFlagsError = msg?.includes('React Router Future Flag Warning');

if (isMuiV6Error || isReactRouterFlagsError) {
return true;
}
return false;
Expand Down

0 comments on commit 8bfe9da

Please sign in to comment.